diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 17188 | ||||
-rw-r--r-- | lisp/ChangeLog.funvec | 10 | ||||
-rw-r--r-- | lisp/ChangeLog.trunk | 17000 | ||||
-rw-r--r-- | lisp/Makefile.in | 14 | ||||
-rw-r--r-- | lisp/emacs-lisp/byte-lexbind.el | 696 | ||||
-rw-r--r-- | lisp/emacs-lisp/byte-opt.el | 263 | ||||
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 879 | ||||
-rw-r--r-- | lisp/emacs-lisp/disass.el | 15 | ||||
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 10 | ||||
-rw-r--r-- | lisp/help-fns.el | 65 | ||||
-rw-r--r-- | lisp/subr.el | 6 |
11 files changed, 18882 insertions, 17264 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f0e59a6c6a..65d422a80e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,17000 +1,274 @@ -2010-09-13 Daiki Ueno <[email protected]> - - * epa-file.el (epa-file-insert-file-contents): If visiting, bind - buffer-file-name to avoid file-locking. (Bug#7026) - -2010-09-13 Julien Danjou <[email protected]> - - * notifications.el (notifications-notify): Add support for - image-path and sound-name. - (notifications-specification-version): Add this variable. - -2010-09-12 Stefan Monnier <[email protected]> - - * subr.el (y-or-n-p): New function, moved from src/fns.c. Use read-key. - -2010-09-12 Leo <[email protected]> - - * net/rcirc.el (rcirc-server-commands, rcirc-client-commands) - (rcirc-completion-start): New variables. - (rcirc-nick-completions): Rename to rcirc-completions. - (rcirc-nick-completion-start-offset): Delete. - (rcirc-completion-at-point): New function for constructing - completion data for both nicks and irc commands. Add to - completion-at-point-functions in rcirc mode. - (rcirc-complete): Rename from rcirc-nick-complete; use - rcirc-completion-at-point. - (defun-rcirc-command): Update rcirc-client-commands. - -2010-09-11 Glenn Morris <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files - atomically, to avoid parallel build errors. (Bug#4196) - -2010-09-11 Michael R. Mauger <[email protected]> - - * progmodes/sql.el: Version 2.6 - (sql-dialect): Synonym for "sql-product". - (sql-find-sqli-buffer, sql-set-sqli-buffer-generally) - (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode): - Set "sql-buffer" to buffer name not buffer object so multiple sql - interactive buffers work properly. Reverts misguided changes in - earlier work. - (sql-comint): Make sure different buffer name is used if "*SQL*" - buffer is for a different product. - (sql-make-alternate-buffer-name): Fix bug with "sql-database" - login param. - (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql) - (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase) - (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer): - Accept new buffer name or prompt for one. - (sql-port): Default to zero. - (sql-comint-mysql): Handle "sql-port" as a numeric. - (sql-port-history): Delete unused variable. - (sql-get-login): Default "sql-port" to a number. - (sql-product-alist): Correct Postgres prompt and terminator - regexp. - (sql-sqlite-program): Dynamically detect presence of "sqlite" or - "sqlite3" executables. - (sql-sqlite-login-params): Add "*.sqlite[23]?" database name - pattern. - (sql-buffer-live-p): New function. - (sql-mode-menu, sql-send-string): Use it. - (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK - syntax pattern. - (sql-mode-postgres-font-lock-keywords): Support Postgres V9. - (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands. - -2010-09-10 Lars Magne Ingebrigtsen <[email protected]> - - * net/netrc.el (netrc-credentials): New conveniency function. - -2010-09-10 Stefan Monnier <[email protected]> - - * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun - to replace texinfo-font-lock-syntactic-keywords. - (texinfo-mode): Use it. - - * textmodes/tex-mode.el (tex-common-initialization, doctex-mode): - Use syntax-propertize-function. - - * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to - replace sgml-font-lock-syntactic-keywords. - (sgml-mode): Use it. - - * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare - since we don't use it. - - * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function. - - * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function - if available. - (vhdl-fontify-buffer): Adjust. - - * progmodes/tcl.el (tcl-syntax-propertize-function): New var to - replace tcl-font-lock-syntactic-keywords. - (tcl-mode): Use it. - - * progmodes/simula.el (simula-syntax-propertize-function): New var to - replace simula-font-lock-syntactic-keywords. - (simula-mode): Use it. - - * progmodes/sh-script.el (sh-st-symbol): Remove. - (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg. - (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove. - (sh-font-lock-quoted-subshell): Assume we've already matched $(. - (sh-font-lock-paren): Set syntax-multiline. - (sh-font-lock-syntactic-keywords): Remove. - (sh-syntax-propertize-function): New function to replace it. - (sh-mode): Use it. - - * progmodes/ruby-mode.el (ruby-here-doc-beg-re): - Define while compiling. - (ruby-here-doc-end-re, ruby-here-doc-beg-match) - (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax) - (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p) - (ruby-here-doc-find-end, ruby-here-doc-beg-syntax) - (ruby-here-doc-end-syntax): Only define when - syntax-propertize is not available. - (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc): - New functions. - (ruby-in-ppss-context-p): Update to new syntax of heredocs. - (electric-indent-chars): Silence bytecompiler. - (ruby-mode): Use prog-mode, syntax-propertize-function, and - electric-indent-chars. - - * progmodes/python.el (python-syntax-propertize-function): New var to - replace python-font-lock-syntactic-keywords. - (python-mode): Use it. - (python-quote-syntax): Simplify and adjust to new use. - - * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to - replace perl-font-lock-syntactic-keywords. - (perl-syntax-propertize-special-constructs): New fun to replace - perl-font-lock-special-syntactic-constructs. - (perl-font-lock-syntactic-face-function): New fun. - (perl-mode): Use it. - - * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function - to replace octave-font-lock-close-quotes. - (octave-syntax-propertize-function): New function to replace - octave-font-lock-syntactic-keywords. - (octave-mode): Use it. - - * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var; - replaces mixal-font-lock-syntactic-keywords. - (mixal-mode): Use it. - - * progmodes/make-mode.el (makefile-syntax-propertize-function): - New var; replaces makefile-font-lock-syntactic-keywords. - (makefile-mode): Use it. - (makefile-imake-mode): Adjust. - - * progmodes/js.el (js--regexp-literal): Define while compiling. - (js-syntax-propertize-function): New var; replaces - js-font-lock-syntactic-keywords. - (js-mode): Use it. - - * progmodes/gud.el (gdb-script-syntax-propertize-function): New var; - replaces gdb-script-font-lock-syntactic-keywords. - (gdb-script-mode): Use it. - - * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function. - (fortran--font-lock-syntactic-keywords): New var. - (fortran-line-length): Update syntax-propertize-function and - fortran--font-lock-syntactic-keywords. - - * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function. - - * progmodes/cfengine.el (cfengine-mode): - Use syntax-propertize-function. - (cfengine-font-lock-syntactic-keywords): Remove. - - * progmodes/autoconf.el (autoconf-mode): - Use syntax-propertize-function. - (autoconf-font-lock-syntactic-keywords): Remove. - - * progmodes/ada-mode.el (ada-set-syntax-table-properties) - (ada-after-change-function, ada-initialize-syntax-table-properties) - (ada-handle-syntax-table-properties): Only define when - syntax-propertize is not available. - (ada-mode): Use syntax-propertize-function. - - * font-lock.el (font-lock-syntactic-keywords): Make obsolete. - (font-lock-fontify-syntactic-keywords-region): Move handling of - font-lock-syntactically-fontified to... - (font-lock-default-fontify-region): ...here. - Let syntax-propertize-function take precedence. - (font-lock-fontify-syntactically-region): Cal syntax-propertize. - - * emacs-lisp/syntax.el (syntax-propertize-function) - (syntax-propertize-chunk-size, syntax-propertize--done) - (syntax-propertize-extend-region-functions): New vars. - (syntax-propertize-wholelines, syntax-propertize-multiline) - (syntax-propertize--shift-groups, syntax-propertize-via-font-lock) - (syntax-propertize): New functions. - (syntax-propertize-rules): New macro. - (syntax-ppss-flush-cache): Set syntax-propertize--done. - (syntax-ppss): Call syntax-propertize. - - * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups. - -2010-09-10 Agustín Martín <[email protected]> - - * textmodes/ispell.el (ispell-init-process): Improve comments. - XEmacs compatibility changes regarding (add-hook) 'local option - and (set-process-query-on-exit-flag). - -2010-09-09 Michael Albinus <[email protected]> - - * net/tramp-cache.el (tramp-parse-connection-properties): - Set tramp-autoload cookie. - -2010-09-09 Glenn Morris <[email protected]> - - * image.el (imagemagick-types-inhibit): Add :type, :version, :group. - (imagemagick-register-types): Doc fix. - -2010-09-08 Stefan Monnier <[email protected]> - - * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp. - - * progmodes/js.el (require): Require is already "eval-and-compile". - (js--re-search-forward): Avoid `eval'. Preserve the error data. - (js--re-search-backward): Use js--re-search-forward. - - * progmodes/fortran.el (fortran-line-length): Don't recompute - syntactic keywords redundantly a second time. - - * progmodes/ada-mode.el: Replace "(set '" with setq. - (ada-mode): Simplify. - (ada-create-case-exception, ada-adjust-case-interactive) - (ada-adjust-case-region, ada-format-paramlist, ada-indent-current) - (ada-search-ignore-string-comment, ada-move-to-start) - (ada-move-to-end): Use with-syntax-table. - - * font-lock.el (save-buffer-state): Remove `varlist' arg. - (font-lock-unfontify-region, font-lock-default-fontify-region): - Update usage correspondingly. - (font-lock-fontify-syntactic-keywords-region): - Set parse-sexp-lookup-properties buffer-locally here. - (font-lock-fontify-syntactically-region): Remove unused `ppss' arg. - - * simple.el (blink-matching-open): Don't burp if we can't find a match. - -2010-09-08 Glenn Morris <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-report-ops): - Error if not compiled with -DBYTE_CODE_METER. - - * emacs-lisp/bytecomp.el (byte-recompile-directory): - Ignore dir-locals-file. - -2010-09-08 Stefan Monnier <[email protected]> - - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Not a const. - (compilation-error-regexp-alist-alist): Rule out ": " in file names - for the `gnu' messages. - (compilation-set-skip-threshold): New command. - (compilation-start): Use \' rather than $. - (compilation-forget-errors): Use clrhash. - -2010-09-08 Agustín Martín <[email protected]> - - * textmodes/ispell.el (ispell-valid-dictionary-list): - Simplify logic. - -2010-09-08 Michael Albinus <[email protected]> - - Migrate to Tramp 2.2. Rearrange load dependencies. - (Bug#1529, Bug#5448, Bug#5705) - - * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables. - ($(TRAMP_DIR)/tramp-loaddefs.el): New target. - (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el. - - * net/tramp.el (top): Remove all other tramp-* loads except - tramp-compat.el. Remove all changes to tramp-unload-hook for - other tramp-* packages. Rearrange defun order. Change calls of - `tramp-compat-call-process', `tramp-compat-decimal-to-octal', - `tramp-compat-octal-to-decimal' to new function names. - (tramp-terminal-type, tramp-initial-end-of-output) - (tramp-methods, tramp-foreign-file-name-handler-alist) - (tramp-tramp-file-p, tramp-completion-mode-p) - (tramp-send-command-and-check, tramp-get-remote-path) - (tramp-get-remote-tmpdir, tramp-get-remote-ln) - (tramp-shell-quote-argument): Set tramp-autoload cookie. - (with-file-property, with-connection-property): Move to - tramp-cache.el. - (tramp-local-call-process, tramp-decimal-to-octal) - (tramp-octal-to-decimal): Move to tramp-compat.el. - (tramp-handle-shell-command): Do not require 'shell. - (tramp-compute-multi-hops): No special handling for tramp-gw-* - symbols. - (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'. - - * net/tramp-cache.el (top): Require 'tramp. Add to - `tramp-unload-hook'. - (tramp-cache-data, tramp-get-file-property) - (tramp-set-file-property, tramp-flush-file-property) - (tramp-flush-directory-property, tramp-get-connection-property) - (tramp-set-connection-property, tramp-flush-connection-property) - (tramp-cache-print, tramp-list-connections): Set tramp-autoload - cookie. - (with-file-property, with-connection-property): New defuns, moved - from tramp.el. - (tramp-flush-file-function): Use `with-parsed-tramp-file-name' - macro. - - * net/tramp-cmds.el (top): Add to `tramp-unload-hook'. - (tramp-version): Set tramp-autoload cookie. - - * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all - changes to tramp-unload-hook for other tramp-* packages. Add to - `tramp-unload-hook'. - (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal) - (tramp-compat-call-process): New defuns, moved from tramp.el. - - * net/tramp-fish.el (top) Require just 'tramp. Add objects to - `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add - to `tramp-unload-hook'. Change call of - `tramp-compat-decimal-to-octal' to new function name. - (tramp-fish-method): Make it a defconst. - (tramp-fish-file-name-p): Make it a defsubst. - (tramp-fish-method, tramp-fish-file-name-handler) - (tramp-fish-file-name-p): Set tramp-autoload cookie. - - * net/tramp-ftp.el (top) Add objects to `tramp-methods' and - `tramp-foreign-file-name-handler-alist'. Add to - `tramp-unload-hook'. - (tramp-ftp-method): Make it a defconst. - (tramp-ftp-file-name-p): Make it a defsubst. - (tramp-ftp-method, tramp-ftp-file-name-handler) - (tramp-ftp-file-name-p): Set tramp-autoload cookie. - - * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and - `tramp-foreign-file-name-handler-alist'. Add to - `tramp-unload-hook'. Change checks, whether package can be - loaded. - (tramp-gvfs-file-name-p): Make it a defsubst. - (tramp-gvfs-methods, tramp-gvfs-file-name-handler) - (tramp-gvfs-file-name-p): Set tramp-autoload cookie. - (tramp-gvfs-handle-file-directory-p): New defun. - (tramp-gvfs-file-name-handler-alist): Use it. - - * net/tramp-gw.el (top) Add objects to `tramp-methods' and - `tramp-foreign-file-name-handler-alist'. Add to - `tramp-unload-hook'. - (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port) - (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a - defconst. - (tramp-gw-tunnel-method, tramp-gw-socks-method) - (tramp-gw-open-connection): Set tramp-autoload cookie. - - * net/tramp-imap.el (top) Require just 'tramp. Add objects to - `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add - to `tramp-unload-hook'. Change checks, whether package can be - loaded. - (tramp-imap-file-name-p): Make it a defsubst. - (tramp-imap-method, tramp-imaps-method) - (tramp-imap-file-name-handler) - (tramp-imap-file-name-p): Set tramp-autoload cookie. - - * net/tramp-smb.el (top) Require just 'tramp. Add objects to - `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add - to `tramp-unload-hook'. Change checks, whether package can be - loaded. Change call of `tramp-compat-decimal-to-octal' to new - function name. - (tramp-smb-tunnel-method): Make it a defconst. - (tramp-smb-file-name-p): Make it a defsubst. - (tramp-smb-method, tramp-smb-file-name-handler) - (tramp-smb-file-name-p): Set tramp-autoload cookie. - - * net/tramp-uu.el (top) Add to `tramp-unload-hook'. - (tramp-uuencode-region): Set tramp-autoload cookie. - - * net/trampver.el (top) Add to `tramp-unload-hook'. - (tramp-version, tramp-bug-report-address): Set tramp-autoload - cookie. Update release number. - -2010-09-07 Agustín Martín <[email protected]> - - * textmodes/ispell.el (ispell-start-process): Make sure original - arg list is properly initialized (Bug#6993, Bug#6994). - -2010-09-06 Alexander Klimov <[email protected]> (tiny change) - - * files.el (directory-abbrev-alist): Use \` as default regexp. - - * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special - chars like - or ] (bug#6984). - (rx-any-condense-range): Explode 2-char ranges. - -2010-09-06 Glenn Morris <[email protected]> - - * desktop.el (desktop-path): Bump :version after 2009-09-15 change. - -2010-09-06 Stefan Monnier <[email protected]> - - * textmodes/bibtex.el: - * proced.el: Update to new email for Roland Winkler <[email protected]>. - -2010-09-05 Lars Magne Ingebrigtsen <[email protected]> - - * net/imap.el (imap-message-map): Remove optional buffer parameter, - since no callers use it. - (imap-message-get): Ditto. - (imap-message-put): Ditto. - (imap-mailbox-map): Ditto. - (imap-mailbox-put): Ditto. - (imap-mailbox-get): Ditto. - (imap-mailbox-get): Revert last change for this function. - -2010-09-05 Lars Magne Ingebrigtsen <[email protected]> - - * net/imap.el (imap-fetch-safe): Remove function, and alter all - callers to use `imap-fetch' instead. According to the comments, this - should be safe, since all other IMAP clients use the 1:* syntax. - (imap-enable-exchange-bug-workaround): Remove. - (imap-debug): Remove -- doesn't seem very useful. - -2010-09-05 Lars Magne Ingebrigtsen <[email protected]> - - * net/imap.el (imap-log): New convenience function used throughout - instead of repeating the same code all over the place. - -2010-09-05 David De La Harpe Golden <[email protected]> - - * mouse.el (mouse-save-then-kill): Save region to kill-ring - when mouse-drag-copy-region is non-nil (Bug#6956). - -2010-09-05 Chong Yidong <[email protected]> - - * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp): - Improve regexps (Bug#6987). - (dired-sort-toggle): Search more robustly for -t flag. - - * files.el (get-free-disk-space): Search more robustly for - "available" column. Suggested by Ehud Karni - <[email protected]>. - -2010-09-05 Juanma Barranquero <[email protected]> - - * international/uni-bidi.el: - * international/uni-category.el: - * international/uni-combining.el: - * international/uni-decimal.el: - * international/uni-mirrored.el: - * international/uni-name.el: Regenerate. - -2010-09-04 Stefan Monnier <[email protected]> - - * electric.el (electric-indent-post-self-insert-function): - Don't reindent with a sloppy indentation function. - - * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch - border case in change-log-mode. - -2010-09-04 Chong Yidong <[email protected]> - - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Remove ruby regexp; handle Ruby errors with gcc-include and gnu. - Recognize leading tab in gcc-include regexp. Ignore names with - leading "from" or "in" in gnu regexp (Bug#6937). - -2010-09-04 Stefan Monnier <[email protected]> - - Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols. - * textmodes/ispell.el (ispell-process-buffer-name): Remove. - (ispell-start-process): Avoid setq and simplify logic. - (ispell-init-process): Setup kill-buffer-hook locally when needed. - (kill-buffer-hook): Don't use it globally with code that uses - expand-file-name since that may call kill-buffer via - code_conversion_restore. - -2010-09-04 Noorul Islam K M <[email protected]> (tiny change) - - * emacs-lisp/package.el (package-directory-list): Only call - file-name-nondirectory on a string. - -2010-09-02 Chong Yidong <[email protected]> - - * emacs-lisp/package.el (package--download-one-archive): - Ensure that archive-contents is valid before saving it. - (package-activate-1, package-mark-obsolete, define-package) - (package-compute-transaction, package-list-maybe-add): Use push. - -2010-09-03 Stefan Monnier <[email protected]> - - Use SMIE's blink-paren for octave-mode. - * progmodes/octave-mod.el (octave-font-lock-close-quotes): - Backslashes do not escape single-quotes, single-quotes do. - (octave-block-else-regexp, octave-block-end-regexp) - (octave-block-match-alist): Remove. - (octave-smie-bnf-table): New var, with old content. - (octave-smie-op-levels): Use it. - (octave-smie-closer-alist): New var. - (octave-mode): Use it. Setup smie-blink-matching and electric-indent. - (octave-blink-matching-block-open): Remove. - (octave-reindent-then-newline-and-indent, octave-electric-semi) - (octave-electric-space): Let self-insert-command run expand-abbrev and - blink parens. - - * electric.el (electricity): New group. - (electric-indent-chars): New var. - (electric-indent-post-self-insert-function): New fun. - (electric-indent-mode): New minor mode. - (electric-pair-skip-self): New custom. - (electric-pair-post-self-insert-function): New function. - (electric-pair-mode): New minor mode. - - * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace - calcAlg-blink-matching-open. - (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration. - (calc-do-alg-entry): Only touch the part of the keymap that varies. - Use the new blink-matching-check-function. - - Provide blink-matching support to SMIE. - * emacs-lisp/smie.el (smie-bnf-closer-alist): New function. - (smie-blink-matching-triggers, smie-blink-matching-inners): New vars. - (smie-blink-matching-check, smie-blink-matching-open): New functions. - - * simple.el (newline): Fix last change to properly remove itself from - the hook. - -2010-09-02 Stefan Monnier <[email protected]> - - * simple.el (newline): Eliminate optimization. - Use post-self-insert-hook to set hard-newline and things before - running post-self-insert-hook. - (blink-matching-check-mismatch): New function. - (blink-matching-check-function): New variable. - (blink-matching-open): Use them. - Skip back forward over prefix chars skipped by forward-sexp. - Don't check if the parens are backslash escaped. - (blink-paren-post-self-insert-function): Check backslash escaping here. - -2010-09-02 Chong Yidong <[email protected]> - - * emacs-lisp/package.el (package-menu-mode-map): - Change package-menu-revert bindings to revert-buffer. - (package-menu-mode): Set revert-buffer-function. - (package-menu-revert): Doc fix. - -2010-09-02 Agustín Martín <[email protected]> - - * textmodes/ispell.el (ispell-init-process): Use "~/" as - `default-directory' unless using Ispell per-directory personal - dictionaries and not in a mini-buffer under XEmacs. - (kill-buffer-hook): Do not kill ispell process on exit when - `ispell-process-directory' is "~/". (Bug#6143) - -2010-09-02 Jan Djärv <[email protected]> - - * simple.el (kill-new): Call interprogram-cut-function with only - one argument. - - * term.el (term-mouse-paste): Don't call x-get-cutbuffer. - Remove cut buffer from error message. - - * term/x-win.el (x-select-text): - * term/pc-win.el (x-selection-value): - * term/ns-win.el (x-selection-value): - * eshell/em-term.el: - * w32-fns.el (x-get-selection-value): - * mouse-sel.el (mouse-sel-set-selection-function): - * frame.el (display-selections-p): Remove cut-buffer in documentation. - - * term/x-win.el: Update documentation for x-last-selected-text-*. - (x-last-selected-text-cut, x-last-selected-text-cut-encoded) - (x-last-cut-buffer-coding, x-cut-buffer-max): Remove. - (x-select-text): Remove argument PUSH, update documentation. Remove - cut-buffer code. - (x-selection-value-internal): Was previously x-selection-value. - (x-selection-value): Rename from x-cut-buffer-or-selection-value. - Update documentation, remove cut-buffer code. Call - x-selection-value-internal. - (x-clipboard-yank): Call x-selection-value-internal. - (x-initialize-window-system): Remove setting of x-cut-buffer-max. - - * term/pc-win.el (x-last-selected-text): - x-cut-buffer-or-selection-value renamed to x-selection-value - (x-select-text): Remove argument PUSH, update documentation. - - * term/ns-win.el (x-setup-function-keys, ns-last-selected-text): - x-cut-buffer-or-selection-value renamed to x-selection-value - (x-selection-value): Renamed from x-cut-buffer-or-selection-value. - (x-select-text): Remove argument PUSH, update documentation. - - * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove. - - * w32-fns.el (x-last-selected-text): - x-cut-buffer-or-selection-value renamed to x-selection-value. - (x-cut-buffer-max): Remove. - (x-select-text): Remove argument PUSH, update documentation. - - * simple.el (interprogram-cut-function): Remove mention of PUSH. - - * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove. - - * mouse-sel.el (mouse-sel-get-selection-function): - x-cut-buffer-or-selection-value renamed to x-selection-value. - (x-select-text): Remove optional push. - -2010-09-01 Stefan Monnier <[email protected]> - - * simple.el (blink-paren-function): Move from C to here. - (blink-paren-post-self-insert-function): New function. - (post-self-insert-hook): Use it. - - * emacs-lisp/pcase.el (pcase-split-memq): - Fix overenthusiastic optimisation. - (pcase-u1): Handle the case of a lambda pred. - -2010-08-31 Kenichi Handa <[email protected]> - - * international/mule-cmds.el (standard-display-european-internal): - Setup standard-display-table for 8-bit characters by storing 8-bit - characters in the element vector. - - * disp-table.el (standard-display-8bit): Setup - standard-display-table for 8-bit characters by storing 8-bit - characters in the element vector. - (standard-display-european): Likewise. - -2010-08-31 Masatake YAMATO <[email protected]> - - * textmodes/nroff-mode.el (nroff-view): New command. - (nroff-mode-map): Bind it to C-c C-c. - -2010-08-31 Stefan Monnier <[email protected]> - - * emacs-lisp/smie.el (smie-down-list): New command. - - Remove old indentation and navigation code on octave-mode. - * progmodes/octave-mod.el (octave-mode-map): Remap down-list to - smie-down-list rather than add a binding for octave-down-block. - (octave-mark-block, octave-blink-matching-block-open): - Rely on forward-sexp-function. - (octave-fill-paragraph): Don't narrow, so you can use - indent-according-to-mode. - (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove. - (octave-in-block-p, octave-re-search-forward-kw) - (octave-re-search-backward-kw, octave-indent-calculate) - (octave-end-as-array-index-p, octave-block-end-offset) - (octave-scan-blocks, octave-forward-block, octave-backward-block) - (octave-down-block, octave-backward-up-block, octave-up-block) - (octave-before-magic-comment-p, octave-indent-line): Remove. - -2010-08-31 Chong Yidong <[email protected]> - - * emacs-lisp/package.el (package--read-archive-file): Just use - `read', to avoid copying an additional string. - (package-menu-mode): Set header-line-format here. - (package-menu-refresh, package-menu-revert): Signal an error if - not in the Package Menu. - (package-menu-package-list): New var. - (package--generate-package-list): Operate on the current buffer; - don't assume that it is *Packages*, since the user may rename it. - Allow persistent package listings and sort keys using - package-menu-package-list and package-menu-package-sort-key. - (package-menu--version-predicate): Fix version calculation. - (package-menu-sort-by-column): Don't select the window. - (package--list-packages): Create the *Packages* buffer. - Set package-menu-package-list-key. - (list-packages): Sorting by status is now the default. - (package-buffer-info): Use match-string-no-properties. - (define-package): Add a &rest argument for future proofing, but - don't use it yet. - (package-install-from-buffer, package-install-buffer-internal): - Merge into a single function, package-install-from-buffer. - (package-install-file): Change caller. - - * finder.el: Load finder-inf using `require'. - (finder-list-matches): Sorting by status is now the default. - (finder-compile-keywords): Simpify printing. - -2010-08-30 Stefan Monnier <[email protected]> - - * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt. - (octave-mode-map): Remove special bindings for forward/backward-block - and octave-backward-up-block. Use smie-close-block. - (octave-continuation-marker-regexp): New var. - (octave-continuation-regexp): Use it. - (octave-operator-table, octave-smie-op-levels) - (octave-operator-regexp, octave-smie-indent-rules): New vars. - (octave-smie-backward-token, octave-smie-forward-token): New funs. - (octave-mode): Use SMIE. - (octave-close-block): Delete. - -2010-08-30 Eli Zaretskii <[email protected]> - - * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in - CLIPBOARD, not in PRIMARY. (Bug#6944) - -2010-08-30 Stefan Monnier <[email protected]> - - * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take - a list of parents. - (smie-indent-column): Allow indirection through variables. - - * composite.el (save-buffer-state): Delete, unused. - * font-lock.el (save-buffer-state): Use with-silent-modifications. - (font-lock-default-fontify-region): Use with-syntax-table. - * jit-lock.el (with-buffer-unmodified): Remove. - (with-buffer-prepared-for-jit-lock): Use with-silent-modifications. - - Use `declare' in defmacros. - * window.el (save-selected-window): - * subr.el (with-temp-file, with-temp-message, with-syntax-table): - * progmodes/python.el (def-python-skeleton): - * net/dbus.el (dbus-ignore-errors): - * jka-cmpr-hook.el (with-auto-compression-mode): - * international/mule.el (with-category-table): - * emacs-lisp/timer.el (with-timeout): - * emacs-lisp/lisp-mnt.el (lm-with-file): - * emacs-lisp/eieio.el (with-slots): - * emacs-lisp/easymenu.el (easy-menu-define): - * emacs-lisp/debug.el (debugger-env-macro): - * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq) - (Multiple-value-call, Multiple-value-prog1): - * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key) - (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and - edebug rule to definition. - * emacs-lisp/lisp-mode.el (save-selected-window) - (with-current-buffer, combine-after-change-calls) - (with-output-to-string, with-temp-file, with-temp-buffer) - (with-temp-message, with-syntax-table, read-if, eval-after-load) - (dolist, dotimes, when, unless): - * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant. - -2010-08-29 Chong Yidong <[email protected]> - - * finder.el: Require `package'. - (finder-known-keywords): Tweak descriptions. Retire `oop' keyword. - (finder-package-info): Var deleted. - (finder-keywords-hash, finder--builtins-alist): New vars. - (finder-compile-keywords): Compute package--builtins and - finder-keywords-hash instead of finder-keywords-hash, respecting - the "Package" header. - (finder-unknown-keywords, finder-list-matches): - Use finder-keywords-hash and package--list-packages. - (finder-mode): Don't set font-lock-defaults. - (finder-exit): We don't use "*Finder-package*" and "*Finder - Category*" buffers anymore. - - * emacs-lisp/package.el (package--builtins-base): Var deleted. - (package--builtins): Set default value to nil. - (package-initialize): Load precomputed value of package--builtins - from finder-inf.el. - (package-alist, package-compute-transaction) - (package-download-transaction): Improve docstring. - (package-read-all-archive-contents): Do not change - package--builtins here. - (list-packages): Make package-list-packages an alias for this. - Sort by status by default. - (package--list-packages): Add optional PACKAGES arg. - (describe-package-1): Use font-lock-face property. For built-in - packages, insert file commentary. - (package--generate-package-list): Rename from - package-list-packages-internal; all callers changed. Add optional - PACKAGES arg. Add alphabetical sort fallbacks. - (package-menu--version-predicate, package-menu--status-predicate) - (package-menu--description-predicate) - (package-menu--name-predicate): New functions. - - * info.el (Info-finder-find-node): Search package-alist instead of - finder-package-info. - -2010-08-29 Chong Yidong <[email protected]> - - * subr.el (version-regexp-alist): Don't use "a" and "b" for - "alpha" and "beta". - (version-to-list): Handle versions like "10.3d". - -2010-08-28 Stefan Monnier <[email protected]> - - * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase. - (macroexp-accumulate): Use `declare'. - -2010-08-27 Vinicius Jose Latorre <[email protected]> - - * whitespace.el (whitespace-style): Adjust type declaration. - -2010-08-26 Magnus Henoch <[email protected]> - - * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass - empty argument to gvfs-copy. - -2010-08-26 Chong Yidong <[email protected]> - - * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to - handle new TRASH arg of `delete-file'. - -2010-08-26 Christian Lynbech <[email protected]> (tiny change) - - * net/tramp.el (tramp-handle-insert-directory): Don't use - `forward-word', its default syntax could be changed. - -2010-08-26 Toru TSUNEYOSHI <[email protected]> - Michael Albinus <[email protected]> - - Implement compression for inline methods. - - * net/tramp.el (tramp-inline-compress-start-size): New defcustom. - (tramp-copy-size-limit): Allow also nil. - (tramp-inline-compress-commands): New defconst. - (tramp-find-inline-compress, tramp-get-inline-compress) - (tramp-get-inline-coding): New defuns. - (tramp-get-remote-coding, tramp-get-local-coding): Remove, - replaced by `tramp-get-inline-coding'. - (tramp-handle-file-local-copy, tramp-handle-write-region) - (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'. - -2010-08-26 Noah Lavine <[email protected]> (tiny change) - - Detect ssh 'ControlMaster' argument automatically in some cases. - - * net/tramp.el (tramp-detect-ssh-controlmaster): New defun. - (tramp-default-method): Use it. - -2010-08-26 Karel Klíč <[email protected]> - - * net/tramp.el (tramp-file-name-for-operation): - Add file-selinux-context. - -2010-08-26 Łukasz Stelmach <[email protected]> (tiny change) - - * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921). - -2010-08-26 Chong Yidong <[email protected]> - - * simple.el (beginning-of-buffer, end-of-buffer): Doc fix - (Bug#6907). - -2010-08-26 Nathan Weizenbaum <[email protected]> (tiny change) - - * progmodes/js.el: Make indentation more customizable (Bug#6914). - (js-paren-indent-offset, js-square-indent-offset) - (js-curly-indent-offset): New options. - (js--proper-indentation): Use them. - -2010-08-26 Daniel Colascione <[email protected]> - - * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss - instead of inspecting font-lock properties (Bug#6916). - -2010-08-26 David Reitter <[email protected]> - - * server.el (server-visit-files): Run pre-command-hook and - post-command-hook for each buffer while it is current - (Bug#6910). - (server-execute): Do not run hooks here. - -2010-08-26 Michael Albinus <[email protected]> - - Sync with Tramp 2.1.19. - - * net/tramp-cmds.el (tramp-cleanup-all-connections) - (tramp-reporter-dump-variable, tramp-load-report-modules) - (tramp-append-tramp-buffers): Use `tramp-compat-funcall'. - (tramp-bug): Recommend setting of `tramp-verbose' to 9. - - * net/tramp-compat.el (top): Do not autoload - `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el - only when `start-file-process' is not bound. - (byte-compile-not-obsolete-vars): Define if not bound. - (tramp-compat-funcall): New defmacro. - (tramp-compat-line-beginning-position) - (tramp-compat-line-end-position) - (tramp-compat-temporary-file-directory) - (tramp-compat-make-temp-file, tramp-compat-file-attributes) - (tramp-compat-copy-file, tramp-compat-copy-directory) - (tramp-compat-delete-file, tramp-compat-delete-directory) - (tramp-compat-number-sequence, tramp-compat-process-running-p): - Use it. - (tramp-advice-file-expand-wildcards): Do not use - `tramp-handle-file-remote-p'. - (tramp-compat-make-temp-file): Simplify fallback implementation. - (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT. - (tramp-compat-copy-tree): Remove function. - (tramp-compat-delete-file): New defun. - (tramp-compat-delete-directory): Provide implementation for older - Emacsen. - (tramp-compat-file-attributes): Handle only - `wrong-number-of-arguments' error. - - * net/tramp-fish.el (tramp-fish-handle-copy-file): Add - PRESERVE_SELINUX_CONTEXT. - (tramp-fish-handle-delete-file): Add TRASH arg. - (tramp-fish-handle-directory-files-and-attributes): - Do not use `tramp-fish-handle-file-attributes. - (tramp-fish-handle-file-local-copy) - (tramp-fish-handle-insert-file-contents) - (tramp-fish-maybe-open-connection): Use `with-progress-reporter'. - - * net/tramp-gvfs.el (top): Require url-util. - (tramp-gvfs-mount-point): Remove. - (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context' - and `set-file-selinux-context'. - (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command) - (tramp-gvfs-handle-file-selinux-context) - (tramp-gvfs-handle-set-file-selinux-context): New defuns. - (with-tramp-dbus-call-method): Format trace message. - (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT. - (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): - Implement backup call, when operation on local files fails. Use - progress reporter. Flush properties of changed files. - (tramp-gvfs-handle-delete-file): Add TRASH arg. Use - `tramp-compat-delete-file'. - (tramp-gvfs-handle-expand-file-name): Expand "~/". - (tramp-gvfs-handle-make-directory): Make more traces. - (tramp-gvfs-handle-write-region): Protect deleting tmpfile. - (tramp-gvfs-url-file-name): Hexify file name in url. - (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares) - into account for the resulting file name. - (tramp-gvfs-handler-askquestion): Preserve current message, in - order to let progress reporter continue afterwards. (Bug#6257) - Return dummy mountpoint, when the answer is "no". See - `tramp-gvfs-maybe-open-connection'. - (tramp-gvfs-handler-mounted-unmounted) - (tramp-gvfs-connection-mounted-p): Test also for new mountspec - attribute "default_location". Set "prefix" property. Handle - default-location. - (tramp-gvfs-mount-spec): Return both prefix and mountspec. - (tramp-gvfs-maybe-open-connection): Test, whether mountpoint - exists. Raise an error, if not (due to a corresponding answer - "no" in interactive questions, for example). Use - `tramp-compat-funcall'. - - * net/tramp-imap.el (top): Autoload `epg-make-context'. - (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT. - (tramp-imap-do-copy-or-rename-file) - (tramp-imap-handle-insert-file-contents) - (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'. - (tramp-imap-handle-delete-file): Add TRASH arg. - - * net/tramp-smb.el (tramp-smb-handle-copy-file): Add - PRESERVE-SELINUX-CONTEXT. - (tramp-smb-handle-copy-file) - (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file) - (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection): - Use `with-progress-reporter'. - (tramp-smb-handle-delete-file): Add TRASH arg. - - * net/tramp.el (tramp-methods): Move hostname to the end in all - ssh `tramp-login-args'. Add `tramp-async-args' attribute where - appropriate. - (tramp-verbose): Describe verbose level 9. - (tramp-completion-function-alist) - (tramp-file-name-regexp, tramp-chunksize) - (tramp-local-coding-commands, tramp-remote-coding-commands) - (with-connection-property, tramp-completion-mode-p) - (tramp-action-process-alive, tramp-action-out-of-band) - (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote) - (tramp-exists-file-name-handler): Fix docstring. - (tramp-remote-process-environment): Use `format' instead of - `concat'. Protect version string by apostroph. - (tramp-shell-prompt-pattern): Do not use a shy group in case of - XEmacs. - (tramp-file-name-regexp-unified) - (tramp-completion-file-name-regexp-unified): On W32 systems, do - not regard the volume letter as remote filename. (Bug#5447) - (tramp-perl-file-attributes) - (tramp-perl-directory-files-and-attributes): Don't pass "$3". - (tramp-vc-registered-read-file-names): Read input as - here-document, otherwise the command could exceed maximum length - of command line. - (tramp-file-name-handler-alist): Add `file-selinux-context' and - `set-file-selinux-context'. - (tramp-debug-message): Add `tramp-compat-funcall' to ignored - backtrace functions. - (tramp-error-with-buffer): Don't show the connection buffer when - we are in completion mode. - (tramp-progress-reporter-update, tramp-remote-selinux-p) - (tramp-handle-file-selinux-context) - (tramp-handle-set-file-selinux-context, tramp-process-sentinel) - (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash): - New defuns. - (with-progress-reporter): New defmacro. - (tramp-debug-outline-regexp): New defconst. - (top, tramp-rfn-eshadow-setup-minibuffer) - (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times) - (tramp-handle-dired-compress-file, tramp-handle-shell-command) - (tramp-completion-mode-p, tramp-check-for-regexp) - (tramp-open-connection-setup-interactive-shell) - (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd) - (tramp-time-diff, tramp-coding-system-change-eol-conversion) - (tramp-set-process-query-on-exit-flag, tramp-unload-tramp): - Use `tramp-compat-funcall'. - (tramp-handle-make-symbolic-link): Flush file properties. - (tramp-handle-load, tramp-handle-file-local-copy) - (tramp-handle-insert-file-contents, tramp-handle-write-region) - (tramp-handle-vc-registered, tramp-maybe-send-script) - (tramp-find-shell): Use `with-progress-reporter'. - (tramp-do-file-attributes-with-stat): Add space in format string, - in order to work around a bug in pdksh. Reported by Gilles Pion - <[email protected]>. - (tramp-handle-verify-visited-file-modtime): Do not send a command - when the connection is not established. - (tramp-handle-set-file-times): Simplify the check for utc. - (tramp-handle-directory-files-and-attributes) - (tramp-get-remote-path): Use `copy-tree'. - (tramp-completion-handle-file-name-all-completions): Ensure, that - non remote files are still checked. Oops. - (tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle - PRESERVE-SELINUX-CONTEXT. - (tramp-do-copy-or-rename-file): Add progress reporter. - (tramp-do-copy-or-rename-file-directly): Do not use - `tramp-handle-file-remote-p'. - (tramp-do-copy-or-rename-file-out-of-band): - Use `tramp-compat-delete-directory'. - (tramp-do-copy-or-rename-file-out-of-band) - (tramp-compute-multi-hops, tramp-maybe-open-connection): - Use `format-spec-make'. - (tramp-handle-delete-file): Add TRASH arg. - (tramp-handle-dired-uncache): Flush directory cache, not only file - cache. - (tramp-handle-expand-file-name) - (tramp-completion-handle-file-name-all-completions) - (tramp-completion-handle-file-name-completion): Use - `tramp-connectable-p'. - (tramp-handle-start-file-process): Set connection property "vec". - Use it, in order to invalidate file caches. Check only for - `remote-tty' process property. - Implement tty setting. (Bug#4604, Bug#6360) - (tramp-file-name-for-operation): Add `call-process-region' and - `set-file-selinux-context'. - (tramp-find-foreign-file-name-handler) - (tramp-advice-make-auto-save-file-name) - (tramp-set-auto-save-file-modes): Remove superfluous check for - `stringp'. This is done inside `tramp-tramp-file-p'. - (tramp-file-name-handler): Trace 'quit. Catch the error for some - operations when we are in completion mode. This gives the user - the chance to correct the file name in the minibuffer. - (tramp-completion-mode-p): Use `non-essential'. - (tramp-handle-file-name-all-completions): Backward/ XEmacs - compatibility: Use `completion-ignore-case' if - `read-file-name-completion-ignore-case' does not exist. - (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'. - (tramp-find-shell, tramp-open-connection-setup-interactive-shell): - `tramp-open-shell'. - (tramp-action-password): Hide password prompt before next run. - (tramp-process-actions): Widen connection buffer for the trace. - (tramp-open-connection-setup-interactive-shell): Set `remote-tty' - process property. Trace stty settings if `tramp-verbose' >= 9. - Apply workaround for IRIX64 bug. Move argument of last - `tramp-send-command' where it belongs to. - (tramp-maybe-open-connection): Use `async-args' and `gw-args' in - front of `login-args'. - (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests - on "/dev/null" instead of "/". - (tramp-get-ls-command-with-dired): Make test for "--dired" - stronger. - (tramp-set-auto-save-file-modes): Adapt version check. - (tramp-set-process-query-on-exit-flag): Fix wrong parentheses. - (tramp-handle-process-file): Call the program in a subshell, in - order to preserve working directory. - (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but - `tramp-remote-sh' from `tramp-methods'. - (tramp-get-ls-command): Make test for "--color=never" stronger. - (tramp-check-for-regexp): Use (forward-line 1). - - * net/trampver.el: Update release number. - -2010-08-26 Chong Yidong <[email protected]> - - * help.el (help-map): Bind `C-h P' to describe-package. - - * menu-bar.el (menu-bar-describe-menu): Add describe-package. - - * emacs-lisp/package.el (package-refresh-contents): Catch errors - when downloading archives. - (describe-package-1): Add package commentary. - (package-install-button-action): New function. - (package-menu-mode-map): Bind ? to package-menu-describe-package. - (package-menu-view-commentary): Function removed. - (package-list-packages-internal): Hide the `package' package too. - -2010-08-25 Kenichi Handa <[email protected]> - - * language/misc-lang.el ("Arabic"): New language environment. - Setup composition-function-table for Arabic characters. - - * international/fontset.el (setup-default-fontset): Fix typo for - arabic OTF spec (fini->fina). - -2010-08-25 Jan Djärv <[email protected]> - - * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter - on all frames. - -2010-08-24 Vinicius Jose Latorre <[email protected]> - - * whitespace.el: Allow cleaning up blanks without blank - visualization (Bug#6651). Adjust help window for - whitespace-toggle-options (Bug#6479). Allow to use fill-column - instead of whitespace-line-column (from EmacsWiki). New version - 13.1. - (whitespace-style): Added new value 'face. Adjust docstring. - (whitespace-space, whitespace-hspace, whitespace-tab): Adjust - foreground property face. - (whitespace-line-column): Adjust docstring and type declaration. - (whitespace-style-value-list, whitespace-toggle-option-alist) - (whitespace-help-text): Adjust const initialization. - (whitespace-toggle-options, global-whitespace-toggle-options): - Adjust docstring. - (whitespace-display-window, whitespace-interactive-char) - (whitespace-style-face-p, whitespace-color-on): Adjust code. - (whitespace-help-scroll): New fun. - -2010-08-24 Chong Yidong <[email protected]> - - * emacs-lisp/package.el (list-packages): Alias for - package-list-packages. - -2010-08-24 Kevin Ryde <[email protected]> - - * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix - (Bug#5651). - - * progmodes/ruby-mode.el (ruby): Add defgroup. - -2010-08-24 Chong Yidong <[email protected]> - - * progmodes/python.el: Add Ipython support (Bug#5390). - (python-shell-prompt-alist) - (python-shell-continuation-prompt-alist): New options. - (python--set-prompt-regexp): New function. - (inferior-python-mode, run-python, python-shell): Require - ansi-color. Use python--set-prompt-regexp to set the comint - prompt based on the Python interpreter. - (python--prompt-regexp): New var. - (python-check-comint-prompt) - (python-comint-output-filter-function): Use it. - (run-python): Use a pipe (Bug#5694). - -2010-08-24 Fabian Ezequiel Gallina <[email protected]> (tiny change) - - * progmodes/python.el (python-send-region): Send a different - Python command if Ipython is in use. - (python-check-version): Use a Python command to find the version. - -2010-08-24 Chong Yidong <[email protected]> - - * mouse.el (mouse-yank-primary): Avoid setting primary when - deactivating the mark (Bug#6872). - -2010-08-23 Chris Foote <[email protected]> (tiny change) - - * progmodes/python.el (python-block-pairs): Allow use of "finally" - with "else" (Bug#3991). - -2010-08-23 Michael Albinus <[email protected]> - - * net/dbus.el: Accept UNIX domain sockets as bus address. - (top): Don't initialize `dbus-registered-objects-table' anymore, - this is done in dbusbind,c. - (dbus-check-event): Adapt test for bus. - (dbus-return-values-table, dbus-unregister-service) - (dbus-event-bus-name, dbus-introspect, dbus-register-property): - Adapt doc string. - -2010-08-23 Juanma Barranquero <[email protected]> - - * ido.el (ido-use-virtual-buffers): Fix typo in docstring. - -2010-08-22 Juri Linkov <[email protected]> - - * simple.el (read-extended-command): New function with the logic - for `completing-read' moved to Elisp from `execute-extended-command'. - Use `function-called-at-point' in `minibuffer-default-add-function' - to get a command name for M-n (bug#5364, bug#5214). - -2010-08-22 Chong Yidong <[email protected]> - - * startup.el (command-line-1): Issue warning for ignored arguments - --unibyte, etc (Bug#6886). - -2010-08-22 Leo <[email protected]> - - * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements. - (ignore, bright, dim, keyword): Split list of nicknames before - passing to rcirc-add-or-remove (Bug#6894). - -2010-08-22 Chong Yidong <[email protected]> - - * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880). - -2010-08-22 Leo <[email protected]> - - Fix buffer-list rename&refresh after killing a buffer in ido. - * lisp/ido.el: Revert Óscar's. - (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh. - Remember the buffers at head, rather than their name. - * lisp/iswitchb.el (iswitchb-kill-buffer): Re-make the list. - -2010-08-22 Kirk Kelsey <[email protected]> (tiny change) - Stefan Monnier <[email protected]> - - * progmodes/make-mode.el (makefile-fill-paragraph): Account for the - extra backslash added to each line (bug#6890). - -2010-08-22 Stefan Monnier <[email protected]> - - * subr.el (read-key): Don't echo keystrokes (bug#6883). - -2010-08-22 Glenn Morris <[email protected]> - - * menu-bar.el (menu-bar-games-menu): Add landmark. - -2010-08-22 Glenn Morris <[email protected]> - - * align.el (align-regexp): Make group and spacing arguments - use the interactive defaults when non-interactive. (Bug#6698) - - * mail/rmail.el (rmail-forward): Replace mail-text-start with its - expansion, so as not to need sendmail. - (mail-text-start): Remove declaration. - (rmail-retry-failure): Require sendmail. - -2010-08-22 Chong Yidong <[email protected]> - - * subr.el (read-key): Don't hide the menu-bar entries (bug#6881). - -2010-08-22 Michael Albinus <[email protected]> - - * progmodes/flymake.el (flymake-start-syntax-check-process): - Use `start-file-process' in order to let it run also on remote hosts. - -2010-08-22 Kenichi Handa <[email protected]> - - * files.el: Add `word-wrap' as safe local variable. - -2010-08-22 Glenn Morris <[email protected]> - - * woman.el (woman-translate): Case matters. (Bug#6849) - -2010-08-22 Chong Yidong <[email protected]> - - * simple.el (kill-region): Doc fix (Bug#6787). - -2010-08-22 Glenn Morris <[email protected]> - - * calendar/diary-lib.el (diary-header-line-format): - Fit it to the window, not the frame. - -2010-08-22 Andreas Schwab <[email protected]> - - * subr.el (ignore-errors): Add debug declaration. - -2010-08-22 Geoff Gole <[email protected]> (tiny change) - - * whitespace.el (whitespace-color-off): Remove post-command-hook - locally. - -2010-08-21 Stefan Monnier <[email protected]> - - * vc/add-log.el (add-log-file-name): Don't get confused by symlinks. - -2010-08-21 Chong Yidong <[email protected]> - - * cus-edit.el (custom-group-value-create): Add extra newline - before end line (Bug#6876). - -2010-08-21 Chong Yidong <[email protected]> - - * mouse.el (mouse-save-then-kill): Don't save region to kill ring - when extending it. Before killing on the second click, check if - the buffer is the correct one. Doc fix. - (mouse-secondary-save-then-kill): Allow usage without first - calling mouse-start-secondary, by defaulting to point. Don't save - an empty secondary selection. Doc fix. - -2010-08-21 Vinicius Jose Latorre <[email protected]> - - * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by - Christoph Groth <[email protected]> and Liu Xin <[email protected]>. - New version 13.0. - (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp): - Adjust initialization. - (whitespace-bob-marker, whitespace-eob-marker) - (whitespace-buffer-changed): New vars. - (whitespace-cleanup, whitespace-color-on, whitespace-color-off) - (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp) - (whitespace-post-command-hook, whitespace-display-char-on): - Adjust code. - (whitespace-looking-back, whitespace-buffer-changed): New funs. - (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated. - -2010-08-19 Stefan Monnier <[email protected]> - - * files.el (locate-file-completion-table): Only list the .el and .elc - extensions if there's no other choice (bug#5955). - - * facemenu.el (facemenu-self-insert-data): New var. - (facemenu-post-self-insert-function, facemenu-set-self-insert-face): - New functions. - (facemenu-add-face): Use them. - - * simple.el (blink-matching-open): Obey forward-sexp-function. - -2010-08-18 Stefan Monnier <[email protected]> - - * simple.el (prog-mode-map): New var. - (prog-indent-sexp): New command. - - * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons. - - * progmodes/prolog.el (smie): Require. - - * emacs-lisp/smie.el (smie-default-backward-token) - (smie-default-forward-token): Strip properties. - (smie-next-sexp): Be more careful with associative operators. - (smie-forward-sexp-command): Generalize. - (smie-backward-sexp-command): Simplify. - (smie-closer-alist): New var. - (smie-close-block): New command. - (smie-indent-debug-log): New var. - (smie-indent-offset-rule): Add a few more cases. - (smie-indent-column): New function. - (smie-indent-after-keyword): Use it. - (smie-indent-keyword): Use it. - Fix up the opener code's point position. - (smie-indent-comment): Only applies at BOL. - (smie-indent-debug): New command. - - * emacs-lisp/autoload.el (make-autoload): Preload the macros's - declarations that are useful before running the macro. - -2010-08-18 Joakim Verona <[email protected]> - - * image.el (imagemagick-types-inhibit): New variable. - (imagemagick-register-types): New function. - * image-mode.el (image-transform-properties): New function. - (image-transform-set-scale, image-transform-fit-to-height) - (image-transform-set-rotation, image-transform-set-resize) - (image-transform-fit-to-width, image-transform-fit-to-height): - New functions. - (image-toggle-display-image): Support image transforms. - -2010-08-18 Katsumi Yamaoka <[email protected]> - - * image.el (create-animated-image): Don't add heuristic mask to image - (Bug#6839). - -2010-08-18 Jan Djärv <[email protected]> - - * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard): - Use QCLIPBOARD instead of QPRIMARY (Bug#6677). - -2010-08-17 Stefan Monnier <[email protected]> - - * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set. - - Font-lock '...' strings, plus various simplifications and fixes. - * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt. - (octave-font-lock-close-quotes): New function. - (octave-font-lock-syntactic-keywords): New var. - (octave-mode): Use it. Set beginning-of-defun-function. - (octave-mode-map): Don't override the <foo>-defun commands. - (octave-mode-menu): Pass it directly to easy-menu-define; - remove (now generic) <foo>-defun commands; use info-lookup-symbol. - (octave-block-match-alist): Fix up last change so that - octave-close-block uses the more specific keyword. - (info-lookup-mode): Silence byte-compiler. - (octave-beginning-of-defun): Not interactive any more. - Optimize slightly. - (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove. - (octave-indent-defun, octave-send-defun): Use mark-defun instead. - (octave-completion-at-point-function): Make sure point is within - beg..end. - (octave-reindent-then-newline-and-indent): - Use reindent-then-newline-and-indent. - (octave-add-octave-menu): Remove. - -2010-08-17 Jan Djärv <[email protected]> - - * mail/emacsbug.el (report-emacs-bug-insert-to-mailer) - (report-emacs-bug-can-use-xdg-email): New functions. - (report-emacs-bug): Set can-xdg-email to result of - report-emacs-bug-can-use-xdg-email. If can-xdg-email bind - \C-cm to report-emacs-bug-insert-to-mailer and add help text - about it. - - * net/browse-url.el (browse-url-default-browser): Add cond - for browse-url-xdg-open. - (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions. - -2010-08-17 Glenn Morris <[email protected]> - - * progmodes/cc-engine.el (c-new-BEG, c-new-END) - (c-fontify-recorded-types-and-refs): Define for compiler. - * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions - before use. - - * calendar/icalendar.el (icalendar--convert-recurring-to-diary): - Fix format call. - -2010-08-17 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-make-symbolic-link): Flush file - properties. - (tramp-handle-process-file): Call the program in a subshell, in - order to preserve working directory. - (tramp-action-password): Hide password prompt before next run. - (tramp-process-actions): Widen connection buffer for the trace. - -2010-08-16 Deniz Dogan <[email protected]> - - * net/rcirc.el (rcirc-log-process-buffers): New option. - (rcirc-print): Use it. - (rcirc-generate-log-filename): New function. - (rcirc-log-filename-function): Change default to - rcirc-generate-log-filename (Bug#6828). - -2010-08-16 Chong Yidong <[email protected]> - - * simple.el (deactivate-mark): If select-active-regions is `only', - only set selection for temporarily active regions. - - * cus-start.el: Change defcustom for select-active-regions. - -2010-08-15 Chong Yidong <[email protected]> - - * mouse.el (mouse--drag-set-mark-and-point): New function. - (mouse-drag-track): Use LOCATION arg to push-mark. - Use mouse--drag-set-mark-and-point to take click-count into - consideration when updating point and mark (Bug#6840). - -2010-08-15 Chong Yidong <[email protected]> - - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Give the Ruby rule a lower priority than Gnu (Bug#6778). - -2010-08-14 Štěpán Němec <[email protected]> (tiny change) - - * font-lock.el (lisp-font-lock-keywords-2): - Add combine-after-change-calls, condition-case-no-debug, - with-demoted-errors, and with-silent-modifications (Bug#6025). - -2010-08-14 Kevin Ryde <[email protected]> - - * emacs-lisp/copyright.el (copyright-update-year) - (copyright-update): Temporary switch-to-buffer to ensure the - buffer change being queried is visible (Bug#5394). - -2010-08-14 Tom Tromey <[email protected]> - - * progmodes/etags.el (tags-file-name): Mark safe if stringp - (Bug#6733). - -2010-08-14 Eli Zaretskii <[email protected]> - - * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and - MS-DOS. (Bug#6689) - -2010-08-13 Jan Djärv <[email protected]> - - * menu-bar.el (menu-bar-set-tool-bar-position): New function. - (menu-bar-showhide-tool-bar-menu-customize-enable-left) - (menu-bar-showhide-tool-bar-menu-customize-enable-right) - (menu-bar-showhide-tool-bar-menu-customize-enable-top) - (menu-bar-showhide-tool-bar-menu-customize-enable-bottom): - Call menu-bar-set-tool-bar-position. - -2010-08-12 Stefan Monnier <[email protected]> - - * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c" - comment style (bug#6834). - * progmodes/scheme.el (scheme-mode-syntax-table): - * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious - "b" flag in "' 14b" syntax. - - * progmodes/octave-mod.el (octave-mode-map): Remove special bindings - for (un)commenting the region and performing completion. - (octave-mode-menu): Use standard commands for help and completion. - (octave-mode-syntax-table): Support %{..%} comments (sort of). - (octave-mode): Use define-derived-mode. - Set completion-at-point-functions and don't set columns. - Don't disable adaptive-fill-regexp. - (octave-describe-major-mode, octave-comment-region) - (octave-uncomment-region, octave-comment-indent) - (octave-indent-for-comment): Remove. - (octave-indent-calculate): Rename from calculate-octave-indent. - (octave-indent-line, octave-fill-paragraph): Update caller. - (octave-initialize-completions): No need to make an alist. - (octave-completion-at-point-function): New function. - (octave-complete-symbol): Use it. - (octave-insert-defun): Use define-skeleton. - - * progmodes/octave-mod.el (octave-mode): Set comment-add. - (octave-mode-map): Use comment-dwim (bug#6829). - -2010-08-12 Antoine Levitt <[email protected]> (tiny change) - - * cus-edit.el (custom-save-variables, custom-save-faces): Fix up - indentation of inserted comment. - -2010-08-11 Jan Djärv <[email protected]> - - * faces.el (region): Add type gtk that uses gtk colors. - - * dynamic-setting.el (dynamic-setting-handle-config-changed-event): - Handle theme-name change. - -2010-08-10 Michael R. Mauger <[email protected]> - - * progmodes/sql.el: Version 2.5 - (sql-product-alist): Add :prompt-cont-regexp property for several - database products. - (sql-prompt-cont-regexp): New variable. - (sql-output-newline-count, sql-output-by-send): - New variables. Record number of newlines in input text. - (sql-send-string): Handle multiple filters and count newlines. - (sql-send-magic-terminator): Count terminator newline. - (sql-interactive-remove-continuation-prompt): Filters output to - remove continuation prompts; one for each newline. - (sql-interactive-mode): Set up new variables, prompt regexp and - output filter. - (sql-mode-sqlite-font-lock-keywords): Correct some keywords. - (sql-make-alternate-buffer-name): Correct buffer name in edge cases. - -2010-08-10 Stefan Monnier <[email protected]> - - * emacs-lisp/pcase.el: New file. - -2010-08-10 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-vc-registered-read-file-names): Read input - as here-document, otherwise the command could exceed maximum - length of command line. - (tramp-handle-vc-registered): Call script accordingly. - Reported by Toru TSUNEYOSHI <[email protected]>. - -2010-08-10 Kenichi Handa <[email protected]> - - * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the - composable pattern. - -2010-08-09 Chong Yidong <[email protected]> - - * emacs-lisp/package.el (package-version-split) - (package--version-first-nonzero, package-version-compare): - Functions removed. - (package-directory-list, package-load-all-descriptors) - (package--built-in, package-activate, define-package) - (package-installed-p, package-compute-transaction) - (package-read-all-archive-contents) - (package--add-to-archive-contents, package-buffer-info) - (package-tar-file-info, package-list-packages-internal): - Use version-to-list and version-list-*. - - * emacs-lisp/package-x.el (package-upload-buffer-internal): - Use version-to-list. - (package-upload-buffer-internal): Use version-list-<=. - -2010-08-09 Kenichi Handa <[email protected]> - - * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the - composable pattern. - -2010-08-08 Chong Yidong <[email protected]> - - * tutorial.el (tutorial--default-keys): C-d is now bound to - delete-forward-char (Bug#6826). - - * mouse.el (mouse-drag-track): Remove accidentally-removed check - for `double' value of mouse-1-click-follows-link (Bug#6807). - -2010-08-08 Johan Bockgård <[email protected]> - - * replace.el (replace-highlight): Bind isearch-forward and - isearch-error, ensuring that highlighting is updated if the user - switches the search direction (Bug#6808). - - * isearch.el (isearch-lazy-highlight-forward): New var. - (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search): - (isearch-lazy-highlight-update): Use it. - -2010-08-08 Kenichi Handa <[email protected]> - - * international/mule.el (define-charset): Store NAME as :base property. - (ctext-non-standard-encodings-table): Pay attention to charset aliases. - (ctext-pre-write-conversion): Sort ctext-standard-encodings by the - current priority. Force using the designation of the specific - charset by adding `charset' text property. Improve the whole algorithm. - -2010-08-08 Juanma Barranquero <[email protected]> - - * emulation/pc-select.el (pc-selection-mode-hook) - (copy-region-as-kill-nomark, beginning-of-buffer-mark) - (pc-selection-mode): Fix typos in docstrings. - -2010-08-08 Kenichi Handa <[email protected]> - - * language/cyrillic.el: Don't add "microsoft-cp1251" to - ctext-non-standard-encodings-alist here. - - * international/mule.el (ctext-non-standard-encodings-alist): - Add "koi8-r" and "microsoft-cp1251". - (ctext-standard-encodings): New variable. - (ctext-non-standard-encodings-table): List only elements for - non-standard encodings. - (ctext-pre-write-conversion): Adjust for the above change. - Check ctext-standard-encodings. - - * international/mule-conf.el (compound-text): Doc fix. - (ctext-no-compositions): Doc fix. - (compound-text-with-extensions): Doc fix. - -2010-08-08 Stefan Monnier <[email protected]> - - * simple.el (exchange-dot-and-mark): Mark obsolete, finally. - -2010-08-08 Juanma Barranquero <[email protected]> - - * progmodes/which-func.el (which-func-format): Split help-echo text - into lines, like other mode-line tooltips. - - * server.el (server-start): When using TCP sockets, force IPv4 - and use a literal 127.0.0.1 for localhost. (Related to bug#6781.) - -2010-08-08 Stefan Monnier <[email protected]> - - * bindings.el (complete-symbol): Run completion-at-point as a fallback. - -2010-08-08 Juanma Barranquero <[email protected]> - - * term.el (term-delimiter-argument-list): Reflow docstring. - (term-read-input-ring, term-write-input-ring, term-send-input) - (term-bol, term-erase-in-display, serial-supported-or-barf): - Fix typos in docstrings. - -2010-08-08 Stefan Monnier <[email protected]> - - * bindings.el (function-key-map): Add a S-tab => backtab fallback. - -2010-08-08 Juanma Barranquero <[email protected]> - - * dabbrev.el (dabbrev-completion): Fix typo in docstring. - -2010-08-08 MON KEY <[email protected]> (tiny change) - - * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): - Fix typo in docstring (bug#6747). - -2010-08-08 Leo <[email protected]> - - * eshell/esh-io.el (eshell-get-target): Better detection of - read-only file (Bug#6762). - -2010-08-08 Juanma Barranquero <[email protected]> - - * align.el (align-default-spacing): Doc fix. - (align-region-heuristic, align-regexp): Fix typos in docstrings. - -2010-08-08 Stephen Peters <[email protected]> - - * calendar/icalendar.el - (icalendar--split-value): Fixed splitting regexp. (Bug#6766) - (icalendar--get-weekday-numbers): New - (icalendar--convert-recurring-to-diary): Handle multiple byday - values in weekly rules. (Bug#6766) - -2010-08-08 Ulf Jasper <[email protected]> - - * calendar/icalendar.el (icalendar-uid-format): Doc fix. - (icalendar--create-uid, icalendar-export-region) - (icalendar--parse-summary-and-rest): Code formatting. - -2010-08-08 Jay Belanger <[email protected]> - - * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property - to italicize headers. - (calc-highlight-selections-with-faces): New variable. - (calc-selected-face, calc-nonselected-face): New faces. - - * calc/calccomp.el (math-comp-highlight-string): Use - `calc-highlight-selections-with-faces' to determine how to highlight - sub-formulas. - - * calc/calc-sel.el (calc-show-selections): Change message to when - using faces to highlight selections. - -2010-08-07 Michael R. Mauger <[email protected]> - - * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords): - Add SQLite 3 keywords, functions and datatypes. - (sql-interactive-mode): Remove `comint-process-echoes' set to t - (Bug#6686). - -2010-08-07 Chong Yidong <[email protected]> - - * simple.el (select-active-regions): Move to keyboard.c. - (deactivate-mark): Used saved-region-selection. - (select-active-region): Function removed. - (activate-mark, set-mark, push-mark-command) - (handle-shift-selection): Don't call it. - (keyboard-quit): Avoid adding the region to the window selection. - - * mouse.el (mouse-drag-track): Remove hacks to deal with old - select-active-regions implementation. - (mouse-yank-at-click): Doc fix. - - * cus-start.el: Add custom declaration for select-active-regions. - -2010-08-07 Eli Zaretskii <[email protected]> - - * simple.el (delete-forward-char): Doc fix. - - * tutorial.el (help-with-tutorial): Hack safe file-local variables - after reading the tutorial. - -2010-08-06 Alan Mackenzie <[email protected]> - - * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix - for the case that a C style comment has its delimiters alone on - their respective lines. - -2010-08-06 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-start-file-process): Set connection - property "vec". - (tramp-process-sentinel): Use it for flushing the cache. We - cannot do it via the process buffer, the buffer could be deleted - already when running the sentinel. - -2010-08-06 Jürgen Hötzel <[email protected]> (tiny change) - - * comint.el (comint-mode): Make directory tracking functions - functional on remote files. (Bug#6764) - -2010-08-06 Dan Nicolaescu <[email protected]> - - * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer. - -2010-08-05 Eli Zaretskii <[email protected]> - - * emacs-lisp/find-gc.el (find-gc-source-files): Rename - unexec.c => unexcoff.c. - - * emacs-lisp/authors.el (authors-fixed-entries): Rename - unexec.c => unexcoff.c. - -2010-08-05 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-dired-uncache): Flush directory - cache, not only file cache. - (tramp-process-sentinel): New defun. - (tramp-handle-start-file-process): Use it, in order to invalidate - file caches. - -2010-08-03 Leo <[email protected]> - - * server.el (server-start): Simplify loop. - -2010-08-02 Stefan Monnier <[email protected]> - - * frame.el (screen-height, screen-width, set-screen-width) - (set-screen-height): Remove ancient compatibility aliases. - - * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces - when justifying. It seems useless and harmful for ncols=1 (bug#6738). - - * emacs-lisp/timer.el (timer-event-handler): Protect against timers - that change current buffer. - -2010-08-01 YAMAMOTO Mitsuharu <[email protected]> - - * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the - beginning of the string. Use `string-match-p'. (Bug#6765) - -2010-08-01 Jan Djärv <[email protected]> - - * cus-start.el (x-gtk-use-system-tooltips): New variable. - -2010-08-01 Chong Yidong <[email protected]> - - * emacs-lisp/package.el (package--list-packages): Fix column alignment. - (package--builtins): Tweak descriptions. - (package-print-package): Upcase descriptions if necessary. - Show all built-in packages in font-lock-builtin-face. - (package-list-packages-internal): Omit "emacs" package. - Show status of built-in packages as "built-in". - -2010-07-31 Chong Yidong <[email protected]> - - * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark - before killing to preserve the primary selection (Bug#6701). - - * term/x-win.el (x-select-text): Doc fix. - -2010-07-31 Nathaniel Flath <[email protected]> - - Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang). - The following functions were modified or created: - - * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms) - (objc-font-lock-extra-types): - * progmodes/cc-mode.el (c-basic-common-init): - * progmodes/cc-langs.el (c-make-mode-syntax-table) - (c++-make-template-syntax-table) - (c-identifier-syntax-modifications, c-symbol-start, c-operators) - (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds) - (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re) - (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key): - * progmodes/cc-fonts.el (c-make-inverse-face) - (c-basic-matchers-after): - * progmodes/cc-engine.el (c-forward-keyword-clause) - (c-forward-<>-arglist, c-forward-<>-arglist-recur) - (c-forward-name, c-forward-type, c-forward-decl-or-cast-1) - (c-guess-continued-construct, c-guess-basic-syntax): - -2010-07-31 Jan Djärv <[email protected]> - - * faces.el (face-all-attributes): Improve documentation (Bug#6767). - -2010-07-31 Eli Zaretskii <[email protected]> - - * files.el (bidi-paragraph-direction): Define safe local values. - - * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to - language-info-alist. Remove outdated FIXME in a comment. - -2010-07-31 Alan Mackenzie <[email protected]> - - * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688: - Auto-fill broken in C/C++ modes. - -2010-07-29 Jan Djärv <[email protected]> - - * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left) - (menu-bar-showhide-tool-bar-menu-customize-disable) - (menu-bar-showhide-tool-bar-menu-customize-enable-right) - (menu-bar-showhide-tool-bar-menu-customize-enable-bottom) - (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions - (menu-bar-showhide-tool-bar-menu): If tool bar is moveable, - make a menu for Options => toolbar that can move it. - -2010-07-29 Chong Yidong <[email protected]> - - * emacs-lisp/package-x.el (package--make-rss-entry): - (package-maint-add-news-item, package--update-news) - (package-upload-buffer-internal): New arg ARCHIVE-URL. - - * emacs-lisp/package.el (package-archive-url): Rename from - package-archive-id. - (package-install): Doc fix. - (package-download-single, package-download-tar, package-install) - (package-menu-view-commentary): Callers changed. - -2010-07-29 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-start-file-process): Check only for - `remote-tty' process property. - (tramp-open-shell): Don't check for tty. - (tramp-open-connection-setup-interactive-shell): Set `remote-tty' - process property. - - * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote - host. - -2010-07-28 Chong Yidong <[email protected]> - - * emacs-lisp/package.el (package-load-list, package-archives) - (package-archive-contents, package-user-dir) - (package-directory-list, package--builtins, package-alist) - (package-activated-list, package-obsolete-alist): Mark as risky. - -2010-07-28 Phil Hagelberg <[email protected]> - - Add support for non-default package repositories. - * emacs-lisp/package.el (package-archive-base): Var deleted. - (package-archives): New variable. - (package-archive-contents): Doc fix. - (package-load-descriptor): Do nothing if descriptor file is missing. - (package--write-file-no-coding): New function. - (package-unpack-single): Use it. - (package-archive-id): New function. - (package-download-single, package-download-tar) - (package-menu-view-commentary): Use it. - (package-installed-p): Make second argument optional. - (package-read-all-archive-contents): New function. - (package-initialize): Use it. - (package-read-archive-contents): Add ARCHIVE argument. - (package--add-to-archive-contents): New function. - (package-install): Don't call package-read-archive-contents. - (package--download-one-archive): Store archive file in a - subdirectory of package-user-dir. - (package-menu-execute): Remove spurious line movement. - -2010-07-28 Jan Djärv <[email protected]> - - * cus-start.el (tool-bar-style): Add text-image-horiz. - -2010-07-28 Michael Albinus <[email protected]> - - * progmodes/gud.el (gud-common-init): Check for remoteness of - `file', and not of `default-directory'. - -2010-07-28 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-methods): Move hostname to the end in all - ssh `tramp-login-args'. - (tramp-verbose): Describe verbose level 9. - (tramp-open-shell): Check for tty if `tramp-verbose' >= 9. - (tramp-open-connection-setup-interactive-shell): Trace stty - settings if `tramp-verbose' >= 9. - (tramp-handle-start-file-process): Implement tty setting. - (Bug#4604, Bug#6360) - - * net/tramp-cmds.el (tramp-bug): Recommend setting of - `tramp-verbose' to 9. - -2010-07-27 Aaron S. Hawley <[email protected]> - - * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode) - (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp): - Remove references to package `lisp-re' (bug#4369). - -2010-07-27 Tom Tromey <[email protected]> - - * progmodes/js.el (js-mode): - * progmodes/make-mode.el (makefile-mode): - * progmodes/simula.el (simula-mode): - * progmodes/tcl.el (tcl-mode): Derive from prog-mode. - -2010-07-27 Juanma Barranquero <[email protected]> - - * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494). - - * cedet/semantic/db-file.el (object-write): Fix typo in docstring. - - * time.el (display-time-day-and-date): Remove spurious * in docstring. - (display-time-world-buffer-name, display-time-world-mode-map): - Fix typos in docstrings. - -2010-07-27 Shyam Karanatt <[email protected]> (tiny change) - - * image-mode.el (image-display-size): New function. - (image-forward-hscroll, image-next-line, image-eol, image-eob) - (image-mode-fit-frame): Use it (Bug#6639). - -2010-07-27 Chong Yidong <[email protected]> - - * dired.el (dired-buffers-for-dir): Handle list values of - dired-directory (Bug#6636). - -2010-07-26 Sam Steingold <[email protected]> - - * mouse.el (mouse-yank-primary, mouse-yank-secondary): - Do not call `x-get-selection' the second time, reuse the value. - -2010-07-26 Daiki Ueno <[email protected]> - - * epa-mail.el (epa-mail-mode-map): Add alternative key bindings - which consist of control chars only. Suggested by Richard Stallman. - -2010-07-25 Daiki Ueno <[email protected]> - - * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE - exists before passing an error to find-file-not-found-functions - (bug#6723). - -2010-07-23 Lukas Huonker <[email protected]> - - * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank): - Remove leading nil element, adjust values. - (tetris-shapes, tetris-shape-scores): - Change representation of shapes and remove some redundancy. - (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape) - (tetris-draw-shape, tetris-erase-shape, tetris-test-shape): - Adjust for working with new representation of shapes. - (tetris-shape-rotations): New function. - (tetris-move-bottom, tetris-move-left, tetris-move-right) - (tetris-rotate-prev, tetris-rotate-next): - Adjust for working with the new version of tetris-test-shape. - -2010-07-23 Markus Triska <[email protected]> - - * progmodes/ps-mode.el: Use comint (bug#5954). - (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return].. - (ps-mode-other-newline): Simplify. - (ps-run-mode): Derive from comint-mode instead of - fundamental-mode, yielding input history etc. - (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region) - (ps-run-send-string): Adapt for comint-mode. - (ps-run-newline): Remove now unneeded function. - -2010-07-23 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-methods): Move hostname to the end in all - plink `tramp-login-args'. - -2010-07-23 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-open-shell): New defun. - (tramp-find-shell, tramp-open-connection-setup-interactive-shell): - Use it. - -2010-07-23 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-file-name-regexp-unified) - (tramp-completion-file-name-regexp-unified): On W32 systems, do - not regard the volume letter as remote filename. (Bug#5447) - -2010-07-23 Juanma Barranquero <[email protected]> - - * custom.el (custom-declare-variable): Give a clearer error message - when the docstring is missing (bug#6476). - -2010-07-22 Michael R. Mauger <[email protected]> - - * progmodes/sql.el: Version 2.4. Improved Login prompting. - (sql-login-params): New widget definition. - (sql-oracle-login-params, sql-mysql-login-params) - (sql-solid-login-params, sql-sybase-login-params) - (sql-informix-login-params, sql-ingres-login-params) - (sql-ms-login-params, sql-postgres-login-params) - (sql-interbase-login-params, sql-db2-login-params) - (sql-linter-login-params): Use it. - (sql-sqlite-login-params): Use it; Define "database" parameter as - a file name. - (sql-sqlite-program): Change to "sqlite3". - (sql-comint-sqlite): Make sure database name is complete. - (sql-for-each-login): New function. - (sql-connect, sql-save-connection): Use it. - (sql-get-login-ext): New function. - (sql-get-login): Use it. - (sql-make-alternate-buffer-name): Handle :file parameters. - -2010-07-22 Juanma Barranquero <[email protected]> - - * dired.el (dired-no-confirm): Document value t and fix defcustom to - accept it (bug#6597). Suggested by Drew Adams <[email protected]>. - -2010-07-22 Teemu Likonen <[email protected]> (tiny change) - - * dired.el (dired-mode-map): Use command remapping (bug#6632). - -2010-07-22 Lawrence Mitchell <[email protected]> - - * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620). - -2010-07-21 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-get-ls-command) - (tramp-get-ls-command-with-dired): Run tests on "/dev/null" - instead of "/". - -2010-07-20 Michael R. Mauger <[email protected]> - - * progmodes/sql.el: Version 2.3. - (sql-connection-alist): Changed keys from symbols to strings; - enhanced the widget definition. - (sql-mode-menu): Added submenu to select connections. - (sql-interactive-mode-menu): Added "Save Connection" item. - (sql-add-product): Fixed menu item. - (sql-get-product-feature): Improved error handling. - (sql--alt-buffer-part, sql--alt-if-not-empty): Removed. - (sql-make-alternate-buffer-name): Simplified. - (sql-product-interactive): Handle missing product. - (sql-connect): Support string keys, minor improvements. - (sql-save-connection): New function. - (sql-connection-menu-filter): New function. - -2010-07-20 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-file-name-handler): Trace 'quit. - (tramp-open-connection-setup-interactive-shell): Apply - workaround for IRIX64 bug. Move argument of last - `tramp-send-command' where it belongs to. - -2010-07-20 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-perl-file-attributes) - (tramp-perl-directory-files-and-attributes): Don't pass "$3". - (tramp-maybe-open-connection): Use `async-args' and `gw-args' in - front of `login-args'. - -2010-07-19 Juanma Barranquero <[email protected]> - - * time.el (display-time-world-mode): Define with `define-derived-mode'. - Set `show-trailing-whitespace' to nil. - (display-time-world-display): Simplify. - -2010-07-18 Alan Mackenzie <[email protected]> - - Enhance `c-file-style' in file/directory local variables. - * progmodes/cc-mode.el (c-count-cfss): New function. - (c-before-hack-hook): Call `c-set-style' differently according to - whether c-file-style was set in file or directory local - variables. - -2010-07-18 Michael R. Mauger <[email protected]> - - * progmodes/sql.el: Version 2.2. - (sql-product, sql-user, sql-database, sql-server, sql-port): Use - defcustom :safe keyword rather than putting safe-local-variable - property. - (sql-password): Use defcustom :risky keyword rather than putting - risky-local-variable property. - (sql-oracle-login-params, sql-sqlite-login-params) - (sql-solid-login-params, sql-sybase-login-params) - (sql-informix-login-params, sql-ingres-login-params) - (sql-ms-login-params, sql-postgres-login-params) - (sql-interbase-login-params, sql-db2-login-params) - (sql-linter-login-params): Add `port' option. - (sql-get-product-feature): Added NO-INDIRECT parameter. - (sql-comint-oracle, sql-comint-sybase) - (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql) - (sql-comint-solid, sql-comint-ingres, sql-comint-ms) - (sql-comint-postgres, sql-comint-interbase, sql-comint-db2) - (sql-comint-linter): Renamed sql-connect-* functions to - sql-comint-*. - (sql-product-alist, sql-mode-menu): Renamed as above and - :sqli-connect-func to :sqli-comint-func. - (sql-connection): New variable. - (sql-interactive-mode): Set it. - (sql-connection-alist): New variable. - (sql-connect): New function. - (sql--alt-buffer-part, sql--alt-if-not-empty) - (sql-make-alternate-buffer-name): Improved alternative buffer name. - -2010-07-17 Thierry Volpiatto <[email protected]> - - * image-mode.el (image-bookmark-make-record): Do not set context - in an image (Bug#6650). - -2010-07-17 Chong Yidong <[email protected]> - - * simple.el (select-active-region): New function. - (push-mark-command, set-mark, activate-mark) - (handle-shift-selection): Use it. - (deactivate-mark): Don't check for size of region. - - * mouse.el (mouse-drag-track): Use select-active-region. - -2010-07-17 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-get-ls-command-with-dired): Make test for - "--dired" stronger. - -2010-07-17 Chong Yidong <[email protected]> - - * term/x-win.el (x-select-enable-primary): Change default to nil. - (x-select-enable-clipboard): Add :version keyword. - - * mouse.el (mouse-drag-copy-region): - * simple.el (select-active-regions): Likewise. - -2010-07-16 Reiner Steib <[email protected]> - - * vc/vc.el (vc-coding-system-inherit-eol): New defvar. - (vc-coding-system-for-diff): Use it to decide whether to inherit - from the file the EOL format for reading the diffs of that file. - (Bug#4451) - -2010-07-16 Eli Zaretskii <[email protected]> - - * mail/rmailmm.el (rmail-mime-save): Make the temp buffer - unibyte, so compressed attachments are not compressed again. - -2010-07-16 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired - "/bin/sh" but `tramp-remote-sh' from `tramp-methods'. - (tramp-find-shell): Simplify setting connection property. - (tramp-get-ls-command): Make test for "--color=never" stronger. - -2010-07-15 Simon South <[email protected]> - - * progmodes/delphi.el (delphi-previous-indent-of): Indent case - blocks within record declarations (i.e. variant parts) correctly. - -2010-07-15 Simon South <[email protected]> - - * progmodes/delphi.el (delphi-token-at): Give newlines precedence - over literal tokens when parsing so newlines aren't "absorbed" by - single-line comments. Corrects the indentation of case blocks - that have a comment on the first line. - -2010-07-14 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-load-hook): Fix doc string as suggested - by Drew Adams (Bug#5504). - -2010-07-14 Jan Djärv <[email protected]> - - * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127 - now that Unicode is used (Bug#6594). - -2010-07-14 Chong Yidong <[email protected]> - - * term/x-win.el (x-select-enable-clipboard): Default to t. - (x-initialize-window-system): Don't overwrite Paste menu item. - - * simple.el (select-active-regions): Default to t. - (push-mark-command): Don't overwrite primary with empty string. - - * mouse.el: Bind mouse-2 to mouse-yank-primary. - (mouse-drag-copy-region): Default to nil. - - * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite - Cut/Copy/Paste menu bar items. - -2010-07-13 Thierry Volpiatto <[email protected]> - - Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975). - Patch applied by Karl Fogel. - - * bookmark.el (bookmark-set): Don't set `bookmark-yank-point' - and `bookmark-current-buffer' if they have been already set in - another buffer (e.g gnus-art). - -2010-07-13 Karl Fogel <[email protected]> - Thierry Volpiatto <[email protected]> - - Preparation for setting bookmarks in Gnus article buffers (Bug#5975). - - * bookmark.el (bookmark-make-record-default): Allow unneeded - information to be omitted from the record. - - Adjust declarations and calls: - - * info.el (bookmark-make-record-default): Adjust declaration. - (Info-bookmark-make-record): Adjust call. - - * woman.el (bookmark-make-record-default): Adjust declaration. - (woman-bookmark-make-record): Adjust call. - - * man.el (bookmark-make-record-default): Adjust declaration. - (Man-bookmark-make-record): Adjust call. - - * image-mode.el (bookmark-make-record-default): Adjust declaration. - - * doc-view.el (bookmark-make-record-default): Adjust declaration. - -2010-07-13 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'. - This is also from Thierry Volpiatto's patch in bug #6444. However, - because it was extraneous to the functional change in that patch, - and causes a re-indendation, I am committing it separately. - -2010-07-13 Thierry Volpiatto <[email protected]> - - * bookmark.el (bookmark-show-annotation): Ensure annotations show, - e.g. in Info bookmarks, by using `switch-to-buffer-other-window'. - Patch applied by Karl Fogel (Bug#6444). - -2010-07-13 Chong Yidong <[email protected]> - - * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625). - -2010-07-13 Adrian Robert <[email protected]> - - * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew - Dempsky; bug#5084). Remove incorrect binding for S-tab. - (ns-alternatives-map): Change S-tab binding to backtab - (bug#6616). - - * simple.el (normal-erase-is-backspace-setup-frame): Set mode on - under ns. - -2010-07-12 Andreas Schwab <[email protected]> - - * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs. - (Bug#5806) - - * language/tv-util.el (tai-viet-re): Remove format. - -2010-07-12 Kenichi Handa <[email protected]> - - * language/hebrew.el: Remove no-byte-compile declaration. - Change coding: tag to utf-8. Register hebrew-shape-gstring in - composition-function-table for 3-character looking back. - (hebrew-font-get-precomposed): New function. - (hebrew-shape-gstring): Utilize precomposed glyphs if available. - -2010-07-11 Chong Yidong <[email protected]> - - * mouse.el (mouse-drag-track): Handle select-active-regions - (Bug#6612). - -2010-07-11 Magnus Henoch <[email protected]> - - * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass - empty argument to gvfs-copy. - -2010-07-10 Glenn Morris <[email protected]> - - * calendar/calendar.el (calendar-week-end-day): New function. - * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars. - Respect calendar-week-start-day. (Bug#6606) - (cal-tex-insert-day-names, cal-tex-insert-blank-days) - (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day. - (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and - respect calendar-week-start-day. - -2010-07-10 Chong Yidong <[email protected]> - - * simple.el (use-region-p): Doc fix (Bug#6607). - -2010-07-10 Aleksei Gusev <[email protected]> (tiny change) - - * progmodes/compile.el (compilation-error-regexp-alist-alist): Add - regexps for cucumber and ruby. - -2010-07-08 Daiki Ueno <[email protected]> - - * epa-file.el (epa-file-error, epa-file--find-file-not-found-function) - (epa-file-insert-file-contents): Hack to prevent - find-file from opening empty buffer when decryption failed - (bug#6568). - -2010-07-07 Agustín Martín <[email protected]> - - * textmodes/ispell.el (ispell-alternate-dictionary): - Use file-readable-p. - Return nil if no word-list is found at default locations. - (ispell-complete-word-dict): Default to nil. - (ispell-command-loop): Use 'word-list' when using lookup-words. - (lookup-words): Use ispell-complete-word-dict or - ispell-alternate-dictionary. Check for word-list availability - and handle errors if needed with better messages (Bug#6539). - (ispell-complete-word): Use ispell-complete-word-dict or - ispell-alternate-dictionary. - -2010-07-07 Christoph Scholtes <[email protected]> - - * progmodes/python.el (python-font-lock-keywords): Add Python 2.7 - builtins (BufferError, BytesWarning, WindowsError; callables - bin, bytearray, bytes, format, memoryview, next, print; __package__). - -2010-07-07 Glenn Morris <[email protected]> - - * play/zone.el (top-level): Do not require timer, tabify, or cl. - (zone-shift-left): Ignore intangibility, and any errors from - forward-char. - (zone-shift-right): Remove no-op end-of-line. Ignore intangibility. - (zone-pgm-putz-with-case): Use upcase-region rather than inserting, - deleting, and copying text properties. - (zone-line-specs, zone-pgm-stress): Check forward-line exit status. - (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting - to point-max is hard. - (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes. - (zone-fill-out-screen): Ignore intangibility. - -2010-07-05 Chong Yidong <[email protected]> - - * menu-bar.el (menu-bar-mode): - * tool-bar.el (tool-bar-mode): Replace default-frame-alist element - if it has been set. - - * mouse.el (mouse-drag-track): Call mouse-start-end to handle - word/line selection (Bug#6565). - -2010-07-04 Juanma Barranquero <[email protected]> - - * net/dbus.el (dbus-send-signal): Declare function. - -2010-07-04 Michael Albinus <[email protected]> - - * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1). - (dbus-register-property): New optional argument EMITS-SIGNAL. - (dbus-property-handler): Send signal "PropertiesChanged" if requested. - -2010-07-03 Chong Yidong <[email protected]> - - * mouse.el (mouse-drag-overlay): Variable deleted. - (mouse-move-drag-overlay, mouse-show-mark): Functions deleted. - (mouse--remap-link-click-p): New function. - (mouse-drag-track): Handle dragging by using temporary Transient - Mark mode, instead of a special overlay. - (mouse-kill-ring-save, mouse-save-then-kill): Don't call - mouse-show-mark. - - * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay - deleted. - -2010-07-02 Juri Linkov <[email protected]> - - * autoinsert.el (auto-insert-alist): Fix readability - by using dotted pair notation for lambda. - -2010-07-02 Juri Linkov <[email protected]> - - * faces.el (read-face-name): Rename arg `string-describing-default' - to `default'. Doc fix. Display the default value in quotes - in the prompt. With empty input, return the `default' arg, - unless the default value is a string (in which case return nil). - (describe-face): Replace the string `default' arg of `read-face-name' - with the symbol `default'. - -2010-07-02 Chong Yidong <[email protected]> - - * emulation/viper-cmd.el (viper-delete-backward-char) - (viper-del-backward-char-in-insert) - (viper-del-backward-char-in-replace, viper-change) - (viper-backward-indent): Replace delete-backward-char with - delete-char (Bug#6552). - -2010-07-01 Chong Yidong <[email protected]> - - * ruler-mode.el (ruler--save-header-line-format): Fix typos. - -2010-06-30 Chong Yidong <[email protected]> - - * frame.el (make-frame): Add default-frame-alist to the PARAMETERS - argument passed to frame-creation-function (Bug#5378). - - * faces.el (x-handle-named-frame-geometry) - (x-handle-reverse-video, x-create-frame-with-faces) - (face-set-after-frame-default, tty-create-frame-with-faces): Don't - separately consult default-frame-alist. It is now passed as the - PARAMETER argument. - -2010-06-30 Andreas Schwab <[email protected]> - - * startup.el (command-line): Don't call tool-bar-setup in a - tty-only build. - -2010-06-30 Chong Yidong <[email protected]> - - * ruler-mode.el (ruler--save-header-line-format): New fun. - (ruler-mode): Use it as a setter function, so as not to overwrite - ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370). - -2010-06-29 Chong Yidong <[email protected]> - - * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers. - (vc-root-diff, vc-print-root-log, vc-log-incoming) - (vc-log-outgoing): Use it. - (vc-diff-internal): Set diff-vc-backend. - - * vc/diff-mode.el (diff-vc-backend): New var. - -2010-06-28 Jan Djärv <[email protected]> - - * dynamic-setting.el (font-setting-change-default-font): Remove - call to message. - -2010-06-28 Kenichi Handa <[email protected]> - - * international/quail.el (quail-insert-kbd-layout): Fix the - showing of untranslated characters. - -2010-06-28 Chong Yidong <[email protected]> - - * simple.el (delete-active-region): New option. - (delete-backward-char): Implement in Lisp. - (delete-forward-char): New command. - - * mouse.el (mouse-region-delete-keys): Deleted. - (mouse-show-mark): Simplify. - - * bindings.el (global-map): Bind delete and DEL, the former to - delete-forward-char. - -2010-06-27 Lennart Borgman <[email protected]> - - * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB. - (ruby-mode): Bind indent-line-function (Bug#5119). - -2010-06-27 Chong Yidong <[email protected]> - - * startup.el (command-line): Recognize "0" X resource value. - -2010-06-27 Chong Yidong <[email protected]> - - * startup.el (command-line): Use X resources to set the value of - menu-bar-mode and tool-bar-mode, before calling frame-initialize. - - * menu-bar.el (menu-bar-mode): - * tool-bar.el (tool-bar-mode): Don't change default-frame-alist. - Set init-value to t. - - * frame.el (frame-notice-user-settings): Don't change - default-frame-alist based on menu-bar-mode and tool-bar-mode, or - vice versa (Bug#2249). - -2010-06-26 Eli Zaretskii <[email protected]> - - * w32-fns.el (w32-convert-standard-filename): Doc fix. - -2010-06-25 Agustín Martín <[email protected]> - - * textmodes/flyspell.el (flyspell-check-previous-highlighted-word): - Make sure `flyspell-word' re-checks word after function run (Bug#6504). - - * textmodes/ispell.el (ispell-init-process): Make sure ispell and - default directories are expanded (Bug#6143). - -2010-06-24 Juri Linkov <[email protected]> - - * minibuffer.el (completions-format): Change default from nil to - `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459) - -2010-06-24 Juri Linkov <[email protected]> - - * vc/vc.el (vc-diff-internal): Set `revert-buffer-function' - buffer-locally to lambda that re-runs the vc diff command. - (Bug#6447) - -2010-06-24 Chong Yidong <[email protected]> - - * kmacro.el (kmacro-call-macro): Don't issue hint message if the - echo area is in use (Bug#3412). - -2010-06-22 Glenn Morris <[email protected]> - - * textmodes/texinfmt.el (texinfo-format-region) - (texinfo-raise-lower-sections, texinfo-format-separate-node) - (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias) - (texinfo-format-option, texinfo-noindent): - Use line-beginning-position and line-end-position. - - * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el: - * calc/calc-store.el, calc/calc-units.el, calc/calc.el: - * calc/calccomp.el: Add explicit utf-8 coding cookies to files with - utf-8 characters. - -2010-06-21 Karl Fogel <[email protected]> - - * play/zone.el (zone-fall-through-ws): Fix next-line -> - forward-line fallout. - -2010-07-06 Chong Yidong <[email protected]> - - * mouse.el (mouse-appearance-menu): Add docstring. - - * help.el (describe-key): Print up-event using key-description. - -2010-07-03 Michael Albinus <[email protected]> - - * net/zeroconf.el (zeroconf-resolve-service) - (zeroconf-service-resolver-handler): Use - `dbus-byte-array-to-string'. - (zeroconf-publish-service): Use `dbus-string-to-byte-array'. - -2010-07-03 Jan Moringen <[email protected]> - - * net/zeroconf.el (zeroconf-service-remove-hook): New defun. - -2010-06-30 Dan Nicolaescu <[email protected]> - - Avoid displaying files with a nil state in vc-dir. - * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all - cases that cause insertion. - (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files - with a nil state. - -2010-06-30 Chong Yidong <[email protected]> - - * xml.el (xml-parse-region): Avoid infloop (Bug#5281). - -2010-06-29 Leo <[email protected]> - - * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537) - -2010-06-27 Oleksandr Gavenko <[email protected]> (tiny change) - - * generic-x.el (bat-generic-mode): Fix regexp for command line - switches (Bug#5719). - -2010-06-27 Masatake YAMATO <[email protected]> - - * htmlfontify.el (hfy-face-attr-for-class): Use append instead - of nconc to avoid pure storage error (Bug#6239). - -2010-06-27 Christoph <[email protected]> (tiny change) - - * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window) - (bookmark-bmenu-other-window-with-mouse): Remove unnecessary - bindings of bookmark-automatically-show-annotations (Bug#6515). - -2010-06-25 Eli Zaretskii <[email protected]> - - * arc-mode.el (archive-zip-extract): Don't quote the file name on - MS-Windows and MS-DOS. (Bug#6467, Bug#6144) - -2010-06-24 Štěpán Němec <[email protected]> (tiny change) - - * comint.el (make-comint, make-comint-in-buffer): Mention return - value in the docstrings. (Bug#6498) - -2010-06-24 Yoni Rabkin <[email protected]> - - * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern, - since it is not present when using some non-default switches. - -2010-06-23 Karl Fogel <[email protected]> - - * simple.el (compose-mail): Fix doc string to refer to - `compose-mail-user-agent-warnings', instead of to the - nonexistent `compose-mail-check-user-agent'. - -2010-06-21 Alan Mackenzie <[email protected]> - - Fix an indentation bug: - - * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END. - (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account - of existing values. - - * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after) - (c-clear->-pair-props-if-match-before): now return t when they've - cleared properties, nil otherwise. - (c-before-change-check-<>-operators): Set c-new-beg/end correctly - by taking account of the existing value. - - * progmodes/cc-defs.el - (c-clear-char-property-with-value-function): Fix this to clear the - property rather than overwriting it with nil. - -2010-06-20 Chong Yidong <[email protected]> - - * emacs-lisp/package.el (package-print-package): Add link to - package description via describe-package. - (describe-package-1): List package requirements. Add button to - perform installation. - (package-menu-describe-package): New command. - - * help-mode.el (help-package): New button type. - -2010-06-19 Chong Yidong <[email protected]> - - * emacs-lisp/package.el: Move package-list-packages binding to - menu-bar.el. - (describe-package, describe-package-1, package--dir): New funs. - (package-activate-1): Use package--dir. - - * emacs-lisp/package-x.el (gnus-article-buffer): Require package. - - * help-mode.el (help-package-def): New button type. - - * menu-bar.el: Move package-list-packages binding here from - package.el. - -2010-06-19 Gustav Hållberg <[email protected]> (tiny change) - - * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423) - 2010-06-18 Stefan Monnier <[email protected]> - * emacs-lisp/edebug.el (edebug-read-list): - Phase out old-style backquotes. - -2010-06-17 Juri Linkov <[email protected]> - - * help-mode.el (help-mode): Set buffer-local variable - revert-buffer-function to help-mode-revert-buffer. - (help-mode-revert-buffer): New function. - - * info.el (Info-revert-find-node): Check for major-mode Info-mode - before popping to "*info*" (like in other Info functions). - Keep buffer-name in old-buffer-name. Keep Info-history-forward in - old-history-forward. Pop to old-buffer-name or "*info*" to - recreate the killed buffer. Set Info-history-forward from - old-history-forward. - (Info-breadcrumbs-depth): Add :group and :version. - -2010-06-17 Dan Nicolaescu <[email protected]> - - * emacs-lisp/package.el (package-menu-mode-map): Add a menu. - -2010-06-17 Agustín Martín <[email protected]> - - * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp - for languages like Portuguese with pt_{BR,PT} and no plain pt. + * emacs-lisp/byte-lexbind.el (byte-compile-compute-lforminfo): + specialp -> special-variable-p. -2010-06-17 Juanma Barranquero <[email protected]> +2010-06-15 Stefan Monnier <[email protected]> - * emacs-lisp/package.el (package-menu-mode-map): - Move initialization into declaration. - - * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry. - -2010-06-17 Chong Yidong <[email protected]> - - * emacs-lisp/package.el (package-archive-base): Point to - elpa.gnu.org. - (package-enable, package-load-list): New defcustoms. - (package-user-dir, package-directory-list): Turn into defcustoms. - Don't include package-user-dir in package-directory-list. - (package--builtins-base): Don't include Emacs as a "package". - (package-subdirectory-regexp): New var. - (package-load-all-descriptors, package-compute-transaction) - (package-download-transaction): Obey package-load-list. - (package-activate-1): Rename from package-do-activate. - (package-list-packages-internal): Check package-load-list. - (package-load-descriptor, package-generate-autoloads) - (package-unpack, package-unpack-single) - (package--read-archive-file, package-delete): Use - expand-file-name. - - * emacs-lisp/package-x.el: New file. Package uploading - functionality split out from package.el. - - * startup.el (command-line): Load packages after reading init - file. - -2010-06-17 Tom Tromey <[email protected]> - - * emacs-lisp/package.el: New file. - -2010-06-22 Dan Nicolaescu <[email protected]> - - Fix vc-annotate for renamed files when using Git. - * vc-git.el (vc-git-find-revision): Deal with empty results from - ls-files. Doe not pass the object as a file name to cat-file, it - is not a file name. - (vc-git-annotate-command): Pass the file name using -- to avoid - ambiguity with the revision. - (vc-git-previous-revision): Pass a relative file name. - -2010-06-22 Glenn Morris <[email protected]> - - * progmodes/js.el (js-mode-map): Use standard capitalization and - ellipses for menu entries. - - * wid-edit.el (widget-complete): Doc fix. - -2010-06-22 Jürgen Hötzel <[email protected]> (tiny change) - - * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change. - -2010-06-22 Dan Nicolaescu <[email protected]> - - Fix annotating other revisions for renamed files in vc-annotate. - * vc-annotate.el (vc-annotate): Add an optional argument for the - VC backend. Use it when non-nil. - (vc-annotate-warp-revision): Pass the VC backend to vc-annotate. - (Bug#6487) - - Fix vc-annotate-show-changeset-diff-revision-at-line for git. - * vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal): - Do not pass the file name to the 'previous-revision call when we - don't want a file diff. (Bug#6489) - -2010-06-21 Dan Nicolaescu <[email protected]> - - Fix finding revisions for renamed files in vc-annotate. - * vc.el (vc-find-revision): Add an optional argument for - the VC backend. Use it when non-nil. - * vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC - backend to vc-find-revision. (Bug#6487) - -2010-06-21 Dan Nicolaescu <[email protected]> - - Fix reading file names in Git annotate buffers. - * vc-git.el (vc-git-annotate-extract-revision-at-line): Remove - trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481) - -2010-06-20 Alan Mackenzie <[email protected]> - - * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set - in file local variables, set it first. - -2010-06-19 Glenn Morris <[email protected]> - - * descr-text.el (describe-char-unicode-data): Insert separating - space when needed. (Bug#6422) - - * progmodes/idlwave.el (idlwave-action-and-binding): - Fix typo in 2009-12-03 change. (Bug#6450) - -2010-06-17 Stefan Monnier <[email protected]> - - * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special - handling for `lambda' (misunderstanding). - -2010-06-16 Jay Belanger <[email protected]> - - * calc/calc-poly.el (math-accum-factors): Make sure that - constants aren't distributed after they are factored out. - -2010-06-16 Juri Linkov <[email protected]> - - * facemenu.el (list-colors-display): Call `pop-to-buffer' before - `list-colors-print'. (Bug#6332) - - * subr.el (read-quoted-char): Fix up last change (bug#6290). - -2010-06-16 Stefan Monnier <[email protected]> - - * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda' - specially, since it's a macro. Fix up wrong hint passed to maybe-cons. - - * font-lock.el (font-lock-major-mode): Rename from - font-lock-mode-major-mode to distinguish it from - global-font-lock-mode's own font-lock-mode-major-mode (bug#6135). - (font-lock-set-defaults): - * font-core.el (font-lock-default-function): Adjust users. - (font-lock-mode): Don't set it at all. - -2010-06-16 Stefan Monnier <[email protected]> - - * vc-annotate.el (vc-annotate): Use vc-read-revision. - -2010-06-16 Glenn Morris <[email protected]> - - * calendar/appt.el (appt-time-msg-list): Doc fix. - (appt-check): Let-bind appt-warn-time. - (appt-add): Make the 3rd argument optional. - Simplify argument names. Doc fix. Check for integer WARNTIME. - Only add WARNTIME to the output list if non-nil. - -2010-06-16 Ivan Kanis <[email protected]> - - * calendar/appt.el (appt-check): Let the 3rd element of - appt-time-msg-list specify the warning time. - (appt-add): Add new argument with the warning time. (Bug#5176) - -2010-06-16 Bob Rogers <[email protected]> (tiny change) - - * vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions - older than version 1.6. (Bug#6361) - -2010-06-16 Helmut Eller <[email protected]> - - * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote', - used by cl-do-arglist. (Bug#6408) - -2010-06-16 Agustín Martín <[email protected]> - - * textmodes/ispell.el (ispell-dictionary-base-alist): Fix - portuguese casechars/not-casechars for missing 'çÇ'. - Suggested by Rolando Pereira (bug#6434). - -2010-06-15 Juanma Barranquero <[email protected]> - - * facemenu.el (list-colors-sort): Doc fix. - -2010-06-15 Bob Rogers <[email protected]> (tiny change) - - * progmodes/sql.el (sql-connect-mysql): Fix typo. - -2010-06-14 Juri Linkov <[email protected]> - - Add sort option `list-colors-sort'. (Bug#6332) - * facemenu.el (color-rgb-to-hsv): New function. - (list-colors-sort): New defcustom. - (list-colors-sort-key): New function. - (list-colors-display): Doc fix. Sort list according to the option - `list-colors-sort'. - (list-colors-print): Add HSV values to `help-echo' property of - RGB strings. - -2010-06-14 Juri Linkov <[email protected]> - - * compare-w.el: Move to the "vc" subdirectory. + * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment): + Don't macroexpand before evaluating in eval-and-compile, in case + `body's macro expansion uses macros and functions defined in itself. 2010-06-14 Stefan Monnier <[email protected]> - * image-mode.el (image-mode-map): Remap left-char and right-char. - - * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior. - -2010-06-12 Chong Yidong <[email protected]> - - * term/common-win.el (x-colors): Add all the color names defined - in rgb.txt (Bug#6332). - - * facemenu.el (list-colors-print): Don't print extra names if it - will overflow the window width. - - * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02 - change (Bug#6343). - -2010-06-12 Eli Zaretskii <[email protected]> - - * files.el (make-directory): Doc fix (bug#6396). - -2010-06-12 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-remote-process-environment): Protect version - string by apostroph. - (tramp-shell-prompt-pattern): Do not use a shy group in case of - XEmacs. - (tramp-file-name-for-operation): Add `call-process-region'. - (tramp-set-process-query-on-exit-flag): Fix wrong parentheses. - - * net/tramp-compat.el (top): Do not autoload - `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el - only when `start-file-process' is not bound. - (tramp-advice-file-expand-wildcards): Do not use - `tramp-handle-file-remote-p'. - (tramp-compat-make-temp-file): Handle the case, that - `make-temp-file' has no third argument EXTENSION. - -2010-06-11 Juanma Barranquero <[email protected]> - - * makefile.w32-in (WINS_BASIC): Include new directory vc. - - * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/. - -2010-06-11 Juri Linkov <[email protected]> - - * finder.el (finder-known-keywords): Add keyword "vc" - for version control. - - * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el, - * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el, - * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el, - * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc". - -2010-06-11 Juri Linkov <[email protected]> - - Move version control related files to the "vc" subdirectory. - * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el, - * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el, - * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el, - * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el, - * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el, - * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el, - * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el, - * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el: - Move files to the "vc" subdirectory. - -2010-06-11 Chong Yidong <[email protected]> - - * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change - (Bug#6367). - -2010-06-11 Stephen Eglen <[email protected]> - - * shell.el: Bind `shell-resync-dirs' to M-RET. - -2010-06-10 Michael Albinus <[email protected]> - - * notifications.el: Move file from lisp/net, because it is - supposed to talk locally to the user. - -2010-06-10 Julien Danjou <[email protected]> - - * net/notifications.el (notifications-on-action-signal) - (notifications-on-closed-signal): Pass notification id as first - argument to the callback functions. Add docstrings. - (notifications-notify): Fix docstring. - -2010-06-10 Glenn Morris <[email protected]> - - * emacs-lisp/authors.el (authors-ignored-files) - (authors-valid-file-names): Add some files. - -2010-06-10 Stefan Monnier <[email protected]> - - * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve - merge conflict, giving preference to the emacs-23 version of the code. - -2010-06-09 Stefan Monnier <[email protected]> - - * emacs-lisp/advice.el (ad-compile-function): - Define warning-suppress-types before we let-bind it (bug#6275). - - * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook; - declare it, make it buffer-local and permanent-local (bug#6324). - (vc-resynch-window): Adjust name. - * vc-hooks.el (vc-find-file-hook): Adjust name. - -2010-06-09 Michael Albinus <[email protected]> - - * net/notifications.el (notifications-notify): Fix docstring. - -2010-06-09 Juanma Barranquero <[email protected]> - - Update to Unicode 6.0.0 beta. - * international/charprop.el: Update copyright. - * international/mule-cmds.el (ucs-names): Update character ranges. - * international/uni-bidi.el: - * international/uni-category.el: - * international/uni-combining.el: - * international/uni-comment.el: - * international/uni-decimal.el: - * international/uni-decomposition.el: - * international/uni-digit.el: - * international/uni-lowercase.el: - * international/uni-mirrored.el: - * international/uni-name.el: - * international/uni-numeric.el: - * international/uni-old-name.el: - * international/uni-titlecase.el: - * international/uni-uppercase.el: Regenerate. - -2010-06-09 Juanma Barranquero <[email protected]> - - * emacs-lisp/smie.el (comment-string-strip): Declare function. - (smie-precs-precedence-table): Fix typo in docstring. - - * vc-mtn.el (log-edit-extract-headers): Declare function. - - * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration. - - * net/notifications.el (dbus-register-signal): Declare function. - (notifications-notify): Fix typos and reflow docstring. - -2010-06-09 Dan Nicolaescu <[email protected]> - - Improve VC create/retrieve tag/branch. - * vc.el (vc-create-tag): Do not read the directory name for VCs - with repository revision granularity. Adjust the tag/branch - prompt. Reset VC properties. - (vc-retrieve-tag): Do not read the directory name for VCs - with repository revision granularity. Reset VC properties. - -2010-06-09 Julien Danjou <[email protected]> - - * net/notifications.el: New file. - -2010-06-09 Dan Nicolaescu <[email protected]> - - Add optional support for resetting VC properties. - * vc-dispatcher.el (vc-resynch-window): Add new optional argument, - call vc-file-clearprops when true. - (vc-resynch-buffer): Add new optional argument, pass it down. - (vc-resynch-buffers-in-directory): Likewise. - - Improve support for special markup in the VC commit message. - * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup. - * vc-hg.el (vc-hg-checkin): Add support for Date:. - * vc-git.el (vc-git-checkin): - * vc-bzr.el (vc-bzr-checkin): Likewise. - -2010-06-09 Stefan Monnier <[email protected]> - - * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that - can be handled with a ((:before "fn") (:prev "=>" parent)) rule. - -2010-06-07 Martin Pohlack <[email protected]> - - * iimage.el: Remove images as soon as the underlying text is modified. - (iimage-modification-hook): New function. - (iimage-mode-buffer): Use it. - -2010-06-07 Stefan Monnier <[email protected]> - - * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from - smie-indent-offset-after. Add :prev case. Make a bit more generic. - (smie-indent-virtual): Remove `virtual' arg. Update callers. - (smie-indent-keyword): Add handling of open-paren keywords. - (smie-indent-comment-continue): Don't assume comment-continue. - -2010-06-07 Martin Rudalics <[email protected]> - - * window.el (pop-to-buffer): Remove the conditional that - compares new-window and old-window, so it will reselect - the selected window unconditionally. - http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html - -2010-06-07 Stefan Monnier <[email protected]> - - * emacs-lisp/smie.el (smie-indent-offset-after) - (smie-indent-forward-token, smie-indent-backward-token): New functions. - (smie-indent-after-keyword): Use them. - (smie-indent-fixindent): Only applies to the indentation of the BOL. - (smie-indent-keyword): Tweak the black magic. - (smie-indent-comment-continue): Strip comment-continue before use. - (smie-indent-functions): Indent comments before keywords. - -2010-06-06 Juri Linkov <[email protected]> - - * isearch.el (isearch-lazy-highlight-search): Fix looping - by checking for empty match. This syncs this loop with the - similar loop in `isearch-search'. (Bug#6362) - -2010-06-05 Juanma Barranquero <[email protected]> - - * net/dbus.el (dbus-register-method): Declare function. - (dbus-handle-event, dbus-property-handler): Fix typos in docstrings. - (dbus-introspect): Doc fix. - (dbus-event-bus-name, dbus-introspect-get-interface) - (dbus-introspect-get-argument): Reflow docstrings. - -2010-06-05 Dan Nicolaescu <[email protected]> - - vc-log-incoming/vc-log-outgoing fixes for Git. - * vc-git.el (vc-git-log-view-mode): Fix font lock for - incoming/outgoing logs. - (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream} - instead of vc-git-compute-remote. - (vc-git-compute-remote): Remove. - -2010-06-04 Chong Yidong <[email protected]> - - * term/common-win.el (x-colors): Add "dark green" and "dark - turquoise" (Bug#6332). - -2010-06-04 Juri Linkov <[email protected]> - - * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates. - Instead of setting `replace' to t and replacing the same string - with itself, don't do certain actions when - kill-do-not-save-duplicates is non-nil and string is equal to car - of kill-ring: don't call menu-bar-update-yank-menu, don't push - interprogram-paste strings to kill-ring, and don't push the input - argument `string' to kill-ring. - http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html - -2010-06-04 Juanma Barranquero <[email protected]> - - * subr.el (directory-sep-char): Move from fileio.c and make a defconst. - -2010-06-04 Michael Albinus <[email protected]> - - * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/". - (tramp-gvfs-handler-mounted-unmounted) - (tramp-gvfs-connection-mounted-p): Handle default-location. - - * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to - move files to trash. - -2010-06-04 Juanma Barranquero <[email protected]> - - * international/mule-cmds.el (nonascii-insert-offset) - (nonascii-translation-table): Add obsolescence information. - - * international/mule.el (make-translation-table-from-vector): Doc fix. - -2010-06-03 Eric Ludlam <[email protected]> - - * cedet/semantic/lex-spp.el - (semantic-lex-spp-table-write-slot-value): Instead of erroring on - invalid values during save, just save a nil (Bug#6324). - -2010-06-03 Glenn Morris <[email protected]> - - * desktop.el (desktop-clear-preserve-buffers): - Add "*Warnings*" buffer. (Bug#6336) - -2010-06-03 Dan Nicolaescu <[email protected]> - - vc-log-incoming/vc-log-outgoing improvements for Git. - * vc-git.el (vc-git-log-outgoing): Use the same format as the - short log. - (vc-git-log-incoming): Likewise. Run "git fetch" before the log command. - - Add bindings for vc-log-incoming and vc-log-outgoing. - * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming - and vc-log-outgoing. - * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming - and vc-log-outgoing. - -2010-06-03 Chong Yidong <[email protected]> - - * net/rcirc.el (rcirc-sort-nicknames): Remove. - (rcirc-handler-366): Always sort nicknames. - -2010-06-03 Juanma Barranquero <[email protected]> - - * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler. - -2010-06-03 Chong Yidong <[email protected]> - - * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix. - -2010-06-03 Stefan Monnier <[email protected]> - - * net/rcirc.el (rcirc-sort-nicknames): Change default. - (rcirc-sort-nicknames-join): Avoid setq. - -2010-06-03 Deniz Dogan <[email protected]> - - * net/rcirc.el (rcirc-sort-nicknames): New custom. - (rcirc-nickname<, rcirc-sort-nicknames-join): New funs. - (rcirc-handler-366): Use them. - -2010-06-03 Stefan Monnier <[email protected]> - - Split smie-indent-calculate into more manageable chunks. - * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent) - (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword) - (smie-indent-close, smie-indent-comment-continue, smie-indent-bob) - (smie-indent-exps): Extract from smie-indent-calculate. - (smie-indent-functions): New var. - (smie-indent-functions): Use them. - -2010-06-02 Stefan Monnier <[email protected]> - - * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp. - (smie-indent-calculate): Simplify and cleanup. - -2010-06-02 Michael Albinus <[email protected]> - - * net/tramp-gvfs.el (top): Require url-util. - (tramp-gvfs-mount-point): Remove. - (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command): - New defuns. - (with-tramp-dbus-call-method): Format trace message. - (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): - Implement backup call, when operation on local files fails. - Use progress reporter. Flush properties of changed files. - (tramp-gvfs-handle-make-directory): Make more traces. - (tramp-gvfs-url-file-name): Hexify file name in url. - (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares) - into account for the resulting file name. - (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when - the answer is "no". See `tramp-gvfs-maybe-open-connection'. - (tramp-gvfs-handler-mounted-unmounted) - (tramp-gvfs-connection-mounted-p): Test also for new mountspec - attribute "default_location". Set "prefix" property. - (tramp-gvfs-mount-spec): Return both prefix and mountspec. - (tramp-gvfs-maybe-open-connection): Test, whether mountpoint - exists. Raise an error, if not (due to a corresponding answer - "no" in interactive questions, for example). - -2010-06-02 Dan Nicolaescu <[email protected]> - - * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax. - -2010-06-01 Juanma Barranquero <[email protected]> - - * emacs-lisp/eldoc.el: Add completions for new commands left-* and - right-*. (Bug#6265) - -2010-06-01 Dan Nicolaescu <[email protected]> - - Add support for vc-log-incoming, improve vc-log-outgoing for Git. - * vc-git.el (vc-git-compute-remote): New function. - (vc-git-log-outgoing): Use it instead of hard coding a value. - (vc-git-log-incoming): New function. - - Improve state updating for VC tag commands. - * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer - to update the state of all buffers in the directory. - - * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539). - -2010-06-01 Stefan Monnier <[email protected]> - - * vc-bzr.el (vc-bzr-revision-completion-table): Apply - `file-directory-p' to the filename part rather than to the whole text. - -2010-05-31 Jonathan Marchand <[email protected]> (tiny change) - - * cedet/ede/cpp-root.el (ede-set-project-variables): Fix feature name - (bug#6231). - -2010-05-31 Stefan Monnier <[email protected]> - - * man.el (Man-completion-table): Let the user type "-k " (bug#6319). - -2010-05-31 Drew Adams <[email protected]> - - * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298). - -2010-05-31 Juanma Barranquero <[email protected]> - - * subr.el (momentary-string-display): Just use read-event to read - the exit event (Bug#6238). - -2010-05-30 Eli Zaretskii <[email protected]> - - * international/mule.el (define-coding-system): Doc fix (bug#6313). - -2010-05-30 Juanma Barranquero <[email protected]> - - * emulation/cua-base.el: Recognize also `right-word' and `left-word'. - Suggested by Eli Zaretskii <[email protected]>. - -2010-05-30 Stefan Monnier <[email protected]> - - * minibuffer.el (completion-file-name-table): Don't return a boundary - past the end of `string' (bug#6299). - (completion--file-name-table): Delegate to completion-file-name-table - for the `boundaries' case. - -2010-05-30 Juanma Barranquero <[email protected]> - - * emulation/cua-base.el: Recognize `right-char' and `left-char' as - movement commands. - - * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from - `path-separator', but maintain compatibility with Emacs 20.2. - -2010-05-29 Chong Yidong <[email protected]> - - * server.el (server-process-filter): Receive parent-id argument - from emacsclient. - (server-create-window-system-frame): New arg. Pass parent-id as - frame parameter. - -2010-05-29 Eli Zaretskii <[email protected]> - - Bidi-sensitive word movement with arrow keys. - * subr.el (right-arrow-command, left-arrow-command): Move to - bindings.el. - - * bindings.el (right-char, left-char): Move from subr.el and - rename from right-arrow-command and left-arrow-command. - (right-word, left-word): New functions. - (global-map) <right>: Bind to right-char. - (global-map) <left>: Bind to left-char. - (global-map) <C-right>: Bind to right-word. - (global-map) <C-left>: Bind to left-word. - - * ls-lisp.el (ls-lisp-classify-file): New function. - (ls-lisp-insert-directory): Call it if switches include -F (bug#6294). - (ls-lisp-classify): Call ls-lisp-classify-file. - (insert-directory): Remove blanks from switches. - -2010-05-29 Chong Yidong <[email protected]> - - * ansi-color.el: Delete unused escape sequences (Bug#6085). - (ansi-color-drop-regexp): New constant. - (ansi-color-apply, ansi-color-filter-region) - (ansi-color-apply-on-region): Delete unrecognized control sequences. - (ansi-color-apply): Build string list before calling concat. - -2010-05-28 Juri Linkov <[email protected]> - - * image-dired.el (image-dired-dired-toggle-marked-thumbs): - Replace LOCALP arg of `dired-get-filename' 'no-dir with nil. - (Bug#5270) - -2010-05-28 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall' - to ignored backtrace functions. - (with-progress-reporter): Expand docstring. - (tramp-handle-delete-file): Implement TRASH argument. - (tramp-get-remote-trash): New defun. - -2010-05-28 Michael Albinus <[email protected]> - - * net/tramp-compat.el (tramp-compat-delete-file): Use - `symbol-value' for backward compatibility. - - * net/tramp.el (tramp-handle-make-symbolic-link) - (tramp-handle-load) - (tramp-do-copy-or-rename-file-via-buffer) - (tramp-do-copy-or-rename-file-directly) - (tramp-do-copy-or-rename-file-out-of-band) - (tramp-handle-process-file, tramp-handle-call-process-region) - (tramp-handle-shell-command, tramp-handle-file-local-copy) - (tramp-handle-insert-file-contents, tramp-handle-write-region) - (tramp-delete-temp-file-function): Use `delete-file' instead - of `tramp-compat-delete-file'. - - * net/tramp-fish.el (tramp-fish-handle-delete-directory) - (tramp-fish-handle-make-symbolic-link) - (tramp-fish-handle-process-file): Use `delete-file' instead - of `tramp-compat-delete-file'. - - * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use - `delete-file' instead of `tramp-compat-delete-file'. - - * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg. - (tramp-gvfs-handle-write-region): Use `delete-file' instead of - `tramp-compat-delete-file'. - - * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use - `delete-file' instead of `tramp-compat-delete-file'. - - * net/tramp-smb.el (tramp-smb-handle-copy-file) - (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file) - (tramp-smb-handle-write-region): Use `delete-file' instead of - `tramp-compat-delete-file'. - (tramp-smb-handle-delete-directory): Use 'trash as arg. - -2010-05-27 Chong Yidong <[email protected]> - - * dired.el (dired-delete-file): New arg TRASH. - (dired-internal-do-deletions): New arg TRASH. Use progress reporter. - (dired-do-flagged-delete, dired-do-delete): Use trash. - - * speedbar.el (speedbar-item-delete): Allow trashing. - - * files.el (delete-directory): New arg TRASH. - - * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file) - (ange-ftp-rename-remote-to-remote) - (ange-ftp-rename-local-to-remote) - (ange-ftp-rename-remote-to-local, ange-ftp-load) - (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from - `delete-file'. - (ange-ftp-delete-directory): Add optional arg to `delete-file', to - allow trashing. - - * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to - handle new TRASH arg of `delete-file'. - - * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH. - (tramp-handle-make-symbolic-link, tramp-handle-load) - (tramp-do-copy-or-rename-file-via-buffer) - (tramp-do-copy-or-rename-file-directly) - (tramp-do-copy-or-rename-file-out-of-band) - (tramp-handle-process-file, tramp-handle-call-process-region) - (tramp-handle-shell-command, tramp-handle-file-local-copy) - (tramp-handle-insert-file-contents, tramp-handle-write-region) - (tramp-delete-temp-file-function): Use null TRASH arg in - tramp-compat-delete-file call. - - * net/tramp-fish.el (tramp-fish-handle-delete-directory) - (tramp-fish-handle-delete-file) - (tramp-fish-handle-make-symbolic-link) - (tramp-fish-handle-process-file): Use null TRASH arg in - `tramp-compat-delete-file' call. - - * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH - arg in `tramp-compat-delete-file' call. - - * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg. - (tramp-gvfs-handle-write-region): Use null TRASH arg in - `tramp-compat-delete-file' call. - - * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg. - (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in - `tramp-compat-delete-file' call. - - * net/tramp-smb.el (tramp-smb-handle-copy-file) - (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file) - (tramp-smb-handle-write-region): Use null TRASH arg in - tramp-compat-delete-file call. - (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file. - (tramp-smb-handle-delete-file): Rename arg. - - * diff.el (diff-sentinel): - * epg.el (epg--make-temp-file, epg-decrypt-string) - (epg-verify-string, epg-sign-string, epg-encrypt-string): - * jka-compr.el (jka-compr-partial-uncompress) - (jka-compr-call-process, jka-compr-write-region): - * server.el (server-sentinel): Remove optional arg from - delete-file, reverting 2010-05-03 change. - -2010-05-27 Chong Yidong <[email protected]> - - * progmodes/verilog-mode.el (verilog-type-font-keywords): Use - font-lock-constant-face, not obsolete font-lock-reference-face. - -2010-05-27 Kenichi Handa <[email protected]> - - * language/hebrew.el (hebrew-shape-gstring): Check if a glyph - element of GSTRING is nil. - -2010-05-27 Stefan Monnier <[email protected]> - - * emacs-lisp/smie.el (smie-forward-token-function) - (smie-backward-token-function): New vars. - (smie-backward-sexp, smie-forward-sexp) - (smie-indent-hanging-p, smie-indent-calculate): Use them. - (smie-default-backward-token): Rename from smie-backward-token and - skip comments. - (smie-default-forward-token): Rename from smie-forward-token and - skip comments. - (smie-next-sexp): Handle nil results from next-token. - (smie-indent-calculate): Add a new case for special `fixindent' comments. - -2010-05-27 Chong Yidong <[email protected]> - - * progmodes/verilog-mode.el (verilog-type-font-keywords): - Use font-lock-constant-face, not obsolete font-lock-reference-face. - -2010-05-27 Masatake YAMATO <[email protected]> - - * htmlfontify.el (hfy-face-resolve-face): New function. - (hfy-face-to-style): Use it (Bug#6279). - -2010-05-26 Stefan Monnier <[email protected]> - - * progmodes/ada-xref.el (ada-gnat-parse-gpr): - * emulation/edt.el (edt-load-keys): Avoid (expand-file-name "."). - -2010-05-26 Glenn Morris <[email protected]> - - * emulation/edt.el (edt-load-keys): Use locate-library. - -2010-05-25 Chong Yidong <[email protected]> - - * log-edit.el (log-edit-strip-single-file-name): Default to nil. - (log-edit-changelog-entries): Doc fix. - (log-edit-changelog-insert-entries): Args changed. - Rename relative filenames in ChangeLog entries. Delete tabs. - (log-edit-insert-changelog-entries): Reorganize return value of - `log-edit-changelog-entries' to pass filenames to - log-edit-changelog-insert-entries. - -2010-05-25 Thierry Volpiatto <[email protected]> - - * dired.el (dired-mode-map): Rebind "\C-t\C-t" from - `image-dired-dired-insert-marked-thumbs' to - `image-dired-dired-toggle-marked-thumbs'. - - * image-dired.el: Require cl when compiling. - (image-dired-dired-toggle-marked-thumbs): Rename from - `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix. - Use interactive spec "P". Set LOCALP arg of `dired-get-filename' - to 'no-dir. Skip files whose names don't match - `image-file-name-regexp'. When file has a thumbnail overlay, - delete it. (Bug#5270) - -2010-05-25 Juri Linkov <[email protected]> - - * image-mode.el (image-mode): Add image-after-revert-hook to - after-revert-hook. - (image-after-revert-hook): New function. (Bug#5669) - -2010-05-25 Juri Linkov <[email protected]> - - * image.el (image-animated-p): When delay between animated images - is 0, set it to 10 (0.1 sec). (Bug#6258) - -2010-05-25 Christian Lynbech <[email protected]> (tiny change) - - * net/tramp.el (tramp-handle-insert-directory): Don't use - `forward-word', its default syntax could be changed. - -2010-05-25 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-progress-reporter-update): New defun. - (with-progress-reporter): Use it. - (tramp-process-actions): - * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve - current message, in order to let progress reporter continue - afterwards. (Bug#6257) - -2010-05-25 Glenn Morris <[email protected]> - - * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name): - Add :version. - -2010-05-25 Ryan Yeske <[email protected]> - - * net/rcirc.el (rcirc-default-user-name): Change to "user". - (rcirc-default-full-name): Change to "unknown". - (rcirc-user-name-history): Add variable. - -2010-05-25 Ryan Yeske <[email protected]> - Jonathan Rockway <[email protected]> - - * net/rcirc.el (rcirc-server-alist): Add :pass. - (rcirc): When prompting for connection parameters, also prompt for - username and password. - (rcirc-connect): Take a PASS argument. If PASS is non-nil, send - value to server when connecting. - -2010-05-25 Stefan Monnier <[email protected]> - - * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use. - (smie-merge-prec2s): Pass the tables as separate args. - (smie-bnf-precedence-table): Adjust call accordingly. - (smie-prec2-levels): Set levels at the end. - - Replace Lisp calls to delete-backward-char by delete-char. - * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el, - * skeleton.el, term.el, time.el, wid-edit.el, woman.el, - * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el, - * calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el, - * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el, - * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el, - * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el, - * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el, - * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el, - * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el, - * progmodes/ps-mode.el, progmodes/verilog-mode.el, - * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el, - * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el, - * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to - delete-backward-char by calls to delete-char. - -2010-05-25 Kenichi Handa <[email protected]> - - * language/hebrew.el (hebrew-shape-gstring): New function. - Register it in composition-function-table for all Hebrew combining - characters. - -2010-05-25 Stefan Monnier <[email protected]> - - * epa.el (epa--select-keys): Don't explicitly delete the window since - that can fail (e.g. sole window in frame). Use dedication instead. - -2010-05-24 Uday S Reddy <[email protected]> (tiny change) - - * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201). - -2010-05-22 Chong Yidong <[email protected]> - - * image.el (image-refresh): Define as an alias for image-flush. - - * image-mode.el (image-toggle-display-image): Caller changed. - -2010-05-21 Juri Linkov <[email protected]> - - * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases. - Remove "all" from grep-files-aliases. Split grep-files-aliases by - whitespace, call wildcard-to-regexp on substrings and concat them - with "\\|". (Bug#6114) - -2010-05-21 Alan Mackenzie <[email protected]> - - * progmodes/cc-engine.el (c-parse-state-get-strategy): - Replace parameter `here' with `here-' and `here-plus', which sandwich - any pertinent CPP construct. - (c-remove-stale-state-cache-backwards): Fix a bug which happens - when doing (c-parse-state) in a CPP construct: Exclude any "new" - CPP construct from taking part in the scanning. - -2010-05-21 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-do-copy-or-rename-file) - (tramp-handle-file-local-copy, tramp-maybe-open-connection): - Tune `with-progress-reporter' messages. - (tramp-handle-vc-registered): - * net/tramp-fish.el (tramp-fish-handle-file-local-copy) - (tramp-fish-handle-insert-file-contents) - (tramp-fish-maybe-open-connection): - * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): - * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file) - (tramp-imap-handle-insert-file-contents) - (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'. - -2010-05-21 Juanma Barranquero <[email protected]> - - * add-log.el (change-log-font-lock-keywords): - Highlight all authors in multi-author entries. - - * smerge-mode.el (smerge-refine-ignore-whitespace) - (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict): - Fix typos in docstrings. - (smerge-resolve, smerge-refine-subst): Reflow docstrings. - -2010-05-21 Glenn Morris <[email protected]> - - * progmodes/fortran.el (fortran-mode): - * progmodes/f90.el (f90-mode): Derive from prog-mode. - - * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer - having a relative path in src/Makefile.in. - -2010-05-20 Kevin Ryde <[email protected]> - - * help-mode.el (help-make-xrefs): For Info node links turn - newlines into spaces. Link node names with newlines are matched - by help-xref-info-regexp and buttonized, this change ensures they - can be followed successfully with RET. (Bug#6206) - -2010-05-20 Juri Linkov <[email protected]> - - * locate.el (locate): Use pop-to-buffer instead of - switch-to-buffer-other-window. (Bug#6204) - -2010-05-20 Juri Linkov <[email protected]> - - * replace.el (replace-highlight): Fix lazy-highlighting - for `M-s w str M-% str RET'. - -2009-12-15 Masatake YAMATO <[email protected]> - - * isearch.el (isearch-yank-word-or-char): Pull next subword - when `subword-mode' is activated. (Bug#6220) - -2010-05-20 Mark A. Hershberger <[email protected]> - - * isearch.el (isearch-update-post-hook): New hook. - (isearch-update): Use the new hook. (Bug#6225) - -2010-05-20 Juri Linkov <[email protected]> - - * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map: - [f1], [help], and (char-to-string help-char) instead of "\C-h". - (Bug#6222) - -2010-05-20 Juri Linkov <[email protected]> - - * isearch.el (isearch-yank-string): Use isearch-process-search-string. - (Bug#6223) - -2010-05-20 Juri Linkov <[email protected]> - - * dired-x.el (dired-jump, dired-jump-other-window): Add arg - FILE-NAME to read from the minibuffer when called interactively - with prefix argument instead of using buffer-file-name. - http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html - - * dired.el: Update autoloads. - -2010-05-20 Chong Yidong <[email protected]> - - * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to - nxml-finish-element, for consistency with SGML mode. - - * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to - octave-close-block. - -2010-05-20 Juanma Barranquero <[email protected]> - - * composite.el: Require cl when compiling. - (reference-point-alist, compose-gstring-for-graphic) - (compose-gstring-for-terminal): Fix typos in docstrings. - -2010-05-19 Juri Linkov <[email protected]> - - * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with - set-window-parameter. - -2010-05-19 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute - where appropriate. - (tramp-maybe-open-connection): Use it. - -2010-05-19 Eli Zaretskii <[email protected]> - - * simple.el (move-end-of-line): Make sure we are at line beginning - before backing up to end of previous line. - -2010-05-19 Michael Albinus <[email protected]> - - * password-cache.el (password-cache-remove): Fix docstring. - - * net/secrets.el: Autoload the widget functions. - (secrets-search-items, secrets-create-item) - (secrets-get-attributes, secrets-expand-item): Attributes will be - stored on the password database without leading ":", as all other - clients do as well. - (secrets-mode): Fix docstring. - (secrets-show-secrets): Provide it as autoloaded command only when - D-Bus support is available. Check existence of Secret Service API. - -2010-05-19 Stefan Monnier <[email protected]> - - * indent.el (indent-region): Deactivate region (bug#6200). - -2010-05-19 Glenn Morris <[email protected]> - - * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204) - -2010-05-19 Kenichi Handa <[email protected]> - - * composite.el: Register compose-gstring-for-graphic in - composition-function-table only for combining characters (Mn, Mc, Me). - -2010-05-18 Jay Belanger <[email protected]> - - * calc/calc-trail.el (calc-trail-isearch-forward) - (calc-trail-isearch-backward): Ensure that the new window - point is set correctly. - -2010-05-18 Stefan Monnier <[email protected]> - - * subr.el (read-quoted-char): Resolve modifiers after key - remapping (bug#6212). - -2010-05-18 Michael Albinus <[email protected]> - - Add visualization code for secrets. - * net/secrets.el (secrets-mode): New major mode. - (secrets-show-secrets, secrets-show-collections) - (secrets-expand-collection, secrets-expand-item) - (secrets-tree-widget-after-toggle-function) - (secrets-tree-widget-show-password): New defuns. - -2010-05-18 Stefan Monnier <[email protected]> - - * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB. - (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now - handled in smie-next-sexp. - (smie-indent-calculate): Provide a starting indentation (so the - recursion is well-founded ;-). - - Fix handling of non-associative equal levels. - * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even - when it's not needed. - (smie-op-left, smie-op-right): New functions. - (smie-next-sexp): New function, extracted from smie-backward-sexp. - Better handle equal levels to distinguish the associative case from - the "multi-keyword construct" case. - (smie-backward-sexp, smie-forward-sexp): Use it. - -2010-05-18 Juanma Barranquero <[email protected]> - - * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler. - - * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp) - (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings. - -2010-05-17 Stefan Monnier <[email protected]> - - Provide a simple generic indentation engine and use it for Prolog. - * emacs-lisp/smie.el: New file. - * progmodes/prolog.el (prolog-smie-op-levels) - (prolog-smie-indent-rules): New var. - (prolog-mode-variables): Use them to configure SMIE. - (prolog-indent-line, prolog-indent-level): Remove. - -2010-05-17 Jay Belanger <[email protected]> - - * calc/calc-vec.el (math-vector-avg): Put the vector elements in - order before computing the averages. - -2010-05-16 Jay Belanger <[email protected]> - - * calc/calc-vec.el (calc-histogram): - (calcFunc-histogram): Allow vectors as inputs. - (math-vector-avg): New function. - - * calc/calc-ext.el (math-group-float): Have the number of digits - being grouped depend on the radix (Bug#6189). - -2010-05-15 Ken Raeburn <[email protected]> - - * version.el (emacs-copyright, emacs-version): Don't define here, - now that emacs.c defines it. - -2010-05-15 Eli Zaretskii <[email protected]> - - * international/mule-cmds.el (mule-menu-keymap): Fix definition of - "Describe Language Environment" menu item. - - * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix. - - Bidi-sensitive movement with arrow keys. - * subr.el (right-arrow-command, left-arrow-command): New functions. - - * bindings.el (global-map): Bind them to right and left arrow keys. - - Don't override standard definition of convert-standard-filename. - * files.el (convert-standard-filename): Call - w32-convert-standard-filename and dos-convert-standard-filename on - the corresponding systems. - - * w32-fns.el (w32-convert-standard-filename): Rename from - convert-standard-filename. Doc fix. - - * dos-fns.el (dos-convert-standard-filename): Doc fix. - (convert-standard-filename): Don't defalias. - (register-name-alist, make-register, register-value) - (set-register-value, intdos): Obsolete aliases for the - corresponding dos-* functions and variables. - (dos-intdos): Add a doc string. - -2010-05-15 Jay Belanger <[email protected]> - - * calc/calc-aent.el (math-read-token, math-find-user-tokens): - * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol): - (math-compose-tex-func): - * calc/calccomp.el (math-compose-expr): - * calc/calc-ext.el (math-format-flat-expr-fancy): - * calc/calc-store.el (calc-read-var-name): - * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters. - - * calc/calc.el (var-π, var-φ, var-γ): New variables. - * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol. - * calc/calc-units.el (math-unit-prefixes): Add mu for micro. - (math-standard-units): Add units. - -2010-05-15 Stefan Monnier <[email protected]> - - * progmodes/asm-mode.el (asm-mode): - * progmodes/prolog.el (prolog-mode): Use define-derived-mode. - - * pcomplete.el (pcomplete-completions-at-point): New function, - extracted from pcomplete-std-complete. - (pcomplete-std-complete): Use it. - -2010-05-15 Glenn Morris <[email protected]> - - * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): - Remove references to CVS, RCS and Old directories. - -2010-05-14 Jay Belanger <[email protected]> - - * calc/calc-bin.el (math-format-twos-complement): Group digits when - appropriate. - -2010-05-14 Stefan Monnier <[email protected]> - - * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove. - (sh-mode-syntax-table): Give it a default value instead. - (sh-header-marker): Make buffer-local. - (sh-mode): Move make-local-variable to the corresponding setq. - (sh-add-completer): Avoid gratuitously let-binding a buffer-local var. - Use complete-with-action. - - * simple.el (prog-mode): New (abstract) major mode. - * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it. - * progmodes/sh-script.el (sh-mode): Remove redundant var assignment. - -2010-05-14 Juanma Barranquero <[email protected]> - - * progmodes/sql.el (sql-oracle-program): Reflow docstring. - (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock) - (sql-add-product-keywords, sql-highlight-product, sql-set-product) - (sql-make-alternate-buffer-name, sql-placeholders-filter) - (sql-escape-newlines-filter, sql-input-sender) - (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings. - -2010-05-13 Chong Yidong <[email protected]> - - Add TeX open-block and close-block keybindings to SGML, and vice versa. - - * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to - latex-open-block and C-c / to latex-close-block. - - * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag - and C-c C-e to sgml-close-tag. - -2010-05-13 Michael Albinus <[email protected]> - - * net/tramp.el (with-progress-reporter): Create reporter object - only when the message would be displayed. Handle nested calls. - (tramp-handle-load, tramp-handle-file-local-copy) - (tramp-handle-insert-file-contents, tramp-handle-write-region) - (tramp-maybe-send-script, tramp-find-shell): - Use `with-progress-reporter'. - (tramp-handle-dired-compress-file, tramp-maybe-open-connection): - Fix message text. - - * net/tramp-smb.el (tramp-smb-handle-copy-file) - (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file) - (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection): - Use `with-progress-reporter'. - -2010-05-13 Agustín Martín <[email protected]> - - * textmodes/ispell.el (ispell-init-process): Do not kill ispell - process everytime when spellchecking from the minibuffer (bug#6143). - -2010-05-13 Stefan Monnier <[email protected]> - - * progmodes/sh-script.el (sh-mode): Use define-derived-mode. - - * dos-fns.el: Add "dos-" prefix for namespace control. - (convert-standard-filename): Define as alias for - dos-convert-standard-filename but only if applicable. - -2010-05-12 Alan Mackenzie <[email protected]> - - * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): - Push the mark at the start of these functions when appropriate. - -2010-05-12 Stefan Monnier <[email protected]> - - * minibuffer.el (completion-cycle-threshold): New custom var. - (completion--do-completion): Use it. - (minibuffer-complete): Use cycling if appropriate. - -2010-05-11 Juanma Barranquero <[email protected]> - - * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically - buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173). - -2010-05-11 Juri Linkov <[email protected]> - - * scroll-all.el (scroll-all-check-to-scroll): - Add `scroll-up-command' and `scroll-down-command' (bug#6164). - -2010-05-11 Stefan Monnier <[email protected]> - - * iimage.el (iimage-mode-map): Move initialization into declaration. - (iimage-mode-buffer): Use with-silent-modifications. - Simplify calling convention. Adjust callers. - (iimage-mode): Don't run hook redundantly. - - * minibuffer.el (completion-pcm--pattern->regex): - Fix last change (bug#6160). - -2010-05-10 Juri Linkov <[email protected]> - - Remove nodes visited during Isearch from the Info history. - * info.el (Info-isearch-initial-history) - (Info-isearch-initial-history-list): New variables. - (Info-isearch-start): Record initial values of - Info-isearch-initial-history and Info-isearch-initial-history-list. - Add Info-isearch-end to isearch-mode-end-hook. - (Info-isearch-end): New function. - -2010-05-10 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in - format string, in order to work around a bug in pdksh. - Reported by Gilles Pion <[email protected]>. - (tramp-handle-verify-visited-file-modtime): Do not send a command - when the connection is not established. - (tramp-handle-set-file-times): Simplify the check for utc. - -2010-05-10 Juanma Barranquero <[email protected]> - - Fix use of `filter-buffer-substring' (rework previous change). - * emulation/cua-base.el (cua--filter-buffer-noprops): New function. - (cua-repeat-replace-region): - * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle): - * emulation/cua-gmrk.el (cua-copy-region-to-global-mark) - (cua-cut-region-to-global-mark): Use it. - -2010-05-09 Michael R. Mauger <[email protected]> - - * progmodes/sql.el: Version 2.1. - (sql-product-alist): Redesign structure of product info. - (sql-product, sql-user, sql-server, sql-database): Safe variables. - (sql-port, sql-port-history): New variables. - (sql-interactive-product): New variable. - (sql-send-terminator): New variable. - (sql-imenu-generic-expression): Add "Types" imenu entry. - (sql-oracle-login-params, sql-sqlite-login-params) - (sql-mysql-login-params, sql-solid-login-params) - (sql-sybase-login-params, sql-informix-login-params) - (sql-ingres-login-params, sql-ms-login-params) - (sql-postgres-login-params, sql-interbase-login-params) - (sql-db2-login-params, sql-linter-login-params) - (sql-oracle-scan-on): New variables. - (sql-mode-map): Add C-c C-i to start interactive mode. - (sql-mode-menu): Update existing menu entries. - (sql-font-lock-keywords-builder): Compile-time font-lock optimization. - (sql-mode-oracle-font-lock-keywords) - (sql-mode-postgres-font-lock-keywords) - (sql-mode-ms-font-lock-keywords) - (sql-mode-sybase-font-lock-keywords) - (sql-mode-informix-font-lock-keywords) - (sql-mode-interbase-font-lock-keywords) - (sql-mode-ingres-font-lock-keywords) - (sql-mode-solid-font-lock-keywords) - (sql-mode-mysql-font-lock-keywords) - (sql-mode-sqlite-font-lock-keywords) - (sql-mode-db2-font-lock-keywords) - (sql-mode-linter-font-lock-keywords): Update initialization to - reduce run-time complexity. - (sql-add-product, sql-del-product): New functions. - (sql-set-product-feature, sql-get-product-feature): New functions. - (sql-product-font-lock): Update product API. - (sql-add-product-keywords): New function. - (sql-highlight-product): Update product API. - (sql-help-list-products): New function. - (sql-help): Dynamically lists free and non-free products. - (sql-get-login): Correct bug in handling history and added - prompt for port. - (sql-copy-column): Copy without properties. - (sqli-input-sender): Apply filters to SQLi input. - (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting. - Implement as a filter. - (sql-escape-newlines-filter): Implement as a filter. - (sql-remove-tabs-filter): New function. - (sql-send-magic-terminator): New function. - (sql-send-string): Implement magic terminator. - (sql-send-region): Use `sql-send-string'. - (sql-interactive-mode): Use product API. - (sql-product-interactive): Use product API. - (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql) - (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase) - (sql-db2, sql-linter): Use `sql-product-interactive'. - (sql-connect): New function. - (sql-connect-oracle, sql-connect-sybase, sql-connect-informix) - (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid) - (sql-connect-ingres, sql-connect-ms, sql-connect-postgres) - (sql-connect-interbase, sql-connect-db2, sql-connect-linter): - Use `sql-connect'. - -2010-05-09 Stefan Monnier <[email protected]> - - * minibuffer.el (completion-pcm-complete-word-inserts-delimiters): - New custom variable. - (completion-pcm--string->pattern): Use it. - (completion-pcm--pattern->regex, completion-pcm--pattern->string): - Make it handle any symbol as `any'. - (completion-pcm--merge-completions): Extract common suffix for the new - `prefix' symbol as well. - (completion-substring--all-completions): Use the new `prefix' symbol. - -2010-05-09 Michael Albinus <[email protected]> - - * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if - not bound. - (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT. - (tramp-compat-funcall): New defmacro. - (tramp-compat-line-beginning-position) - (tramp-compat-line-end-position) - (tramp-compat-temporary-file-directory) - (tramp-compat-make-temp-file, tramp-compat-file-attributes) - (tramp-compat-copy-file, tramp-compat-copy-directory) - (tramp-compat-delete-file, tramp-compat-delete-directory) - (tramp-compat-number-sequence, tramp-compat-process-running-p) - * net/tramp.el (top, with-progress-reporter) - (tramp-rfn-eshadow-setup-minibuffer) - (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times) - (tramp-handle-dired-compress-file, tramp-handle-shell-command) - (tramp-completion-mode-p, tramp-check-for-regexp) - (tramp-open-connection-setup-interactive-shell) - (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd) - (tramp-time-diff, tramp-coding-system-change-eol-conversion) - (tramp-set-process-query-on-exit-flag, tramp-unload-tramp) - * net/tramp-cmds.el (tramp-cleanup-all-connections) - (tramp-reporter-dump-variable, tramp-load-report-modules) - (tramp-append-tramp-buffers) - * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it. - - * net/tramp-imap.el (top): Autoload `epg-make-context'. - -2010-05-08 Stefan Monnier <[email protected]> - - * progmodes/compile.el (compilation-buffer-modtime): Rename from - buffer-modtime. Adjust users. - -2010-05-08 Chong Yidong <[email protected]> - - * international/mule.el (auto-coding-alist): Only purecopy - car of each item, not the whole list (Bug#6083). - -2010-05-08 Chong Yidong <[email protected]> - - * progmodes/js.el (js-mode): Make paragraph variables local before - calling c-setup-paragraph-variables (Bug#6071). - -2010-05-08 Eli Zaretskii <[email protected]> - - * composite.el (compose-region, reference-point-alist): Fix typos - in the doc strings. - -2010-05-08 Alexander Klimov <[email protected]> (tiny change) - - * calc/calc-graph.el (calc-graph-plot): Use the proper form for - gnuplot's "set" command. - -2010-05-08 Juanma Barranquero <[email protected]> - - * abbrev.el (last-abbrev-text): Doc fix. - (abbrev-prefix-mark): Don't escape parenthesis. - -2010-05-08 Andreas Schwab <[email protected]> - - * composite.el (find-composition): Doc fix. - -2010-05-08 Juanma Barranquero <[email protected]> - - * progmodes/sql.el (sql-electric-stuff): Fix typo in tag. - (sql-oracle-program, sql-sqlite-options) - (sql-query-placeholders-and-send): Doc fixes. - (sql-set-product, sql-interactive-mode): Reflow docstrings. - (sql-imenu-generic-expression, sql-buffer) - (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords) - (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords) - (sql-mode-sybase-font-lock-keywords) - (sql-mode-informix-font-lock-keywords) - (sql-mode-interbase-font-lock-keywords) - (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords) - (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords) - (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords) - (sql-product-feature, sql-highlight-product) - (comint-line-beginning-position, sql-rename-buffer) - (sql-toggle-pop-to-buffer-after-send-region sql-oracle) - (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid) - (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter): - Fix typos in docstrings. - -2010-05-08 Juri Linkov <[email protected]> - - * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display' - property instead of `invisible' and `after-string' (bug#5998). + * emacs-lisp/bytecomp.el (byte-compile-check-variable): + Update byte-compile-not-obsolete-var to byte-compile-not-obsolete-vars. -2010-05-08 Juri Linkov <[email protected]> + * Makefile.in (.el.elc): Increase max-lisp-eval-depth. - * image-mode.el (image-mode-as-text): Fix typo in docstring. +2006-12-04 Miles Bader <[email protected]> -2010-05-08 Juanma Barranquero <[email protected]> + * Makefile.in (COMPILE_FIRST_STACK_DEPTH): New variable. + (compile, compile-always): Use it. - * filecache.el (file-cache-add-directory-list) - (file-cache-add-directory-recursively): Fix typos in docstrings. +2005-10-24 Miles Bader <[email protected]> -2010-05-08 Kenichi Handa <[email protected]> + * subr.el (functionp): Re-remove. - * language/indian.el (gurmukhi-composable-pattern): Fix typo. - (gujarati-composable-pattern): Fix typo. + * emacs-lisp/bytecomp.el (byte-compile-closure): Add optional + ADD-LAMBDA argument, which we just pass to `byte-compile-lambda'. + (byte-compile-defun): Use ADD-LAMBDA arg to `byte-compile-closure' + instead of adding lambda ourselves. -2010-05-08 Kenichi Handa <[email protected]> +2004-08-09 Miles Bader <[email protected]> - * language/indian.el (oriya-composable-pattern) - (tamil-composable-pattern, malayalam-composable-pattern): - Add two-part vowels to "v" (vowel sign). + Changes from merging the funvec patch: -2010-05-08 Chong Yidong <[email protected]> + * emacs-lisp/bytecomp.el (byte-compile-make-closure): Use `curry' + instead of `vector' to create compiled closures. - * files.el (copy-directory): Handle symlinks (Bug#5982). + Merge funvec patch. -2010-05-08 Dan Nicolaescu <[email protected]> +2004-04-29 Miles Bader <[email protected]> - * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC. - (vc-hg-working-revision): Likewise. Use hg parents, not hg parent - (Bug#5846). + * emacs-lisp/bytecomp.el (byte-compile-top-level): Add new entries + to `byte-compile-lexical-environment' at the start, not end. + (byte-compile-delay-out): Correctly default STACK-ADJUST to zero. -2010-05-08 Glenn Morris <[email protected]> + * emacs-lisp/byte-opt.el (byte-opt-update-stack-params): + Don't crash on no-op lapcode entries (car is nil). - * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string. + * emacs-lisp/byte-lexbind.el (byte-compile-make-lambda-lexenv): + Push a lexvar onto lexenv, not a vinfo! - * minibuffer.el (completion-at-point): Doc fix. +2004-04-11 Miles Bader <[email protected]> -2010-05-08 Stefan Monnier <[email protected]> + * emacs-lisp/bytecomp.el (byte-compile-top-level): + Correctly analyze lexically-bound arguments. - * electric.el (Electric-command-loop): Minor tweak. + * emacs-lisp/byte-lexbind.el (byte-compile-lforminfo-analyze): + Use `append' instead of `nconc'. - * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit - better with dedicated windows. + * emacs-lisp/byte-lexbind.el (byte-compile-make-lvarinfo): + Don't use backquote to make a mutable data-structure. + (byte-compile-lvarinfo-num-refs, byte-compile-lvarinfo-num-sets): + Rename to use `num-' instead of `num'. + (byte-compile-make-lambda-lexenv): Adjust accordingly. -2010-05-07 Chong Yidong <[email protected]> +2004-04-10 Miles Bader <[email protected]> - * Version 23.2 released. + * emacs-lisp/byte-lexbind.el (byte-compile-compute-lforminfo): + Look at variable's global specialp state too. -2010-05-07 Deniz Dogan <[email protected]> (tiny change) - Stefan Monnier <[email protected]> +2004-04-09 Miles Bader <[email protected]> - Highlight vendor specific properties. - * textmodes/css-mode.el (css-proprietary-nmstart-re): New var. - (css-proprietary-property): New face. - (css-font-lock-keywords): Use them. + * emacs-lisp/byte-opt.el (byte-optimize-lapcode): + Default initial-stack-depth to 0. + (byte-optimize-lapcode): Discard the right number of values in + the stack-set+discard-->discard optimization. -2010-05-07 Eli Zaretskii <[email protected]> +2004-04-02 Miles Bader <[email protected]> - * cus-start.el (all): Add native condition for tool-bar-* symbols. + * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Setup the lexical + environment if lexical-binding is enabled. -2010-05-07 Stefan Monnier <[email protected]> +2003-10-14 Miles Bader <[email protected]> - * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files. - * files.el (auto-mode-alist): Remove redundant entries. + * emacs-lisp/macroexp.el (macroexpand-all-1): Special-case + `backquote-list*' to avoid stack overflows. - * files.el (auto-save-mode): Move to simple.el to fix bootstrap. - * simple.el (auto-save-mode): Move from files.el. - * minibuffer.el (completion--common-suffix): Fix copy&paste error. +2003-04-04 Miles Bader <[email protected]> -2010-05-07 Christian von Roques <[email protected]> (tiny change) + * help-fns.el (help-function-arglist): Handle interpreted closures. - * lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592). +2002-11-20 Miles Bader <[email protected]> -2010-05-07 Katsumi Yamaoka <[email protected]> + * emacs-lisp/bytecomp.el (byte-compile-stack-adjustment): + Correctly handle discardN* operators. + * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Fix stack-depth + tracking errors. - * mail/binhex.el (binhex-decode-region-internal) - * mail/uudecode.el (uudecode-decode-region-internal) - * net/dns.el (dns-read-string-name, dns-write, dns-read) - (dns-read-type, dns-query) - * pgg-parse.el (pgg-parse-armor) - * pgg.el (pgg-verify-region) - * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for - XEmacs. +2002-08-26 Miles Bader <[email protected]> - * net/imap.el (imap-disable-multibyte): Redefine it as a macro. + * international/mule.el (make-char): Macroexpand call to + charset-id constructed by `byte-compile' hook. -2010-05-07 Juanma Barranquero <[email protected]> + * emacs-lisp/macroexp.el (macroexpand-all-1): Expand defconst value. - * progmodes/cperl-mode.el (cperl-mode-unload-function): New function. + * emacs-lisp/byte-opt.el (byte-opt-update-stack-params): New macro. + (byte-optimize-lapcode): Keep track of stack-depth in final pass too. + Add more optimizations for lexical binding. + (byte-compile-inline-expand): Macroexpand result of inlining. - Fix use of `filter-buffer-substring' (4th arg NOPROPS removed). - * emulation/cua-base.el (cua-repeat-replace-region): - * emulation/cua-gmrk.el (cua-copy-region-to-global-mark) - (cua-cut-region-to-global-mark): - Remove text properties with `set-text-properties'. - -2010-05-06 Michael Albinus <[email protected]> - - * net/tramp.el (top, with-progress-reporter): - Use `symbol-function' inside `funcall'. - - * net/tramp-compat.el (tramp-compat-file-attributes) - (tramp-compat-delete-file, tramp-compat-delete-directory): - Handle only `wrong-number-of-arguments' error. - - * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo. - (tramp-gvfs-handle-file-selinux-context): Use `symbol-function' - inside `funcall'. - -2010-05-06 Stefan Monnier <[email protected]> - - * minibuffer.el (completion--sreverse, completion--common-suffix): - New functions. - (completion-pcm--merge-completions): Extract common suffix when safe. - - * emacs-lisp/easy-mmode.el (define-minor-mode): - Make :variable more flexible. - * files.el (auto-save-mode): Use it to define using define-minor-mode. - -2010-05-05 Juri Linkov <[email protected]> - - Add `slow' and `history' tags to the desktop data. - - * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag. - (Info-virtual-files) [*Apropos*]: Add `slow' tag. - (Info-finder-find-node): Require `finder.el' to be able - to restore node from the desktop. - (Info-desktop-buffer-misc-data): Save all nodes. Save additional - data `Info-history' and `slow' tag in the assoc list. - (Info-restore-desktop-buffer): Don't restore nodes with the - `slow' tag. Restore `Info-history'. - -2010-05-05 Michael Albinus <[email protected]> - - Add FORCE argument to `delete-file'. - - * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun, - forcing to delete the temporary file. - (ange-ftp-delete-file): Add FORCE arg. - (ange-ftp-rename-remote-to-remote) - (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local) - (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress): - Force file deletion. - - * net/tramp-compat.el (tramp-compat-delete-file): New defun. - - * net/tramp.el (tramp-handle-delete-file): Add FORCE arg. - (tramp-handle-make-symbolic-link, tramp-handle-load) - (tramp-do-copy-or-rename-file-via-buffer) - (tramp-do-copy-or-rename-file-directly) - (tramp-do-copy-or-rename-file-out-of-band) - (tramp-handle-process-file, tramp-handle-call-process-region) - (tramp-handle-shell-command, tramp-handle-file-local-copy) - (tramp-handle-insert-file-contents, tramp-handle-write-region) - (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'. - - * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg. - (tramp-fish-handle-make-symbolic-link) - (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'. - - * net/tramp-ftp.el (tramp-ftp-file-name-handler): - Use `tramp-compat-delete-file'. - - * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg. - (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'. - - * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg. - (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'. - - * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg. - (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy) - (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use - `tramp-compat-delete-file'. - -2010-05-05 Stefan Monnier <[email protected]> - - Minor cleanups. - * subr.el (add-minor-mode): Use push. - * mail/supercite.el (sc-electric-mode): Use more descriptive arg name. - * emulation/edt.el (edt-select-mode): Simplify. - - Use define-minor-mode in more cases. - * term/tvi970.el (tvi970-set-keypad-mode): - * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode) - (normal-erase-is-backspace-mode): - * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode. - (set-scroll-bar-mode-1): (Re)move to its sole caller. - (get-scroll-bar-mode): New function. - * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg. - - Use define-minor-mode for less obvious cases. - * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword. - * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method. - * international/iso-ascii.el (iso-ascii-mode): - * frame.el (auto-raise-mode, auto-lower-mode): - * composite.el (global-auto-composition-mode): Use define-minor-mode. - -2010-05-04 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args' - in order to see error messages for failed logins. - -2010-05-03 Chong Yidong <[email protected]> - - * diff.el (diff-sentinel): - - * epg.el (epg--make-temp-file, epg-decrypt-string) - (epg-verify-string, epg-sign-string, epg-encrypt-string): - - * jka-compr.el (jka-compr-partial-uncompress) - (jka-compr-call-process, jka-compr-write-region, jka-compr-load): - - * server.el (server-sentinel): Use delete-file's new FORCE arg - (Bug#6070). - -2010-05-03 Stefan Monnier <[email protected]> - - Use define-minor-mode where applicable. - * view.el (view-mode): - * type-break.el (type-break-query-mode) - (type-break-mode-line-message-mode): - * textmodes/reftex.el (reftex-mode): - * term/vt100.el (vt100-wide-mode): - * tar-mode.el (tar-subfile-mode): - * savehist.el (savehist-mode): - * ibuf-ext.el (ibuffer-auto-mode): - * composite.el (auto-composition-mode): - * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode): - Use define-minor-mode. - (vhdl-mode): Use static mode-line format. - (vhdl-mode-line-update): Delete. - (vhdl-create-mode-menu, vhdl-activate-customizations) - (vhdl-hs-minor-mode): Don't bother calling it. - -2010-05-02 Stefan Monnier <[email protected]> - - * simple.el (with-wrapper-hook): Move. - (buffer-substring-filters): Mark obsolete. - (filter-buffer-substring-functions): New variable. - (filter-buffer-substring): Use it. Remove unused arg `noprops'. - - Use a mode-line spec rather than a static string in Semantic. - * cedet/semantic/util-modes.el: - (semantic-minor-modes-format): New var to replace... - (semantic-minor-modes-status): Remove. - (semantic-mode-line-update): Construct a mode-line spec rather than - a static string so that mouse buttons can be used on individual minor - modes and so that semantic-mode-line-update only needs to be called - when global settings are changed. - (semantic-add-minor-mode, semantic-toggle-minor-mode-globally): - Call semantic-mode-line-update. - (semantic-toggle-minor-mode-globally): Don't assume mode is on - minor-mode-alist, check semantic-minor-mode-alist as well. - (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker) - (semantic-show-parser-state-marker, semantic-show-parser-state-mode) - (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode): - * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode): - * cedet/semantic/idle.el (semantic-idle-scheduler-mode) - (define-semantic-idle-service, semantic-idle-summary-mode): - * cedet/semantic/decorate/mode.el (semantic-decoration-mode): - Don't call semantic-mode-line-update any more. - -2010-05-02 Stefan Monnier <[email protected]> - - Use define-minor-mode in CEDET where applicable. - - * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode): - Use define-minor-mode. - - * cedet/semantic/util-modes.el (semantic-add-minor-mode): - Remove unused arg `keymap' and code redundant with define-minor-mode. - (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1. - (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode) - (semantic-highlight-func-mode, global-semantic-show-parser-state-mode) - (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode) - (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode) - (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode): - Use define-minor-mode. - (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup) - (semantic-show-unmatched-syntax-mode-setup) - (semantic-show-parser-state-mode-setup) - (semantic-highlight-func-mode-setup): Inline into sole caller. - - * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode) - (semantic-mru-bookmark-mode): Use define-minor-mode. - (semantic-mru-bookmark-mode-setup): Inline into sole caller. - - * cedet/semantic/idle.el (define-semantic-idle-service): - Use define-minor-mode and inline setup function into its sole caller. - (semantic-idle-scheduler-mode-setup) - (semantic-idle-summary-mode-setup): Inline into sole caller. - (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode): - Use define-minor-mode. - - * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode) - (semantic-decoration-mode): Use define-minor-mode. - (semantic-decoration-mode-setup): Inline into sole caller. - - * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration. - (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p. - (ede-dired-add-to-target): Use dolist. - -2010-05-01 Toru TSUNEYOSHI <[email protected]> - Michael Albinus <[email protected]> - - Implement compression for inline methods. - - * net/tramp.el (tramp-inline-compress-start-size): New defcustom. - (tramp-copy-size-limit): Allow also nil. - (tramp-inline-compress-commands): New defconst. - (tramp-find-inline-compress, tramp-get-inline-compress) - (tramp-get-inline-coding): New defuns. - (tramp-get-remote-coding, tramp-get-local-coding): Remove, - replaced by `tramp-get-inline-coding'. - (tramp-handle-file-local-copy, tramp-handle-write-region) - (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'. - -2010-05-01 Stefan Monnier <[email protected]> - - * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode): - Remove unused functions. - - * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode. - Set find-tag-default-function as a variable rather than a property. - - * minibuffer.el (tags-completion-at-point-function): Move to etags.el. - * progmodes/etags.el (tags-completion-at-point-function): - Remove left over interactive spec. Add autoloading stub. - (complete-tag): Use tags-completion-at-point-function. - -2010-04-30 Chong Yidong <[email protected]> - - * minibuffer.el (tags-completion-at-point-function): Fix return value. - -2010-04-29 Chong Yidong <[email protected]> - - * ido.el (ido-init-completion-maps): Remove C-v binding. - (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765). - -2010-04-29 Chong Yidong <[email protected]> - - * minibuffer.el (tags-completion-at-point-function): New function. - (completion-at-point-functions): Use it. - - * cedet/semantic.el (semantic-completion-at-point-function): - New function. - (semantic-mode): Use semantic-completion-at-point-function for - completion-at-point-functions instead. - - * progmodes/etags.el (complete-tag): Revert last change. - -2010-04-29 Alan Mackenzie <[email protected]> - - * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an - off-by-one error (in end of macro position). - -2010-04-29 Stefan Monnier <[email protected]> - - * net/browse-url.el (browse-url-firefox-program): Use iceweasel if - firefox is absent. Don't autoload. - (browse-url-galeon-program): Don't autoload. - -2010-04-28 Chong Yidong <[email protected]> - - * bindings.el (complete-symbol): Move into minibuffer.el. - - * minibuffer.el (complete-tag): Move from etags.el. If tags - completion cannot be performed, return nil instead of signalling - an error. - (completion-at-point): Make it an alias for complete-symbol. - (complete-symbol): Move from bindings.el, and replace with the - body of completion-at-point. - - * progmodes/etags.el (complete-tag): Move to minibuffer.el. - - * cedet/semantic.el (semantic-mode): When enabled, add - semantic-ia-complete-symbol to completion-at-point-functions. - - * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil - if Semantic is not active. - -2010-04-28 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-remote-selinux-p): New defun. - (tramp-handle-file-selinux-context) - (tramp-handle-set-file-selinux-context): Use it. - -2010-04-28 Sam Steingold <[email protected]> - - * progmodes/bug-reference.el (bug-reference-url-format): Mark as - `safe-local-variable' if the value is a string or a symbol with - the property `bug-reference-url-format'. - -2010-04-28 Chong Yidong <[email protected]> - - * progmodes/bug-reference.el (bug-reference-url-format): - Revert 2010-04-27 change due to security risk. - -2010-04-28 Stefan Monnier <[email protected]> - - Make it possible to locally disable a globally enabled mode. - * simple.el (fundamental-mode): Run fundamental-mode-hook. - * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode - rather than kill-all-local-variables so it runs fundamental-mode-hook. - * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): - Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so - that subsequent hooks get a chance to disable it. - -2010-04-27 Stefan Monnier <[email protected]> - - * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): - Avoid re-enabling a minor mode after the user turned the minor mode - off if MODE-enable-in-buffers is run twice (typically once from - fundamental-mode's after-change-major-mode-hook and a second time from - run-mode-hook's own after-change-major-mode-hook). - - * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully. - -2010-04-27 Sam Steingold <[email protected]> - - * progmodes/bug-reference.el (bug-reference-url-format): Mark as - `safe-local-variable' if the value is a string or a function, as - documented and implemented on 2010-04-02. - -2010-04-27 Juanma Barranquero <[email protected]> - - * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil - when method is 'kill. - -2010-04-27 Agustín Martín <[email protected]> - - * textmodes/ispell.el (ispell-init-process): Fix personal dictionary - condition in default directory check. - (ispell-init-process,ispell-kill-ispell,kill-buffer-hook): - Kill ispell process when killing its associated buffer. - -2010-04-27 Jan Djärv <[email protected]> - - * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists, - but we aren't using it. - -2010-04-25 Jan Djärv <[email protected]> - - * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended - checkin in 2010-04-23T16:26:[email protected]. - -2010-04-24 Glenn Morris <[email protected]> - - * emacs-lisp/authors.el (authors-obsolete-files-regexps): - Ignore VCS-ignore files, and deleted nextstep preferences files. - (authors-ignored-files): Ignore deleted cedet test files, and "*.el". - (authors-ambiguous-files): New list. - (authors-valid-file-names): Add some deleted files. - (authors-renamed-files-alist): Add font-setting.el, edt-user.doc. - (authors-disambiguate-file-name): New function. (Bug#5501) - (authors-canonical-file-name): Doc fix. - Don't warn about obsolete files. - (authors-canonical-file-name, authors-scan-el): - Use authors-disambiguate-file-name. - - * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values): - Add autoload cookies. - (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs. - (generated-autoload-file): Set file-local value to "htmlfontify.el". - * htmlfontify.el (caddr, cadddr): Remove fallback definitions. - They have definitions / compiler macros in cl.el. - (htmlfontify-load-rgb-file, hfy-fallback-colour-values): - Replace manual autoloads with generated ones. - (htmlfontify-unload-rgb-file): Remove autoload. - * Makefile.in (autoloads): Ensure htmlfontify.el is writable. - -2010-04-23 Stefan Monnier <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-set-default): New function. - (byte-compile-setq-default): Optimize for the - single-var case and don't call byte-compile-form in this case to avoid - inf-loop with byte-compile-set-default. - - * progmodes/compile.el (compilation-start): Abbreviate default directory. - -2010-04-23 Michael Albinus <[email protected]> - - Implement SELINUX backends. - - * net/tramp.el (tramp-file-name-handler-alist): - Add `file-selinux-context' and `set-file-selinux-context'. - (tramp-handle-file-selinux-context) - (tramp-handle-set-file-selinux-context): New defuns. - (tramp-handle-copy-file, tramp-do-copy-or-rename-file): - Handle PRESERVE-SELINUX-CONTEXT. - - * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): - Add `file-selinux-context' and `set-file-selinux-context'. - (tramp-gvfs-handle-file-selinux-context) - (tramp-gvfs-handle-set-file-selinux-context): New defuns. - (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT. - - * net/ange-ftp.el (ange-ftp-copy-file): - * net/tramp-fish.el (tramp-fish-handle-copy-file): - * net/tramp-imap.el (tramp-imap-handle-copy-file): - * net/tramp-smb.el (tramp-smb-handle-copy-file): - Add PRESERVE-SELINUX-CONTEXT. - -2010-04-22 Michael Albinus <[email protected]> - - Synchronize with Tramp repository. - - * net/tramp.el (with-connection-property, tramp-completion-mode-p) - (tramp-action-process-alive, tramp-action-out-of-band) - (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote) - (tramp-exists-file-name-handler): Fix docstring. - (with-progress-reporter): New defmacro. - (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file) - (tramp-maybe-open-connection): Use it. - -2010-04-22 Noah Lavine <[email protected]> (tiny change) - - Detect ssh 'ControlMaster' argument automatically in some cases. - - * net/tramp.el (tramp-detect-ssh-controlmaster): New defun. - (tramp-default-method): Use it. - -2010-04-22 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-copy-file): Add new optional - parameter `preserve-selinux-context'. - (tramp-file-name-for-operation): Add `set-file-selinux-context'. - -2010-04-22 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-completion-handle-file-name-all-completions): - Ensure, that non remote files are still checked. Oops. - -2010-04-21 Michael Albinus <[email protected]> - - Fix Bug#5840. - - * icomplete.el (icomplete-completions): Use `non-essential'. - - * net/tramp.el (tramp-connectable-p): New defun. - (tramp-handle-expand-file-name) - (tramp-completion-handle-file-name-all-completions) - (tramp-completion-handle-file-name-completion): Use it. - -2010-04-21 Stefan Monnier <[email protected]> - - * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors. - -2010-04-21 Jan Djärv <[email protected]> - - * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items. - - * tool-bar.el (tool-bar-setup): Add :label on some tool bar items. - - * loadup.el: Load dynamic-setting.el if feature dynamic-setting - is present. - - * info.el (info-tool-bar-map): Add labels. - - * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size. - - * cus-edit.el (custom-commands): Add labels for tool bar. - (custom-buffer-create-internal, Custom-mode): Adjust for - labels in custom-commands. - - * dynamic-setting.el: Renamed from font-setting.el. - -2010-04-21 John Wiegley <[email protected]> - - * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o - toggles the use of virtual buffers. - (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value. - (ido-toggle-virtual-buffers): New function. - -2010-04-21 Juanma Barranquero <[email protected]> - - Use `define-derived-mode'; fix window selection; doc fixes. - * play/tetris.el (tetris, tetris-update-speed-function) - (tetris-tty-colors, tetris-x-colors, tetris-move-bottom) - (tetris-move-left, tetris-move-right, tetris-rotate-prev) - (tetris-rotate-next, tetris-end-game, tetris-start-game) - (tetris-pause-game): Fix typos in docstrings. - (tetris-mode-map, tetris-null-map): - Move initialization into declaration. - (tetris-mode): Define with `define-derived-mode'; - set show-trailing-whitespace to nil. - (tetris): Prefer window already displaying the "*Tetris*" buffer. - -2010-04-21 Karel Klíč <[email protected]> - - * files.el (backup-buffer): Handle SELinux context, and return it - if a backup was made by renaming. - (backup-buffer-copy): Set SELinux context to the target file. - (basic-save-buffer): Set SELinux context of the newly written file. - (basic-save-buffer-1): Now it also returns any SELinux context. - (basic-save-buffer-2): Set SELinux context of the newly created file, - and return it. - * net/tramp.el (tramp-file-name-for-operation): - Add file-selinux-context. - -2010-04-21 Stefan Monnier <[email protected]> - - Make the log-edit comments use RFC822 format throughout. - - * vc.el (vc-checkin, vc-modify-change-comment): - Adjust to new vc-start/finish-logentry. - (vc-find-conflicted-file): New command. - (vc-transfer-file): Adjust to new vc-checkin. - (vc-next-action): Improve scoping. - - * vc-hg.el (vc-hg-log-edit-mode): Remove. - (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers. - - * vc-git.el (vc-git-log-edit-mode): Remove. - (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers. - (vc-git-commits-coding-system): Rename from git-commits-coding-system. - - * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files. - (vc-start-logentry): Remove argument `extra'. - (vc-finish-logentry): Remove extra args. - - * vc-bzr.el (vc-bzr-log-edit-mode): Remove. - (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers. - (vc-bzr-conflicted-files): New function. - - * log-edit.el (log-edit-extra-flags) - (log-edit-before-checkin-process): Remove. - (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces. - (log-edit-headers-alist): New var. - (log-edit-header-contents-regexp): New const. - (log-edit-match-to-eoh): New function. - (log-edit-font-lock-keywords): Use them. - (log-edit): Insert a "Summary:" header as default. - (log-edit-mode): Mark font-lock rules as case-insensitive. - (log-edit-done): Cleanup headers. - (log-view-process-buffer): Remove. - (log-edit-extract-headers): New function to replace it. - -2010-04-20 Juanma Barranquero <[email protected]> - - * subr.el (default-direction-reversed): Remove obsolescence info. - -2010-04-20 Stefan Monnier <[email protected]> - - * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the - windows/frames. - - * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point. - I.e. include text after point in the completion region. - Also, return nil when we're not after/in a symbol. - - * international/mule-cmds.el (view-hello-file): Don't fiddle with the - default enable-multibyte-characters. - -2010-04-19 Stefan Monnier <[email protected]> - - * international/mule.el: Help the user choose a valid coding-system. - (read-buffer-file-coding-system): New function. - (set-buffer-file-coding-system): Use it. Prompt the user if the - coding-system cannot encode all the chars. - - * vc-bzr.el: Use standard *vc* and *vc-diff* buffers. - (vc-bzr-shelve-show, vc-bzr-shelve-apply) - (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot): - Don't use *vc-bzr-shelve*. - -2010-04-19 Chong Yidong <[email protected]> - - * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): - Don't destroy list before using it. - -2010-04-19 Dan Nicolaescu <[email protected]> - - Fix the version number for added files. - * vc-hg.el (vc-hg-working-revision): Check if the file is - registered after hg parent fails (Bug#5961). - -2010-04-19 Glenn Morris <[email protected]> - - * htmlfontify.el (htmlfontify-buffer) - (htmlfontify-copy-and-link-dir): Autoload entry points. - -2010-04-19 Magnus Henoch <[email protected]> - - * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file - name relative to the project root (Bug#5960). - -2010-04-19 Glenn Morris <[email protected]> - - * vc-git.el (vc-git-print-log): Doc fix. - -2010-04-19 Óscar Fuentes <[email protected]> - - * ido.el (ido-file-internal): Fix 2009-12-02 change. - -2010-04-19 Christoph <[email protected]> (tiny change) - - * progmodes/grep.el (grep-compute-defaults): Fix handling of host - default settings (Bug#5928). - -2010-04-19 Glenn Morris <[email protected]> - - * progmodes/fortran.el (fortran-match-and-skip-declaration): - New function. - (fortran-font-lock-keywords-3): Use it. (Bug#1385) - -2010-04-19 Kenichi Handa <[email protected]> - - * language/indian.el (malayalam-composable-pattern): Fix previous - change (add U+0D4D "SIGN VIRAMA"). - (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp. - (tamil-composable-pattern): Fix typo in the regexp. - (telugu-composable-pattern): Fix U+0C4D and typo in the regexp. - (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp. - (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp. - -2010-04-19 Chong Yidong <[email protected]> - - * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to - paragraph-separate (Bug#5821). - -2010-04-19 Juri Linkov <[email protected]> - - Put breadcrumbs on overlay instead of inserting to buffer (bug#5809). - - * info.el (Info-find-node-2): Comment out code that skips - breadcrumbs line. - (Info-mouse-follow-link): New command. - (Info-link-keymap): New keymap. - (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'. - Return a string with links instead of inserting breadcrumbs - to the Info buffer. - (Info-fontify-node): Comment out code that inserts breadcrumbs. - Instead of putting the `invisible' text property over the Info - header, make an overlay over the Info header with the `invisible' - property and `after-string' set to the string returned by - `Info-breadcrumbs'. - -2010-04-19 Chong Yidong <[email protected]> - - * help.el (help-window-setup-finish): Doc fix (Bug#5830). - Reported by [email protected]. - -2010-04-19 Stefan Monnier <[email protected]> - - * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu. - (tmm-get-keymap): Add key-binding shortcuts now that they're not - available in the "keyseq cache" any more. - - * custom.el (defcustom): Add edebug spec. - -2010-04-18 Juri Linkov <[email protected]> - - Test for special mode-class in view-buffer instead of view-file (bug#5513). - - * view.el (view-file, view-buffer): Move test for special mode-class - from view-file to view-buffer. - - * tar-mode.el (tar-extract): Turn if's into one cond - like in arc-mode.el. - -2010-04-18 Juri Linkov <[email protected]> - - Add 7z archive format support (bug#5475). - - * arc-mode.el (archive-zip-extract): Try to find 7z executable. - (archive-7z-extract): New defcustom. - (archive-find-type): Add magic string for 7z. - (archive-extract-by-stdout): Add new optional arg `stderr-file'. - If `stderr-file' is non-nil, use `(t stderr-file)' for the - `buffer' arg of `call-process'. - (archive-zip-extract): Check `archive-zip-extract' for "7z" and - call the function `archive-7z-extract' with the variable - `archive-7z-extract' let-bound to `archive-zip-extract'. - (archive-7z-summarize, archive-7z-extract): New functions. - - * international/mule.el (auto-coding-alist): - * files.el (auto-mode-alist): Add 7z file extension. - -2010-04-18 Stefan Monnier <[email protected]> - - * loadup.el: Setup hash-cons for pure data. - - Fix duplicate entries in cedet's loaddefs.el files. - * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever. - Should make most file-local generated-autoload-file unnecessary. - (print-readably): Silence warnings. - (autoload-find-destination): Take load-name as an arg to make sure - it's the same as the one that will be in the file. - (autoload-generate-file-autoloads): Adjust to above changes. - Try to make the dataflow a bit simpler. - - * cvs-status.el (cvs-refontify): Remove unused. - -2010-04-18 Jay Belanger <[email protected]> - - * calc.el (calc-mode-map): Bind "O" to `calc-missing-key'. - - * calc-bin.el (calc-radix): Have the "O" option turn on - twos-complement mode. - -2010-04-17 Jay Belanger <[email protected]> - - * calc-ext.el (calc-init-extensions): Add keybinding for 'calc-option'. - Add `calc-option-prefix-help' to calc-help autoloads. - (calc-inverse): Add "Option" to message, as appropriate. - (calc-hyperbolic): Add "Option" to message, as appropriate. - (calc-option, calc-is-option): New functions. - - * calc-help.el (calc-full-help): Add `calc-option-help'. - (calc-option-prefix-help): New function. - - * calc-misc.el (calc-help): Add "Option" entry. - - * calc.el (calc-local-var-list): Add `calc-option-flag'. - (calc-option-flag): New variable. - (calc-do): Set `calc-option-flag to nil. - (calc-set-mode-line): Add "Opt " as appropriate. - -2010-04-16 Juri Linkov <[email protected]> - - Move scrolling commands from simple.el to window.el - because their primitives are implemented in window.c. - - * simple.el (scroll-error-top-bottom) - (scroll-up-command, scroll-down-command, scroll-up-line) - (scroll-down-line, scroll-other-window-down) - (beginning-of-buffer-other-window, end-of-buffer-other-window): - * window.el (scroll-error-top-bottom) - (scroll-up-command, scroll-down-command, scroll-up-line) - (scroll-down-line, scroll-other-window-down) - (beginning-of-buffer-other-window, end-of-buffer-other-window): - Move from simple.el to window.el because their primitives are - implemented in window.c. - -2010-04-16 Juri Linkov <[email protected]> - - * isearch.el (isearch-lookup-scroll-key): Check both - `isearch-scroll' and `scroll-command' properties. - (scroll-up, scroll-down): Remove `isearch-scroll' property. - - * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property. - - * simple.el (scroll-up-command, scroll-down-command) - (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property. - -2010-04-15 Juri Linkov <[email protected]> - - * simple.el (scroll-up-command, scroll-down-command) - (scroll-up-line, scroll-down-line): Put `scroll-command' - property on the these symbols. Remove them from - `scroll-preserve-screen-position-commands'. - - * mwheel.el (mwheel-scroll): Put `scroll-command' and - `isearch-scroll' properties on the `mwheel-scroll' symbol. - Remove it from `scroll-preserve-screen-position-commands'. - - * isearch.el (isearch-allow-scroll): Doc fix. - -2010-04-15 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-error-with-buffer): Don't show the - connection buffer when we are in completion mode. - (tramp-file-name-handler): Catch the error for some operations - when we are in completion mode. This gives the user the chance to - correct the file name in the minibuffer. - -2010-04-15 Glenn Morris <[email protected]> - - * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable. - -2010-04-15 Juanma Barranquero <[email protected]> - - Simplify by using `define-derived-mode'. - * info.el (Info-mode): - * calendar/todo-mode.el (todo-mode): - * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'. - (gomoku-mode-map): Move initialization into declaration. - -2010-04-14 Michael Albinus <[email protected]> - - Fix Bug#5840. - * ido.el (ido-file-name-all-completions-1): - * minibuffer.el (minibuffer-completion-help): - * net/tramp.el (tramp-completion-mode-p): Use `non-essential'. - -2010-04-14 Stefan Monnier <[email protected]> - - * simple.el (non-essential): New var. - - Add a new field `location' to bookmarks for non-file bookmarks. - * bookmark.el (bookmark-location): Use the new field, if present. - (bookmark-insert-location): Undo last change, not needed any more. - * man.el (Man-bookmark-make-record): - * woman.el (woman-bookmark-make-record): Add `location' field. - -2010-04-14 Juri Linkov <[email protected]> - - * simple.el (scroll-error-top-bottom): New defcustom. - (scroll-up-command, scroll-down-command): Use it. Doc fix. - - * emulation/pc-select.el (pc-select-override-scroll-error): - Obsolete in favor of `scroll-error-top-bottom'. - -2010-04-14 Juri Linkov <[email protected]> - - * tutorial.el (tutorial--default-keys): Rebind `C-v' to - `scroll-up-command' and `M-v' to `scroll-down-command'. - - * emulation/cua-rect.el (cua--init-rectangles): - * forms.el (forms--change-commands): - * image-mode.el (image-mode-map): - Remap scroll-down-command and scroll-up-command - in addition to scroll-down and scroll-up. - -2010-04-14 Juri Linkov <[email protected]> - - * mwheel.el (scroll-preserve-screen-position-commands): - Add mwheel-scroll to this list of commands. - - * simple.el (scroll-preserve-screen-position-commands): - Add scroll-up-command, scroll-down-command, scroll-up-line, - scroll-down-line to this list of commands. - -2010-04-13 Stefan Monnier <[email protected]> - - * obsolete/complete.el: Move from lisp/complete.el. - - * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935). - - * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument - to the minor mode function now turns the mode ON unconditionally. - -2010-04-12 Stefan Monnier <[email protected]> - - * vc-dir.el (vc-dir-kill-line): New command. - (vc-dir-mode-map): Bind it to C-k. - - * bookmark.el (bookmark-insert-location): Handle a nil filename. - - * woman.el: Add bookmark declarations to silence the compiler. - (bookmark-prop-get): Use `man-args' rather than `filename' as a first - step to compatibility between man and woman bookmarks. - Adjust for Man-default-bookmark-title renaming. - (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload. - - * man.el: Add bookmark declarations to silence the compiler. - (Man-name-local-regexp): Make it match NAME as well. - (Man-getpage-in-background): Return the buffer. - (Man-notify-when-ready): Use `case'. - (man-set-default-bookmark-title): Rename to Man-default-bookmark-title. - Don't hardcode "NAME". Simplify. - (Man-bookmark-make-record): Use Man-arguments rather than buffer-name. - Rename from Man-bookmark-make-record. - (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that - we have the actual man-args. Use Man-getpage-in-background rather - than `man' since the arg is already processed. Let bookmark.el do the - window handling. Only wait for the relevant process. - Don't forget to autoload. - - * bookmark.el (bookmark-default-file): Use locate-user-emacs-file. - -2010-04-12 Thierry Volpiatto <[email protected]> - - * woman.el (woman-bookmark-make-record, woman-bookmark-jump): - New functions. - (woman-mode): Setup bookmark support. - - * man.el (man-set-default-bookmark-title, man-bookmark-make-record) - (man-bookmark-jump): New functions. - (Man-mode): Setup bookmark support. - -2010-04-10 Jari Aalto <[email protected]> - - * comint.el (comint-password-prompt-regexp): Use regexp-opt, and - recognize ssh-keygen prompt (Bug#2817). - -2010-04-10 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter. - -2010-04-10 Michael Albinus <[email protected]> - - Synchronize with Tramp repository. - - * net/tramp.el (tramp-completion-function-alist) - (tramp-file-name-regexp, tramp-chunksize) - (tramp-local-coding-commands, tramp-remote-coding-commands): - Fix docstring. - (tramp-remote-process-environment): Use `format' instead of `concat'. - (tramp-handle-directory-files-and-attributes) - (tramp-get-remote-path): Use `copy-tree'. - (tramp-handle-file-name-all-completions): Backward/ XEmacs - compatibility: Use `completion-ignore-case' if - `read-file-name-completion-ignore-case' does not exist. - (tramp-do-copy-or-rename-file-directly): Do not use - `tramp-handle-file-remote-p'. - (tramp-do-copy-or-rename-file-out-of-band): - Use `tramp-compat-delete-directory'. - (tramp-do-copy-or-rename-file-out-of-band) - (tramp-compute-multi-hops, tramp-maybe-open-connection): - Use `format-spec-make'. - (tramp-find-foreign-file-name-handler) - (tramp-advice-make-auto-save-file-name) - (tramp-set-auto-save-file-modes): Remove superfluous check for - `stringp'. This is done inside `tramp-tramp-file-p'. - (tramp-debug-outline-regexp): New defconst. - (tramp-get-debug-buffer): Use it. - (tramp-check-for-regexp): Use (forward-line 1). - (tramp-set-auto-save-file-modes): Adapt version check. - - * net/tramp-compat.el (tramp-advice-file-expand-wildcards): - Wrap call of `featurep' for 2nd argument. - (tramp-compat-make-temp-file): Simplify fallback implementation. - (tramp-compat-copy-tree): Remove function. - (tramp-compat-delete-directory): Provide implementation for older - Emacsen. - - * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes): - Do not use `tramp-fish-handle-file-attributes. - - * net/trampver.el: Update release number. - -2010-04-10 Glenn Morris <[email protected]> - - * progmodes/compile.el (compilation-save-buffers-predicate): - Add missing :version tag. - -2010-04-09 Sam Steingold <[email protected]> - - * progmodes/compile.el (compilation-save-buffers-predicate): - Remove the "autoload" cookie. - - * progmodes/bug-reference.el (turn-on-bug-reference-mode) - (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode' - and `bug-reference-prog-mode' can be used in hooks directly. - -2010-04-09 Dan Nicolaescu <[email protected]> - - Add --author support to git commit. - * vc-git.el (vc-git-checkin): Pass extra-args to the commit command. - (vc-git-log-edit-mode): New minor mode. - (log-edit-mode, log-edit-extra-flags, log-edit-mode): - New declarations. - -2010-04-09 Eric Raymond <[email protected]> - - * vc-hooks.el, vc-git.el: Improve documentation comments. - -2010-04-08 Stefan Monnier <[email protected]> - - Fix some of the problems in defsubst* (bug#5728). - * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args. - (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728). - -2010-04-07 Sam Steingold <[email protected]> - - * progmodes/compile.el (compilation-save-buffers-predicate): - New custom variable. - (compile, recompile): Pass it to `save-some-buffers'. - -2010-04-07 Jan Djärv <[email protected]> - - * wid-edit.el (widget-choose): Move cursor to the second line of - the buffer (Bug#5695). - -2010-04-07 Dan Nicolaescu <[email protected]> - - Add new VC methods: vc-log-incoming and vc-log-outgoing. - * vc.el (vc-print-log-setup-buttons): New function split out from - vc-print-log-internal. - (vc-log-internal-common): New function, a parametrized version of - vc-print-log-internal. - (vc-print-log-internal): Just call vc-log-internal-common with the - right arguments. - (vc-incoming-outgoing-internal): - (vc-log-incoming, vc-log-outgoing): New functions. - (vc-log-view-type): New permanent local variable. - - * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing. - - * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead - of the dynamic bound vc-short-log. - (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions. - - * vc-git.el (vc-git-log-outgoing): New function. - (vc-git-log-view-mode): Use vc-log-view-type instead - of the dynamic bound vc-short-log. - - * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead - of the dynamic bound vc-short-log. Highlight the tag. - (vc-hg-log-incoming, vc-hg-log-outgoing): New functions. - (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode): - (vc-hg-incoming-mode): Remove. - (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing. - -2010-04-07 Dan Nicolaescu <[email protected]> - - Fix default-directory for vc-root-diff. - * vc.el (vc-root-diff): Bind default-directory to the root - directory for the diff command. - -2010-04-07 Michael McNamara <[email protected]> - - * progmodes/verilog-mode.el (verilog-forward-sexp): - (verilog-calc-1): Support "disable fork" and "fork wait" multi - word keywords, suggested by Steve Pearlmutter. - (verilog-pretty-declarations): Support lineup of declarations in - port lists. - (verilog-skip-backward-comments, verilog-skip-forward-comment-p): - fix bug for /* / comments. - (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws): - Speed up and simplfy as this is never called with a bound. - (verilog-pretty-declarations): Enhance to line up declarations - inside a parameter list, suggested by Alan Morgan. - (verilog-pretty-expr): Tune assignment regular expression match - string for corner cases; also use markers instead of character - number as indent changes the later. - -2010-04-07 Wilson Snyder <[email protected]> - - * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown - as missing keyword. - (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE - causing truncation of AUTOWIRE signals. Reported by Bruce Tennant. - (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for - AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce - Tennant. - (verilog-keywords): - (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE - 1800-2009 keywords, including "global.". - -2010-04-06 John Wiegley <[email protected]> - - * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names - appearing in buffer list (if a live buffer name matched a recentf - file basename). Should use uniquify to offer a real solution. - -2010-04-06 John Wiegley <[email protected]> - - * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog - comment to code, and add a :version tag. - (ido-virtual-buffers): Move defvar to fix byte-compiler warning. - -2010-04-06 Juanma Barranquero <[email protected]> - - Enable recentf-mode if using virtual buffers. - * ido.el (recentf-list): Declare for byte-compiler. - (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring. - (ido-make-buffer-list): Simplify. - (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode. - -2010-04-05 Juri Linkov <[email protected]> - - Scrolling commands which scroll a line instead of full screen. - http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html - - * simple.el (scroll-up-line, scroll-down-line): New commands. - Put property isearch-scroll=t on them. - - * emulation/ws-mode.el (scroll-down-line, scroll-up-line): - Remove commands. - -2010-04-05 Juri Linkov <[email protected]> - - Scrolling commands which do not signal errors at top/bottom. - http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html - - * simple.el (scroll-up-command, scroll-down-command): New commands. - Put property isearch-scroll=t on them. - - * bindings.el (global-map): Rebind [prior] from `scroll-down' to - `scroll-down-command' and [next] from `scroll-up' to - `scroll-up-command'. - - * emulation/cua-base.el: Put property CUA=move on - `scroll-up-command' and `scroll-down-command'. - (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up' - and `scroll-down-command' to `cua-scroll-down'. - -2010-04-05 Juanma Barranquero <[email protected]> - - * help.el (describe-mode): Return nil. - -2010-04-04 John Wiegley <[email protected]> - - * ido.el (ido-use-virtual-buffers): New variable to indicate - whether "virtual buffer" support is enabled for IDO. - (ido-virtual): Face used to indicate virtual buffers in the list. - (ido-buffer-internal): If a buffer is chosen, and no such buffer - exists, but a virtual buffer of that name does (which would be why - it was in the list), recreate the buffer by reopening the file. - (ido-make-buffer-list): If virtual buffers are being used, call - `ido-add-virtual-buffers-to-list' before the make list hook. - (ido-virtual-buffers): New variable which contains a copy of the - current contents of the `recentf-list', albeit pared down for the - sake of speed, and with proper faces applied. - (ido-add-virtual-buffers-to-list): Using the `recentf-list', - create a list of "virtual buffers" to present to the user in - addition to the currently open set. Note that this logic could - get rather slow if that list is too large. With the default - `recentf-max-saved-items' of 200, there is little speed penalty. - -2010-04-03 Stefan Monnier <[email protected]> - - * font-lock.el: Require CL when compiling. - (font-lock-turn-on-thing-lock): Use `case'. - -2010-04-03 Eli Zaretskii <[email protected]> - - * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli - Zaretskii. - -2010-04-02 Juanma Barranquero <[email protected]> - - * cedet/semantic/imenu.el (semantic-imenu-bucketize-type-members) - (semantic-create-imenu-directory-index): Fix typos in docstrings. - (semantic-imenu-goto-function): Reflow docstring. - -2010-04-02 Juri Linkov <[email protected]> - - * ehelp.el (electric-help-orig-major-mode): - New buffer-local variable. - (electric-help-mode): Set it to original major-mode. Doc fix. - (with-electric-help): Use `electric-help-orig-major-mode' instead - of (default-value 'major-mode). Doc fix. - http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html - -2010-04-02 Sam Steingold <[email protected]> - - * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling - `vc-hg-command' with a list of flags. - - * progmodes/bug-reference.el (bug-reference-bug-regexp): - Also accept "patch" and "RFE". - (bug-reference-fontify): `bug-reference-url-format' can also be a - function to be able to handle the bug kind. - (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add. - -2010-04-02 Jan Djärv <[email protected]> - - * tmm.el (tmm-get-keymap): Check with symbolp before passing - value to fboundp, it may not be a symbol. - -2010-03-31 Chong Yidong <[email protected]> - - * cus-edit.el (custom-buffer-sort-alphabetically): Update :version. - -2010-03-31 Juri Linkov <[email protected]> - - * simple.el (next-line, previous-line): Re-throw a signal - with `signal' instead of using `ding'. - http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html - -2010-03-31 Juri Linkov <[email protected]> - - * simple.el (keyboard-escape-quit): Raise deselecting the active - region higher than exiting the minibuffer. - http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html - -2010-03-31 Juri Linkov <[email protected]> - - * image.el (image-animated-p): Use `image-metadata' instead of - `image-extension-data'. Get GIF extenstion data from metadata - property `extension-data'. - -2010-03-31 Stefan Monnier <[email protected]> - - * simple.el (append-to-buffer): Simplify. - -2010-03-31 Tomas Abrahamsson <[email protected]> - - * textmodes/artist.el (artist-mode): Fix typo in docstring. - Reported by Alex Schröder <[email protected]>. (Bug#5807) - -2010-03-31 Kenichi Handa <[email protected]> - - * language/sinhala.el (composition-function-table): Fix regexp for - the new Unicode specification. - - * language/indian.el (devanagari-composable-pattern) - (tamil-composable-pattern, kannada-composable-pattern) - (malayalam-composable-pattern): Adjust for the new Unicode - specification. - (bengali-composable-pattern, gurmukhi-composable-pattern) - (gujarati-composable-pattern, oriya-composable-pattern) - (telugu-composable-pattern): New variables to cope with the new - Unicode specification. Use them in composition-function-table. - -2010-03-31 Stefan Monnier <[email protected]> - - Make tmm-menubar work for the Buffers menu again (bug#5726). - * tmm.el (tmm-prompt): Also handle keymap entries in the form of - vectors rather than cons cells, as used in menu-bar-update-buffers. - -2010-03-31 Chong Yidong <[email protected]> - - * progmodes/js.el (js-auto-indent-flag, js-mode-map) - (js-insert-and-indent): Revert 2009-08-15 change, restoring - electric punctuation for "{}();,:" (Bug#5586). - - * mail/sendmail.el (mail-default-directory): Doc fix. - -2010-03-31 Chong Yidong <[email protected]> - - * mail/sendmail.el (mail-default-directory): Doc fix. - -2010-03-31 Eli Zaretskii <[email protected]> - - * subr.el (version-regexp-alist, version-to-list) - (version-list-<, version-list-=, version-list-<=) - (version-list-not-zero, version<, version<=, version=): Doc fix. - (Bug#5744). - -2010-02-31 Dan Nicolaescu <[email protected]> - - * vc.el (vc-root-diff): Doc fix. - -2010-03-31 Chong Yidong <[email protected]> - - * vc.el (vc-print-log, vc-print-root-log): Doc fix. - - * simple.el (append-to-buffer): Fix last change. - -2010-03-31 Chong Yidong <[email protected]> - - * simple.el (append-to-buffer): Ensure that point is preserved if - BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu. - (Bug#5749) - -2010-03-31 Stefan Monnier <[email protected]> - - * files.el (auto-mode-case-fold): Change default to t. - -2010-03-30 Juri Linkov <[email protected]> - - * dired-x.el (dired-omit-mode): Doc fix. - -2010-03-30 Juri Linkov <[email protected]> - - * replace.el (occur-accumulate-lines): Move occur-engine related - functions `occur-accumulate-lines' and `occur-engine-add-prefix' - to be located after `occur-engine'. - -2010-03-30 Juri Linkov <[email protected]> - - Make occur handle multi-line matches cleanly with context. - http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html - - * replace.el (occur-accumulate-lines): Add optional arg `pt'. - (occur-engine): Add local variables `ret', `prev-after-lines', - `prev-lines'. Use more arguments for `occur-context-lines'. - Set first elem of its returned list to `data', and the second elem - to `prev-after-lines'. Don't print the separator line. - In the end, print remaining context after-lines. - (occur-context-lines): Add new arguments `begpt', `endpt', - `lines', `prev-lines', `prev-after-lines'. Rewrite to combine - after-lines of the previous match with before-lines of the - current match and not overlap them. Return a list with two - values: the output line and the list of context after-lines. - -2010-03-30 Juri Linkov <[email protected]> - - * replace.el (occur-accumulate-lines): Fix a bug where the first - context line at the beginning of the buffer was missing. - -2010-03-30 Eli Zaretskii <[email protected]> - - * files.el: Make bidi-display-reordering safe variable for boolean - values. - -2010-03-29 Phil Hagelberg <[email protected]> - Chong Yidong <[email protected]> - - * subr.el: Extend progress reporters to perform "spinning". - (progress-reporter-update, progress-reporter-do-update): - Handle non-numeric value arguments. - (progress-reporter--pulse-characters): New var. - -2010-03-28 Chong Yidong <[email protected]> - - * progmodes/compile.el (compilation-start): Fix regexp detection - of initial cd command (Bug#5771). - -2010-03-28 Stefan Guath <[email protected]> (tiny change) - - * find-dired.el (find-dired): Use read-directory-name (Bug#5777). - -2010-03-27 Nick Roberts <[email protected]> - - Restore GDB/MI fuctionality removed by 2009-12-29T07:15:[email protected]. - * lisp/progmodes/gdb-mi.el: Restore. - * lisp/progmodes/gdb-ui.el: Remove. - * lisp/progmodes/gud.el: Re-accommodate for gdb-mi.el. - -2010-03-25 Glenn Morris <[email protected]> - - * desktop.el (desktop-save-buffer-p): Don't mistakenly include - all dired buffers, even tramp ones. (Bug#5755) - -2010-03-25 Stefan Monnier <[email protected]> - - Add "union tags" in mpc.el. - * mpc.el: Remove backward compatibility code. - (mpc-browser-tags): Change default. - (mpc--find-memoize-union-tags): New var. - (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun. - (mpc-cmd-find): Handle the case where the playlist does not exist. - Handle union-tags. - (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags. - (mpc-cmd-add): Use mpc-cmd-flush. - (mpc-tagbrowser-tag-name): New fun. - (mpc-tagbrowser-buf): Use it. - (mpc-songs-refresh): Use cond. Move to point-min as a fallback. - -2010-03-24 Stefan Monnier <[email protected]> - - Misc cleanup. - * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex): - Use replace-regexp-in-string. - (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table. - (makefile-imake-mode-syntax-table): Move init into defvar. - (makefile-mode): Use define-derived-mode. - - * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less. - (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may - not be present any more. - -2010-03-24 Juanma Barranquero <[email protected]> - - * faces.el (set-face-attribute): Fix typo in docstring. - (face-valid-attribute-values): Reflow docstring. - - * cedet/srecode/table.el (srecode-template-table): Fix docstring typo. - -2010-03-24 Glenn Morris <[email protected]> - - * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752). - -2010-03-24 Chong Yidong <[email protected]> - - * indent.el (indent-for-tab-command): Doc fix. - -2010-03-24 Alan Mackenzie <[email protected]> - - * progmodes/cc-engine.el (c-remove-stale-state-cache): - Fix off-by-one error. Fixes bug #5747. - -2010-03-24 Juanma Barranquero <[email protected]> - - * image-dired.el (image-dired-display-thumbs): Fix typo in docstring. - (image-dired-read-comment): Doc fix. - - * json.el (json-object-type, json-array-type, json-key-type) - (json-false, json-null, json-read-number): - * minibuffer.el (completion-in-region-functions): - * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks) - (cal-tex-cursor-week): - * emacs-lisp/trace.el (trace-function): - * eshell/em-basic.el (eshell/printnl): - * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter) - (eshell-read-last-dir-ring, eshell-write-last-dir-ring): - * obsolete/levents.el (allocate-event, event-key, event-object) - (event-point, event-process, event-timestamp, event-to-character) - (event-window, event-x, event-x-pixel, event-y, event-y-pixel): - * textmodes/reftex-vars.el (reftex-index-macros-builtin) - (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook) - (reftex-cite-punctuation, reftex-search-unrecursed-path-first) - (reftex-highlight-selection): Fix typos in docstrings. - -2010-03-24 Juanma Barranquero <[email protected]> - - * minibuffer.el (completion-in-region-functions): Fix docstring typos. - -2010-03-24 Glenn Morris <[email protected]> - - * mail/rmail.el (rmail-highlight-face): Restore option deleted - 2008-02-13 without comment; mark it obsolete. - (rmail-highlight-headers): Use rmail-highlight-face once more. - -2010-03-24 Chong Yidong <[email protected]> - - * woman.el (woman2-process-escapes): Only consume the newline if - the filler character is on a line by itself (Bug#5729). - -2010-03-24 Kenichi Handa <[email protected]> - - * language/indian.el (devanagari-composable-pattern): Add more - consonants. - -2010-03-24 Michael Albinus <[email protected]> - - * net/trampver.el: Update release number. - -2010-03-24 Glenn Morris <[email protected]> - - * Makefile.in (ELCFILES): Add cedet/semantic/imenu.el. - -2010-03-24 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-find-executable): - Use `tramp-get-connection-buffer'. Make the regexp for checking - output of "wc -l" more robust. - (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris. - (tramp-open-connection-setup-interactive-shell): Remove workaround - for OpenSolaris bug, it is not needed anymore. - -2010-03-24 Eric M. Ludlam <[email protected]> - - * cedet/semantic/imenu.el: New file, from the CEDET repository - (Bug#5412). - -2010-03-24 Glenn Morris <[email protected]> - - * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427) - -2010-03-24 Wilson Snyder <[email protected]> - - * files.el (auto-mode-alist): Accept more verilog file patterns. - -2010-03-24 Stefan Monnier <[email protected]> - - * vc-dir.el (vc-dir-headers): Abbreviate the working dir. - -2010-03-24 Glenn Morris <[email protected]> - - * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to - log-edit-before-checkin-process. - - * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry. - - * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare. - - * vc-dispatcher.el (vc-start-logentry): Doc fix. - (log-view-process-buffer, log-edit-extra-flags): Declare. - - * log-edit.el (log-edit-before-checkin-process): Doc fix. - - * cedet/semantic/bovine/c.el (semantic-c-describe-environment): - Consistently check ede-object is bound throughout. - - * cedet/ede/project-am.el (ede-shell-run-something): Declare. - -2010-03-23 Sam Steingold <[email protected]> - - Fix bug#5620: recalculate all markers on compilation buffer - modifications, not on file modifications. - * progmodes/compile.el (buffer-modtime): New buffer-local variable: - the buffer modification time, for buffers not associated with files. - (compilation-mode): Create it. - (compilation-filter): Update it. - (compilation-next-error-function): Use it instead of - `visited-file-modtime' for timestamp. - -2010-03-23 Juri Linkov <[email protected]> - - Implement Occur multi-line matches. - http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html - - * replace.el (occur): Doc fix. - (occur-engine): Set `begpt' to the beginning of the first line. - Set `endpt' to the end of the last match line. At first, count - line numbers between `origpt' and `begpt'. Split out code from - `out-line' variable to new let-bindings `match-prefix' and - `match-str'. In `out-line' add non-numeric prefix to all - non-first lines of multi-line matches. Finally, count lines - between `begpt' and `endpt' and add to `lines'. - -2010-03-23 Juri Linkov <[email protected]> - - * replace.el (occur-accumulate-lines, occur-engine): - Use `occur-engine-line' instead of duplicate code. - (occur-engine-line): New function created from duplicate code - in `occur-accumulate-lines' and `occur-engine'. - - * replace.el (occur-engine-line): Add optional arg `keep-props'. - (occur-accumulate-lines, occur-engine): Add arg `keep-props'. - -2010-03-23 Juri Linkov <[email protected]> - - * finder.el: Remove TODO tasks. - - * info.el (Info-finder-find-node): Add node "all" - with all package info. Handle a list of multiple keywords - separated by comma. - (info-finder): In interactive use with a prefix argument, - use `completing-read-multiple' to read a list of keywords - separated by comma. - -2010-03-23 Stefan Monnier <[email protected]> - - Add a new completion style `substring'. - * minibuffer.el (completion-basic--pattern): New function. - (completion-basic-try-completion, completion-basic-all-completions): - Use it. - (completion-substring--all-completions) - (completion-substring-try-completion) - (completion-substring-all-completions): New functions. - (completion-styles-alist): New style `substring'. - -2010-03-22 Stefan Monnier <[email protected]> - - Get rid of .elc files after removal of the corresponding .el. - * Makefile.in (compile-clean): New target. - (compile-main): Use it. - -2010-03-22 Jan Djärv <[email protected]> - - * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we - don't do make there. When compiling with separate object dir, there - is no Makefile there. - -2010-03-22 Stefan Monnier <[email protected]> - - Get rid of the ELCFILES abomination, again. - * Makefile.in (update-elclist, ELCFILES, compile-last): Remove. - (all, compile): Don't call compile-last. - (compile-main): Build the "elcfiles" list dynamically. - (compile-targets): New (internal) target. - -2010-03-21 Andreas Schwab <[email protected]> - - * Makefile.in (top_srcdir): Define. - (abs_top_builddir): Define. - (srcdir): Don't append `/..'. - (EMACS): Use ${abs_top_builddir}. - (all, compile, compile-always, compile-last): Don't set emacswd. - (update-subdirs, update-authors): Use $(top_srcdir) instead of - $(srcdir). - (lisp): Use $(srcdir) instead of @srcdir@. - -2010-03-21 Juri Linkov <[email protected]> - - Fix message of multi-line occur regexps and multi-buffer header lines. - http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html - - * replace.el (occur-1): Don't display regexp if it is longer - than window-width. Use `query-replace-descr' to display regexp. - (occur-engine): Don't display regexp in the buffer header for - multi-buffer occur. Display a separate header line with total - match count and regexp for multi-buffer occur. - Use `query-replace-descr' to display regexp. - -2010-03-20 Teodor Zlatanov <[email protected]> - - * net/secrets.el: Fix parenthesis. - (secrets-enabled): Fix parenthesis. - -2010-03-20 Stefan Monnier <[email protected]> - - Use more relative file and directory names. - * Makefile.in (EMACS): Arrange for it to work when we chdir. - (setwins, setwins_almost, setwins_for_subdirs): - Don't `cd'; output relative names. - (all, compile, compile-always, compile-last): Set emacswd. - (custom-deps, finder-data, autoloads, update-subdirs, compile-last): - Just cd to the lisp source dir so we can use relative file names. - - * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738). - -2010-03-20 Glenn Morris <[email protected]> - - * textmodes/rst.el: Use faces for font-lock customization, and make the - old -face variables obsolete. - (rst-block, rst-external, rst-definition, rst-directive, rst-comment) - (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces. - (rst-block-face, rst-external-face, rst-definition-face) - (rst-directive-face, rst-comment-face, rst-emphasis1-face) - (rst-emphasis2-face, rst-literal-face, rst-reference-face): - Make obsolete. - (rst-font-lock-keywords-function): Update for above changes. - -2010-03-20 Juri Linkov <[email protected]> - - * s-region.el: - * obsolete/s-region.el: Move to obsolete. - -2010-03-19 Juanma Barranquero <[email protected]> - - * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'. - -2010-03-19 Dan Nicolaescu <[email protected]> - - * vc-hooks.el (vc-path): Remove variable and obsolete declaration. - -2010-03-19 Dan Nicolaescu <[email protected]> - - Add special markup processing for commit logs. - * log-edit.el (log-edit-extra-flags): New variable. - (log-edit): Add new argument MODE. Use that mode when non-nil - instead of the log-view-mode. - (log-view-process-buffer): New function. - - * vc.el: Document that the checkin method takes optional - arguments. Document new backend specific method: log-view-mode. - (vc-default-log-edit-mode): New function. - (vc-checkin): Use a backend specific log-view-mode. - Pass extra arguments to the checkin method. - (vc-modify-change-comment): Pass a dummy extra argument. - - * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to - log-edit. - (vc-start-logentry): Add a mode argument, pass it to vc-log-edit. - (vc-finish-logentry): Process the log buffer before passing it - down. Pass log-edit-extra-flags. - - * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit - command. - (log-edit-extra-flags, log-edit-before-checkin-process): - New declarations. - - * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit - command. - (log-edit-extra-flags, log-edit-before-checkin-process): - New declarations. - (vc-hg-log-edit-mode): New derived mode. - - * vc-arch.el (vc-arch-checkin): - * vc-cvs.el (vc-cvs-checkin): - * vc-git.el (vc-git-checkin): - * vc-mtn.el (vc-mtn-checkin): - * vc-rcs.el (vc-rcs-checkin): - * vc-sccs.el (vc-sccs-checkin): - * vc-svn.el (vc-svn-checkin): Add an optional ignored argument. - -2010-03-19 Stefan Monnier <[email protected]> - - * outline.el (hide-sublevels): Don't hide trailing newline (and fix - parent typo). - -2010-03-19 Glenn Morris <[email protected]> - - * password-cache.el (password-cache, password-cache-expiry): Autoload. - -2010-03-18 Glenn Morris <[email protected]> - - * emacs-lisp/autoload.el (autoload-rubric): Doc fix. - - * replace.el (query-replace-history): Give it a doc string. - (map-query-replace-regexp): Use query-replace-from-history-variable - and query-replace-to-history-variable. - - * mail/hashcash.el (declare-function): Remove duplicate definition. - - * mail/emacsbug.el (report-emacs-bug-pretest-address): - Make it an obsolete alias for report-emacs-bug-address. - (message-strip-special-text-properties): Declare. - (report-emacs-bug): Remove test for a pretest bug address. - Combine message-mode-specific code. - - * mail/supercite.el: Don't require sendmail. - (mh-in-header-p): Declare rather than using with-no-warnings. - (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than - mail-header-end. Don't bind mysterious variable `kill-lines-magic'. - - * calendar/cal-french.el: Convert to utf-8. - - * files.el (interpreter-mode-alist): Use emacs-lisp-mode for - Emacs scripts. - -2010-03-16 Michael Albinus <[email protected]> - - * net/secrets.el (secrets-enabled): New variable. Use it instead - of a subfeature. - -2010-03-15 Michael Albinus <[email protected]> - - * net/secrets.el (top): Register the D-Bus signals only when the - service "org.freedesktop.secrets" can be pinged. - Provide subfeature `enabled'. - -2010-03-14 Juri Linkov <[email protected]> - - Add finder unknown keywords. - - * finder.el (finder-unknown-keywords): New function. - - * info.el (Info-finder-find-node): Use `finder-unknown-keywords' - to create a Finder node with unknown keywords. - -2010-03-14 Juri Linkov <[email protected]> - - * finder.el (finder-compile-keywords): Replace `princ' with - `prin1' on a list of symbols interned from keyword strings. - - * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains - a comma, then split keywords using a comma and optional whitespace. - Otherwise, split by whitespace. - - * complete.el: - * face-remap.el: - * log-view.el: - * net/hmac-def.el: - * net/hmac-md5.el: - * net/netrc.el: - * progmodes/mixal-mode.el: Fix keywords. - -2010-03-13 Michael Albinus <[email protected]> - - * Makefile.in (ELCFILES): Add net/secrets.elc. - - * net/secrets.el: New file. - -2010-03-12 Chong Yidong <[email protected]> - - * facemenu.el (list-colors-display, list-colors-print): New arg - callback. Use it to allow selecting colors. - - * wid-edit.el (widget-image-insert): Insert image prop even if the - current display is non-graphic. - (widget-field-value-set): New fun. - (editable-field): Use it. - (widget-field-value-get): Clean up unused var. - (widget-color-value-create, widget-color--choose-action): - New funs. Allow using list-colors-display to choose color. - -2010-03-12 Chong Yidong <[email protected]> - - * cus-edit.el: Resort topmost custom groups. - (custom-buffer-sort-alphabetically): Default to t. - (customize-apropos): Use apropos-parse-pattern. - (custom-search-field): New var. - (custom-buffer-create-internal): Add custom-apropos search field. - (custom-add-parent-links): Don't display parent doc. - (custom-group-value-create): Don't sort top-level custom group. - (custom-magic-value-create): Show visibility button before option name. - - (custom-variable-state): New fun, from custom-variable-state-set. - (custom-variable-state-set): Use it. - (custom-group-value-create): Hide options with standard values - using the :hidden-states property. Use progress reporter. - - (custom-show): Simplify. - (custom-visibility): Disable images by default. - (custom-variable): New property :hidden-states. - (custom-variable-value-create): Enable images for - custom-visibility widgets. Use :hidden-states property to - determine initial visibility. - - * wid-edit.el (widget-image-find): Give images center ascent. - (visibility): Add :on-image and :off-image properties. - (widget-visibility-value-create): Use them. - -2010-03-12 Chong Yidong <[email protected]> - - * cus-edit.el (processes): Remove from development group. - (oop, hypermedia): Delete group. - (comm): Promote to top-level group. - - * net/browse-url.el (browse-url): - * net/xesam.el (xesam): - * net/tramp.el (tramp): - * net/goto-addr.el (goto-address): - * net/ange-ftp.el (ange-ftp): Put in comm group. - - * view.el (view): Remove from editing group. - - * uniquify.el (uniquify): Put in files group. - - * net/browse-url.el (browse-url): - * ps-print.el (postscript): Put in external group. - - * cus-edit.el (outlines): - * textmodes/text-mode.el (text-mode-hook): - * textmodes/table.el (table): - * textmodes/picture.el (picture): - * outline.el (outlines): Put in wp group. - - * nxml/nxml-mode.el (nxml): Remove from wp group. - - * net/tramp-imap.el (tramp-imap): Put in tramp group. - - * mail/metamail.el (metamail): Remove from hypermedia group. - - * cus-edit.el (abbrev): - * whitespace.el (whitespace): - * vcursor.el (vcursor): - * reveal.el (reveal): - * hl-line.el (hl-line): Put in convenience group. - - * epg-config.el (epg): Put in data group. - - * emulation/pc-select.el (pc-select): Put in emulations group. - - * calculator.el (calculator): Put in applications group. - -2010-03-12 Dan Nicolaescu <[email protected]> - - Add .dir-locals.el support for file-less buffers. - * files.el (hack-local-variables): Split out code to apply local - variable settings ... - (hack-local-variables-apply): ... here. New function. - (hack-dir-local-variables): Use the default directory for when the - buffer does not have an associated file. - (hack-dir-local-variables-non-file-buffer): New function. - * diff-mode.el (diff-mode): - * vc-annotate.el (vc-annotate-mode): - * vc-dir.el (vc-dir-mode): - * log-edit.el (log-edit-mode): - * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer. - -2010-03-12 Dan Nicolaescu <[email protected]> - - Add support for shelving snapshots and for showing shelves. - * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point) - (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot): + * emacs-lisp/bytecomp.el (byte-compile-lambda): Update call to + byte-compile-closure-initial-lexenv-p. + (byte-discardN-preserve-tos): Alias to byte-discardN. + (byte-compile-push-binding-init): Don't push unused variables on + init-lexenv. + (byte-compile-push-binding-init): Don't use LFORMINFO if it's nil. + (byte-compile-lambda): Don't look at lexical environment unless + we're using lexical binding. + (byte-compile-defmacro): Correctly generate macros. + + * emacs-lisp/byte-lexbind.el (byte-compile-unbind): Optimize the + dynamic-bindings-only case. + (byte-compile-bind): Don't special-case unused lexical variables. + + * emacs-lisp/disass.el (disassemble-1): Print arg for discardN ops. + +2002-08-19 Miles Bader <[email protected]> + + * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): + Handle `byte-discardN-preserve-tos' pseudo-op. + (byte-compile-side-effect-and-error-free-ops): Add `byte-stack-ref'. + (byte-compile-side-effect-free-ops): Add `byte-vec-ref'. + (byte-optimize-lapcode): Add some cases for stack-set/ref ops. + Add tracking of stack-depth. Unfinished code to collapse + lexical-unbinding sequences. + + * emacs-lisp/bytecomp.el (byte-compile-lapcode): + Handle `byte-discardN-preserve-tos' pseudo-op. + (byte-compile-top-level): If there are lexical args, output a TAG + op to record the initial stack-depth for the optimizer. + +2002-08-17 Miles Bader <[email protected]> + + * emacs-lisp/bytecomp.el (byte-discardN): Add byte-defop. + (byte-compile-lapcode): Include byte-discardN. + (byte-compile-lambda): Fixup closure detection. + (byte-compile-top-level): Handle arguments for a lexical lambda. + (byte-compile-lexical-variable-ref, byte-compile-variable-ref) + (byte-compile-variable-set): Use byte-compile-stack-set/ref. + (byte-compile-discard): Add new parameters NUM and PRESERVE-TOS. + (byte-compile-stack-ref, byte-compile-stack-set): New functions. + (byte-compile-push-binding-init): Get the variable list properly + from LFORMINFO. + + * emacs-lisp/byte-lexbind.el (byte-compile-lforminfo-analyze): + Ignore setq'd variables we're not interested in. + (byte-compile-make-lambda-lexenv): Add assertion that closed-over + variables be heap allocated. + (byte-compile-closure-initial-lexenv-p): Rename from + byte-compile-closure-lexenv-p. + (byte-compile-non-stack-bindings-p): Get the variable list + properly from LFORMINFO. + (byte-compile-maybe-push-heap-environment): Handle the + no-closed-over-variables case correctly. + (byte-compile-bind): Use byte-compile-stack-set/ref. + Don't bother modifying INIT-LEXENV as no one will see the changes. + (byte-compile-unbind): Call `byte-compile-discard' to handle + unbinding lexical bindings. + + * emacs-lisp/disass.el (disassemble-internal): Handle closures. + (disassemble-1): Handle new bytecodes. + * emacs-lisp/byte-opt.el (disassemble-offset): Handle new bytecodes. + +2002-06-16 Miles Bader <[email protected]> + + * emacs-lisp/macroexp.el (macroexp-accumulate): New macro. + (macroexpand-all-forms, macroexpand-all-clauses): Use it. + * Makefile.in (compile): Undo previous change. + +2002-06-14 Miles Bader <[email protected]> + + * Makefile.in (COMPILE_FIRST): Add `emacs-lisp/macroexp.el'. + (compile): Add a special case that compiles `emacs-lisp/macroexp.el' + with an increased max-lisp-eval-depth. + + * emacs-lisp/bytecomp.el: Provide `bytecomp-preload', at the + beginning of the file. Require `byte-lexbind' at compile time. + Add a few doc string. + (byte-compile-push-bytecodes) + (byte-compile-push-bytecode-const2): New macros. + (byte-compile-lapcode): Use them. Do general code cleanup. + (byte-compile-initial-macro-environment): Expand macros in + byte-compile-eval before passing to byte-compile-top-level. + (byte-compile): Use the `byte-compile-initial-macro-environment'. + + * emacs-lisp/byte-lexbind.el: Require `bytecomp-preload' instead of + `bytecomp'. + (byte-compile-bind): Use `byte-compile-dynamic-variable-bind' to bind + dynamic variables. + (byte-compile-maybe-push-heap-environment): Fix function name typo. + +2002-06-13 Miles Bader <[email protected]> + + Byte compiler lexical binding support (not finished yet): + * emacs-lisp/bytecomp.el: Require `macroexp'. + (byte-compile-lexical-environment) + (byte-compile-current-heap-environment) + (byte-compile-current-num-closures): New variables. + (0, 178, 179, 180, 181): New byte-opcodes. + (byte-compile-lapcode): Handle stack-ref/set opcodes. Signal an + error if a delay-output placeholder is not filled in yet. + (byte-compile-file-form, byte-compile): Expand all macros with + `macroexpand-all'. + (byte-compile-file-form-defsubst, byte-compile-form): Don't expand + macros here. + (byte-compile-make-lambda-lexenv): Autoload. + (byte-compile-lambda): Initial code for handling lexically-bound + arguments and closures; doesn't work yet. + (byte-compile-closure-code-p, byte-compile-make-closure) + (byte-compile-closure): New functions. + (byte-compile-check-variable, byte-compile-dynamic-variable-op) + (byte-compile-dynamic-variable-bind) + (byte-compile-lexical-variable-ref, byte-compile-variable-set): New functions. - (vc-bzr-shelve-map, vc-bzr-shelve-menu-map) - (vc-bzr-extra-menu-map): Map them. - -2010-03-11 Glenn Morris <[email protected]> - - * cus-edit.el (customize-changed-options-previous-release): - Bump to 23.1. - - * image.el (image-animate-max-time): Fix :version tag. - -2010-03-10 Chong Yidong <[email protected]> - - * Branch for 23.2. - -2010-03-10 Stefan Monnier <[email protected]> - - * vc-git.el (vc-git-revision-table): Include remote branches. - -2010-03-10 Kim F. Storm <[email protected]> - - Animated image API. - http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html - - * image.el (image-animate-max-time): New defcustom. - (image-animated-types): New defconst. - (create-animated-image, image-animate-timer) - (image-animate-start, image-animate-stop, image-animate-timeout) - (image-animated-p): New functions. - - * image-mode.el (image-toggle-display-image): - Replace `create-image' with `create-animated-image'. - -2010-03-09 Miles Bader <[email protected]> - - * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog, - instead of "format:"; this ensures that the output is - newline-terminated. - -2010-03-08 Chong Yidong <[email protected]> - - * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure - that all errors are caught, and that the return value is always a - list (Bug#5692). - -2010-03-08 Kenichi Handa <[email protected]> - - * language/misc-lang.el (windows-1256): New coding system. - (cp1256): New alias of windows-1256 (bug#5690). - -2010-03-07 Andreas Schwab <[email protected]> - - * mail/rfc822.el (rfc822-addresses): Move catch clause down around - call to rfc822-bad-address. (Bug#5692) - -2010-03-07 Štěpán Němec <[email protected]> (tiny change) - - * vc-git.el (vc-git-annotate-extract-revision-at-line): - Use vc-git-root as default directory for revision path (Bug#5657). - -2010-03-06 Chong Yidong <[email protected]> - - * calculator.el (calculator): Don't bind split-window-keep-point - (Bug#5674). - -2010-03-06 Stefan Monnier <[email protected]> - - * vc-git.el: Re-flow to fit into 80 columns. - (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage): - Remove spurious `quote' element in each case alternative. - (vc-git-show-log-entry): Use prog1. - (vc-git-after-dir-status-stage): Remove unused var `remaining'. - -2010-03-06 Glenn Morris <[email protected]> - - * cedet/semantic/grammar.el (semantic-grammar-header-template): - Update template copyright to GPLv3+. - -2010-03-05 Stefan Monnier <[email protected]> - - * man.el (Man-files-regexp): Tighten up the regexp (bug#5686). - -2010-03-03 Chong Yidong <[email protected]> - - * macros.el (insert-kbd-macro): Look up keyboard macro using the - definition, not the name (Bug#5481). - -2010-03-03 Štěpán Němec <[email protected]> (tiny change) - - * subr.el (momentary-string-display): Don't overwrite the MESSAGE - argument with a local variable. (Bug#5670) - -2010-03-02 Juri Linkov <[email protected]> - - * info.el (Info-index-next): Decrement line number by 2. (Bug#5652) - -2010-03-02 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an - error when FILENAME and NEWNAME are existing remote directories. - - * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional - parameter DIR-FLAG. - -2010-03-02 Glenn Morris <[email protected]> - - * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date - of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004). - -2010-03-01 Kenichi Handa <[email protected]> - - * language/burmese.el (burmese-composable-pattern): Rename from - myanmar-composable-pattern. - - * international/characters.el (script-list): - * international/fontset.el (script-representative-chars): - Change myanmar to burmese. - (otf-script-alist): Likewise. - (setup-default-fontset): Likewise. Re-fix :otf spec. - -2010-02-28 Katsumi Yamaoka <[email protected]> - - * menu-bar.el (menu-bar-manuals-menu): Fix typo. - -2010-02-28 Jan Djärv <[email protected]> - - * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654. - -2010-02-28 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-write-region): START can be a string. - Take care in the checks. Reported by Dan Davison - <[email protected]>. - -2010-02-28 Michael Albinus <[email protected]> - - * net/dbus.el (dbus-introspect, dbus-get-property) - (dbus-set-property, dbus-get-all-properties): - Use `dbus-call-method' when noninteractive. (Bug#5645) - -2010-02-28 Chong Yidong <[email protected]> - - * textmodes/reftex-toc.el (reftex-toc-promote-prepare): - * emacs-lisp/elint.el (elint-add-required-env): - * cedet/semantic/db-find.el - (semanticdb-find-translate-path-brutish-default): - * cedet/ede/make.el (ede-make-check-version): - * calendar/icalendar.el (icalendar--add-diary-entry): - * calc/calcalg2.el (math-tracing-integral): - * files.el (recover-session-finish): Use with-current-buffer - instead of save-excursion. - -2010-02-27 Stefan Monnier <[email protected]> - - Fix in-buffer completion when after-change-functions modify the buffer. - * minibuffer.el (completion--replace): New function. - (completion--do-completion): Use it and use relative movement. - -2010-02-27 Chong Yidong <[email protected]> - - * international/fontset.el (setup-default-fontset): Fix :otf spec. - -2010-02-27 Jeremy Whitlock <[email protected]> (tiny change) - - * progmodes/python.el (python-pdbtrack-stack-entry-regexp): - Allow the characters _<> in the stack entry (Bug#5653). - -2010-02-26 Kenichi Handa <[email protected]> - - * language/burmese.el: Fix entries in composition-function-table. - (myanmar-composable-pattern): New variable. - - * international/fontset.el (setup-default-fontset): Add an entry - for myanmar. - - * international/characters.el (script-list): Add Myanmar - Extended-A. - -2010-02-26 Glenn Morris <[email protected]> - - * custom.el (custom-initialize-delay): Doc fix. - - * mail/sendmail.el (send-mail-function): Autoload the call - to custom-initialize-delay, not otherwise preserved in loaddefs.el. - -2010-02-24 Chong Yidong <[email protected]> - - * files.el (hack-local-variables-filter): For eval forms, also - check safe-local-variable-p (Bug#5636). - -2010-02-24 Eduard Wiebe <[email protected]> - - * javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr - and use c(ad)r of cddr (Bug#5640). - -2010-02-22 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect - setting the modes by `ignore-errors'. It might fail, for example - if the file is not owned by the user but the group. - (tramp-handle-write-region): Ensure, that `tmpfile' is always readable. - -2010-02-21 Chong Yidong <[email protected]> - - * files.el (directory-listing-before-filename-regexp): Use - stricter matching for iso-style dates, to avoid false matches with - date-like filenames (Bug#5597). - - * htmlfontify.el (htmlfontify): Doc fix. - - * eshell/eshell.el (eshell): Doc fix. - - * startup.el (fancy-about-screen): In mode-line, apply - mode-line-buffer-id face only to the buffer name (Bug#5613). - -2010-02-20 Kevin Ryde <[email protected]> - - * progmodes/compile.el (compilation-error-regexp-alist-alist): - In `watcom' anchor regexp to start of line, to avoid slowness - (Bug#5599). - -2010-02-20 Eli Zaretskii <[email protected]> - - * subr.el (remove-yank-excluded-properties): Explain in a comment - why `category' property is removed. - -2010-02-19 Chong Yidong <[email protected]> - - * isearch.el (isearch-update-post-hook, isearch-update): Revert - 2010-02-17 change. - -2010-02-19 Ulf Jasper <[email protected]> - - * calendar/icalendar.el (icalendar--convert-ordinary-to-ical) - (icalendar--convert-weekly-to-ical) - (icalendar--convert-yearly-to-ical) - (icalendar--convert-block-to-ical) - (icalendar--convert-cyclic-to-ical) - (icalendar--convert-anniversary-to-ical): Take care of time - specifications where hour has 1-digit only (Bug#5549). - -2010-02-19 Nick Roberts <[email protected]> - - * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change - of disassemble output in GDB 7.1. - -2010-02-19 Glenn Morris <[email protected]> - - * progmodes/f90.el (f90-electric-insert): Give it a delete-selection - property. (Bug#5593) - -2010-02-18 Sam Steingold <[email protected]> - - * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing. - -2010-02-18 Stefan Monnier <[email protected]> - - Use abbreviated file names in bookmarks (bug#5591). - * bookmark.el (bookmark-maybe-load-default-file): Remove redundant - calls to expand-file-name. - (bookmark-relocate): Use abbreviated file names in bookmarks. - (bookmark-load): Use abbreviated file names in messages. - -2010-02-18 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-directory-files): When FULL, do not - expand "." and "..". Reported by Thierry Volpiatto - <[email protected]>. - -2010-02-18 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-insert-file-contents): Set always the - permissions of the temporary file to "0600". In case the remote - file has no read permissions for the owner, there might be - problems otherwise. Reported by Ole Laursen <[email protected]>. - -22010-02-18 Glenn Morris <[email protected]> - - * emacs-lisp/authors.el (authors-renamed-files-alist): - Add entries for INSTALL.CVS. - -2010-02-17 Mark A. Hershberger <[email protected]> - - * vc-bzr.el: Fix typo in Known Bugs section. - - * isearch.el (isearch-update-post-hook): New hook. - (isearch-update): Use the new hook. - -2010-02-16 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): - Fix errors in copying directories. - (tramp-handle-add-name-to-file, tramp-handle-copy-directory) - (tramp-do-copy-or-rename-file, tramp-handle-delete-directory) - (tramp-handle-delete-file) - (tramp-handle-dired-recursive-delete-directory) - (tramp-handle-write-region): Flush also the cache for the upper - directory. - -2010-02-16 Chong Yidong <[email protected]> - - * simple.el (save-interprogram-paste-before-kill): Doc fix. - - * cus-edit.el (hardware): Doc fix. - - * man.el (man): Add to external custom group. - - * delim-col.el (columns): Move to wp custom group. - - * doc-view.el (doc-view): Add to data custom group. - - * cedet/data-debug.el (data-debug): Move to extensions group. - - * cedet/ede.el (ede): - * cedet/srecode.el (srecode): - * cedet/semantic.el (semantic): Put in tools and extensions group. - - * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group. - - * textmodes/flyspell.el (flyspell-word): Obey the offset specified - by ispell-parse-output (Bug#5575). - -2010-02-16 Kenichi Handa <[email protected]> - - * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it. - (skkdic-convert-okuri-ari): Ignore lines starting with '>'. - (skkdic-convert): Use `euc-japan' coding system for writing. - -2010-02-16 Glenn Morris <[email protected]> - - * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of - tex-main-file before using it. (Bug#5562) - -2010-02-15 Stefan Monnier <[email protected]> - - * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler - warnings, since it is annoying for the user to see them each time he - runs the code. - -2010-02-15 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-process-actions, tramp-read-passwd): - * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC - instead of PROC for caching "first-password-request". Otherwise, - new processes would not profit from passwords already entered. - - * net/tramp-cache.el (tramp-dump-connection-properties): - Don't save "first-password-request" property. - -2010-02-14 Juanma Barranquero <[email protected]> - - * outline.el (outline-head-from-level): - * simple.el (with-wrapper-hook): - * cedet/ede.el (ede-run-target, project-delete-target) - (project-dist-files, ede-name, ede-documentation, ede-parent-project) - (ede-adebug-project, ede-adebug-project-parent) - (ede-adebug-project-root): - * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer) - (elint-defun, elint-buffer-env, elint-top-form-logged) - (elint-unbound-variable): - * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist): - Fix typos in docstrings. - -2010-02-14 Michael Albinus <[email protected]> - - * files.el (insert-directory): When WILDCARD-REGEXP and - FULL-DIRECTORY-P are nil, insert the file entry instead of the - whole directory. (Bug#5551) - - * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for - dired's alignment sanity. (Bug#5516) - -2010-02-14 Juri Linkov <[email protected]> - - * man.el (Man-fontify-manpage, Man-cleanup-manpage): - Remove remaining ^H with their preceding chars. (Bug#5566) - -2010-02-13 Glenn Morris <[email protected]> - - * simple.el (transpose-subr): Give it a doc-string. - - * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences): - Doc fixes. - -2010-02-12 Juri Linkov <[email protected]> - - * arc-mode.el (archive-unique-fname): Make directories for nested - archives. (Bug#5540) - -2010-02-12 Juri Linkov <[email protected]> - - * ffap.el (dired-at-point): Fix docstring. (Bug#5565) - -2010-02-11 Stefan Monnier <[email protected]> - - * subr.el (copy-overlay): Handle deleted overlays. - - * man.el (Man-completion-table): Don't signal an error if we can't run - manual-program (bug#4056). - -2010-02-10 Juanma Barranquero <[email protected]> - - * textmodes/artist.el (artist-mt): Fix typos in docstring. - -2010-02-10 Thierry Volpiatto <[email protected]> - - * info.el (Info-bookmark-jump): Simplify. - - * bookmark.el (bookmark-handle-bookmark): Catch the right error. - (bookmark-default-handler): Accept new bookmark field `buffer'. - -2010-02-10 Chong Yidong <[email protected]> - - * iswitchb.el (iswitchb-completions): Revert last change. - -2010-02-10 Michael Albinus <[email protected]> - - * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and - FULL-DIRECTORY-P are nil, and FILE is absolute, expand it. - This prevents file names like "~/" being listed literally. - -2010-02-10 Dan Nicolaescu <[email protected]> - - * term/xterm.el (xterm-maybe-set-dark-background-mode): - Remove dead code. (Bug#5546) - -2010-02-09 Chong Yidong <[email protected]> - - * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes - correctly (Bug#5548). - -2010-02-08 Jose E. Marchesi <[email protected]> - - * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function. - (ada-adjust-case): Don't adjust case in hexadecimal number literals. - -2010-02-08 Kenichi Handa <[email protected]> - - * international/mule-util.el (with-coding-priority): Add autoload - cookie for putting `lisp-indent-function'. - -2010-02-07 Glenn Morris <[email protected]> - - * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2): - Move F2003 named interfaces from keywords-2 to keywords-1, and - use function-name-face rather than constant-face. - Simplify "abstract interface" regexp. - -2010-02-07 Chong Yidong <[email protected]> - - * eshell/esh-util.el (eshell-file-attributes): New optional arg - ID-FORMAT. Pass it to `file-attributes'. - - * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528). - -2010-02-07 sj <[email protected]> (tiny change) - - * faces.el (set-face-attribute): Allow calling - internal-set-lisp-face-attribute with 'unspecified family and - foundry argument (Bug#5536). - -2010-02-07 Glenn Morris <[email protected]> - - * progmodes/f90.el (f90-font-lock-keywords-2) - (f90-looking-at-type-like, f90-looking-at-program-block-end): - Handle F2003 named interfaces. - -2010-02-06 Chong Yidong <[email protected]> - - * progmodes/cc-mode.el (c-common-init): Bind temporary variables - beg and end before calling c-get-state-before-change-functions. - -2010-02-06 Dan Nicolaescu <[email protected]> - - * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header. - -2010-02-05 Juri Linkov <[email protected]> - - * doc-view.el (doc-view-mode): - * image-mode.el (image-mode): Put property mode-class=special. - (Bug#4896) - -2010-02-05 Mark A. Hershberger <[email protected]> - - * vc-svn.el (vc-svn-revision-table): New function. - -2010-02-05 Michael Albinus <[email protected]> - - * net/ange-ftp.el (ange-ftp-insert-directory): - * net/tramp-imap.el (tramp-imap-handle-insert-directory): - * net/tramp-smb.el (tramp-smb-handle-insert-directory): - Handle also directories. (Bug#5478) - -2010-02-05 Glenn Morris <[email protected]> - - * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'. - -2010-02-05 Chong Yidong <[email protected]> - - * startup.el (command-line-1): Convert options beginning with a - single dash as well (Bug#5519). - -2010-02-05 Stefan Monnier <[email protected]> - - Make `initials' completion work for /hh -> /home/horn again (bug#5524). - * minibuffer.el (completion-initials-expand): Only check the presence - of delims *within* the boundaries, since otherwise the / delim is - always found for files. - - Fix up various corner case problems. - * doc-view.el (doc-view-last-page-number): New function. - (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it. - (doc-view-goto-page): Avoid inf-loops when the conversion fails. - (doc-view-kill-proc): Avoid inf-loop in freak cases. - (doc-view-reconvert-doc): Use the new recursive delete-directory. - (doc-view-convert-current-doc): Don't create the resolution.el file - here any more. - (doc-view-pdf/ps->png): Do it here instead. - (doc-view-already-converted-p): Check that resolution.el is present. - (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few - windows that are not yet showing images. - -2010-02-04 Michael Albinus <[email protected]> - - * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call - `dired-uncache' for every elemnt which is an absolute file name. - - * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a - directory, handle its directory component. - (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this - function is called permanently and creates noise, otherwise. - - * net/tramp-imap.el (tramp-imap-handle-insert-directory): - * net/tramp-smb.el (tramp-smb-handle-insert-directory): - Handle the case, FILENAME is not in `default-directory'. (Bug#5478) - -2010-02-04 David Burger <[email protected]> (tiny change) - - * macros.el (apply-macro-to-region-lines): - Minor simplification. (Bug#5485) - -2010-02-04 Glenn Morris <[email protected]> - - * mail/rmail.el (rmail-show-message-1): Handle malformed - quoted-printable text. (Bug#5441) - - * mail/mail-utils.el (mail-unquote-printable-region): Doc fix. - - * simple.el (visual-line-mode): Capitalize lighter. - -2010-02-03 John Wiegley <[email protected]> - - * iswitchb.el (iswitchb-completions): Add bookmark files to the - list of files considered for "virtual buffer" completions. - -2010-02-03 Michael Albinus <[email protected]> - - * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory - also in case of (and (not full) (not wildcard)). This is needed - when dired is called with a list of files, which are not in - `default-directory'. (Bug#5478) - -2010-02-03 Stefan Monnier <[email protected]> - - * vc-hooks.el (vc-path): Make it an obsolete var, rather than function. - -2010-02-02 Juri Linkov <[email protected]> - - * textmodes/ispell.el (ispell-message-text-end): Remove final newline - from unidiff to allow function-line after @@. - -2010-02-02 Juri Linkov <[email protected]> - - * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by - '(RCS SCCS) with inverted condition. - -2010-02-02 Michael Albinus <[email protected]> - - * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH" - messages. - -2010-02-01 Juri Linkov <[email protected]> - - * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to - compare with "pkunzip" and "pkzip" instead of only "pkzip". - In the `archive-extract-by-stdout' branch use `shell-quote-argument' - only when (car archive-zip-extract) is "unzip". (Bug#5475) - -2010-02-01 Stefan Monnier <[email protected]> - - * doc-view.el (doc-view-new-window-function): Be a bit more defensive. - (doc-view-revert-buffer): New command. - (doc-view-mode-map): Use it. - -2010-02-01 Dan Nicolaescu <[email protected]> - - * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a - pending merge is detected. - -2010-01-31 Juri Linkov <[email protected]> - - * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the - beginning of interactive spec like all other grep commands do. - Put "all" in front of "gz". (Bug#5260) - -2010-01-29 Dan Nicolaescu <[email protected]> - - * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator. - -2010-01-29 Chong Yidong <[email protected]> - - * dirtrack.el (dirtrack): Warn instead of signalling error if the - regexp is incorrect (Bug#5476). - -2010-01-29 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-insert-directory): Handle also - symlinks, when FILENAME is not in `default-directory'. - -2010-01-28 Michael Albinus <[email protected]> - - * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case, - FILE is not in `default-directory'. (Bug#5478) - - * net/tramp.el (tramp-handle-insert-directory): Simplify handling - of SWITCHES. Handle the case, FILENAME is not in - `default-directory'. (Bug#5478) - (tramp-register-file-name-handlers): Add safe-magic property. - -2010-01-28 Chong Yidong <[email protected]> - - * arc-mode.el (archive-zip-extract): Quote the argument passed to - unzip (Bug#5475). - -2010-01-28 Nil Geisweiller <[email protected]> (tiny change) - - * progmodes/flymake.el (flymake-allowed-file-name-masks) - (flymake-master-make-header-init): Add other C++ filename masks. - (flymake-find-possible-master-files) - (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488). - -2010-01-28 Michael Albinus <[email protected]> - - Fix some busybox annoyances. - - * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server - not responding." string. - (tramp-open-connection-setup-interactive-shell): Dump stty - settings. Enable "neveropen" arg for all `tramp-send-command' - calls. Handle "=" in variable values properly. - (tramp-find-inline-encoding): Raise an error, when no encoding is - found. - (tramp-wait-for-output): Check, whether PROC buffer is available. - Remove spurious " ^H" sequences, sent by busybox. - (tramp-get-ls-command): Suppress coloring, if possible. - -2010-01-28 Glenn Morris <[email protected]> - - * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280) - - * log-edit.el (log-edit-strip-single-file-name): Add missing - :safe, :group, and :version tags. - -2010-01-27 Stephen Berman <[email protected]> - - * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed - buffers. (Bug#5477) - -2010-01-27 David De La Harpe Golden <[email protected]> - - * files.el (delete-directory): Handle moving to trash without - first doing recursion (Bug#5436). - -2010-01-26 Dan Nicolaescu <[email protected]> - - * vc-hooks.el (vc-path): Mark as obsolete. - -2010-01-25 Dan Nicolaescu <[email protected]> - - * vc-annotate.el (vc-annotate-revision-at-line): Compare file - names too. - - * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option - for the short log. - (vc-bzr-log-view-mode): Adjust regexp for the above change. - -2010-01-25 Mark A. Hershberger <[email protected]> - - * progmodes/python.el: Replace reference to obsolete c-subword-mode. - - * vc-bzr.el (vc-bzr-revision-table): New function. - -2010-01-25 Eric Hanchrow <[email protected]> (tiny change) - - * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the - diff-index command. This requires at least git-1.5.5. (Bug#1589). - -2010-01-24 Dan Nicolaescu <[email protected]> - - Remove support for adding --signoff on commit. - Future support will use an incompatible generic mechanism. - * vc-git.el (vc-git-add-signoff): Remove variable. - (vc-git-toggle-signoff): Remove function. - (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff. - - * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename - from xterm-set-background-mode. Return t if the background mode - was set. - (terminal-init-xterm): Move tty-set-up-initial-frame-faces - earlier, call it again in case the background mode has changed. - -2010-01-23 Dmitri Paduchikh <[email protected]> (tiny change) - - * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo - (Bug#3541). - -2010-01-23 Chong Yidong <[email protected]> - - * emacs-lisp/assoc.el (aelement): Doc fix. - (aput, adelete, amake): Use lexical-let (Bug#5450). - -2010-01-23 Stephen Leake <[email protected]> - - * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax - is the same as subprogram call, not declaration. (Bug#5435). - -2010-01-23 Michael Albinus <[email protected]> - - * net/tramp-smb.el (tramp-smb-conf): New defcustom. - (tramp-smb-maybe-open-connection): Use it. - -2010-01-22 Michael Albinus <[email protected]> - - * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448) - -2010-01-22 Stefan Monnier <[email protected]> - - * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte - just because we see "encoding: 8bit". - * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes. - -2010-01-22 Chong Yidong <[email protected]> - - * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446). - -2010-01-22 Eli Zaretskii <[email protected]> - - * jka-compr.el (jka-compr-load): If load-file is not in - load-history, try its file-truename version. (bug#5447) - -2010-01-21 Alan Mackenzie <[email protected]> - - Fix a situation where deletion of a cpp construct throws an error. - * progmodes/cc-engine.el (c-invalidate-state-cache): - Before invoking c-with-all-but-one-cpps-commented-out, check that the - special cpp construct is still in the buffer. - (c-parse-state): Record the special cpp with markers, not numbers. - -2010-01-21 Kenichi Handa <[email protected]> - - * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to - process last-command-event, as it is now decoded first (Bug#5380). - -2010-01-20 Chong Yidong <[email protected]> - - * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330). - -2010-01-20 Glenn Morris <[email protected]> - - * indent.el (tab-always-indent): Fix custom-type. - -2010-01-19 Alan Mackenzie <[email protected]> - - * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty - buffer throws "args out of range". - (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB - playing the role of delimiter. - -2010-01-18 Stephen Leake <[email protected]> - - * progmodes/ada-mode.el: Fix bug#5400. - (ada-matching-decl-start-re): Move into ada-goto-decl-start. - (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers - changed. Delete RECURSIVE parameter; never used. Improve doc string. - Improve comments in "is" portion. Handle null procedure declaration. - (ada-move-to-end): Improve doc string. - -2010-01-18 Óscar Fuentes <[email protected]> - - * ido.el (ido-cur-list): Initialize to nil. - Remove obsolete information from commentary. - (ido-choice-list): Initialize to nil. - (ido-get-bufname): Reject minibuffers. - (ido-make-buffer-list): If "default" is a nonexistent - buffer, ignore it, as per the function's comment. - (ido-kill-buffer-internal): New function. - (ido-kill-buffer-at-head): Use it. - (ido-visit-buffer): Likewise. - -2010-01-18 Chong Yidong <[email protected]> - - * calendar/time-date.el (date-to-time): Doc fix (Bug#5408). - -2010-01-18 Juanma Barranquero <[email protected]> - - * cedet/ede/locate.el (ede-locate-file-in-project) - (ede-locate-file-in-project-impl): Fix typos in docstrings. - (ede-enable-locate-on-project): Fix typos in error messages. - - * cedet/semantic/util-modes.el (semantic-unmatched-syntax-face) - (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format) - (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup) - (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings. - (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu): - Fix typos in menu help. - - * emacs-lisp/chart.el (chart-file-count, chart-rmail-from): - Fix typos in chart titles. - - * whitespace.el (whitespace-style, global-whitespace-newline-mode): - * cedet/semantic.el (semantic-require-version, semantic--buffer-cache) - (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook) - (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run) - (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time) - (semantic-parse-stream, semantic-parse-region) - (semantic-parse-region-default, semantic--set-buffer-cache) - (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe) - (semantic-bovinate-toplevel, semantic-load-system-cache-loaded) - (semantic-default-submodes): - * cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse) - (semanticdb-create-ebrowse-database) - (semanticdb-find-tags-for-completion-method) - (semanticdb-find-tags-by-class-method) - (semanticdb-deep-find-tags-by-name-method) - (semanticdb-deep-find-tags-for-completion-method): - * cedet/semantic/db-el.el (semanticdb-elisp-mapatom-collector) - (semanticdb-find-tags-by-name-method, emacs-lisp-mode) - (semanticdb-find-tags-for-completion-method) - (semanticdb-find-tags-by-class-method) - (semanticdb-deep-find-tags-for-completion-method): - * cedet/semantic/db-find.el (semanticdb-find-translate-path) - (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p) - (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector) - (semanticdb-find-tags-by-name-method) - (semanticdb-find-tags-by-name-regexp-method) - (semanticdb-find-tags-for-completion-method) - (semanticdb-find-tags-by-class-method) - (semanticdb-find-tags-external-children-of-type-method) - (semanticdb-find-tags-subclasses-of-type-method) - (semanticdb-deep-find-tags-by-name-method) - (semanticdb-deep-find-tags-by-name-regexp-method) - (semanticdb-deep-find-tags-for-completion-method): - * cedet/semantic/db-global.el (semanticdb-enable-gnu-global-hook) - (semanticdb-enable-gnu-global-in-buffer) - (semanticdb-find-tags-for-completion-method) - (semanticdb-deep-find-tags-by-name-method) - (semanticdb-deep-find-tags-for-completion-method): - * cedet/semantic/db-javascript.el (semanticdb-javascript-tags) - (javascript-mode, semanticdb-find-translate-path) - (semanticdb-find-tags-for-completion-method) - (semanticdb-find-tags-by-class-method) - (semanticdb-deep-find-tags-by-name-method) - (semanticdb-deep-find-tags-for-completion-method) - (semanticdb-find-tags-external-children-of-type-method): - * cedet/semantic/idle.el (semantic-idle-work-core-handler) - (define-semantic-idle-service, semantic-idle-summary-useful-context-p) - (global-semantic-idle-scheduler-mode): - * cedet/srecode/dictionary.el (srecode-field-value) - (srecode-dictionary-add-section-dictionary): - * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags) - (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse) - (describe-class, eieio-describe-generic, describe-generic): - * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click) - (eieio-speedbar-expand): - * emulation/viper-cmd.el (viper-exec-form-in-vi) - (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC) - (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style) - (viper-del-backward-char-in-replace, viper-backward-indent) - (viper-brac-function, viper-register-to-point, viper-submit-report): - * net/tramp.el (tramp-remote-coding-commands): - * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list): - Fix typos in docstrings. - -2010-01-17 Chong Yidong <[email protected]> - - * mail/sendmail.el (mail-yank-original): Set the mark if the - specified function for yanking does not do it. - -2010-01-17 Dan Nicolaescu <[email protected]> - - * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298) - - * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when - resyncing a directory. - -2010-01-17 Stephen Leake <[email protected]> - - * progmodes/ada-mode.el: Fix bug#1920. - (ada-ident-re): Delete ., allow multibyte characters. - (ada-goto-label-re): New; matches goto labels. - (ada-block-label-re): New; matches block labels. - (ada-label-re): New; matches both. - (ada-named-block-re): Deleted; callers changed to use - `ada-block-label-re' instead. - (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop): - Use `ada-block-label-re'. - (ada-indent-on-previous-lines): Improve handling of goto labels. - (ada-get-indent-block-start): Special-case block label. - (ada-get-indent-label): Split into `ada-indent-block-label' and - `ada-indent-goto-label'. - (ada-goto-stmt-start, ada-goto-next-non-ws): - Optionally ignore goto labels. - (ada-goto-next-word): Simplify. - (ada-indent-newline-indent-conditional): Insert newline before - trying to fix indentation; doc fix. - -2010-01-17 Jay Belanger <[email protected]> - - * calc/calc.el (calc-command-flags): Give it an initial value. - -2010-01-17 Glenn Morris <[email protected]> - - * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix. - -2010-01-17 Juanma Barranquero <[email protected]> - - * cedet/semantic.el (semantic-mode): - * files.el (minibuffer-with-setup-hook): - * textmodes/artist.el (artist-mt, artist-key-undraw-continously) - (artist-key-draw-continously, artist-key-do-continously-continously) - (artist-key-set-point-continously, artist-mouse-draw-continously): - Fix typos in docstrings. - -2010-01-16 Lennart Borgman <[email protected]> - - * nxml/nxml-mode.el (nxml-extend-after-change-region): Never - return t (Bug#3898). - -2010-01-16 Frédéric Perrin <[email protected]> (tiny change) - - * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we - can parse the output of the external commands (Bug#5279). - -2010-01-16 Jari Aalto <[email protected]> - - * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix. - -2010-01-16 Chong Yidong <[email protected]> - - * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274) - - * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267). - - * startup.el (command-line): Remove unused --icon-type arg. - Handle --display arg, passing it to command-line-1 (Bug#5392). - -2010-01-16 Mario Lang <[email protected]> - - * cedet/ede/cpp-root.el (ede-cpp-root-project): - * cedet/ede/files.el (ede-expand-filename): - * cedet/ede/simple.el (ede-simple-project): - * cedet/semantic/complete.el (semantic-complete-read-tag-engine) - (semantic-complete-inline-tag-engine): - * cedet/semantic/db-el.el (semanticdb-equivalent-mode): - * cedet/semantic/db-global.el (semanticdb-equivalent-mode): - * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode): - * cedet/semantic/db.el (semanticdb-equivalent-mode): - * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe): - * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): - * emacs-lisp/chart.el (chart-translate-namezone): - * textmodes/artist.el (artist-compute-popup-menu-table): - Remove duplicated words in doc-strings. - -2010-01-15 David Abrahams <[email protected]> (tiny change) - - * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil - to mairix-search to suppress threading (Bug#5342). - -2010-01-15 Kenichi Handa <[email protected]> - - * international/mule-cmds.el (canonicalize-coding-system-name): - Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387). - -2010-01-15 Glenn Morris <[email protected]> - - * log-view.el (top-level): Require 'wid-edit. (Bug#5311) - - * wid-edit.el (widget-keymap): Doc fix. - - * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the - former seems to be more widely accepted by various svn versions. - -2010-01-14 Juanma Barranquero <[email protected]> - - * find-cmd.el (find-constituents): - * vc-arch.el (vc-arch-root): - * window.el (window-body-height, pop-up-frames): - * cedet/semantic/edit.el (semantic-reparse-needed-change-hook) - (semantic-no-reparse-needed-change-hook): - * cedet/srecode/insert.el (srecode-resolve-argument-list) - (srecode-template-inserter-blank, srecode-template-inserter-variable) - (srecode-template-inserter-ask, srecode-template-inserter-width) - (srecode-template-inserter-section-start) - (srecode-template-inserter-section-end, srecode-insert-method): - * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing): - * progmodes/ada-stmt.el (ada-if): - * progmodes/gdb-ui.el (gdb-jsonify-buffer): - * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist) - (ispell-encoding8-command, ispell-aspell-supports-utf8) - (ispell-last-program-name, ispell-help): Fix typos in docstrings. - - * progmodes/flymake.el (flymake-post-syntax-check): - Fix typo in error message. - -2010-01-14 Juanma Barranquero <[email protected]> - - * hexl.el (hexl-printable-character): Fix check of `hexl-iso', - which is always a string. (Bug#5313) - -2010-01-14 Juanma Barranquero <[email protected]> - - * progmodes/ada-xref.el (ada-default-prj-properties): - Simplify previous change. - -2010-01-14 Stephen Leake <[email protected]> - - * progmodes/ada-xref.el (ada-default-prj-properties): - Default ada_project_path to $ADA_PROJECT_PATH. - -2010-01-14 Stephen Leake <[email protected]> - - * progmodes/ada-mode.el (ada-create-keymap): - Override `narrow-to-defun' with `ada-narrow-to-defun'. - -2010-01-14 Stephen Leake <[email protected]> - - * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword. - (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword. - (ada-get-current-indent, ada-imenu-generic-expression) - (ada-which-function): Check for it. - -2010-01-14 Stephen Leake <[email protected]> - - * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete. - (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore. - -2010-01-14 Glenn Morris <[email protected]> - - * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312) - -2010-01-14 Kenichi Handa <[email protected]> - - * composite.el (auto-composition-mode): Make it a buffer local - variable (permanent-local). - (auto-composition-function): Set the default value to - auto-compose-chars. - (auto-composition-mode): Make it a simple function, not a minor mode. - (global-auto-composition-mode): Likewise. - (turn-on-auto-composition-if-enabled): Delete it. - -2010-01-13 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276). - -2010-01-12 Michael Albinus <[email protected]> - - * files.el (copy-directory): Compute target for recursive - directories with identical names. (Bug#5343) - -2010-01-12 Glenn Morris <[email protected]> - - * mail/emacsbug.el (report-emacs-bug-pretest-address): Set - it to bug-gnu-emacs rather than emacs-pretest-bug. - -2010-01-12 Juanma Barranquero <[email protected]> - - * cedet/data-debug.el (data-debug): Fix customization group reference. - -2010-01-12 Juanma Barranquero <[email protected]> - - * cedet/semantic/analyze.el (semantic-analyze-push-error) - (semantic-analyze-context, semantic-analyze-context-assignment) - (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag): - * cedet/semantic/java.el (java-mode, semantic-tag-include-filename) - (semantic-java-doc-keywords-map): - * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast) - (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region) - (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch) - (semantic-c-classname, semantic-format-tag-uml-prototype) - (semantic-c-dereference-namespace, semantic-analyze-type-constants): - * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string) - (semantic-emacs-lisp-obsoleted-doc, semantic-up-context) - (semantic-get-local-variables, semantic-end-of-command) - (semantic-beginning-of-command, semantic-ctxt-current-class-list) - (lisp-mode): - * cedet/semantic/bovine/make.el (makefile-mode): - * cedet/semantic/wisent/python.el (wisent-python-string-re) - (wisent-python-implicit-line-joining-p, wisent-python-forward-string) - (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line) - (semantic-lex, semantic-get-local-variables, python-mode): - * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table): - * cedet/srecode/extract.el (srecode-extract-state-set) - (srecode-extract-method): Fix typos in docstrings. - -2010-01-11 Sam Steingold <[email protected]> - - * imenu.el (imenu-default-create-index-function): Detect infinite - loops caused by imenu-prev-index-position-function. - -2010-01-11 Juanma Barranquero <[email protected]> - - * htmlfontify.el (htmlfontify-load-rgb-file) - (htmlfontify-unload-rgb-file, hfy-fallback-colour-values) - (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer) - (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn) - (hfy-link-style-fun, hfy-index-file, hfy-instance-file) - (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks) - (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map) - (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties) - (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class) - (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap) - (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq) - (hfy-colour-vals, hfy-default-header, hfy-link-style-string) - (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec) - (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int) - (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name) - (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at) - (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer) - (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer) - (hfy-force-fontification, htmlfontify-buffer, hfy-dirname) - (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub) - (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i) - (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps) - (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous - backslash-quoting from parentheses, etc. - -2010-01-11 Chong Yidong <[email protected]> - - * progmodes/js.el: Autoload javascript-mode alias. - -2010-01-11 Juanma Barranquero <[email protected]> - - * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p) - (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp) - (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url) - (ffap-read-url-internal, ffap-menu, ffap-at-mouse): - Fix typos in docstrings. - (ffap-url-regexp): Doc fix. - (ffap-at-mouse): Fix typo in message. - -2010-01-11 Glenn Morris <[email protected]> - - * version.el (emacs-copyright): Set copyright year to 2010. - -2010-01-10 Stefan Monnier <[email protected]> - - * format.el (format-annotate-function): Only set - write-region-post-annotation-function after running to-fn so as not to - affect nested write-region calls (bug#5273). - -2010-01-10 Chong Yidong <[email protected]> - - * cedet/semantic.el (semantic-new-buffer-setup-functions): - Add python parser. - - * Makefile.in (ELCFILES): Add wisent/python-wy.el and - wisent/python.el. - -2010-01-10 Richard Kim <[email protected]> - - * cedet/semantic/wisent/python-wy.el: - * cedet/semantic/wisent/python.el: New files. - -2010-01-09 Chong Yidong <[email protected]> - - * man.el (Man-goto-section): Signal error if the section is not - found (Bug#5317). - -2010-01-09 Juanma Barranquero <[email protected]> - - * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept - URLs with a leading triple slash in the file: scheme. (Bug#5345) - -2010-01-09 Chong Yidong <[email protected]> - - * progmodes/compile.el: Don't treat compile-command as safe if - compilation-read-command might be nil (Bug#4218). - -2010-01-09 Jan Djärv <[email protected]> - - * startup.el (command-line-1): Use orig-argi to check for ignored X and - NS options. - -2010-01-08 Kenichi Handa <[email protected]> - - * international/fontset.el (build-default-fontset-data): - Exclude characters in scripts kana, hangul, han, or cjk-misc. - -2010-01-07 Juanma Barranquero <[email protected]> - - * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename - to `create-file-buffer' as it expects, not just a buffer name. - (vc-dir-mode): Include the buffer name in `list-buffers-directory', - to help uniquify. (Bug#3224) - -2010-01-06 Jan Djärv <[email protected]> - - * font-setting.el (font-setting-change-default-font): Use user-spec - instead of name. - -2010-01-06 Dan Nicolaescu <[email protected]> - - * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges. - -2010-01-05 Tom Tromey <[email protected]> - - * progmodes/python.el (python-font-lock-keywords): - Handle qualified decorators (Bug#881). - -2010-01-05 Dan Nicolaescu <[email protected]> - - * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision - in a lightweight checkout. - -2010-01-05 Kenichi Handa <[email protected]> - - * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ. - -2010-01-05 Dan Nicolaescu <[email protected]> - - * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff. - -2010-01-04 Dan Nicolaescu <[email protected]> - - * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight - checkouts. (Bug#618) - (vc-bzr-log-view-mode): Also highlight the author. - (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point. - (vc-bzr-shelve-menu-map): - (vc-bzr-dir-extra-headers): Improve menu and tooltip text. - (vc-bzr-shelve-apply): Make prompt more explicit. - -2010-01-02 Chong Yidong <[email protected]> - - * net/browse-url.el (browse-url-encode-url): Don't escape commas. - They are valid characters in URL paths (rfc3986), and at least - Firefox does not understand the encoded version (Bug#3166). - -2010-01-02 Daniel Elliott <[email protected]> (tiny change) - - * progmodes/octave-mod.el (octave-end-keywords) - (octave-block-begin-or-end-regexp, octave-block-match-alist): - Add "end" keyword (Bug#3061). - (octave-end-as-array-index-p): New function. - (calculate-octave-indent): Use it. - -2010-01-02 Karl Fogel <[email protected]> - - * bookmark.el: Consistently put the text property on the bookmark name. - (bookmark-bmenu-marks-width): Bump back to 2, to include - annotation marks. - (bookmark-bmenu-hide-filenames): Adjust for above, and put the text - property on the bookmark name, instead of not putting it at all. - (bookmark-bmenu-list): Fix where we put the text property. - -2010-01-02 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-bmenu-save): Just depend on the new logic - for showing buffer modified state (as added in the previous change). - -2010-01-02 Karl Fogel <[email protected]> - - * bookmark.el: Show modified state of bookmark buffer more accurately. - (bookmark-bmenu-list): Initialize buffer-modified-p properly. - (bookmark-send-edited-annotation): Mark bookmark-alist as modified. - (with-buffer-modified-unmodified): New macro. - (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames) - (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete): - Use new macro to preserve the buffer modified state. - -2010-01-02 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window) - (bookmark-bmenu-2-window, bookmark-bmenu-this-window) - (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window) - (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation) - (bookmark-bmenu-rename, bookmark-bmenu-locate) - (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark): - Remove unnecessary calls to `bookmark-bmenu-ensure-position'. - -2010-01-02 Eli Zaretskii <[email protected]> - - * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): - Make the lines in the generated doc string shorter. (Bug#4668) - -2010-01-02 Ryan Yeske <[email protected]> - - * net/rcirc.el: Add follow-link binding (Bug#4738). - -2010-01-02 Eli Zaretskii <[email protected]> - - * Makefile.in (bzr-update): Rename from cvs-update. - (cvs-update): New target for backward compatibility. - - * makefile.w32-in (bzr-update): Rename from cvs-update. - (cvs-update): New target for backward compatibility. - -2010-01-02 Karl Fogel <[email protected]> - - * bookmark.el: Remove gratuitous gratitude. - -2010-01-02 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-bmenu-any-marks): New function. - (bookmark-bmenu-save): Clear buffer modification if no marks. - -2010-01-02 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2. - (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property - positions by using `bookmark-bmenu-marks-width', instead of hardcoding. - This fixes the `bookmark-bmenu-execute-deletions' bug reported here: - - http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html - From: Sun Yijiang <sunyijiang {_AT_} gmail.com> - To: emacs-devel {_AT_} gnu.org - Subject: bookmark.el bug report - Date: Mon, 28 Dec 2009 14:19:16 +0800 - Message-ID: [email protected] - -2010-01-02 Karl Fogel <[email protected]> - - * bookmark.el: Improvements suggested by Drew Adams: - (bookmark-bmenu-ensure-position): New name for - `bookmark-bmenu-check-position'. Just ensure the position, - don't return any meaningful value. - (bookmark-bmenu-header-height, bookmark-bmenu-marks-width): - New constants. - -2010-01-02 Juanma Barranquero <[email protected]> - - * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff'). - (bookmark-yank-point, bookmark-bmenu-check-position): - Fix typos in docstrings. - (bookmark-save-flag, bookmark-bmenu-toggle-filenames) - (bookmark-name-from-full-record, bookmark-get-position) - (bookmark-set-position, bookmark-set, bookmark-handle-bookmark) - (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode): - Remove useless quoting of parenthesis, etc. in docstrings. - - * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message. - (ediff-append-custom-diff): Fix typo in error message. - (ediff-meta-mark-equal-files): Fix typos in messages. - - * mpc.el (mpc-playlist-delete): Fix typo in error messages. - - * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default): - Fix typo in docstring. - - * net/imap-hash.el (imap-hash-make): Doc fix. - (imap-hash-test): Fix typo in error message; reflow docstring. - (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message) - (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl) - (imap-hash-mailbox, imap-hash-user, imap-hash-password): - Fix typos in docstrings. - (imap-hash-open-connection): Fix typo in error message. - - * play/gomoku.el (gomoku): Fix typos in docstring. - - * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring. - (gdb-jsonify-buffer): Fix typos in docstring. - (gdb-goto-breakpoint): Fix typo in error message. - ("Display Other Windows"): Fix typo in help message. - (gdb-speedbar-expand-node): Fix typo in question. - - * progmodes/idlw-help.el (idlwave-help-browse-url-available) - (idlwave-html-system-help-location, idlwave-html-help-location) - (idlwave-help-browser-function, idlwave-help-browser-generic-program) - (idlwave-help-browser-generic-args, idlwave-help-directory) - (idlwave-html-help-is-available, idlwave-help-mode-line-indicator) - (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help) - (idlwave-online-help, idlwave-help-html-link) - (idlwave-help-show-help-frame, idlwave-help-assistant-command): - Fix typos in docstrings. - (idlwave-help-with-source, idlwave-help-find-routine-definition): - Reflow docstrings. - (idlwave-help-assistant-start): Fix typo in error message. - - * progmodes/octave-mod.el (octave-mode, octave-electric-semi) - (octave-electric-space): Fix typos in docstrings. - -2010-01-01 Chong Yidong <[email protected]> - - * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149). - -2010-01-01 Juri Linkov <[email protected]> - - * comint.el (comint-input-ring-size): Make it a defcustom and - increase the default to 500 (Bug#5148). - -2009-12-31 Nick Roberts <[email protected]> - - Further changes from EMACS_23_1_RC branch (2009-12-29 contd). - * term/x-win.el (x-gtk-stock-map): Map some GUD buttons. - * progmodes/gud.el (gud-menu-map): Add reverse-execution commands. - -2009-12-30 Nick Roberts <[email protected]> - - Show working revision correctly for mercurial. - * vc-hg.el (vc-hg-working-revision): Use hg parent instead of - hg log as suggested by Alex Harsanyi <[email protected]>. - -2009-12-29 Juanma Barranquero <[email protected]> - - Declare some functions for the byte-compiler. - * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list) - (speedbar-timer-fn, speedbar-change-expand-button-char) - (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare. - -2009-12-29 Nick Roberts <[email protected]> - - This changeset reverts GDB Graphical Interface to use annotations. - * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC. - -2009-12-29 Dan Nicolaescu <[email protected]> - - Make vc-dir work on subdirectories of the bzr root. - * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return - file names relative to it. - (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root - relative directory to vc-bzr-after-dir-status. - -2009-12-28 Tassilo Horn <[email protected]> - - * font-lock.el (font-lock-refresh-defaults): New function, which - can be used to let font-lock react to external changes in - variables like font-lock-defaults and keywords. - See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802 - -2009-12-28 Dan Nicolaescu <[email protected]> - - * vc-rcs.el (vc-rcs-register): Fix registering a specific version. - - * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp. - -2009-12-28 Juanma Barranquero <[email protected]> - - Supersede color.diff settings in git log (bug#5211). - - * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid - escape chars in its output when the user has color.diff set to `always'. - This fix works on git 1.4.2 and newer (released on 2006-08-13). - -2009-12-26 Kevin Ryde <[email protected]> - - * info-look.el (sh-mode): Look for coreutils new "Concept Index" - node. Keep previous "Index" name to work with past coreutils too. - - * man.el (man): Revise docstring a bit to show -a and -l as - examples. Add -k description since support for it has otherwise - been a secret. (Further to bug#3717.) - (Man-bgproc-sentinel): When "-k foo" produces no output show error - "no matches" rather than "Can't find manpage", as the latter reads - like -k was interpreted as a page name, which is not so. (Bug#5431) - -2009-12-26 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the - switches. Check also for //SUBDIRED// line. - -2009-12-25 Kenichi Handa <[email protected]> - - * language/indian.el (devanagari-composable-pattern): Fixed to - handle ZWNJ and ZWJ. Use it in composition-function-table for - Devanagari. - (malayalam-composable-pattern): Fix previous change. - -2009-12-23 Vinicius Jose Latorre <[email protected]> - - * ps-print.el (ps-face-attributes): It was not returning the - attribute face for faces specified as string. Reported by harven - <[email protected]>. (Bug#5254) - (ps-print-version): New version 7.3.5. - -2009-12-18 Ulf Jasper <[email protected]> - - * calendar/icalendar.el (icalendar--convert-tz-offset): - Fix timezone names. - (icalendar--convert-tz-offset): Fix the "last-day-problem". - (icalendar--add-diary-entry): Remove the trailing blank that - diary-make-entry inserts. - -2009-12-17 Michael Albinus <[email protected]> - - Make `file-expand-wildcards' work for remote files. - - * files.el (file-expand-wildcards): In case of remote files, check - only local file name part for wildcards. Provide feature 'files - and subfeature 'remote-wildcards. (Bug#5198) - - * net/tramp.el (tramp-handle-file-remote-p): Expand file name only - if there is already an established connection. - (tramp-advice-file-expand-wildcards): Remove it. - - * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'. - (tramp-advice-file-expand-wildcards): Move from tramp.el. - Activate advice for older GNU Emacs versions. (Bug#5237) - -2009-12-17 Juanma Barranquero <[email protected]> - - Some doc fixes (more needed). - - * find-cmd.el (find-constituents): Reflow docstring. - (find-cmd, find-prune, find-command): Fix typos in docstrings. - (find-generic): Doc fix. - -2009-12-17 Juri Linkov <[email protected]> - - Fix regression from 23.1 to allow multiple modes in Local Variables. - - * files.el (hack-local-variables-filter): While ignoring duplicates, - don't take `mode' into account. - (hack-local-variables-filter, hack-dir-local-variables): - Don't remove duplicate `mode' from local-variables-alist (like `eval'). - -2009-12-17 Juri Linkov <[email protected]> - - Make `dired-diff' safer. (Bug#5225) - - * dired-aux.el (dired-diff): Signal an error when `file' equals to - `current' or when `file' is a directory of the `current' file. - -2009-12-17 Andreas Schwab <[email protected]> - - * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude - unconditionally preloaded files. - -2009-12-16 Juri Linkov <[email protected]> - - Revert to old 23.1 logic of using the file at the mark as default. - * dired-aux.el (dired-diff): Use the file at the mark as default - if it's not the same as the current file, and the target dir is - the current dir or the mark is active. Add the current file - as the arg of `dired-dwim-target-defaults'. Use the default file - in the prompt. (Bug#5225) - -2009-12-15 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-echo-mark-marker-length): New defconst. - (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it. - (tramp-check-for-regexp): Check also, when an echoing shell stops - to echo sent commands. - -2009-12-14 Chong Yidong <[email protected]> - - * Makefile.in: Revert last change (Bug#5191). - -2009-12-14 Dan Nicolaescu <[email protected]> - - * vc-hg.el (vc-hg-print-log): Fix argument order. - (vc-hg-working-revision): Make sure the command is executed in a - known environment so that we can parse the output. (Bug#4417) - -2009-12-14 Chong Yidong <[email protected]> - - * progmodes/python.el (python-symbol-completions): Remove text - properties from symbol string before calling python-send-receive. - -2009-12-14 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame - when there are values for both file and line. (Bug#5060) - -2009-12-14 Juri Linkov <[email protected]> - - * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match - whitespace after the file name of the first line of unified format, - because git-diff doesn't output whitespace and file modification time - after the file name. - -2009-12-14 David Kastrup <[email protected]> - - * info.el (Info-hide-cookies-node): Before hiding a cookie, - check if it already has the `display' property added by - `Info-display-images-node', and not put the `invisible' property - in this case. - -2009-12-14 Chong Yidong <[email protected]> - - * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode) - (semantic-mru-bookmark-mode): Doc fixes. - - * cedet/semantic/db.el (semanticdb-cache-get): Use error instead - of assert. - -2009-12-13 Glenn Morris <[email protected]> - - * mail/emacsbug.el (message-sort-headers): Define for compiler. - (report-emacs-bug): In message-mode, sort manually before storing - original report text. (Bug#5178) - Remove superfluous save-excursion. - -2009-12-12 Michael Albinus <[email protected]> - - * net/dbus.el (dbus-property-handler): Filter lambda forms out - when responding to "GetAll" properties. - -2009-12-12 Chong Yidong <[email protected]> - - * simple.el (compose-mail): Remove mail-setup-with-from from - customization checks. - -2009-12-12 Eli Zaretskii <[email protected]> - - * arc-mode.el (archive-rar-summarize): Support Attribute fields in - RAR archives created on Unix systems. - -2009-12-12 Stefan Monnier <[email protected]> - - * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate - the varalias that was accidentally removed by the 2009-11-19 change - (bug#5186). - -2009-12-12 Kenichi Handa <[email protected]> - - * language/indian.el (indian-compose-regexp): New function. - (malayalam-composable-pattern): Fix the pattern. - (composition-function-table): Set malayalam-composable-pattern for - Malayalam characters. - -2009-12-11 Chong Yidong <[email protected]> - - * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2 - rather than down-mouse-1, based on follow-link conventions. - - * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories - are compiled. - -2009-12-11 Michael McNamara <[email protected]> - - * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re) - (verilog-vmm-statement-re, verilog-ovm-statement-re) - (verilog-defun-level-not-generate-re, verilog-calculate-indent) - (verilog-leap-to-head, verilog-backward-token): - Fix indenting VMM macros. Reported by Jonathan Ashbrook. - -2009-12-11 Wilson Snyder <[email protected]> - - * progmodes/verilog-mode.el (verilog-auto-lineup) - (verilog-nameable-item-re): Cleanup user-visible spelling and - documentation errors. One reported by Gary Delp. - (verilog-submit-bug-report): Mention bug tracking and CC co-author. - (verilog-read-decls): Fix AUTOWIRE with types declared in a - package, bug195. Reported by Pierre-David Pfister. - -2009-12-11 Glenn Morris <[email protected]> - - * progmodes/cc-engine.el (safe-pos-list): Define for compiler. - - * mail/emacsbug.el: No longer require sendmail. - Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174) - (report-emacs-bug-orig-text): Doc fix. - (report-emacs-bug-send-command, report-emacs-bug-send-hook): - New local variables, to adapt to different mail-user-agents. - (report-emacs-bug): Fix test for a gnu.org address. - Use overlays for emphasis, since font-lock defeats 'face property. - Pretest bugs also end up at the newsgroup these days. - Stop message-mode stripping text properties. - Set and use the new buffer-local variables. - (report-emacs-bug-hook): Add doc-string. - Remove some unnecessary save-excursions and simplify. - Use the appropriate hook and send-command. - - * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the - capitalization of some menu entries. - -2009-12-10 Vinicius Jose Latorre <[email protected]> - - * whitespace.el (whitespace-display-char-on): - Ensure `buffer-display-table' is unique when two or more windows are - visible. Reported by Martin Pohlack <[email protected]>. - New version 12.1. - -2009-12-10 Eli Zaretskii <[email protected]> - - * arc-mode.el (archive-rar-summarize): Allow between 6 and 7 - characters in the Attribute field. - -2009-12-10 Dan Nicolaescu <[email protected]> - - * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741) - -2009-12-10 Stefan Monnier <[email protected]> - - Let loaddefs.el adjust to changes in autoload-excludes (bug#5162). - * emacs-lisp/autoload.el (autoload-generate-file-autoloads): - Disregard autoload-excludes. - (update-directory-autoloads): Obey autoload-excludes here instead. - But don't store its contents in no-autoloads and remove entries that - refer to excludes files. - -2009-12-10 Glenn Morris <[email protected]> - - * mail/feedmail.el (top-level): Move require 'mail-utils to start. - (expand-mail-aliases): Define for compiler. - - * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset): - Define for compiler. - - * mail/emacsbug.el (report-emacs-bug): Use whichever send command is - appropriate for the mail-user-agent in use. - -2009-12-09 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-insert-directory): Suppress error messages. - -2009-12-09 Dan Nicolaescu <[email protected]> - - Fix short log parsing and fontification. - * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number. - Fix fontification for the [merge] label. - -2009-12-09 Vivek Dasmohapatra <[email protected]> - - Drop some properties to avoid surprises (bug#5002). - * htmlfontify.el (hfy-ignored-properties): New defcustom. - (hfy-fontify-buffer): Use it. - -2009-12-09 Stefan Monnier <[email protected]> - - Minor cleanup. - * ffap.el (ffap-symbol-value): Replace ffap-soft-value. - Adjust all callers. - (ffap-locate-file): Remove unused arg `dir-ok' and make other - args compulsory. Adjust callers. - (ffap-gopher-at-point): Remove unused var `name'. - - Get rid of the ELCFILES abomination. - * Makefile.in (update-elclist, ELCFILES, compile-last): Remove. - (compile-elcfiles): New phony target. - (compile-main): Compute ELCFILES dynamically. - (compile-clean): New target to remove left-over elc files. - (compile, all): Use it. - -2009-12-09 Kenichi Handa <handa@etlken> - - * international/mule-diag.el: Require help-mode instead of help-fns. - -2009-12-09 Kenichi Handa <[email protected]> - - * international/mule-cmds.el (ucs-names): Supply sufficiently - fine ranges instead of pre-calculating accurate ranges. - Iterate with bigger gc-cons-threshold. - -2009-12-08 Dan Nicolaescu <[email protected]> - - Add support for stashing a snapshot of the current tree. - * vc-git.el (vc-git-stash-snapshot): New function. - (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it. - -2009-12-08 Jose E. Marchesi <[email protected]> - - * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line' - instead of `(beginning|end)-of-line'. - -2009-12-08 Glenn Morris <[email protected]> - - * vc-mtn.el (vc-mtn-print-log): Fix typo in previous. - - * Makefile.in (ELCFILES): Regenerate. - -2009-12-07 Juri Linkov <[email protected]> - - Don't lazy-highlight the comint output in history Isearch mode. - - * comint.el (comint-history-isearch-search): Instead of - `comint-line-beginning-position', use `comint-after-pmark-p' - to check if point if before the process mark, and go to - `process-mark' in this case. - -2009-12-07 Stefan Monnier <[email protected]> - - * textmodes/tex-mode.el (latex-complete) - (latex-indent-or-complete): Remove. - (latex-mode): Set completion-at-point-functions instead. - - Provide a standard completion command and hook it into TAB. - * minibuffer.el (completion-at-point-functions): New var. - (completion-at-point): New command. - * indent.el (indent-for-tab-command): Handle the `complete' behavior. - * progmodes/python.el (python-mode-map): Use completion-at-point. - (python-completion-at-point): Rename from python-partial-symbol and - adjust for use in completion-at-point-functions. - (python-mode): Setup completion-at-point for Python completion. - * emacs-lisp/lisp.el (lisp-completion-at-point): New function - extracted from lisp-complete-symbol. - (lisp-complete-symbol): Use it. - * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode, - setup completion-at-point for Elisp completion. - (emacs-lisp-mode-map, lisp-interaction-mode-map): - Use completion-at-point. - * ielm.el (ielm-map): Use completion-at-point. - (inferior-emacs-lisp-mode): Setup completion-at-point-functions. - * progmodes/sym-comp.el: Move to... - * obsolete/sym-comp.el: Move from progmodes. - -2009-12-07 Eli Zaretskii <[email protected]> - - Prevent save-buffer in Rmail buffers from using the coding-system - of the current message, and from clobbering the encoding mnemonics - in the mode line (Bug#4623). - - * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified - flag, too. - (rmail-message-encoding): New variable. - (rmail-write-region-annotate): Record the encoding of the current - message in rmail-message-encoding. - (rmail-after-save-hook): New function, restores the encoding of - the current message after the message collection is saved. - -2009-12-07 Juri Linkov <[email protected]> - - * progmodes/grep.el (grep-read-files): Use `completing-read' - instead of `read-string'. Set its `collection' arg to - `read-file-name-internal'. (Bug#4301) - -2009-12-07 Juri Linkov <[email protected]> - - Correctly restore original Isearch point. (Bug#4994) - - * isearch.el (isearch-mode): Move `isearch-push-state' after - `(run-hooks 'isearch-mode-hook)'. - (isearch-cancel): When `isearch-push-state-function' is defined, - let-bind `isearch-cmds' to the first state (the last element of - `isearch-cmds') and call `isearch-top-state' (it calls pop-state - function and restores the original point). Otherwise, move point - to `isearch-opoint'. - -2009-12-07 Stefan Monnier <[email protected]> - - * international/mule-cmds.el (ucs-names): Weed out at compile-time the - chars that don't have names, so the table can be built much faster at - run-time. - -2009-12-07 Chong Yidong <[email protected]> - - * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last - change. Suggested by David Kastrup. - - * simple.el (compose-mail): Check for incompatibilities and warn. - (compose-mail-user-agent-warnings): New option. - -2009-12-07 Dan Nicolaescu <[email protected]> - - Support showing a single log entry from vc-annotate. - * vc.el (print-log): Add a new argument: START-REVISION. - (vc-print-log-internal): Add a new optional argument and - pass it to the backend. - (vc-print-log, vc-print-root-log): Adjust callers. - * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a - buffer already displays the requested log entry, use it. - Otherwise display only the log entry in question. - * vc-svn.el (vc-svn-print-log): - * vc-mtn.el (vc-mtn-print-log): - * vc-hg.el (vc-hg-state): - * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION. - (vc-git-show-log-entry): Return t on success. - * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION. - (vc-bzr-show-log-entry): Return t on success. - * vc-rcs.el (vc-rcs-print-log): - * vc-sccs.el (vc-sccs-print-log): - * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it. - -2009-12-07 Dan Nicolaescu <[email protected]> - - * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer): - Add menus to the meta mode. (Bug#5043) - -2009-12-07 Michael Kifer <[email protected]> - - * ediff-init.el (ediff-event-key): Use event-to-character instead of - event-key. - - * ediff.el (ediff-buffers-internal): Add unwind-protect. - -2009-12-07 Michael Albinus <[email protected]> - - Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël - Berbain <[email protected]>. - - * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$' - characters. - (tramp-initial-end-of-output): New defconst. - (tramp-methods, tramp-find-shell) - (tramp-open-connection-setup-interactive-shell) - (tramp-maybe-open-connection): Use it. - (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle - existence of `#' and `$'. - - * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use - `tramp-initial-end-of-output'. - -2009-12-07 Dan Nicolaescu <[email protected]> - - Get the background mode from the terminal for xterm, and set - faces accordingly. - * term/xterm.el (xterm-set-background-mode): New function. - (terminal-init-xterm): Use it in case xterm supports background - color queries. Recompute faces after getting the background - color. - -2009-12-07 Ulrich Mueller <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version - number comment back on its own line, for easier parsing. - -2009-12-07 Stefan Monnier <[email protected]> - - Make it work for non-file buffers (bug#5102). - * doc-view.el (doc-view-current-cache-dir): - Use doc-view-buffer-file-name rather than buffer-file-name. - (doc-view-mode): Use buffer-name when buffer-file-name is nil. - -2009-12-06 Óscar Fuentes <[email protected]> - - * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the - author field is too short. - -2009-12-06 Dan Nicolaescu <[email protected]> - - * vc-git.el (vc-git-print-log): Handle a limit argument. - Display the short log in graph form and with labels. - (vc-git-log-view-mode): Handle labels. - - Make vc-revert change VC state from 'added to 'unregistered. - * vc-git.el (vc-git-revert): Call git reset first. - -2009-12-06 Ulf Jasper <[email protected]> - - * net/newst-backend.el, net/newst-plainview.el: - * net/newst-reader.el, net/newst-ticker.el: - * net/newst-treeview.el, net/newsticker.el: - Require/provide newst-... (instead of newsticker-...). (Bug#5096) - -2009-12-06 Chong Yidong <[email protected]> - - * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too. - - * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation. - Handle empty author field (Bug#4144). Suggested by Óscar Fuentes. - (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line): - Update annotation regexp. - - * simple.el (beginning-of-visual-line): Constrain to field - boundaries (Bug#5106). - -2009-12-06 Ulf Jasper <[email protected]> - - * xml.el (xml-substitute-numeric-entities): Move - newsticker--decode-numeric-entities in newst-backend.el to - xml-substitute-numeric-entities in xml.el. (Bug#5008) - * net/newst-backend.el (newsticker--parse-generic-feed) - (newsticker--parse-generic-items) - (newsticker--decode-numeric-entities): Move - newsticker--decode-numeric-entities in newst-backend.el to - xml-substitute-numeric-entities in xml.el. (Bug#5008) - -2009-12-06 Daniel Colascione <[email protected]> - - * progmodes/js.el (js--js-not): Add null to the list of values. - -2009-12-06 Chong Yidong <[email protected]> - - * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword. - -2009-12-06 Roland Winkler <[email protected]> - - * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry - delimiter if it is at the end of the current line. - (bibtex-generate-url-list): Fix docstring. - -2009-12-06 Stefan Monnier <[email protected]> - - * minibuffer.el (minibuffer-complete-and-exit): Don't replace the - minibuffer's content with itself. - Fold the confirm-after-completion case into the `confirm' case. - (completion-pcm-word-delimiters): Add : and / to the delimiters. - -2009-12-06 Kevin Ryde <[email protected]> - - * ffap.el (ffap-rfc-path): Make this a defcustom since - `ffap-rfc-directories' is also a defcustom. (Bug#4514.) - - * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode - manuals, similar to existing setup for help-mode. (Bug#3913.) - -2009-12-05 Juri Linkov <[email protected]> - - Save and restore dired buffer's point positions too. (Bug#4880) - - * dired.el (dired-save-positions): Return in the first element - buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT). - Doc fix. - (dired-restore-positions): First restore buffer's position. - While restoring window's positions, check if window still displays - the original buffer. - -2009-12-05 Chong Yidong <[email protected]> - - * bindings.el (complete-symbol): Call semantic-ia-complete-symbol - if possible. - - * cedet/semantic/ia.el (semantic-ia-complete-symbol): - Make argument optional. - - * shell.el (shell): Require ansi-color (Bug#5113). - - * ansi-color.el (ansi-color-for-comint-mode): Default to t. - - * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925). - -2009-12-05 Alan Mackenzie <[email protected]> - - * progmodes/cc-mode.el (c-before-hack-hook) - (c-postprocess-file-styles): Revert change 2009-07-18T21:03:[email protected] to permit - `c-file-style' to work again. This reversion restores the current - software to its state in Emacs 23.1. (Bug#4146) - -2009-12-05 Kevin Ryde <[email protected]> - - * textmodes/sgml-mode.el (sgml-lexical-context): Recognise - comment-start-skip to comment-end-skip as comment (Bug#4781). - -2009-12-05 Juri Linkov <[email protected]> - - * info.el (Info-find-node-2): Set `Info-current-subfile' to nil - for virtual nodes. (Bug#4147) - (Info-find-node-2): Set `Info-current-node-virtual' to nil - when moving from a virtual node. - (Info-mode-menu): Add `Info-virtual-index' to the menu. - (Info-mode): Add `Info-virtual-index' to the docstring. - -2009-12-05 Eric Ludlam <[email protected]> - - * cedet/semantic/bovine/c.el (semantic-c-describe-environment): - Describe project macro symbols. - - * cedet/semantic/complete.el (semantic-complete-do-completion): - Don't call semantic-collector-current-exact-match. - - * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of - ede-objects as targets. - - * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output - a target's object list even if compiler vars are already in the - Makefile. - - * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the - list of headers producing necessary macros. - -2009-12-05 Roland Winkler <[email protected]> - - * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep - track of the buffer position of the end of a BibTeX entry as this - position may change during reformatting. - (bibtex-format-entry): Remove whitespace before processing - numerical fields so that we recognize the latter properly. - (bibtex-reformat): Do not use push which changes the global value - of bibtex-entry-format. - (bibtex-field-braces-alist, bibtex-field-strings-alist) - (bibtex-field-re-init): Replace only space characters by regexp - for whitespace. - (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring. - (bibtex-initialize): Also update bibtex-strings. - (bibtex-kill-field): Preserve white space at end of entry. - (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill): - Update bibtex-reference-keys. - -2009-12-05 Stefan Monnier <[email protected]> - - * minibuffer.el (completion-pcm--merge-try): Also consider placing - point after a star, if that's the only place where modifications can - make progress. - -2009-12-05 Dan Nicolaescu <[email protected]> - - * vc-dir.el (vc-dir): Use the correct markup for showing keymaps - in docstrings. - -2009-12-04 Juri Linkov <[email protected]> - - * proced.el (proced): Call `(proced-update t)' to update process - information instead of only running proced-post-display-hook. - (proced-send-signal): Add a leading space to the buffer name - " *Marked Processes*" to make this buffer ephemeral. - -2009-12-04 Juri Linkov <[email protected]> - - * dired.el (dired-auto-revert-buffer): New defcustom. - (dired-internal-noselect): Use it. - -2009-12-04 Juri Linkov <[email protected]> - - Change roles of modes and functions in image-mode.el (Bug#5062). - - * image-mode.el: Replace `image-mode-maybe' with `image-mode' - in `auto-mode-alist'. - (image-mode-previous-major-mode): New variable. - (image-minor-mode-map): Rename from `image-mode-text-map'. - (image-mode): Move graceful error-handling code from - `image-minor-mode' to here. On errors call `image-mode-as-text'. - (image-minor-mode): Remove all image-handling code. - Replace `image-mode-text-map' with `image-minor-mode-map'. - Check for `image-type' in mode-line format string. - (image-mode-maybe): Make obsolete with an alias to `image-mode'. - (image-mode-as-text): New function with most code from - `image-mode-maybe'. - (image-toggle-display-text): Move code that removes image - properties from `image-toggle-display' to here. - (image-toggle-display-image): New function with code that adds - image properties copied from `image-toggle-display'. - (image-toggle-display): Remove most code with leaving only code - that toggles between `image-mode-as-text' and `image-mode'. - -2009-12-04 Ulf Jasper <[email protected]> - - * net/newst-treeview.el - (newsticker--treeview-list-highlight-start): Restored call to - save-excursion: Selected item was stuck. - (newsticker--treeview-list-select): New. - (newsticker--treeview-item-show-text) - (newsticker--treeview-item-show) - (newsticker--treeview-item-update): Use new - newsticker-treeview-item-mode. - (newsticker-treeview-update): Keep current item. - (newsticker-treeview-next-new-or-immortal-item): Doc change. - (newsticker--treeview-first-feed): Doc change. - (newsticker-treeview-list-menu) - (newsticker-treeview-item-menu): Added menu entries. - (newsticker-treeview-item-mode): New. - - * net/newst-backend.el (newsticker-customize): Delete other - windows. - -2009-12-04 Sam Steingold <[email protected]> - - * log-view.el (log-view-mode-map): "q" calls quit-window, - like in all the other non-self-insert buffers. - -2009-12-04 Stefan Monnier <[email protected]> - - Minor cleanup. - * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's - key decoding rather than do it manually via last-input-event + - ascii-character. - (term-exec): Use delete-and-extract-region. - (term-handle-ansi-terminal-messages): Remove unused var `end'. - (term-process-pager): Remove unused var `i'. - (term-dynamic-simple-complete): Make obsolete. - (serial-update-config-menu): Remove unused vars `y' and `str'. - (term-update-mode-line): Remove unused var `temp'. - -2009-12-03 Dan Nicolaescu <[email protected]> - - Limit the number of log entries displayed by default. - * vc.el (vc-print-log-internal): Fix check for limit-unsupported. - (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not - using a prefix argument. - -2009-12-03 Glenn Morris <[email protected]> - - * progmodes/idlwave.el (class): Restore still useful declaration. - -2009-12-03 Alan Mackenzie <[email protected]> - - Enhance `c-parse-state' to run efficiently in "brace deserts". - - * progmodes/cc-mode.el (c-basic-common-init): - Call c-state-cache-init. - (c-neutralize-syntax-in-and-mark-CPP): Rename from - c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by - placing `category' properties value 'c-cpp-delimiter at its boundaries. - - * progmodes/cc-langs.el (c-before-font-lock-function): - c-extend-and-neutralize-syntax-in-CPP has been renamed - c-neutralize-syntax-in-and-mark-CPP. - - * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets - with `category' properties now, not `syntax-table' ones. - - * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new - enhanced (but slower) version of c-end-of-macro that won't land - inside a literal or on another awkward character. - (c-state-cache-too-far, c-state-cache-start) - (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache) - (c-state-nonlit-pos-cache-limit, c-state-point-min) - (c-state-point-min-lit-type, c-state-point-min-lit-start) - (c-state-min-scan-pos, c-state-brace-pair-desert) - (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and - buffer local variables. - (c-state-literal-at, c-state-lit-beg) - (c-state-cache-non-literal-place, c-state-get-min-scan-pos) - (c-state-mark-point-min-literal, c-state-cache-top-lparen) - (c-state-cache-top-paren, c-state-cache-after-top-paren) - (c-get-cache-scan-pos, c-get-fallback-scan-pos) - (c-state-balance-parens-backwards, c-parse-state-get-strategy) - (c-renarrow-state-cache) - (c-append-lower-brace-pair-to-state-cache) - (c-state-push-any-brace-pair, c-append-to-state-cache) - (c-remove-stale-state-cache) - (c-remove-stale-state-cache-backwards, c-state-cache-init) - (c-invalidate-state-cache-1, c-parse-state-1) - (c-invalidate-state-cache): New defuns/defmacros/defsubsts. - (c-parse-state): Enhance and refactor. - (c-debug-parse-state): Amend to deal with all the new variables. - - * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren) - (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren): - modify to use category text properties rather than syntax-table ones. - (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts - to switch off/on the syntactic paren property of C++ template - delimiters using the category property. - (c-with-<->-as-parens-suppressed): Macro to invoke code with - template delims suppressed. - (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters): - New constant/macros which apply category properties to the start - and end of preprocessor constructs. - (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which - "comment out" the syntactic value of characters in preprocessor - constructs. - (c-with-cpps-commented-out) - (c-with-all-but-one-cpps-commented-out): Macros to invoke code - with characters in all or all but one preprocessor constructs - "commented out". - -2009-12-03 Roland Winkler <[email protected]> - - * proced.el (proced-filter-alist): Use regexp-quote. - -2009-12-03 Michael Albinus <[email protected]> - - Cleanup. - * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete. - (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading - arguments. Expand `default-directory'. - - * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for - the benefit of returning an expanded localname. - (tramp-tramp-file-p): Handle the case NAME is not a string. - -2009-12-03 Dan Nicolaescu <[email protected]> - - Add support for bzr shelve/unshelve. - * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map) - (vc-bzr-extra-menu-map): New variables. - (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve) - (vc-bzr-shelve-apply, vc-bzr-shelve-list) - (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point) - (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions. - (vc-bzr-dir-extra-headers): Display shelves. - - * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better. - -2009-12-03 Stefan Monnier <[email protected]> - - * textmodes/bibtex.el (bibtex-complete-internal): - Use completion-in-region. - (bibtex-text-in-field-bounds): Remove unused var `opoint'. - -2009-12-03 Dan Nicolaescu <[email protected]> - - Support applying stashes. Improve UI. - * vc-git.el (vc-git-dir-extra-headers): Add tooltips. - (vc-git-stash-apply, vc-git-stash-pop) - (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point) - (vc-git-stash-menu): New functions. - (vc-git-stash-menu-map): New variable. - (vc-git-stash-map): Add bindings to popup a menu and to apply stashes. - -2009-12-03 Glenn Morris <[email protected]> - - * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare. - (vc-print-log-internal): Fix previous change. - (vc-revert): Correct pluralization. - -2009-12-03 Stefan Monnier <[email protected]> - - * progmodes/make-mode.el (makefile-special-targets-list): No need for - it to be an alist any more. - (makefile-complete): Use completion-in-region. - - * progmodes/octave-mod.el (octave-complete-symbol): - Use completion-in-region. - - Misc cleanup. - * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'. - (idlwave-code-abbrev, idlwave-display-user-catalog-widget) - (idlwave-complete-class): Don't quote lambda. - (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table) - (idlwave-mode-map): Move initialization into declaration. - (idlwave-action-and-binding): Use backquotes. - (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer): - Simplify. - (idlwave-is-pointer-dereference): Remove unused var `pos'. - (idlwave-xml-create-rinfo-list): Remove unused var `entry'. - (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new', - `parts', and `all-parts'. - (idlwave-xml-create-sysvar-alist): Remove unused var `fields'. - (idlwave-convert-xml-system-routine-info): Remove unused string - `version-string'. - (idlwave-display-user-catalog-widget): Use dolist. - (idlwave-scanning-lib): Declare dynamically-scoped var. - (idlwave-scan-library-catalogs): Remove unused var `flags'. - (completion-highlight-first-word-only): Declare to silence bytecomp. - (idlwave-popup-select): Tighten scope of `resp'. - (idlwave-find-struct-tag): Remove unused var `beg'. - (idlwave-after-load-rinfo-hook): Declare. - (idlwave-sintern-class-info): Remove unused var `taglist'. - (idlwave-find-class-definition): Remove unused var `list'. - (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'. - (idlwave-what-module-find-class): Remove unused var `classes'. - -2009-12-03 Juanma Barranquero <[email protected]> - - * progmodes/pascal.el: Require CL when compiling (for lexical-let). - -2009-12-03 Stefan Monnier <[email protected]> - - * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the - buffers visited. Remove redundant current-buffer-saving. - -2009-12-02 Stefan Monnier <[email protected]> - - Use completion-in-buffer and remove uses of dynamic scoping. - * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred) - (pascal-buffer-to-use, pascal-flag): Don't declare. - (pascal-func-completion, pascal-type-completion, pascal-var-completion) - (pascal-get-completion-decl, pascal-keyword-completion): - Add `pascal-str' argument, save-excursion, - return the found completions, and don't filter with pascal-pred. - (pascal-completion-cache): New var. - (pascal-completion): Don't switch buffer any more (it was never - necessary). Don't save-excursion any more (it's done by the called - subroutines). Use a cache to avoid redundant computations. - Use complete-with-action rather than pascal-completion-response and - let it apply the predicate as well. - (pascal-complete-word): Use completion-in-buffer when - pascal-toggle-completions is nil. - (pascal-show-completions): Don't bind pascal-buffer-to-use since it's - not used any more. - (pascal-comp-defun): Don't change buffer any more. - Use complete-with-action rather than pascal-completion-response and - let it apply the predicate as well. - (pascal-goto-defun): Change buffer before calling pascal-comp-defun - when neded. - -2009-12-02 Kenichi Handa <[email protected]> - - * language/indian.el: Include ZWJ and ZWNJ in the patterns to - shape for all Indic scripts. - -2009-12-02 Stefan Monnier <[email protected]> - - Use completion-in-buffer. - * wid-edit.el (widget-field-text-end): New function. - (widget-field-value-get): Use it. - (widget-string-complete, widget-file-complete) - (widget-color-complete): Use it and completion-in-region. - (widget-complete): Don't narrow the buffer. - -2009-12-02 Glenn Morris <[email protected]> - - * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282) - (rmail-select-summary): Use rmail-pop-to-buffer. - * mail/rmailsum.el: Replace all pop-to-buffer calls with - rmail-pop-to-buffer, to prevent horizontal splits. - - * calendar/diary-lib.el (diary-list-entries): Replace superfluous - save-excursion with save-current-buffer. - Widen before searching. (Bug#5093) - (diary-list-sexp-entries): Remove superfluous save-excursion. - -2009-12-02 Michael Welsh Duggan <[email protected]> - - * woman.el (woman-make-bufname): Handle man-pages with "." in the - name. (Bug#5038) - -2009-12-02 Andreas Politz <[email protected]> (tiny change) - - * ido.el (ido-file-internal): Handle filenames at point that do - not have a directory part. (Bug#5049) - -2009-12-02 Juanma Barranquero <[email protected]> - - * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist) - (mpc-songs-jump-to, mpc-resume): Doc fixes. - -2009-12-01 Rob Riepel <[email protected]> - - * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message. - (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message - any more. - -2009-12-01 Stefan Monnier <[email protected]> - - * comint.el (comint-insert-input): Ignore clicks to the right of - the field. Reported by Bob Nnamtrop <[email protected]>. - - * vc.el (vc-print-log-internal): Don't wait for the process to - terminate before setting up the major mode. - - * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just - in case. - - * pcomplete.el (pcomplete-std-complete): Don't try to complete past - the last element. - - * simple.el (normal-erase-is-backspace-mode): Fix thinko in message. - -2009-12-01 Glenn Morris <[email protected]> - - * window.el (window--display-buffer-2): Fix previous changes. - -2009-12-01 Chong Yidong <[email protected]> - - * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes. - -2009-12-01 Glenn Morris <[email protected]> - - * Makefile.in (ELCFILES): Add mpc.elc. - -2009-12-01 Stefan Monnier <[email protected]> - - * mpc.el: New file. - -2009-12-01 Glenn Morris <[email protected]> - - * window.el (window-to-use): Define for compiler. - - * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message - consistent with others (no final period). - - * mail/rmailmm.el (rmail-mime-handle): Doc fix. - (rmail-mime-show): Downcase the encoding. (Bug#5070) - -2009-12-01 Dan Nicolaescu <[email protected]> - - Make vc-print-log buttons work. - * log-view.el (log-view-mode-map): Inherit from widget-keymap. - -2009-11-30 Ryan C. Thompson <[email protected]> (tiny change) - - * savehist.el (savehist-autosave-interval): Allow setting to nil - through customize. (Bug#5056) - -2009-11-30 Juanma Barranquero <[email protected]> - - Fix references to jit-lock properties. - * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): - Refer to jit-lock-defer-multiline, not jit-lock-multiline. - (perl-font-lock-special-syntactic-constructs): - Quote jit-lock-defer-multiline property. - -2009-11-30 Dan Nicolaescu <[email protected]> - - * vc-git.el (vc-git-registered): Call vc-git-root only once. - -2009-11-30 Juri Linkov <[email protected]> - - * misearch.el (multi-isearch-search-fun): Always provide a non-nil - value `buffer' of `multi-isearch-next-buffer-current-function'. - Use `(current-buffer)' when `buffer' is nil. - (multi-isearch-next-buffer-from-list): Don't fallback to - `(current-buffer)' when `buffer' is nil. (Bug#4947) - -2009-11-30 Juri Linkov <[email protected]> - - * misearch.el (multi-isearch-read-buffers): Move canonicalization - of buffers with `get-buffer' to `multi-isearch-buffers'. - (multi-isearch-buffers, multi-isearch-buffers-regexp): - Canonicalize BUFFERS with `get-buffer'. Doc fix. - (multi-isearch-files, multi-isearch-files-regexp): Canonicalize - FILES with `expand-file-name' converting relative file names - to absolute. Doc fix. (Bug#4727) - -2009-11-30 Juri Linkov <[email protected]> - - * misearch.el (multi-isearch-read-buffers) - (multi-isearch-read-matching-buffers): New functions. - (multi-isearch-buffers, multi-isearch-buffers-regexp): - Use them in the `interactive' spec. Doc fix. - (multi-isearch-read-files, multi-isearch-read-matching-files): - New functions. - (multi-isearch-files, multi-isearch-files-regexp): - Use them in the `interactive' spec. Doc fix. (Bug#4725) - -2009-11-30 Juri Linkov <[email protected]> - - * doc-view.el (doc-view-continuous): - Rename from `doc-view-continuous-mode'. - (doc-view-menu): Move "Toggle display" to the top. - Add submenu "Continuous" with radio buttons "Off"/"On" - and "Save as Default". - (doc-view-scroll-up-or-next-page) - (doc-view-scroll-down-or-previous-page) - (doc-view-next-line-or-next-page) - (doc-view-previous-line-or-previous-page): Rename - `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896) - -2009-11-30 Juri Linkov <[email protected]> - - * comint.el (comint-mode-map): Rebind `M-r' from - `comint-previous-matching-input' to - `comint-history-isearch-backward-regexp'. - Unbind `M-s' to allow global key binding `M-s'. - Add menu items for `comint-history-isearch-backward' and - `comint-history-isearch-backward-regexp'. (Bug#3746) - -2009-11-30 Juri Linkov <[email protected]> - - * replace.el (perform-replace): Let-bind recenter-last-op to nil. - For def=recenter, replace `recenter' with `recenter-top-bottom' - that is called with `this-command' and `last-command' let-bound - to `recenter-top-bottom'. When the last `def' was not `recenter', - set `recenter-last-op' to nil. (Bug#4981) - -2009-11-30 Stefan Monnier <[email protected]> - - Minor cleanup and simplification. - * filecache.el (file-cache-add-directory) - (file-cache-add-directory-recursively) - (file-cache-add-from-file-cache-buffer) - (file-cache-delete-file-regexp, file-cache-delete-directory) - (file-cache-files-matching-internal, file-cache-display): Use dolist. - (file-cache-temp-minibuffer-message): Delete function. - (file-cache-minibuffer-complete): Use minibuffer-message instead. - - * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs): - Don't signal an error when bumping into EOB in tr, s, or y. - -2009-11-29 Juri Linkov <[email protected]> - - * startup.el (fancy-about-text): Fix wording of Guided Tour. - (Bug#4960) - - * descr-text.el (describe-char-unidata-list): Use lowercase name - for "Unicode name" like in other tags. - -2009-11-29 Juri Linkov <[email protected]> - - * ediff-util.el (ediff-minibuffer-with-setup-hook): - New compatibility macro. - (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'. - -2009-11-29 Juri Linkov <[email protected]> - - Add defcustom to define the cycling order of `recenter-top-bottom'. - (Bug#4981) - - * window.el (recenter-last-op): Doc fix. - (recenter-positions): New defcustom. - (recenter-top-bottom): Rewrite to use `recenter-positions'. - (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'. - -2009-11-29 Michael Albinus <[email protected]> - - Improve integration of Tramp and ange-ftp in eshell. - - * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias. - (eshell/su): Flatten args. Apply better args parsing. Use "cd". - (eshell/sudo): Flatten args. Let-bind `default-directory'. - - * eshell/esh-util.el (top): Require also Tramp when compiling. - (eshell-directory-files-and-attributes): Check for FTP remote - connection. - (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format', - `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'. - (eshell-file-attributes): Handle ".". Return `entry'. - - * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'. - (ange-ftp-directory-files-and-attributes) - (ange-ftp-real-directory-files-and-attributes): New defuns. - - * net/tramp.el (tramp-maybe-open-connection): Open the remote - shell with "exec" when possible. This prevents trailing prompts - in `start-file-process'. - -2009-11-28 Stefan Monnier <[email protected]> - - Try and remove assumptions about point-min==1. - * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1. - (rng-compute-mode-line-string): Show the validation percentage in - terms of the narrowed text, not the widened text. - (rng-do-some-validation): Don't catch internal errors when debugging. - (rng-first-error): Simplify. - (rng-after-change-function): Remove work around. AFAIK the bug has - been fixed a while ago. - - * image-mode.el (image-minor-mode): Exit more gracefully when the image - cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET). - - * man.el (Man-completion-table): Make it easier to enter "<sec> <name>". - - * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since - `cd' doesn't always do it for us (bug#5067). - - * pcomplete.el (pcomplete-entries): Revert change installed mistakenly - on 2009-10-25 as part of some other change (bug#5067). - -2009-11-27 Stefan Monnier <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type - `suspicious'. - (byte-compile-warnings): Use byte-compile-warning-types. - (byte-compile-save-excursion): Warn about use of set-buffer right - after save-excursion. - - * progmodes/gud.el (gud-basic-call): Don't only save the buffer but - the excursion as well. - -2009-11-27 Michael Albinus <[email protected]> - - * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns, - providing a Tramp related implementation of "su" and "sudo". - (eshell-unix-initialize): Add "su" and "sudo". - -2009-11-27 Daiki Ueno <[email protected]> - - * net/socks.el (socks-send-command): Convert binary request to - unibyte before sending. This fixes mishandling of some port - numbers such as 129. - -2009-11-27 Stefan Monnier <[email protected]> - - * help.el (describe-bindings-internal): Remove `interactive'. - - * man.el (Man-completion-table): Trim a terminating "(". - Remove the space between name page a section. - Add the command's description on the `help-echo' property. - Remove `process-connection-type' binding since it's unused by - call-process. - Provide completion for the "<section> <name>" format as well. - (Man-default-man-entry): Remove spurious var shadowing the argument. - -2009-11-26 Kevin Ryde <[email protected]> - - * log-view.el: Add "Keywords: tools", since its other keywords - aren't in finder-known-keywords, and following vc.el. - - * sha1.el (sha1-string-external): default-directory "/" in case - otherwise non-existent. process-connection-type pipe for touch of - efficiency recommended by elisp manual. (An aside in Bug#3911.) - -2009-11-26 Stefan Monnier <[email protected]> - - Misc coding convention cleanups. - * htmlfontify.el (hfy-init-kludge-hook): Rename from - hfy-init-kludge-hooks. - (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at) - (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps) - (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist - and push. - (hfy-slant, hfy-weight): Use tables rather than code. - (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor) - (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'. - (hfy-face-attr-for-class): Initialize `face-spec' directly. - (hfy-face-to-css): Remove `nconc' with single arg. - (hfy-p-to-face-lennart): Use `or'. - (hfy-face-at): Hoist common code. Remove spurious quotes in `case'. - (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce. - (hfy-compile-stylesheet, hfy-merge-adjacent-spans) - (hfy-compile-face-map, hfy-parse-tags-buffer): Use push. - (hfy-force-fontification): Use run-hooks. - -2009-11-26 Vivek Dasmohapatra <[email protected]> - - Various minor fixes. - * htmlfontify.el (hfy-default-header): Add toggle_invis since - Javascript belongs in the header, not the body. - (hfy-javascript): Remove. - (hfy-fontify-buffer): Don't insert it any more. - (hfy-face-at): Handle (face0 face1 face2) style face properties. - Fix bug in invis handling when there were no invis props in a chunk. - -2009-11-26 Stefan Monnier <[email protected]> - - * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous. - -2009-11-26 Dan Nicolaescu <[email protected]> - - * finder.el (finder-mode-map): Add a menu. - -2009-11-26 Michael McNamara <[email protected]> - - * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and - "unsigned" structs. - - (verilog-leap-to-head, verilog-backward-token): Handle "disable - fork" statement better. - -2009-11-26 Wilson Snyder <[email protected]> - - * progmodes/verilog-mode.el (verilog-auto-insert-lisp) - (verilog-delete-auto, verilog-delete-empty-auto-pair) - (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file. - Reported by Clay Douglass. - - (verilog-auto-inst, verilog-auto-star-safe) - (verilog-delete-auto-star-implicit, verilog-read-sub-decls): - Fix removing "// Interfaces" when saving .* expansions. Reported by - Pierre-David Pfister. - -2009-11-26 Glenn Morris <[email protected]> - - * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside - the scope. - -2009-11-25 Johan Bockgård <[email protected]> - - * vc-annotate.el (vc-annotate-revision-previous-to-line): - Really use previous revision. - -2009-11-25 Kevin Ryde <[email protected]> - - * man.el (Man-completion-table): default-directory "/" in case - doesn't otherwise exist. process-environment COLUMNS=999 so as - not to truncate long names. process-connection-type pipe to avoid - any chance of hitting the pseudo-tty TIOCGWINSZ. - (man): completion-ignore-case t for friendliness and since man - itself is case-insensitive on the command line. - Further to Bug#3717. - - * arc-mode.el: Add "Keywords: files", so the details in its - commentary can be reached from finder-by-keyword. - * textmodes/dns-mode.el: Add "Keywords: comm". It's only an - editing mode, but it's comms related and sgml-mode.el has "comm" - on that basis too. - * textmodes/bibtex-style.el: Add "Keywords: tex". - * international/isearch-x.el, international/ja-dic-cnv.el: - * international/ja-dic-utl.el, international/kkc.el: - Add "Keywords: i18n", so they can be reached from finder-by-keyword. - -2009-11-25 Juri Linkov <[email protected]> - - * man.el (Man-completion-table): Modify regexp to include - section names to completion strings. (Bug#3717) - -2009-11-25 Juri Linkov <[email protected]> - - Search recursively in gzipped files. (Bug#4982) - - * progmodes/grep.el (grep-highlight-matches): Add new options - `always' and `auto'. Doc fix. - (grep-process-setup): Check `grep-highlight-matches' for - `auto-detect' to determine the need to compute grep defaults. - Move Windows/DOS specific --colors settings handling - to `grep-compute-defaults'. Check `grep-highlight-matches' - to get the value of "--color=". - (grep-compute-defaults): Compute `grep-highlight-matches' when it - has the value `auto-detect'. Move Windows/DOS specific settings - from `grep-process-setup'. - (zrgrep): New command with alias `rzgrep'. - -2009-11-25 Juri Linkov <[email protected]> - - * doc-view.el (doc-view-mode): Set buffer-local `view-read-only' - to nil instead of switching off view-mode. (Bug#4896) - -2009-11-25 Juri Linkov <[email protected]> - - Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896) - - * mwheel.el (mwheel-scroll-up-function) - (mwheel-scroll-down-function): New defvars. - (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of - `scroll-up', and `mwheel-scroll-down-function' instead of - `scroll-down'. - - * doc-view.el (doc-view-scroll-up-or-next-page) - (doc-view-scroll-down-or-previous-page): Add optional ARG. - Use this ARG in the call to image-scroll-up/image-scroll-down. - Change `interactive' spec to "P". Goto next/previous page only - when `doc-view-continuous-mode' is non-nil or ARG is nil (for the - SPC/DEL case). Doc fix. - (doc-view-next-line-or-next-page) - (doc-view-previous-line-or-previous-page): Rename arg to ARG - for consistency. - (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to - `doc-view-scroll-up-or-next-page', and buffer-local - `mwheel-scroll-down-function' to - `doc-view-scroll-down-or-previous-page'. - -2009-11-25 Juri Linkov <[email protected]> - - Provide additional default values (directories at other Dired - windows) via M-n in the minibuffer of some Dired commands. - - * dired-aux.el (dired-diff, dired-compare-directories) - (dired-do-create-files): Use `dired-dwim-target-defaults' to set - `minibuffer-default' in `minibuffer-with-setup-hook'. - (dired-dwim-target-directory): Find a window that displays Dired - buffer instead of failing when the next window is not Dired. - Use `get-window-with-predicate' to find for the next Dired window. - (dired-dwim-target-defaults): New function. - - * ediff-util.el (ediff-read-file-name): - Use `dired-dwim-target-defaults' to set `minibuffer-default' - in `minibuffer-with-setup-hook'. - -2009-11-25 Juri Linkov <[email protected]> - - Provide additional default values (file name at point or at the - current Dired line) via M-n for file reading minibuffers. (Bug#5010) - - * minibuffer.el (read-file-name-defaults): New function. - (read-file-name): Reset `minibuffer-default' to nil when - it duplicates initial input `insdef'. - Bind `minibuffer-default-add-function' to lambda that - calls `read-file-name-defaults' in `minibuffer-selected-window'. - (minibuffer-insert-file-name-at-point): New command. - - * files.el (file-name-at-point-functions): New defcustom. - (find-file-default): Remove defvar. - (find-file-read-args): Don't use `find-file-default'. - Move `minibuffer-with-setup-hook' that sets `minibuffer-default' - to `read-file-name'. - (find-file-literally): Use `read-file-name' with - `confirm-nonexistent-file-or-buffer'. - - * ffap.el (ffap-guess-file-name-at-point): New autoloaded function. - - * dired.el (dired-read-dir-and-switches): - Move `minibuffer-with-setup-hook' that sets `minibuffer-default' - to `read-file-name'. - (dired-file-name-at-point): New function. - (dired-mode): Add hook `dired-file-name-at-point' to - `file-name-at-point-functions'. - -2009-11-25 Stefan Monnier <[email protected]> - - Really make the *Completions* window soft-dedicated (bug#5030). - * window.el (window--display-buffer-2): Add `dedicated' argument. - (display-buffer): Pass it when needed so the dedicated flag is set - after calling set-window-buffer, which would otherwise reset it. - -2009-11-25 Stefan Monnier <[email protected]> - - * progmodes/meta-mode.el (meta-complete-symbol): - * progmodes/etags.el (complete-tag): - * mail/mailabbrev.el (mail-abbrev-complete-alias): - Use completion-in-region. - - * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window. - (dabbrev-completion): Use completion-in-region. - (dabbrev--abbrev-at-point): Simplify regexp. - - * abbrev.el (abbrev--before-point): Use word-motion functions - if :regexp is not specified (bug#5031). - - * subr.el (string-prefix-p): New function. - - * man.el (Man-completion-cache): New var. - (Man-completion-table): Use it. - - * vc.el (vc-print-log-internal): Make `limit' optional for better - compatibility (e.g. with vc-annotate.el). - -2009-11-24 Kevin Ryde <[email protected]> - - * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): - Build value with regexp-opt instead of explicit joining loop. (Bug#4927) - - * emacs-lisp/elint.el (elint-add-required-env): Better error message - when .el source file not found or other error. - -2009-11-24 Markus Triska <[email protected]> - - * linum.el (linum-update-window): Ignore intangible (bug#4996). - -2009-11-24 Stefan Monnier <[email protected]> - - Handle the [back] button properly (bug#4979). - * descr-text.el (describe-text-properties): Add a `buffer' argument. - Use help-setup-xref, help-buffer, and with-help-window. - (describe-char): Add `buffer' argument. - Pass proper command to help-setup-xref. Don't meddle with - help-xref-stack-item directly. - (describe-text-category): Use with-help-window and help-buffer. - - * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode - for the displayed buffer (bug#4887). - - * man.el (Man-completion-table): New function. - (man): Use it. - -2009-11-24 David Reitter <[email protected]> - - * vc-git.el (vc-git-registered): Use checkout directory (where - .git is) rather than the file's directory and a relative path spec - to work around a bug in git. - -2009-11-24 Michael Albinus <[email protected]> - - Improve handling of processes on remote hosts. - - * eshell/esh-util.el (eshell-path-env): New defvar. - (eshell-parse-colon-path): New defun. - (eshell-file-attributes): Use `eshell-parse-colon-path'. - - * eshell/esh-ext.el (eshell-search-path): - Use `eshell-parse-colon-path'. - (eshell-remote-command): Remove argument HANDLER. - (eshell-external-command): Check for FTP remote connection. - - * eshell/esh-proc.el (eshell-gather-process-output): - Use `file-truename', in order to start also symlinked files. - Apply `start-file-process' instead of `start-process'. - Shorten `command' to the local file name part. - - * eshell/em-cmpl.el (eshell-complete-commands-list): - Use `eshell-parse-colon-path'. - - * eshell/em-unix.el (eshell/du): Check for FTP remote connection. - - * net/tramp.el (tramp-eshell-directory-change): New defun. Add it - to `eshell-directory-change-hook'. - -2009-11-24 Tassilo Horn <[email protected]> - - * doc-view.el (doc-view-mode): Switch off view-mode explicitly, - because it could be enabled automatically if view-read-only is non-nil. - -2009-11-24 Michael Kifer <[email protected]> - - * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change - made on 2009-11-22. - -2009-11-24 Glenn Morris <[email protected]> - - * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to - deleted variable bookmark-bmenu-bookmark-column. - - * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode): - Move after definition of global-semantic-idle-tag-highlight-mode. - -2009-11-24 Stefan Monnier <[email protected]> - - * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting. - -2009-11-23 Ken Brown <[email protected]> (tiny change) - - * net/browse-url.el (browse-url-filename-alist): On Windows, add - two slashes to the "file:" prefix. - (browse-url-file-url): De-munge Cygwin filenames before passing - them to Windows browser. - (browse-url-default-windows-browser): Use call-process. - -2009-11-23 Juri Linkov <[email protected]> - - Implement DocView Continuous mode. (Bug#4896) - * doc-view.el (doc-view-continuous-mode): New defcustom. - (doc-view-mode-map): Bind C-n/<down> to - `doc-view-next-line-or-next-page', C-p/<up> to - `doc-view-previous-line-or-previous-page'. - (doc-view-next-line-or-next-page) - (doc-view-previous-line-or-previous-page): New commands. - -2009-11-23 Juri Linkov <[email protected]> - - Implement Isearch in comint input history. (Bug#3746) - * comint.el (comint-mode): Add `comint-history-isearch-setup' to - `isearch-mode-hook'. - (comint-history-isearch): New defcustom. - (comint-history-isearch-backward) - (comint-history-isearch-backward-regexp): New commands. - (comint-history-isearch-message-overlay): New buffer-local variable. - (comint-history-isearch-setup, comint-history-isearch-end) - (comint-goto-input, comint-history-isearch-search) - (comint-history-isearch-message, comint-history-isearch-wrap) - (comint-history-isearch-push-state) - (comint-history-isearch-pop-state): New functions. - -2009-11-23 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage - return. - (tramp-handle-make-symbolic-link) - (tramp-handle-dired-compress-file, tramp-handle-expand-file-name): - Quote file names. - (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR. - (tramp-handle-process-file): Use it. - -2009-11-23 Stefan Monnier <[email protected]> - - * window.el (move-to-window-line-last-op): Remove. - (move-to-window-line-top-bottom): Reuse recenter-last-op instead. - -2009-11-23 Deniz Dogan <[email protected]> (tiny change) - - Make M-r mirror the new cycling behavior of C-l. - * window.el (move-to-window-line-last-op): New var. - (move-to-window-line-top-bottom): New command. - (global-map): Bind M-r move-to-window-line-top-bottom. - -2009-11-23 Sven Joachim <[email protected]> - - * dired-x.el (dired-guess-shell-alist-default): - Support xz format. (Bug#4953) - -2009-11-22 Chong Yidong <[email protected]> - - * cedet/srecode/map.el (srecode-get-maps): - * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag): - * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag): - * cedet/semantic/decorate/mode.el (semantic-decoration-mode) - (semantic-toggle-decoration-style): - * cedet/semantic/decorate/include.el - (semantic-decoration-include-describe) - (semantic-decoration-unknown-include-describe) - (semantic-decoration-unparsed-include-describe) - (semantic-decoration-all-include-summary): - * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init): - * cedet/semantic/analyze/complete.el - (semantic-analyze-possible-completions): - * cedet/semantic/util-modes.el (semantic-highlight-edits-mode) - (semantic-show-unmatched-syntax-mode) - (semantic-show-parser-state-mode, semantic-stickyfunc-mode) - (semantic-highlight-func-mode): - * cedet/semantic/util.el (semantic-describe-buffer): - * cedet/semantic/symref.el (semantic-symref-find-references-by-name) - (semantic-symref-find-tags-by-name) - (semantic-symref-find-tags-by-regexp) - (semantic-symref-find-tags-by-completion) - (semantic-symref-find-file-references-by-name) - (semantic-symref-find-text): - * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag) - (senator-yank-tag): - * cedet/semantic/scope.el (semantic-calculate-scope): - * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode): - * cedet/semantic/idle.el (semantic-idle-scheduler-mode) - (define-semantic-idle-service): - * cedet/semantic/complete.el (semantic-complete-analyze-inline) - (semantic-complete-analyze-inline-idle): - * cedet/semantic/analyze.el (semantic-analyze-current-context): - * cedet/mode-local.el (describe-mode-local-bindings) - (describe-mode-local-bindings-in-mode): - * cedet/ede/make.el (ede-make-check-version): - * cedet/ede/locate.el (ede-enable-locate-on-project): - * cedet/cedet-idutils.el (cedet-idutils-expand-filename) - (cedet-idutils-version-check): - * cedet/cedet-global.el (cedet-gnu-global-expand-filename) - (cedet-gnu-global-version-check): - * cedet/cedet-cscope.el (cedet-cscope-expand-filename) - (cedet-cscope-version-check): Use called-interactively-p instead - of interactive-p. - - * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function): - Use semantic-format-tag-prototype. - -2009-11-22 Michael Kifer <[email protected]> - - * emulation/viper-cmd.el: Use viper-last-command-char instead of - last-command-char/last-command-event. - (viper-prefix-arg-value): Do correct conversion of event-char for - XEmacs. - - * emulation/viper-util.el, emulation/viper.el: - Use viper-last-command-char instead of - last-command-char/last-command-event. - - * ediff-init.el, ediff-mult.el, ediff-util.el: - Replace last-command-char and last-command-event - with (ediff-last-command-char) everywhere. - - * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is - created in fundamental mode. - - * ediff.el (ediff-version): Revert the change of interactive-p to - called-interactively-p. - -2009-11-22 Tassilo Horn <[email protected]> - - * progmodes/subword.el (subword-mode-map): Fix subword-mode-map - generation from word-movement command names. - -2009-11-21 Chong Yidong <[email protected]> - - * cedet/semantic/complete.el (semantic-complete-read-tag-engine) - (semantic-complete-jump-local, semantic-complete-jump): - Improve prompt string. - -2009-11-21 Jan Djärv <[email protected]> - - * cus-start.el (all): Add native condition for font-use-system-font. - -2009-11-21 Nathaniel Flath <[email protected]> - - * progmodes/cc-menus.el (cc-imenu-java-generic-expression): - Correct the patch from 2009-11-18. (Bug#3910) - -2009-11-21 Tassilo Horn <[email protected]> - - * progmodes/subword.el: Rename from lisp/subword.el. - - * subword.el: Rename to progmodes/subword.el. - - * Makefile.in (ELCFILES): Adapt to subword.el move. - -2009-11-21 Thierry Volpiatto <[email protected]> - Stefan Monnier <[email protected]> - - * bookmark.el (bookmark-bmenu-bookmark-column): Remove var. - (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop. - (bookmark-bmenu-show-filenames): Use push. - (bookmark-bmenu-hide-filenames): Use local var instead of - bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion. - (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop. - (bookmark-bmenu-execute-deletions): Don't bother adding/removing the - filenames now that the bookmark names are always available. - -2009-11-21 Stefan Monnier <[email protected]> - - * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove. - (bookmark-search-pattern): Move and leave unbound. - (bookmark-bmenu-mode-map): Change binding. - (bookmark-read-search-input): Simplify. - Don't use text-char-description. Don't error on non-char events. - (bookmark-filtered-alist-by-regexp-only): Remove by folding into the - only caller (i.e. bookmark-bmenu-filter-alist-by-regexp). - (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer. - Use a local var for the timer. - (bookmark-bmenu-cancel-search): Remove by folding into the only caller - (i.e. bookmark-bmenu-search). - -2009-11-21 Glenn Morris <[email protected]> - - * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993) - -2009-11-20 Ken Brown <[email protected]> (tiny change) - - * net/browse-url.el (browse-url-default-windows-browser): - Use cygstart for cygwin. - -2009-11-20 Karl Fogel <[email protected]> - - * bookmark.el: Formatting and doc fixes only: - (bookmark-search-delay): Shorten doc string to fit in 80 columns. - (bookmark-bmenu-search): Wrap to fit within 80 columns. - Minor grammar and punctuation fixes in doc string. - (bookmark-read-search-input): Adjust to fit within 80 columns. - -2009-11-20 Tassilo Horn <[email protected]> - - * progmodes/cc-cmds.el (c-forward-into-nomenclature) - (c-backward-into-nomenclature): Adapt to subword renaming. - - * subword.el (subword-forward, subword-backward, subword-mark) - (subword-kill, subword-backward-kill, subword-transpose) - (subword-downcase, subword-upcase, subword-capitalize) - (subword-forward-internal, subword-backward-internal): - Rename from forward-subword, backward-subword, mark-subword, - kill-subword, backward-kill-subword, transpose-subwords, - downcase-subword, upcase-subword, capitalize-subword, - forward-subword-internal, backward-subword-internal. - -2009-11-20 Thierry Volpiatto <[email protected]> - - * bookmark.el (bookmark-search-delay, bookmark-search-prompt): - New options. - (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag): - New vars. - (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only) - (bookmark-bmenu-filter-alist-by-regexp) - (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs. - (bookmark-bmenu-search): New command. - (bookmark-bmenu-mode-map): Bind it. - -2009-11-20 Chong Yidong <[email protected]> - - * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix. - - * cedet/semantic/idle.el (define-semantic-idle-service) - (semantic-idle-summary-mode, semantic-idle-completions): Doc fix. - -2009-11-20 Tassilo Horn <[email protected]> - - * progmodes/cc-cmds.el: declare-functioned forward-subword and - backward-subword to quit the byte-compiler. - - * makefile.w32-in: Don't refer cc-subword.elc but subword.elc. - - * Makefile.in: Don't refer cc-subword.elc but subword.elc. - - * progmodes/cc-cmds.el (c-update-modeline) - (c-forward-into-nomenclature, c-backward-into-nomenclature): - Refer to subword.el functions instead of cc-subword.el. - - * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to - subword.el functions instead of cc-subword.el. - - * progmodes/cc-subword.el: Rename to subword.el. - * subword.el: Rename from progmodes/cc-subword.el. - (subword-mode-map): Rename from c-subword-mode-map. - (subword-mode): Rename from c-subword-mode. - (global-subword-mode): New global minor mode. - (forward-subword): Rename from c-forward-subword. - (backward-subword): Rename from c-backward-subword. - (mark-subword): Rename from c-mark-subword. - (kill-subword): Rename from c-kill-subword. - (backward-kill-subword): Rename from c-backward-kill-subword. - (transpose-subwords): Rename from c-tranpose-subword. - (downcase-subword): Rename from c-downcase-subword. - (capitalize-subword): Rename from c-capitalize-subword. - (forward-subword-internal): Rename from c-forward-subword-internal. - (backward-subword-internal): Rename from c-backward-subword-internal. - -2009-11-20 Dan Nicolaescu <[email protected]> - - * vc.el (vc-deduce-fileset): Allow non-state changing operations - from a dired buffer. - (vc-dired-deduce-fileset): New function. - (vc-root-diff, vc-print-root-log): Use it. - - * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a - nil LIMIT argument to vc-print-log-internal. - -2009-11-20 Glenn Morris <[email protected]> - - * Makefile.in (ELCFILES): Regenerate. - -2009-11-20 Chong Yidong <[email protected]> - - * cedet/cedet.el (cedet-menu-map): Re-order menu items. - - * cedet/semantic.el: Enable idle-mode menu items only if - global-semantic-idle-scheduler-mode is enabled. - (semantic-default-submodes): Doc fix. - - * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode): - When turning off, disable other idle modes. - -2009-11-20 Jay Belanger <[email protected]> - - * calc/calc.el (calc-set-mode-line): - Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'. - (math-format-number): Rename `math-format-complement-signed' to - `math-format-twos-complement'. - - * calc/calc-bin.el (math-format-twos-complement): Rename from - math-format-complement-signed. - (calc-radix): Rename `calc-complement-signed-mode' to - `calc-twos-complement-mode'. - (calc-octal-radix, calc-hex-radix): Add an argument for - two's complement. - - * calc/calc-embed.el (calc-embedded-mode-vars): - Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'. - - * calc/calc-ext.el (calc-init-extensions): - Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'. - (math-format-number-fancy): Let `calc-twos-complement-mode' be nil. - - * calc/calc-units.el (math-build-units-table-buffer): - Let `calc-twos-complement-mode' be nil. - - * calc/calc-menu.el (calc-modes-menu): Clean up two's complement - entries. - - * calc/calc-vec.el (calcFunc-vunpack): - * calc/calc-aent.el (calc-do-calc-eval): - * calc/calc-forms.el (math-format-date): - * calc/calc-graph.el (calc-graph-plot): - * calc/calc-math.el (math-use-emacs-fn): - * calc/calccomp.el (math-compose-expr): - Let `calc-twos-complement-mode' be nil. - -2009-11-19 Stefan Monnier <[email protected]> - - * abbrev.el (abbrev-with-wrapper-hook): (re)move... - * simple.el (with-wrapper-hook): ...to here. Add argument `args'. - * minibuffer.el (completion-in-region-functions): New hook. - (completion-in-region): New function. - * emacs-lisp/lisp.el (lisp-complete-symbol): - * pcomplete.el (pcomplete-std-complete): Use it. - -2009-11-19 Stefan Monnier <[email protected]> - - * textmodes/tex-mode.el (latex-complete-bibtex-cache) - (latex-complete-alist): New vars. - (latex-string-prefix-p, latex-complete-bibtex-keys) - (latex-complete-envnames, latex-complete-refkeys) - (latex-complete-data): New functions. - (latex-complete, latex-indent-or-complete): New commands. - - * window.el (display-buffer-mark-dedicated): New var. - (display-buffer): Obey it. - * minibuffer.el (minibuffer-completion-help): Use it. - - * progmodes/sym-comp.el (symbol-complete): Use completion-in-region. - - * filecache.el (file-cache-add-file): Use push and cons. - (file-cache-delete-file-regexp): Use push. - (file-cache-complete): Use completion-in-region. - - * simple.el (with-wrapper-hook): Fix thinko. - - * hfy-cmap.el (hfy-rgb-file): Use locate-file. - (htmlfontify-load-rgb-file): Remove unnused var `ff'. - Use with-current-buffer and string-to-number. - (hfy-fallback-colour-values): Use assoc-string. - * htmlfontify.el (hfy-face-to-css): Remove unused var `style'. - (hfy-face-at): Remove unused var `found-face'. - (hfy-compile-stylesheet): Remove unused var `css'. - (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button', - and `orig-buffer'. - (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer): - Use with-current-buffer. - (hfy-text-p): Use expand-file-name and fewer setq. - -2009-11-19 Vivek Dasmohapatra <[email protected]> - - * htmlfontify.el, hfy-cmap.el: New files. - -2009-11-19 Juri Linkov <[email protected]> - - * minibuffer.el (completions-format): New defcustom. - (completion--insert-strings): Implement vertical format. - - * simple.el (switch-to-completions): Move point to the first - completion when point was at the beginning of the buffer. - -2009-11-19 Juri Linkov <[email protected]> - - * find-dired.el (find-name-arg): Remove autoload. (Bug#4387) - - * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'. - -2009-11-19 Chong Yidong <[email protected]> - - * mail/sendmail.el (mail-yank-prefix): Change default to "> ". - (mail-signature): Change default to t. - (mail-from-style): Deprecate `system-default' value. - (mail-insert-from-field): For default value of mail-from-style, - default to `angles' unless `angles' needs quoting and `parens' - does not. - (mail-citation-prefix-regexp): Use citation regexp from - message-mode. - -2009-11-19 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): - Set variables for computing the prompt for reading password. - -2009-11-19 Glenn Morris <[email protected]> - - * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953) - - * textmodes/flyspell.el (sgml-lexical-context): Declare. - - * net/newst-treeview.el (newsticker-treeview-treewindow-width) - (newsticker-treeview-listwindow-height): Fix custom type. - -2009-11-19 Kenichi Handa <[email protected]> - - * descr-text.el (describe-char-padded-string): Compose with TAB - only if there's a font for CH. - (describe-char): Fix the condition for detecting a trivial composition. - -2009-11-18 Nathaniel Flath <[email protected]> - - * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new, - more accurate version of the regexp. (Bug#3910) - -2009-11-18 Bernhard Herzog <[email protected]> (tiny change) - - * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory. - -2009-11-18 Juanma Barranquero <[email protected]> - - * font-setting.el (font-use-system-font): Declare for byte-compiler. - (font-setting-change-default-font): Fix typo in docstring. - -2009-11-18 Alan Mackenzie <[email protected]> - - * progmodes/cc-defs.el (c-version): Bump to 5.31.8. - -2009-11-17 Jan Djärv <[email protected]> - - * font-setting.el (font-use-system-font): Move ... - - * cus-start.el (all): ... to here. - -2009-11-17 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify. - Don't set `ad-return-value' if `ad-do-it' doesn't. - - * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file - modification time. - -2009-11-17 Jan Djärv <[email protected]> - - * menu-bar.el: Put "Use system font" in Option-menu. - (menu-bar-options-save): Add font-use-system-font. - - * loadup.el: If feature system-font-setting or font-render-setting is - there, load font-setting. - - * Makefile.in (ELCFILES): Add font-settings.el. - * font-setting.el: New file. - -2009-11-17 Glenn Morris <[email protected]> - - * vc-svn.el (vc-svn-print-log): Fix typo in previous. - - * net/newst-treeview.el (newsticker--treeview-list-update-faces): - Preserve point in the list buffer. (Bug#4939) - Use point-at-eol. - (newsticker--treeview-list-update-highlight) - (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol. - -2009-11-16 Jay Belanger <[email protected]> - - * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip): - Remove. - - * calc/calc-ext.el (calc-init-extensions): Remove references to - symclip. - - * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'. - - * calc/calc-map.el (calc-get-operator, calc-b-oper-keys): - * calc/calc-help.el (calc-b-prefix-help): Remove references to - `calc-symclip'. - -2009-11-16 Kevin Ryde <[email protected]> - - * textmodes/flyspell.el (sgml-mode-flyspell-verify): - Use `sgml-lexical-context' instead of own parse for tag (Bug#4511). - - * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords. - (lm-keywords-list): Allow comma-only separator like "foo,bar". - Ignore trailing spaces by omit-nulls to split-string (fixing - regression from Emacs 21 due to the incompatible split-string - change). (Bug #4928.) - -2009-11-16 Dan Nicolaescu <[email protected]> - - * vc.el (vc-log-show-limit): Default to 2000. - (vc-print-log-internal): Insert buttons to request more entries - when limiting the output. - - * vc-sccs.el (vc-sccs-print-log): - * vc-rcs.el (vc-rcs-print-log): - * vc-cvs.el (vc-cvs-print-log): - * vc-git.el (vc-git-print-log): Return 'limit-unsupported when - LIMIT is non-nil. - -2009-11-16 Michael Albinus <[email protected]> - - * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an - error when `tramp-gvfs-dbus-event-vector' is set. - (tramp-gvfs-maybe-open-connection): Loop over `read-event'. - -2009-11-16 Stefan Monnier <[email protected]> - - * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion. - -2009-11-16 Michael Albinus <[email protected]> - - * net/dbus.el (dbus-unregister-service): New defun. - (dbus-register-property): Register the handlers of - "org.freedesktop.DBus.Properties" for SERVICE. - (dbus-property-handler): Fix docstring. - -2009-11-16 YAMAMOTO Mitsuharu <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-output-file-form): - Quote doc string reference in defvaralias as it is not in special form. - (byte-compile-output-docform): Doc fix. - -2009-11-16 Jay Belanger <[email protected]> - - * calc/calc.el (math-2-word-size, math-half-2-word-size) - (calc-complement-signed-mode): New variables. - (calc-set-mode-line): Add indicator for twos-complements. - (math-format-number): Format twos-complement notation. - - * calc/calc-bin.el (calc-word-size): Reset the variables - `math-2-word-size' and `math-half-2-word-size'. - (math-format-complement-signed, math-symclip, calcFunc-symclip) - (calc-symclip): New functions. - - * calc/calc-aent.el (math-read-token): Read complement signed numbers. - - * calc/calc-embed.el (calc-embedded-mode-vars): - Add `calc-complement-signed-mode' to the list of modes. - - * calc/calc-map.el (calc-get-operator): Add `calc-symclip'. - (calc-b-oper-keys): Add `calc-symclip' to list. - - * calc/calc-ext.el (math-read-number-fancy): Read complement - signed numbers. - (calc-init-extensions): Add binding for `calc-symclip'. - Add autoload for `calcFunc-symclip' and `calc-symclip'. - - * calc/calc-menu.el (calc-arithmetic-menu): Add item for - `calc-symclip'. - (calc-modes-menu): Add item for twos complement mode. - - * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'. - -2009-11-15 Chong Yidong <[email protected]> - - * register.el (jump-to-register, insert-register): Handle Semantic - tags. From commented-out advice in semantic/senator.el. - -2009-11-15 Dan Nicolaescu <[email protected]> - - * vc.el (vc-log-show-limit): New variable. - (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it - when using a prefix argument. - (vc-print-log-internal): Add new argument LIMIT. - - * vc-svn.el (vc-svn-print-log): - * vc-mtn.el (vc-mtn-print-log): - * vc-hg.el (vc-hg-print-log): - * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT, - pass it to the log command when set. Make the BUFFER argument - non-optional. - - * vc-sccs.el (vc-sccs-print-log): - * vc-rcs.el (vc-rcs-print-log): - * vc-git.el (vc-git-print-log): - * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT, - ignore it. Make the BUFFER argument non-optional - - * bindings.el (mode-line-buffer-identification): Do not purecopy. - -2009-11-15 Chong Yidong <[email protected]> - - * dired.el (dired-mode-map): Move encryption items to "Operate" - menu (Bug#4703). - - * strokes.el (strokes-update-window-configuration): Make strokes - buffer current before erasing (Bug#4906). - - * cedet/semantic/idle.el (semantic-idle-summary-mode) - (semantic-idle-summary-mode): Define using define-minor-mode - instead of define-semantic-idle-service. - (semantic-idle-summary-mode): New function. - (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure - that mouse motion does not reset the echo area. - -2009-11-15 Juri Linkov <[email protected]> - - * simple.el (set-mark-default-inactive): Add :type, :group - and :version. (Bug#4876) - -2009-11-15 Michael Albinus <[email protected]> - - * arc-mode.el (archive-maybe-copy): Move creation of directory ... - (archive-unique-fname): ... here. (Bug#4929) - -2009-11-15 Stefan Monnier <[email protected]> - - * help-mode.el (help-make-xrefs): Undo the last revert, and replace it - with a real fix. - - * novice.el (disabled-command-function): Add useful args. - Setup the help buffer so that [back] works. - Remove redundant call to help-mode. - (disabled-command-function): Use `case'. - (en/disable-command): New function extracted from enable-command. - (enable-command, disable-command): Use it. - -2009-11-14 Glenn Morris <[email protected]> - - * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not - constants. (Bug#4913) - - * emacs-lisp/elint.el (elint-standard-variables): Doc fix. - -2009-11-14 Shigeru Fukaya <[email protected]> - - * emacs-lisp/elint.el (elint-standard-variables): Add some variables - defined in C that have no doc-strings. (Bug#1063) - -2009-11-14 Francis Wright <[email protected]> - - * cus-edit.el (data, files): - * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327) - -2009-11-14 Chong Yidong <[email protected]> - - * simple.el (shell-command): Doc fix (Bug#4891). - - * help-mode.el (help-make-xrefs): Revert 2009-11-13 change. - -2009-11-14 Glenn Morris <[email protected]> - - * emulation/viper.el (viper-set-hooks): Remove duplicate advice - statements for vc-diff, emerge-quit, and rmail-cease-edit. - If they are already loaded, eval-after-load will do the right thing. - - * speedbar.el (top-level): Remove unnecessary load of ange-ftp when - compiling. - - * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused. - - * simple.el (x-selection-owner-p): Declare. - (read-mail-command): Use custom radio type rather than choice. - (completion-no-auto-exit): Doc fix. - - * custom.el (defgroup): - * epg-config.el (epg): Doc fixes. - -2009-11-14 Dan Nicolaescu <[email protected]> - - * bindings.el (mode-line-buffer-identification): Purecopy only the string. - * international/ccl.el (define-ccl-program): Do not purecopy the - docstring, defconst does it anyway. - -2009-11-13 Stefan Monnier <[email protected]> - - * add-log.el (add-change-log-entry): Avoid displaying the changelog - a second time. - - * x-dnd.el (x-dnd-maybe-call-test-function): - * window.el (split-window-vertically): - * whitespace.el (whitespace-help-on): - * vc-rcs.el (vc-rcs-consult-headers): - * userlock.el (ask-user-about-lock-help) - (ask-user-about-supersession-help): - * type-break.el (type-break-force-mode-line-update): - * time-stamp.el (time-stamp-conv-warn): - * terminal.el (te-set-output-log, te-more-break, te-filter) - (te-sentinel, terminal-emulator): - * term.el (make-term, term-exec, term-sentinel, term-read-input-ring) - (term-write-input-ring, term-check-source, term-start-output-log): - (term-display-buffer-line, term-dynamic-list-completions): - (term-ansi-make-term, serial-term): - * subr.el (selective-display): - * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer) - (strokes-encode-buffer, strokes-xpm-for-compressed-string): - * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info) - (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support) - (speedbar-remove-localized-speedbar-support) - (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy) - (speedbar-update-special-contents, speedbar-buffer-buttons-engine) - (speedbar-buffers-line-directory): - * simple.el (shell-command-on-region, append-to-buffer) - (prepend-to-buffer): - * shadowfile.el (shadow-save-todo-file): - * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1) - (scroll-bar-maybe-set-window-start): - * sb-image.el (speedbar-image-dump): - * saveplace.el (save-place-alist-to-file, save-places-to-alist) - (load-save-place-alist-from-file): - * ps-samp.el (ps-print-message-from-summary): - * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox) - (ps-background-image, ps-begin-job, ps-do-despool): - * ps-bdf.el (bdf-find-file, bdf-read-font-info): - * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting) - (pr-ps-message-from-summary, pr-lpr-message-from-summary): - (pr-call-process, pr-file-list, pr-interface-save): - * novice.el (disabled-command-function) - (enable-command, disable-command): - * mouse.el (mouse-buffer-menu-alist): - * mouse-copy.el (mouse-kill-preserving-secondary): - * macros.el (kbd-macro-query): - * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt): - * informat.el (batch-info-validate): - * ido.el (ido-copy-current-word, ido-initiate-auto-merge): - * hippie-exp.el (try-expand-dabbrev-visible): - * help-mode.el (help-make-xrefs): - * help-fns.el (describe-variable): - * generic-x.el (bat-generic-mode-run-as-comint): - * finder.el (finder-mouse-select): - * find-dired.el (find-dired-sentinel): - * filesets.el (filesets-file-close): - * files.el (list-directory): - * faces.el (list-faces-display, describe-face): - * facemenu.el (list-colors-display): - * ezimage.el (ezimage-image-association-dump, ezimage-image-dump): - * epg.el (epg--process-filter, epg-cancel): - * epa.el (epa--marked-keys, epa--select-keys, epa-display-info) - (epa--read-signature-type): - * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B) - (emerge-file-names): - * ehelp.el (electric-helpify): - * ediff.el (ediff-regions-wordwise, ediff-regions-linewise): - * ediff-vers.el (rcs-ediff-view-revision): - * ediff-util.el (ediff-setup): - * ediff-mult.el (ediff-append-custom-diff): - * ediff-diff.el (ediff-exec-process, ediff-process-sentinel) - (ediff-wordify): - * echistory.el (Electric-command-history-redo-expression): - * dos-w32.el (find-file-not-found-set-buffer-file-coding-system): - * disp-table.el (describe-display-table): - * dired.el (dired-find-buffer-nocreate): - * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory): - * dabbrev.el (dabbrev--same-major-mode-p): - * chistory.el (list-command-history): - * apropos.el (apropos-documentation): - * allout.el (allout-obtain-passphrase): - (allout-copy-exposed-to-buffer): - (allout-verify-passphrase): Use with-current-buffer. - -2009-11-13 Glenn Morris <[email protected]> - - * Makefile.in (ELCFILES): Regenerate. - -2009-11-13 Michael Albinus <[email protected]> - - * net/dbus.el (dbus-registered-objects-table): Rename from - `dbus-registered-functions-table', because it contains also properties. - (dbus-unregister-object): Unregister also properties. - (dbus-get-property, dbus-set-property, dbus-get-all-properties): - Use a timeout of 500 msec, in order to not block. - (dbus-register-property, dbus-property-handler): New defuns. - -2009-11-13 Stefan Monnier <[email protected]> - - * simple.el (minibuffer-default-add-completions): Drop deprecated - 4th arg. - -2009-11-13 Tomas Abrahamsson <[email protected]> - - * textmodes/artist.el (artist-mouse-choose-operation): - Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup - menus. Bug noticed by Eli Zaretskii <[email protected]>. - (artist-compute-up-event-key): New function. - (artist-mouse-choose-operation, artist-down-mouse-1): Call it. - -2009-11-13 Kenichi Handa <[email protected]> - - * language/japan-util.el: Make sure that the value of jisx0208 - property is jisx0208 character. - -2009-11-13 Dan Nicolaescu <[email protected]> - - * international/mule.el (auto-coding-regexp-alist): Only purecopy - car or each item, not the whole list. - -2009-11-12 Stefan Monnier <[email protected]> - - * minibuffer.el (minibuffer-completion-help): - Use minibuffer-hide-completions. - -2009-11-12 Per Starbäck <[email protected]> (tiny change) - - * dired.el (dired-save-positions, dired-restore-positions): New funs. - (dired-revert): Use them (bug#4880). - -2009-11-12 Dan Nicolaescu <[email protected]> - - * tooltip.el (tooltip-frame-parameters): Undo previous change. - -2009-11-12 Juri Linkov <[email protected]> - - * ffap.el (ffap-alternate-file-other-window, ffap-literally): - New functions. - (find-file-literally-at-point): Alias of `ffap-literally'. - -2009-11-12 Dan Nicolaescu <[email protected]> - - * textmodes/ispell.el (ispell-skip-region-alist): - * textmodes/css-mode.el (auto-mode-alist): - * progmodes/compile.el (auto-mode-alist): - * international/mule.el (ctext-non-standard-encodings-alist) - (ctext-non-standard-encodings-regexp): - * simple.el (shell-command-switch, text-read-only): - * replace.el (occur-mode-map): - * paths.el (rmail-file-name): - * jka-cmpr-hook.el (jka-compr-build-file-regexp): - * find-file.el (ff-special-constructs): - * files.el (file-name-handler-alist): - * composite.el: Purecopy strings. - - * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name. - -2009-11-11 Dan Nicolaescu <[email protected]> - - * widget.el (define-widget): Purecopy the docstring. - * international/mule-cmds.el (charset): Do not purecopy the - docstring here, define-widget does it. - - * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote): - * textmodes/bibtex-style.el (auto-mode-alist): - * progmodes/inf-lisp.el (inferior-lisp-prompt): - * progmodes/compile.el (compile-command): - * language/korea-util.el (default-korean-keyboard): - * international/mule-conf.el (file-coding-system-alist): - * emacs-lisp/eldoc.el (eldoc-minor-mode-string): - * tooltip.el (tooltip-frame-parameters): - * newcomment.el (comment-end, comment-padding): - * dired.el (dired-trivial-filenames): - * comint.el (comint-file-name-prefix): Purecopy initial values. - -2009-11-11 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-advice-minibuffer-electric-separator) - (tramp-advice-minibuffer-electric-tilde): Unload advices via - `tramp-unload'. - (tramp-advice-make-auto-save-file-name) - (tramp-advice-file-expand-wildcards): Apply also `ad-activate' - after removing the advice. - -2009-11-11 Dan Nicolaescu <[email protected]> - - * progmodes/grep.el (grep-regexp-alist): - * international/mule-cmds.el (iso-2022-control-alist): - * emacs-lisp/timer.el (timer-duration-words): - * subr.el (version-separator, version-regexp-alist): - * minibuffer.el (completion-styles-alist): - * faces.el (face-attribute-name-alist, list-faces-sample-text): - Change defvars to defconsts. - - * Makefile.in (ELCFILES): Add international/mule-conf.elc. - * loadup.el ("international/mule-conf"): Load the byte compiled version. - * international/mule-conf.el: Allow to be byte compiled. - - * international/mule.el (define-charset): Purecopy props. - (load-with-code-conversion): Purecopy doc string and file name. - (put-charset-property): Purecopy strings. - (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value. - - * international/mule-cmds.el (register-input-method): Purecopy arguments. - (define-char-code-property): Correctly purecopy the table. - - * international/ccl.el (define-ccl-program): Purecopy the docstring. - - * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter. - - * subr.el (add-hook): Purecopy strings. - (eval-after-load): Purecopy load-history-regexp and the form. - - * custom.el (custom-declare-group): Purecopy load-file-name. - - * subr.el (menu-bar-separator): New defconst. - * net/eudc.el (eudc-tools-menu): - * international/mule-cmds.el (set-coding-system-map) - (mule-menu-keymap): - * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): - * vc-hooks.el (vc-menu-map): - * replace.el (occur-mode-map): - * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu) - (menu-bar-edit-menu, menu-bar-goto-menu) - (menu-bar-custom-menu, menu-bar-showhide-menu) - (menu-bar-options-menu, menu-bar-tools-menu) - (menu-bar-encryption-decryption-menu, menu-bar-describe-menu) - (menu-bar-search-documentation-menu, menu-bar-manuals-menu) - (menu-bar-help-menu): - * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu): - * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator. - - * term/x-win.el (x-gtk-stock-map): - * progmodes/vera-mode.el (auto-mode-alist): - * progmodes/inf-lisp.el (inferior-lisp-filter-regexp) - (inferior-lisp-program, inferior-lisp-load-command): - * progmodes/hideshow.el (hs-special-modes-alist): - * progmodes/gud.el (same-window-regexps): - * progmodes/grep.el (grep-program, find-program, xargs-program): - * net/telnet.el (same-window-regexps): - * net/rlogin.el (same-window-regexps): - * language/ethiopic.el (font-ccl-encoder-alist): - * vc-sccs.el (vc-sccs-master-templates): - * vc-rcs.el (vc-rcs-master-templates): - * subr.el (cl-assertion-failed): - * simple.el (next-error-overlay-arrow-position): - * lpr.el (lpr-command): - * locate.el (locate-ls-subdir-switches): - * info.el (same-window-regexps, info) - (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node): - * image-mode.el (image-mode, auto-mode-alist): - * hippie-exp.el (hippie-expand-ignore-buffers): - * format.el (format-alist): - * find-dired.el (find-ls-subdir-switches, find-grep-options) - (find-name-arg): - * facemenu.el (facemenu-keybindings): - * dired.el (dired-listing-switches, dired-chown-program): - * diff.el (diff-switches, diff-command): - * cus-edit.el (same-window-regexps): - * bindings.el (mode-line-mule-info) - (mode-line-buffer-identification): Purecopy strings. - -2009-11-11 Juri Linkov <[email protected]> - - * simple.el (dired-get-filename) <declare-function>: - Tell the byte-compiler about dired-get-filename. - (shell-command): In Dired mode, get filename from the current line - as the default value. - -2009-11-10 Glenn Morris <[email protected]> - - * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el: - * calendar/holidays.el, progmodes/cperl-mode.el: - Update x-popup-menu declarations. - - * emacs-lisp/shadow.el (find-emacs-lisp-shadows) - (list-load-path-shadows): Use dolist. - (list-load-path-shadows): Use with-current-buffer. - -2009-11-10 Juri Linkov <[email protected]> - - * minibuffer.el (read-file-name): Support a list of default values - in `default-filename'. Use the first file name where only one - element is required. Doc fix. - -2009-11-09 Michael Albinus <[email protected]> - - * net/dbus.el (dbus-unregister-object): Release service, if no - other method is registered for it. - -2009-11-08 Markus Rost <[email protected]> - - * bookmark.el (bookmark-completing-read): Sort bookmark names if - bookmark-sort-flag is non-nil (Bug#4653). - -2009-11-08 Chong Yidong <[email protected]> - - * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable - the progress reporter entirely. - - * emulation/cua-base.el: Add CUA property to some CC mode commands - (Bug#4100). - -2009-11-08 Kevin Ryde <[email protected]> - - * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun - at end of sentence (Bug#4818). - -2009-11-08 Jared Finder <[email protected]> - - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Handle "see declaration of" MSFT statements (Bug#4100). - -2009-11-08 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-advice-make-auto-save-file-name) - (tramp-advice-file-expand-wildcards): Unload via - `ad-remove-advice'. - - * net/trampver.el: Update release number. - -2009-11-08 Kevin Ryde <[email protected]> - - * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on - `ad-do-it'. - -2009-11-08 Andr <[email protected]> (tiny change) - - * net/tramp.el (tramp-handle-write-region): Copy but rename temp file, - in order to keep context in SELinux. - -2009-11-08 Chong Yidong <[email protected]> - - * dired-aux.el (dired-query): Place cursor in echo area and allow - C-g. - - * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir - menu item if not on a directory (Bug#4701). - -2009-11-07 Michael Albinus <[email protected]> - - Sync with Tramp 2.1.17. - - * net/tramp.el (tramp-handle-copy-directory): Don't use - `file-remote-p' (due to compatibility). - - * net/tramp-compat.el (tramp-compat-copy-directory) - (tramp-compat-delete-directory): New defuns. - - * net/tramp-fish.el (tramp-fish-handle-delete-directory): - * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use - `tramp-compat-delete-directory'. - - * net/tramp-smb.el (tramp-smb-handle-copy-directory) - (tramp-smb-handle-delete-directory): Use - `tramp-compat-copy-directory' and `tramp-compat-delete-directory'. - - * net/trampver.el: Update release number. - -2009-11-07 Chong Yidong <[email protected]> - - * tar-mode.el (tar-copy): Call write-region on the right buffer - (Bug#4857). - - * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update - by hand, if necessary (Bug#4878). - -2009-11-06 Chong Yidong <[email protected]> - - * buff-menu.el (Buffer-menu-buffer+size): Use display property to - align size column (Bug#4839). - - * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide - statement. - -2009-11-05 Dan Nicolaescu <[email protected]> - - * progmodes/ld-script.el (auto-mode-alist): - * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings. - - * cus-face.el (custom-declare-face): Purecopy face spec. - -2009-11-06 Kenichi Handa <[email protected]> - - * international/uni-bidi.el: Re-generated. - * international/uni-category.el: Re-generated. - * international/uni-combining.el: Re-generated. - * international/uni-mirrored.el: Re-generated. - -2009-11-05 Dan Nicolaescu <[email protected]> - - * textmodes/tex-mode.el (tex-alt-dvi-print-command) - (tex-dvi-print-command, tex-bibtex-command, tex-start-commands) - (tex-start-options, slitex-run-command, latex-run-command) - (tex-run-command, tex-directory): - * textmodes/ispell.el (ispell-html-skip-alists) - (ispell-tex-skip-alists, ispell-tex-skip-alists): - * textmodes/fill.el (adaptive-fill-first-line-regexp): - (adaptive-fill-regexp): - * textmodes/dns-mode.el (auto-mode-alist): - * progmodes/python.el (interpreter-mode-alist): - * progmodes/etags.el (tags-compression-info-list): - * progmodes/etags.el (tags-file-name): - * net/browse-url.el (browse-url-galeon-program) - (browse-url-firefox-program): - * mail/sendmail.el (mail-signature-file) - (mail-citation-prefix-regexp): - * international/mule-conf.el (eight-bit): - * international/latexenc.el (latex-inputenc-coding-alist): - * international/fontset.el (x-pixel-size-width-font-regexp): - * emacs-lisp/warnings.el (warning-type-format): - * emacs-lisp/trace.el (trace-buffer): - * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map) - (emacs-lisp-mode-map): - * calendar/holidays.el (holiday-solar-holidays) - (holiday-bahai-holidays, holiday-islamic-holidays) - (holiday-christian-holidays, holiday-hebrew-holidays) - (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2) - (hebrew-holidays-1, holiday-oriental-holidays) - (holiday-general-holidays): - * x-dnd.el (x-dnd-known-types): - * tool-bar.el (tool-bar): - * startup.el (site-run-file): - * shell.el (shell-dumb-shell-regexp): - * rfn-eshadow.el (file-name-shadow-tty-properties) - (file-name-shadow-properties): - * paths.el (remote-shell-program, news-directory): - * mouse.el ([C-down-mouse-3]): - * menu-bar.el (menu-bar-tools-menu): - * jka-cmpr-hook.el (jka-compr-load-suffixes) - (jka-compr-mode-alist-additions, jka-compr-compression-info-list) - (jka-compr-compression-info-list): - * isearch.el (search-whitespace-regexp): - * image-file.el (image-file-name-extensions): - * find-dired.el (find-ls-option): - * files.el (directory-listing-before-filename-regexp) - (directory-free-space-args, insert-directory-program) - (list-directory-brief-switches, magic-fallback-mode-alist) - (magic-fallback-mode-alist, auto-mode-interpreter-regexp) - (automount-dir-prefix): - * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head) - (x-font-regexp-slant, x-font-regexp-weight, face-x-resources) - (face-font-registry-alternatives, face-font-registry-alternatives) - (face-font-family-alternatives): - * facemenu.el (facemenu-add-new-face, facemenu-background-menu) - (facemenu-foreground-menu, facemenu-face-menu): - * epa-hook.el (epa-file-name-regexp): - * dnd.el (dnd-protocol-alist): - * textmodes/rst.el (auto-mode-alist): - * button.el (default-button): Purecopy strings. - -2009-11-06 Glenn Morris <[email protected]> - - * Makefile.in (ELCFILES): Update. - -2009-11-05 Stefan Monnier <[email protected]> - - * emacs-lisp/lucid.el: Move to obsolete/lucid.el. - * emacs-lisp/levents.el: Move to obsolete/levents.el. - - * nxml/xsd-regexp.el (xsdre-gen-categories): - * nxml/xmltok.el (xmltok-parse-entity): - * nxml/rng-parse.el (rng-parse-validate-file): - * nxml/rng-maint.el (rng-format-manual) - (rng-manual-output-force-new-line): - * nxml/rng-loc.el (rng-save-schema-location-1): - * nxml/rng-cmpct.el (rng-c-parse-file): - * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set): - * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer. - -2009-11-05 Wilson Snyder <[email protected]> - - * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define): - Remove extra save-excursions and make-variable-buffer-local's. - Suggested by Stefan Monnier. - - (verilog-getopt-file, verilog-module-inside-filename-p) - (verilog-set-define): Merge GNU 1.35 and repair changes from - switching to using with-current-buffer. - - (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c" - being treated as a number and confusing AUTORESET. - Reported by Dan Dever. - - (verilog-auto-ignore-concat, verilog-read-sub-decls-expr): - Add verilog-auto-ignore-concat to fix backward compatibility with - older verilog-modes. Reported by Dan Katz. - - (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps - containing closing anchors "...$". - - (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}". - Reported by Wade Smith. - - (verilog-batch-execute-func): Comment on function usage. - -2009-11-05 Michael McNamara <[email protected]> - - * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression - for labels. - - (verilog-label-re, verilog-calc-1): Support proper indent of named - asserts. - - (verilog-backward-token, verilog-basic-complete-re) - (verilog-beg-of-statement, verilog-indent-re): Support proper - indent of the assert statement at the beginning of a block of text. - - (verilog-beg-block-re, verilog-ovm-begin-re): Support the - `ovm_object_param_utils_begin and `ovm_component_param_utils_begin - tokens as begins. - -2009-11-05 Glenn Morris <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for - Emacs 19. (Bug#1531) - (byte-compile-fix-header): Update for the above change. - Drop test for epoch::version. - - * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg. - * cus-dep.el (custom-make-dependencies): - * finder.el (finder-compile-keywords): - Use autoload-rubric's feature argument. - - * calendar/diary-lib.el (top-level): Make load behave more like require. - - * vc-git.el (vc-git-stash-map): Move definition before use. - -2009-11-04 Dan Nicolaescu <[email protected]> - - * custom.el (custom-declare-group): Purecopy standard-value. - (custom-declare-group): Purecopy custom-prefix. - - * international/mule.el (load-with-code-conversion): - Call do-after-load-evaluation unconditionally. - - * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias. - -2009-11-04 Stefan Monnier <[email protected]> - - * descr-text.el: Require help-mode rather than help-fns (bug#4861). - -2009-11-04 Glenn Morris <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro. - (byte-compile-compatibility): Remove option. - (byte-compile-close-variables, byte-compile-fix-header) - (byte-compile-insert-header, byte-compile-output-docform) - (byte-compile-file-form-defmumble, byte-compile-byte-code-maker) - (byte-compile-lambda, byte-compile-form, byte-defop-compiler19) - (byte-compile-list, byte-compile-concat, byte-compile-function-form) - (byte-compile-insert, byte-compile-defun): - Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571) - (byte-defop-compiler19): Remove. - Without byte-compile-compatibility, the 'emacs19-opcode property is not - used by anything. Replace all calls with byte-defop-compiler. - -2009-11-04 Juri Linkov <[email protected]> - - * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'. - (menu-bar-options-menu): Don't quote the `prop' arg of - `menu-bar-make-mm-toggle'. - -2009-11-04 Juanma Barranquero <[email protected]> - - * calendar/calendar.el (cal-loaddefs): - * calendar/diary-lib.el (diary-loaddefs): - * calendar/holidays.el (hol-loaddefs): - * eshell/esh-module.el (esh-groups): Load rather than require. - -2009-11-03 Stefan Monnier <[email protected]> - - * calendar/todo-mode.el (todo-add-category): Don't hardcode - point-min==1. - (todo-top-priorities): Only display-buffer when called interactively. - (todo-item-start): Don't save excursion point. - (todo-item-end): Be slightly more careful. Add `include-sep' arg. - (todo-insert-item-here, todo-file-item, todo-remove-item): - Adjust uses of todo-item-start and todo-item-end. - - * emacs-lisp/autoload.el (generated-autoload-feature): Remove. - (autoload-rubric): Don't use any more. - * cedet/semantic/fw.el (semantic/loaddefs): - * cedet/srecode.el (srecode/loaddefs): - * cedet/ede.el (ede/loaddefs): Load rather than require. - * cedet/ede/cpp-root.el: - * cedet/ede/emacs.el: - * cedet/ede/files.el: - * cedet/ede/linux.el: - * cedet/ede/locate.el: - * cedet/ede/make.el: - * cedet/ede/shell.el: - * cedet/ede/speedbar.el: - * cedet/ede/system.el: - * cedet/ede/util.el: - * cedet/semantic/analyze.el: - * cedet/semantic/bovine.el: - * cedet/semantic/complete.el: - * cedet/semantic/ctxt.el: - * cedet/semantic/db-file.el: - * cedet/semantic/db-find.el: - * cedet/semantic/db-global.el: - * cedet/semantic/db-mode.el: - * cedet/semantic/db-typecache.el: - * cedet/semantic/db.el: - * cedet/semantic/debug.el: - * cedet/semantic/dep.el: - * cedet/semantic/doc.el: - * cedet/semantic/edit.el: - * cedet/semantic/find.el: - * cedet/semantic/format.el: - * cedet/semantic/html.el: - * cedet/semantic/ia-sb.el: - * cedet/semantic/ia.el: - * cedet/semantic/idle.el: - * cedet/semantic/lex-spp.el: - * cedet/semantic/lex.el: - * cedet/semantic/mru-bookmark.el: - * cedet/semantic/scope.el: - * cedet/semantic/senator.el: - * cedet/semantic/sort.el: - * cedet/semantic/symref.el: - * cedet/semantic/tag-file.el: - * cedet/semantic/tag-ls.el: - * cedet/semantic/tag-write.el: - * cedet/semantic/tag.el: - * cedet/semantic/util-modes.el: - * cedet/semantic/analyze/complete.el: - * cedet/semantic/analyze/refs.el: - * cedet/semantic/bovine/c.el: - * cedet/semantic/bovine/gcc.el: - * cedet/semantic/bovine/make.el: - * cedet/semantic/bovine/scm.el: - * cedet/semantic/decorate/include.el: - * cedet/semantic/decorate/mode.el: - * cedet/semantic/symref/cscope.el: - * cedet/semantic/symref/global.el: - * cedet/semantic/symref/grep.el: - * cedet/semantic/symref/idutils.el: - * cedet/semantic/symref/list.el: - * cedet/semantic/wisent/java-tags.el: - * cedet/semantic/wisent/javascript.el: - * cedet/srecode/compile.el: - * cedet/srecode/cpp.el: - * cedet/srecode/document.el: - * cedet/srecode/el.el: - * cedet/srecode/expandproto.el: - * cedet/srecode/getset.el: - * cedet/srecode/insert.el: - * cedet/srecode/java.el: - * cedet/srecode/map.el: - * cedet/srecode/mode.el: - * cedet/srecode/template.el: - * cedet/srecode/texi.el: Remove the file-local setting of - generated-autoload-feature. - - * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist, - and only put a prop if it is non-nil. - -2009-11-03 Juri Linkov <[email protected]> - - * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle) - (menu-bar-options-menu): Fix list quoting (Bug#4429). - - * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer" - and "Menu" to make top-level menu item visually one unit (like - it's done for "Lisp-Interaction", "Emacs-Lisp" and other - multi-word menu items). Fix :help string for quit-window. - -2009-11-03 Glenn Morris <[email protected]> - - * cedet/mode-local.el (with-mode-local): Doc fix. - - * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar) - (byte-compile-file-form-define-abbrev-table) - (byte-compile-file-form-custom-declare-variable) - (byte-compile-variable-ref, byte-compile-defvar): - Whether or not a warning is enabled should only affect whether we issue - the warning, not whether or not we collect the relevant data. - Eg warnings can be turned on and off throughout the course of a file. - - * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it... - (eshell-handle-ansi-color): ... Rather than requiring ansi-color. - -2009-11-03 Stefan Monnier <[email protected]> - - * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos): - * play/mpuz.el (mpuz-create-buffer): - * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell) - (lm-print-y,s,noise, lm-print-w0, lm-init): - * play/gomoku.el (gomoku-prompt-for-move): - * play/fortune.el (fortune-in-buffer): - * play/dissociate.el (dissociated-press): - * play/decipher.el (decipher-adjacency-list, decipher-display-regexp) - (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer): - * mail/supercite.el (sc-eref-show): - * mail/smtpmail.el (smtpmail-send-it): - * mail/rmailsum.el (rmail-summary-next-labeled-message) - (rmail-summary-previous-labeled-message, rmail-summary-wipe) - (rmail-summary-undelete-many, rmail-summary-rmail-update) - (rmail-summary-goto-msg, rmail-summary-expunge) - (rmail-summary-get-new-mail, rmail-summary-search-backward) - (rmail-summary-add-label, rmail-summary-output-menu) - (rmail-summary-output-body): - * mail/rfc822.el (rfc822-addresses): - * mail/reporter.el (reporter-dump-variable, reporter-dump-state): - * mail/mailpost.el (post-mail-send-it): - * mail/hashcash.el (hashcash-generate-payment): - * mail/feedmail.el (feedmail-run-the-queue) - (feedmail-queue-send-edit-prompt-help-first) - (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater) - (feedmail-deduce-address-list): - * eshell/esh-ext.el (eshell-remote-command): - * eshell/em-unix.el (eshell-occur-mode-mouse-goto): - * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting) - (viper-wildcard-to-regexp, viper-glob-mswindows-files) - (viper-save-string-in-file, viper-valid-marker): - * emulation/viper-keym.el (viper-toggle-key): - * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file) - (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit) - (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile): - * emulation/viper-cmd.el (viper-exec-form-in-vi) - (viper-exec-form-in-emacs, viper-brac-function): - * emulation/viper.el (viper-delocalize-var): - * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat) - (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer) - (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark) - (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command): - * emulation/vi.el (vi-switch-mode, vi-ex-cmd): - * emulation/edt.el (edt-electric-helpify): - * emulation/cua-rect.el (cua--rectangle-aux-replace): - * emulation/cua-gmrk.el (cua--insert-at-global-mark) - (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark) - (cua-indent-to-global-mark-column): - * calendar/diary-lib.el (calendar-mark-1): - * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern): - Use with-current-buffer. - * emulation/viper.el (viper-delocalize-var): Use dolist. - -2009-11-03 Chong Yidong <[email protected]> - - * comint.el (comint-replace-by-expanded-history-before-point): - Replace !! with the previous input string literally (Bug#1795). - -2009-11-02 Jay Belanger <[email protected]> - - * calc/calc-forms.el (calc-date-notation): Allow a "blank string" - to be made up of whitespace. - -2009-11-02 Chong Yidong <[email protected]> - - * minibuffer.el (read-file-name): Don't use file dialogs for - remote directories (Bug#99). - -2009-11-01 Chong Yidong <[email protected]> - - * progmodes/sh-script.el (sh-font-lock-paren): Fix last change. - -2009-11-01 Andreas Schwab <[email protected]> - - * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer - instead of deleting the window or frame. - -2009-10-31 Chong Yidong <[email protected]> - - * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function): - Support face colors. - - * textmodes/tex-mode.el (tex-facemenu-add-face-function): - New function. Support face colors (Bug#1168). - (tex-common-initialization): Use it. - - * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the - mode allows it (Bug#1168). - -2009-10-31 Juri Linkov <[email protected]> - - * facemenu.el (list-colors-display): Don't mark buffer as - modified (Bug#3948). - -2009-10-31 Chong Yidong <[email protected]> - - * international/mule-diag.el (list-character-sets-1): Minor - message fix (Bug#3526). - - * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix - face property (Bug#4834). - (etags-list-tags, etags-tags-apropos-additional) - (etags-tags-apropos, tags-select-tags-table): Add follow-link - property. - - * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu - items. - - * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu - items. - - * cedet/ede.el (ede-minor-mode): - * cedet/semantic.el (semantic-mode): Toggle menu separators. - -2009-10-31 Stefan Monnier <[email protected]> - - * textmodes/two-column.el (2C-split): - * textmodes/texnfo-upd.el (texinfo-multi-file-included-list): - * textmodes/tex-mode.el (tex-set-buffer-directory): - * textmodes/spell.el (spell-region, spell-string): - * textmodes/reftex.el (reftex-erase-buffer): - (reftex-get-file-buffer-force, reftex-kill-temporary-buffers): - * textmodes/reftex-toc.el (reftex-toc-promote-action): - * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct) - (reftex-select-item): - * textmodes/reftex-ref.el (reftex-label-info-update) - (reftex-offer-label-menu): - * textmodes/reftex-index.el (reftex-index-change-entry) - (reftex-index-phrases-info): - * textmodes/reftex-global.el (reftex-create-tags-file) - (reftex-save-all-document-buffers, reftex-ensure-write-access): - * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite) - (reftex-view-crossref-from-bibtex): - * textmodes/reftex-cite.el (reftex-bibtex-selection-callback) - (reftex-extract-bib-entries-from-thebibliography) - (reftex-all-used-citation-keys, reftex-create-bibtex-file): - * textmodes/refbib.el (r2b-capitalize-title): - (r2b-convert-buffer, r2b-help): - * textmodes/page-ext.el (pages-directory) - (pages-directory-goto-with-mouse): - * textmodes/bibtex.el (bibtex-validate-globally): - * textmodes/bib-mode.el (bib-capitalize-title): - * textmodes/artist.el (artist-clear-buffer, artist-system): - * progmodes/xscheme.el (global-set-scheme-interaction-buffer): - (local-set-scheme-interaction-buffer, xscheme-process-filter) - (verify-xscheme-buffer, xscheme-enter-interaction-mode) - (xscheme-enter-debugger-mode, xscheme-debugger-mode-p) - (xscheme-send-control-g-interrupt, xscheme-start-process) - (xscheme-process-sentinel, xscheme-cd): - * progmodes/verilog-mode.el (verilog-read-always-signals) - (verilog-set-define, verilog-getopt-file) - (verilog-module-inside-filename-p): - * progmodes/sh-script.el: - * progmodes/python.el (python-pdbtrack-get-source-buffer) - (python-pdbtrack-grub-for-buffer, python-execute-file): - * progmodes/octave-inf.el (inferior-octave): - * progmodes/idlwave.el (idlwave-scan-user-lib-files) - (idlwave-shell-compile-helper-routines, idlwave-set-local) - (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs) - (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows) - (idlwave-completion-fontify-classes, idlwave-display-calling-sequence): - * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear) - (idlwave-shell-filter, idlwave-shell-examine-highlight) - (idlwave-shell-sentinel, idlwave-shell-filter-directory) - (idlwave-shell-display-line, idlwave-shell-set-bp-in-module) - (idlwave-shell-examine-display, idlwave-shell-run-region) - (idlwave-shell-filter-bp, idlwave-shell-save-and-action) - (idlwave-shell-sources-filter, idlwave-shell-goto-next-error): - * progmodes/idlw-help.el (idlwave-help-get-special-help) - (idlwave-help-get-help-buffer): - * progmodes/gud.el (gud-basic-call, gud-find-class) - (gud-tooltip-activate-mouse-motions-if-enabled): - * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe): - * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as) - (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file) - (ebrowse-tags-next-file): - * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps) - (ebnf-eps-production-list, ebnf-begin-file, ebnf-log) - (ebnf-eps-finish-and-write): - * progmodes/cpp.el (cpp-edit-save): - * progmodes/cperl-mode.el (cperl-pod-to-manpage): - * progmodes/cc-defs.el (c-emacs-features): - * progmodes/antlr-mode.el (antlr-invalidate-context-cache) - (antlr-directory-dependencies): - * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name) - (ada-run-application, ada-find-in-src-path, ada-goto-parent) - (ada-find-any-references, ada-make-filename-from-adaname) - (ada-make-body-gnatstub): - * obsolete/rnews.el (news-list-news-groups): - * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file): - * obsolete/iso-acc.el (iso-acc-minibuf-setup): - * net/rcirc.el (rcirc-debug): - * net/newst-treeview.el (newsticker--treeview-list-add-item) - (newsticker--treeview-list-clear, newsticker-treeview-browse-url) - (newsticker--treeview-list-update-faces, newsticker-treeview-save) - (newsticker--treeview-item-show-text, newsticker--treeview-item-show) - (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init) - (newsticker-treeview-show-item, newsticker--treeview-unfold-node) - (newsticker--treeview-list-clear-highlight) - (newsticker--treeview-list-update-highlight) - (newsticker--treeview-list-highlight-start) - (newsticker--treeview-tree-update-highlight) - (newsticker--treeview-get-selected-item) - (newsticker-treeview-mark-list-items-old) - (newsticker--treeview-set-current-node): - * net/newst-plainview.el (newsticker--buffer-set-uptodate): - * net/newst-backend.el (newsticker--get-news-by-funcall) - (newsticker--get-news-by-wget, newsticker--image-get) - (newsticker--image-sentinel): - * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field): - * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session): - (eudc-ph-close-session): - * net/eudc.el (eudc-save-options): - * language/thai-word.el (thai-update-word-table): - * language/japan-util.el (japanese-string-conversion): - * international/titdic-cnv.el (tsang-quick-converter) - (ziranma-converter, ctlau-converter): - * international/mule-cmds.el (describe-language-environment): - * international/ja-dic-cnv.el (skkdic-convert-okuri-ari) - (skkdic-convert-postfix, skkdic-convert-prefix): - (skkdic-convert-okuri-nasi, skkdic-convert): - * emacs-lisp/re-builder.el (reb-update-overlays): - * emacs-lisp/pp.el (pp-to-string, pp-display-expression): - * emacs-lisp/gulp.el (gulp-send-requests): - * emacs-lisp/find-gc.el (trace-call-tree): - * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class) - (eieio-describe-generic): - * emacs-lisp/eieio-base.el (eieio-persistent-read): - * emacs-lisp/edebug.el (edebug-outside-excursion): - * emacs-lisp/debug.el (debugger-make-xrefs): - * emacs-lisp/cust-print.el (custom-prin1-to-string): - * emacs-lisp/chart.el (chart-new-buffer): - * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log): - Use with-current-buffer. - * textmodes/artist.el (artist-system): Don't call - copy-sequence on a fresh string. - * progmodes/idlw-shell.el (easymenu setup): Use dolist. - -2009-10-31 Stephen Berman <[email protected]> - - * calendar/todo-mode.el (todo-edit-item): Signal an error if there - is no item to edit. (Bug#4820) - (todo-top-priorities): Restore point and restore narrowing in Todo - buffer. (Bug#4820) - -2009-10-31 Glenn Morris <[email protected]> - - * net/ange-ftp.el (top-level): Don't require dired when compiling. - (comint-last-output-start, comint-last-input-start) - (comint-last-input-end): Don't defvar when compiling. - (ange-ftp-process-file): Use bound-and-true-p. - - * pcmpl-rpm.el (top-level): Move provide statement to end. - (pcmpl-rpm): Remove unused custom group. - - * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler. - - * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes. - - * emacs-lisp/bytecomp.el (byte-compile-warning-types) - (byte-compile-warnings): Add `constants' as an option. - (byte-compile-callargs-warn, byte-compile-arglist-warn) - (display-call-tree): Update for byte-compile-fdefinition possibly - returning `(macro lambda ...)'. (Bug#4778) - (byte-compile-variable-ref, byte-compile-setq-default): - Respect `constants' member of byte-compile-warnings. - - * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer): - Use mapc rather than mapcar because the return value is never used. - - * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el: - * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el: - * cedet/semantic/html.el: - Suppress harmless warnings about setting up semantic-imenu (not - part of Emacs) variables. - -2009-10-30 Stefan Monnier <[email protected]> - - * vc-bzr.el (vc-bzr-revision-keywords): New var. - (vc-bzr-revision-completion-table): Use it to fix completion of "s:" - to "submit:". - - * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions): - * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag): - * cedet/semantic/symref/grep.el (semantic-symref-perform-search): - * cedet/semantic/bovine/gcc.el (semantic-gcc-query): - * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token): - * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons) - (semantic-analyzer-debug-global-symbol) - (semantic-analyzer-debug-missing-innertype) - (semantic-analyzer-debug-insert-include-summary): - * cedet/semantic/util.el (semantic-file-tag-table): - (semantic-describe-buffer-var-helper, semantic-something-to-tag-table) - (semantic-recursive-find-nonterminal-by-name): - * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default): - * cedet/semantic/tag-file.el (semantic-prototype-file): - * cedet/semantic/symref.el (semantic-symref-parse-tool-output): - * cedet/semantic/sb.el (semantic-sb-fetch-tag-table): - * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string): - * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): - (semantic-idle-summary-maybe-highlight): - * cedet/semantic/ia-sb.el (semantic-ia-speedbar) - (semantic-ia-sb-tag-info): - * cedet/semantic/grammar.el (semantic-analyze-possible-completions): - * cedet/semantic/find.el (semantic-brute-find-tag-by-position): - * cedet/semantic/ede-grammar.el (project-compile-target): - (ede-proj-makefile-insert-variables): - * cedet/semantic/debug.el (semantic-debug-set-parser-location): - (semantic-debug-set-source-location, semantic-debug-interface-layout) - (semantic-debug-mode, semantic-debug): - * cedet/semantic/db.el (semanticdb-needs-refresh-p): - * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer): - * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode): - * cedet/semantic/db-find.el (semanticdb-find-log-new-search) - (semanticdb-find-translate-path-includes--internal) - (semanticdb-reset-log, semanticdb-find-log-activity): - * cedet/semantic/db-file.el (object-write): - * cedet/semantic/db-el.el (semanticdb-equivalent-mode): - * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p) - (semanticdb-create-ebrowse-database): - * cedet/semantic/db-debug.el (semanticdb-table-sanity-check): - * cedet/semantic/complete.el (semantic-displayor-focus-request) - (semantic-collector-calculate-completions-raw) - (semantic-complete-read-tag-analyzer): - * cedet/semantic/analyze.el (semantic-analyze-pulse): - * cedet/ede/util.el (ede-update-version-in-source): - * cedet/ede/proj.el (project-delete-target): - * cedet/ede/proj-elisp.el (ede-update-version-in-source) - (ede-proj-flush-autoconf): - * cedet/ede/pconf.el (ede-proj-configure-synchronize) - (ede-proj-configure-synchronize): - * cedet/ede/locate.el (ede-locate-file-in-project-impl): - * cedet/ede/linux.el (ede-linux-version): - * cedet/ede/emacs.el (ede-emacs-version): - * cedet/ede/dired.el (ede-dired-add-to-target): - * cedet/ede.el (ede-buffer-header-file, ede-find-target) - (ede-buffer-documentation-files, ede-project-buffers, ede-set) - (ede-target-buffers, ede-buffers, ede-make-project-local-variable): - * cedet/cedet-idutils.el (cedet-idutils-fnid-call): - (cedet-idutils-lid-call, cedet-idutils-expand-filename) - (cedet-idutils-version-check): - * cedet/cedet-global.el (cedet-gnu-global-call): - (cedet-gnu-global-expand-filename, cedet-gnu-global-root) - (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits): - * cedet/cedet-cscope.el (cedet-cscope-call) - (cedet-cscope-expand-filename, cedet-cscope-version-check): - Use with-current-buffer. - * cedet/ede.el (ede-make-project-local-variable) - (ede-set-project-variables, ede-set): Use dolist. - -2009-10-30 Dan Nicolaescu <[email protected]> - - * textmodes/ispell.el (ispell-skip-region-alist): - * international/mule-conf.el (eight-bit): - * international/fontset.el (font-encoding-alist): - * startup.el (pure-space-overflow-message): - * simple.el (overwrite-mode-textual, overwrite-mode-binary): - * paths.el (gnus-nntp-service, rmail-spool-directory) - (term-file-prefix): - * files.el (save-some-buffers-action-alist): - * cmuscheme.el (same-window-buffer-names): - * ielm.el (same-window-buffer-names): - * shell.el (same-window-buffer-names): - * mail/sendmail.el (same-window-buffer-names): - * progmodes/inf-lisp.el (same-window-buffer-names): - * bindings.el (mode-line-client) - (mode-line-column-line-number-mode-map): - * language/tibetan.el (tibetan-precomposition-rule-regexp) - (tibetan-precomposed-regexp): Purecopy string arguments. - -2009-10-28 Stefan Monnier <[email protected]> - - * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record) - (calcDigit-nondigit): - * calc/calc-yank.el (calc-copy-to-buffer): - * calc/calc-units.el (calc-invalidate-units-table): - * calc/calc-trail.el (calc-trail-yank): - * calc/calc-store.el (calc-insert-variables): - * calc/calc-rewr.el (math-rewrite, math-rewrite-phase): - * calc/calc-prog.el (calc-read-parse-table): - * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click): - * calc/calc-help.el (calc-describe-bindings, calc-describe-key): - * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve) - (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot) - (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles) - (calc-graph-name, calc-graph-find-command, calc-graph-view) - (calc-graph-view, calc-gnuplot-command, calc-graph-init): - * calc/calc-ext.el (calc-realign): - * calc/calc-embed.el (calc-do-embedded, calc-do-embedded) - (calc-embedded-finish-edit, calc-embedded-make-info) - (calc-embedded-finish-command, calc-embedded-stack-change): - * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer. - - * cedet/mode-local.el (make-obsolete-overload): Add `when' argument. - (overload-docstring-extension): Use that info. - * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info. - * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info): - * cedet/semantic/tag-ls.el (semantic-nonterminal-protection) - (semantic-nonterminal-abstract, semantic-nonterminal-leaf) - (semantic-nonterminal-full-name): Add the new `when' info. - * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for - `assert'. - - * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace - shell-dynamic-complete-filename in preference to - comint-dynamic-complete-filename. - - * bookmark.el (bookmark-insert-location, bookmark-bmenu-list) - (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames): - Don't consider whether the display supports colors. - (bookmark-import-new-list): Use dolist. - (bookmark-bmenu-mode-map): Move initialization into declaration. - (bookmark-bmenu-list): Use dolist, simplify. - (bookmark-show-all-annotations): Use save-selected-window and dolist. - (menu-bar-final-items): Use push. - -2009-10-28 Bernhard Herzog <[email protected]> (tiny change) - - * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so - it works on remote files. - (vc-hg-diff): Don't pass any `--cwd' argument. - -2009-10-27 Kevin Ryde <[email protected]> - - * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine): - Use help-xref-info-regexp and help-xref-url-regexp to identify links. - (Further to Bug#3921). - -2009-10-27 Michael Albinus <[email protected]> - - * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'. - (tramp-imap-do-copy-or-rename-file): Don't use the inode, when - calling `tramp-imap-put-file'. Add file size to the call. - (tramp-imap-get-file-entries): Compute also user name, file size, - and date. - (tramp-imap-handle-insert-directory): Insert uid and gid. - (tramp-imap-handle-file-attributes): Transform uid and gid - according to `id-format'. - (tramp-imap-put-file): New optional parameter SIZE. Encode file - size in header X-Size. - -2009-10-26 Juanma Barranquero <[email protected]> - - * simple.el (transpose-subr): Give clearer error when the mark - is not set. (Bug#4807) - -2009-10-26 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-perl-file-truename): New defconst. - Perl code contributed by yary <[email protected]> (tiny change). - (tramp-handle-file-truename, tramp-get-remote-perl): Use it. - Check also for "perl-file-spec" and "perl-cwd-realpath" properties. - (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name. - - * net/tramp-imap.el (tramp-imap-file-name-handler-alist): - Ignore `dired-call-process'. - (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'. - -2009-10-26 Julian Scheid <[email protected]> - - * net/tramp.el (tramp-perl-file-name-all-completions): New defconst. - (tramp-get-remote-readlink): New defun. - (tramp-handle-file-truename): Use it. - (tramp-handle-file-exists-p): Check file-attributes cache, assume - file exists if cache value present. - (tramp-check-cached-permissions): New defun. - (tramp-handle-file-readable-p): Use it. - (tramp-handle-file-writable-p): Likewise. - (tramp-handle-file-executable-p): Likewise. - (tramp-handle-file-name-all-completions): Try using Perl to get - partial completions. When perl not available, combine `cd' and - `ls' into single remote operation and use shell expansion to get - partial remote directory contents. Set `file-exists-p' cache for - directory and any files returned by ls. Change cache handling to - support partial directory contents. Use error message emitted by - remote `cd' or Perl code for local tramp-error. - (tramp-do-copy-or-rename-file-directly): Avoid separate - tramp-send-command-and-check call. - (tramp-handle-process-file): Merge three remote ops into one. - Do not flush all caches when `process-file-side-effects' is set. - (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if - file-attributes shows uid/gid to be set already. - -2009-10-26 Dan Nicolaescu <[email protected]> - - * textmodes/tex-mode.el (tex-dvi-view-command) - (tex-show-queue-command, tex-open-quote): - * progmodes/ruby-mode.el (auto-mode-alist) - (interpreter-mode-alist): Purecopy strings. - - * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names. - - * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc - string for the hook, keymap and abbrev table. - - * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name. - - * x-dnd.el (x-dnd-xdnd-to-action): - * startup.el (fancy-startup-text, fancy-about-text): Change to - defconst from defvar. - - * ps-print.el (ps-page-dimensions-database): Purecopy initial value. - - * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist): - Purecopy initialization strings. - - * mail/sendmail.el (mail-header-separator) - (mail-personal-alias-file): - * mail/rmail.el (rmail-default-dont-reply-to-names) - (rmail-ignored-headers, rmail-retry-ignored-headers) - (rmail-highlighted-headers, rmail-secondary-file-directory) - (rmail-secondary-file-regexp): - * files.el (null-device, file-name-invalid-regexp) - (locate-dominating-stop-dir-regexp) - (inhibit-first-line-modes-regexps): Purecopy initialization strings. - (interpreter-mode-alist): Use mapcar instead of mapc. - - * buff-menu.el (Buffer-menu-mode-map): Purecopy name. - - * bindings.el (mode-line-major-mode-keymap): Purecopy name. - (completion-ignored-extensions): - (debug-ignored-errors): Purecopy strings. - -2009-10-26 Stefan Monnier <[email protected]> - - * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring. - (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt) - (pcomplete--here): Use push. - - * subr.el (all-completions): Declare the 4th arg obsolete. - -2009-10-25 Stefan Monnier <[email protected]> - - * pcomplete.el (pcomplete-unquote-argument-function): New var. - (pcomplete-unquote-argument): New function. - (pcomplete--common-suffix): Always pay attention to case. - (pcomplete--table-subvert): Quote and unquote the text. - (pcomplete--common-quoted-suffix): New function. - (pcomplete-std-complete): Use it and pcomplete-begin. - - * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if - we're inside a dedicated or minibuffer window. - -2009-10-25 Stefan Monnier <[email protected]> - - * cedet/semantic/fw.el (semantic-alias-obsolete) - (semantic-varalias-obsolete): Make the `when' arg mandatory. - (define-mode-overload-implementation): - * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks): - * cedet/semantic/wisent.el (wisent-lex-make-token-table): - * cedet/semantic/util.el (semantic-file-token-stream) - (semantic-something-to-stream): - * cedet/semantic/tag.el (semantic-tag-make-assoc-list) - (semantic-expand-nonterminal): - * cedet/semantic/tag-file.el (semantic-find-nonterminal) - (semantic-find-dependency, semantic-find-nonterminal) - (semantic-find-dependency): - * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end) - (semantic-flex-text, semantic-flex-make-keyword-table) - (semantic-flex-keyword-p, semantic-flex-keyword-put) - (semantic-flex-keyword-get, semantic-flex-map-keywords) - (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list): - * cedet/semantic/java.el (semantic-java-prototype-nonterminal): - * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks) - (semantic-after-idle-scheduler-reparse-hooks): - * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks): - * cedet/semantic/db-mode.el (semanticdb-mode-hooks): - * cedet/semantic.el (semantic-toplevel-bovine-table) - (semantic-toplevel-bovine-cache) - (semantic-before-toplevel-bovination-hook, semantic-init-hooks) - (semantic-init-mode-hooks, semantic-init-db-hooks) - (semantic-bovination-working-type): Provide the `when' arg. - -2009-10-24 Karl Fogel <[email protected]> - - * bookmark.el: Update documentation, especially documentation - of `bookmark-alist' and of the bookmark file format. - Patch by Drew Adams, with minor tweaks from me. (Bug#4195) - -2009-10-24 Chong Yidong <[email protected]> - - * mail/emacsbug.el (report-emacs-bug): Clarify that the - keybindings apply to the mail buffer (Bug#4003). Shrink help - window to buffer. - - * whitespace.el (whitespace-mode, whitespace-newline-mode) - (global-whitespace-mode, global-whitespace-newline-mode) - (whitespace-toggle-options, global-whitespace-toggle-options): - Doc fix (Bug#3660). - - * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value - of xmltok-start before the end tag was inserted (Bug#2840). - - * progmodes/sh-script.el (sh-font-lock-paren): Handle case - patterns that are preceded by an open-paren (Bug#1320). - -2009-10-24 Sven Joachim <[email protected]> - - * files.el (delete-directory): Delete symlinks to directories with - delete-file (Bug#4739). - -2009-10-24 Chong Yidong <[email protected]> - - * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name): - * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN - argument to make-obsolete. - - * cedet/semantic/fw.el (semantic-alias-obsolete) - (semantic-varalias-obsolete): Add optional WHEN argument. - -2009-10-24 Dan Nicolaescu <[email protected]> - - * vc.el (vc-backend-for-registration): Rename from - vc-get-backend-for-registration. Update callers. - - * international/mule-cmds.el (set-language-info-alist): - Purecopy lang-env. - (leim-list-header, leim-list-entry-regexp): Change defvars to defconst. - (charset): Purecopy the name. - (define-char-code-property): Purecopy string arguments. - - * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable): - Purecopy string arguments. - - * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): - * ediff-hook.el (menu-bar-ediff-menu): - * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips. - * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name. - -2009-10-24 Glenn Morris <[email protected]> - - * comint.el (comint-dynamic-list-completions): - * term.el (term-dynamic-list-completions): Use choose-completion rather - than obsolete alias mouse-choose-completion. - - * filecache.el (file-cache-completions-keymap): Bind mouse-2 to - file-cache-choose-completion. - (file-cache-choose-completion): Handle an optional event argument. - (file-cache-mouse-choose-completion): Make it an obsolete alias. - - * progmodes/octave-mod.el (octave-complete-symbol): - Use choose-completion if mouse-choose-completion is ever removed. - - * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before - use. - - * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for - compiler. - - * vc-hooks.el (vc-responsible-backend): Fix declaration. - -2009-10-24 Stefan Monnier <[email protected]> - - * minibuffer.el (completion--embedded-envvar-table): Fix last change. - Ignore `pred' now that we receive one. - Handle test-completion specially. - -2009-10-23 Dan Nicolaescu <[email protected]> - - * vc.el (vc-responsible-backend): Throw an error if not backend is - found. Remove the REGISTER argument. Move the code dealing with - REGISTER ... - (vc-get-backend-for-registration): ... here. New function. - (vc-deduce-fileset): Call vc-get-backend-for-registration instead - of vc-responsible-backend, pass the file name instead of the - directory name. - -2009-10-23 Stefan Monnier <[email protected]> - - * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert): - New funs. - (pcomplete-std-complete): Use them. Obey pcomplete-termination-string. - (pcomplete-comint-setup): Don't modify a global var via - accidental side-effects. - (pcomplete-shell-setup): Adjust call accordingly. - (pcomplete-parse-comint-arguments): Use push. - -2009-10-23 Chong Yidong <[email protected]> - - * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine): - Allow uncapitalized info node names (Bug#3921). - - * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing - to the DEBUG file (Bug#3781). - -2009-10-23 Jari Aalto <[email protected]> - - * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish - dictionary entry (Bug#4579). - -2009-10-23 Michael Albinus <[email protected]> - - * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay' - from `rfn-eshadow-update-overlay-hook' when unloading. - (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and - "rsyncc". Adjust doc string. - (tramp-temp-buffer-file-name): New buffer-local defvar. - (tramp-handle-insert-file-contents, tramp-handle-write-region): - Keep temporary file when indicated by method ("rsync" and - "rsyncc"). - (tramp-handle-write-region): Handle APPEND. - (tramp-delete-temp-file-function): New defun. Added to - `kill-buffer-hook'. - -2009-10-23 Juanma Barranquero <[email protected]> - - * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler. - -2009-10-23 Dan Nicolaescu <[email protected]> - - * term/tty-colors.el (msdos-color-values): Remove declaration, unused. - (color-name-rgb-alist, tty-standard-colors) - (tty-color-mode-alist): Change to defconst. - - * simple.el (mark-inactive): Purecopy message. - - * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro. - (global-map, yank-menu): - * textmodes/ispell.el (ispell-menu-map): - * net/eudc.el (eudc-tools-menu): - * international/mule-cmds.el (describe-language-environment-map) - (setup-language-environment-map, set-coding-system-map) - (mule-menu-keymap): - * vc-hooks.el (vc-menu-entry, vc-menu-map): - * replace.el (occur-mode-map): - * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips. - -2009-10-23 Jay Belanger <[email protected]> - - * calc/calc.el (math-read-number, math-read-number-simple): Use - `save-match-data'. - -2009-10-22 Stefan Monnier <[email protected]> - - * simple.el (normal-erase-is-backspace-mode): Use input-decode-map - rather than fiddling with global-map bindings, since it should only - affect per-terminal settings. - See http://bugs.gentoo.org/show_bug.cgi?id=289709. - - * minibuffer.el (completion-table-with-terminator): Allow to specify - the terminator-regexp. - - * simple.el (switch-to-completions): Look for *Completions* in other - frames as well. - - * pcomplete.el: Allow the use of completion-tables. - (pcomplete-std-complete): New command. - (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries. - (pcomplete--here): Use a function for `form' rather than an expression, - so it can be byte-compiled. - (pcomplete-here, pcomplete-here*): Adjust accordingly. - Add edebug declaration. - (pcomplete-show-completions): Remove unused var `curbuf'. - (pcomplete-do-complete, pcomplete-stub): - Don't assume `completions' is a list of strings any more. - -2009-10-22 Juanma Barranquero <[email protected]> - - * find-dired.el (find-name-arg): Fix typo in docstring. - -2009-10-22 Stefan Monnier <[email protected]> - - * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries. - (pcmpl-linux-fs-types): Same, and update to new modules layout. - - * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to - pcomplete-entries. - - * comint.el (comint-read-input-ring, comint-write-input-ring) - (comint-substitute-in-file-name) - (comint-dynamic-complete-as-filename) - (comint-dynamic-simple-complete) - (comint-dynamic-list-filename-completions) - (comint-dynamic-list-completions) - (comint-redirect-results-list-from-process): Minor simplifications. - -2009-10-21 Kevin Ryde <[email protected]> - - * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): - When inserting ";;; Code" put it before any ";;;###autoload" cookie on - the first form. And insert a blank line after ";;; Code" since - that's usual style. (Bug#4612) - - * net/dns.el: Add "Keywords: comm", as per net/net-utils.el. - -2009-10-21 Stefan Monnier <[email protected]> - - * minibuffer.el (completion-table-with-terminator): Properly implement - boundaries, in case `terminator' appears in the suffix. - (completion--embedded-envvar-table): Don't return boundaries if - there's no valid completion. Simplify. - (completion-file-name-table): New completion table extracted from - completion--file-name-table. - (completion--file-name-table): Use it. - (read-file-name-predicate): Declare obsolete. - (read-file-name): Use the pred arg i.s.o read-file-name-predicate. - * vc-bzr.el (vc-bzr-revision-completion-table): Use the new - completion-file-name-table, and use the `pred' argument. - * files.el (locate-file-completion-table): Use the `pred' arg rather - than read-file-name-predicate. - (abbreviate-file-name): Use \` rather than ^ for BOS. - -2009-10-21 Dan Nicolaescu <[email protected]> - - * vc.el (vc-deduce-fileset): Undo previous change, do not tell - vc-responsible-backend to register, it causes problems. - -2009-10-21 Stefan Monnier <[email protected]> - - * help-fns.el: Don't require help-mode (to avoid bootstrap issues). - -2009-10-21 Eric Ludlam <[email protected]> - - * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init) - (semantic-c-debug-mode-init-pch): New functions. - (semantic-c-debug-mode-init-last-mode): New var. - (semantic-c-parse-lexical-token): Use them. - - * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace): - When extracting the argument list, limit only by point-max. - -2009-10-21 Michael Albinus <[email protected]> - - * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun. - (tramp-smb-handle-file-attributes): Use it. - (tramp-smb-do-file-attributes-with-stat): Don't raise an error. - (tramp-smb-handle-insert-directory): Use `mapc' rather than - `mapcar'. Use `tramp-smb-get-stat-capability'. - Add `dired-filename' text properties. - (tramp-smb-get-cifs-capabilities): Apply `save-match-data'. - (tramp-smb-maybe-open-connection): Simplify check for smbclient - version. - -2009-10-20 Stefan Monnier <[email protected]> - - * subr.el (read-key-delay): Reduce to 0.01. - (read-key): Use read-key-sequence-vector to avoid turning M-t into 244 - (bug#4751). - -2009-10-19 Stefan Monnier <[email protected]> - - * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound. - - * info.el (Info-complete-menu-item): Handle `boundaries' explicitly. - (Info-menu): Remove unused vars `last' and `completions'. - (Info-index-nodes): Remove unused var `node'. - - * info.el (Info-complete-menu-item): Use complete-with-action. - -2009-10-19 Dan Nicolaescu <[email protected]> - - Make vc-annotate work through copies and renames. - * vc-annotate.el (vc-annotate-extract-revision-at-line): - Return the file name too. - (vc-annotate-revision-at-line) - (vc-annotate-find-revision-at-line) - (vc-annotate-revision-previous-to-line) - (vc-annotate-show-log-revision-at-line): Update to get the file - name from vc-annotate-extract-revision-at-line. - (vc-annotate-show-diff-revision-at-line-internal): Change the - argument to mean whether to show a file diff or not. Get the file - name from vc-annotate-extract-revision-at-line. - (vc-annotate-show-diff-revision-at-line): - Update vc-annotate-show-diff-revision-at-line call. - (vc-annotate-warp-revision): Add an optional file argument. - - * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command. - (vc-git-annotate-extract-revision-at-line): Also return the file - name if found. - - * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate - command. Remove unused code. - (vc-hg-annotate-re): Update to match --follow output. - (vc-hg-annotate-extract-revision-at-line): Also return the file - name if found. - - * vc.el: Update annotate-extract-revision-at-line documentation. - -2009-10-18 Kevin Ryde <[email protected]> - - * ibuffer.el (ibuffer-confirm-operation-on): Correction to error - re-throw, `err' is a pair not a list so can't use apply (Bug#4740). - - * net/browse-url.el (browse-url): Identify alist with "consp and - not functionp" and let all other things go down the `apply' leg, - as suggested by Stefan. (Further to bug#4531.) - -2009-10-18 Chong Yidong <[email protected]> - - * minibuffer.el (read-file-name): Check for repeat before putting - a default argument in file-name-history (Bug#4657). - - * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table - read syntax (Bug#4737). - - * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at. - -2009-10-18 Aaron S. Hawley <[email protected]> - - * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag. - (html-tag-alist, html-tag-help): Add descriptions for undocumented - entries and make note of obsolete tags. - -2009-10-18 Stefan Monnier <[email protected]> - - * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect. - -2009-10-18 Glenn Morris <[email protected]> - - * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling - grep, so that binary files (eg international/uni-bidi.el) can match. - Remove test for "UnicodeData" files, since it is hopefully unnecessary - now, and in any case the file header format has changed. - -2009-10-17 Glenn Morris <[email protected]> - - * textmodes/flyspell.el (flyspell-large-region, flyspell-word) - (flyspell-get-word, flyspell-large-region) - (flyspell-auto-correct-previous-word): Doc/error message fixes. - -2009-10-17 Chong Yidong <[email protected]> - - * Makefile.in (ELCFILES): Add ede/shell. - -2009-10-17 Dan Nicolaescu <[email protected]> - - * term/common-win.el (x-colors): Purecopy it. - -2009-10-17 Stefan Monnier <[email protected]> - - * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more - permissive for when the buffer is empty. - (tar-header-block-tokenize): Decode the username and groupname. - (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730). - -2009-10-17 Chong Yidong <[email protected]> - - * cedet/srecode/srt.el: - * cedet/srecode/compile.el: - * cedet/semantic/mru-bookmark.el: - * cedet/semantic/debug.el: - * cedet/semantic/complete.el: - * cedet/semantic/analyze.el: Require CL when compiling. - -2009-10-17 Eric Ludlam <[email protected]> - - * cedet/semantic/scope.el - (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of - tmpscope so that the regular scope will continue to work. - - * cedet/semantic/idle.el (semantic-idle-tag-highlight): - Use semantic-idle-summary-highlight-face as the highlighting. - - * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer - contains multibyte characters, choose first applicable coding - system automatically. - - * cedet/ede/project-am.el (project-run-target): New method. - (project-run-target): New method. - - * cedet/ede.el (ede-target): Add run target menu item. - (ede-project, ede-minor-keymap): Add ede-run-target binding. - (ede-run-target): New function. - (ede-target::project-run-target): New method. - - * cedet/ede/proj.el (project-run-target): New method. - - * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler) - (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS. - Add :rules. - (ede-proj-target-makefile-shared-object): Only libtool compilers - now available. Add linkers for libtool. - (ede-cc-linker-libtool, ede-g++-linker-libtool): New. - (ede-proj-makefile-target-name): Always use .la extension. - - * cedet/ede/proj-prog.el (project-run-target): New method. - - * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker. - (ede-g++-linker): Change Change link lines. - - * cedet/ede/pmake.el (ede-pmake-insert-variable-shared): - When searching for old variables, go to the end of the buffer and - search backward from there. - (ede-proj-makefile-automake-insert-subdirs) - (ede-proj-makefile-automake-insert-extradist): New methods. - (ede-proj-makefile-create): Use them. - - * cedet/ede/pconf.el (ede-proj-configure-test-required-file): - Force FILE to expand to the current target. Use file-exists-p to - check that it exists. - - * cedet/ede/linux.el (ede-linux-version): Don't call "head". - (ede-linux-load): Wrap dir in file-name-as-directory. - Set :version slot. - - * cedet/ede/files.el (ede-get-locator-object): When enabling - locate, do so on "top". - - * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in - file-name-as-directory during compare. - (ede-emacs-version): Return Emacs/XEmacs differentiator. - Get version number from different places. Don't call egrep. - (ede-emacs-load): Set :version slot. Call file-name-as-directory - to set the directory. - - * cedet/ede/shell.el: New file. - - * cedet/inversion.el (inversion-decoders): Allow for stray . in - alpha/beta variants. - -2009-10-17 Stefan Monnier <[email protected]> - - * international/mule-cmds.el (select-safe-coding-system): If the file - has a coding cookie, use it regardless of any other setting (bug#4712). - -2009-10-17 Glenn Morris <[email protected]> - - * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec): - All errors should have messages. - - * foldout.el (foldout-mouse-swallow-events): - * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for. - - * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename) - (dired-keep-marker-copy, dired-keep-marker-hardlink) - (dired-keep-marker-symlink, dired-dwim-target) - (dired-copy-preserve-time): Do not autoload these defcustoms. - - * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different - messages from messing up the file coding. (Bug#4623) - -2009-10-17 Jari Aalto <[email protected]> - - * textmodes/ispell.el (ispell-get-decoded-string): Give an error - if no match is found for the current dictionary. (Bug#4578) - - * textmodes/flyspell.el (flyspell-get-word): Make `following' argument - optional, since that is how it is documented, and this is often called - with a nil argument. (Bug#4577) - (flyspell-external-point-words, flyspell-auto-correct-word) - (flyspell-correct-word-before-point, flyspell-word-search-forward) - (flyspell-word-search-backward): Remove nil argument in calls to - flyspell-get-word, since it is not needed now. - -2009-10-17 Ulrich Mueller <[email protected]> - - * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565) - -2009-10-16 Glenn Morris <[email protected]> - - * net/rcirc.el (rcirc-authenticate): Simplify previous change. - -2009-10-16 Toru TSUNEYOSHI <[email protected]> - - * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'. - (ange-ftp-file-size): New function. - (ange-ftp-file-attributes): Use it. - -2009-10-16 Michael Albinus <[email protected]> - - * net/tramp-smb.el (tramp-smb-version): New defvar. - (tramp-smb-maybe-open-connection): Use it, in order to avoid - repeated checks. - -2009-10-16 Glenn Morris <[email protected]> - - * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix. - Maybe copy some custom properties from old to new name. (Bug#4706) - -2009-10-16 Juanma Barranquero <[email protected]> - - * subr.el (error, sit-for, start-process-shell-command) - (start-file-process-shell-command): Set the calling convention - after the function definition. - -2009-10-16 Stefan Monnier <[email protected]> - - * subr.el (error, sit-for, start-process-shell-command) - (start-file-process-shell-command): Use the new - set-advertised-calling-convention feature. - -2009-10-16 Taichi Kawabata <[email protected]> - - * international/ucs-normalize.el (ucs-normalize-version): - Change to 1.2. - (check-range): Adjust for Unicode 5.2. - -2009-10-15 Juri Linkov <[email protected]> - - * menu-bar.el (menu-bar-file-menu): Convert `separator-exit' - to the `menu-item' format. - -2009-10-15 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-replace-environment-variables): Do not fail - if the environment variable does not exist. - - * net/tramp-smb.el (tramp-smb-errors): Add error messages. - (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as - parameter. - (tramp-smb-handle-add-name-to-file) - (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file) - (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file) - (tramp-smb-handle-file-attributes) - (tramp-smb-do-file-attributes-with-stat) - (tramp-smb-handle-file-local-copy) - (tramp-smb-handle-insert-directory) - (tramp-smb-handle-make-directory) - (tramp-smb-handle-make-directory-internal) - (tramp-smb-handle-make-symbolic-link) - (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes) - (tramp-smb-handle-write-region, tramp-smb-get-file-entries) - (tramp-smb-maybe-open-connection): Apply the changed parameters. - (tramp-smb-read-file-entry): Read Disk names in compressed format. - Handle long file names. - (tramp-smb-get-cifs-capabilities): Check, whether the connection - process is running. - (tramp-smb-maybe-open-connection): Trace "smbclient -V" command. - Read share names with "-g" option. - -2009-10-15 Ryan Yeske <[email protected]> - - * net/rcirc.el (rcirc-view-log-file): New command. - (rcirc-track-minor-mode-map): Remove C-c ` binding. - (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be - specified. - -2009-10-15 Glenn Morris <[email protected]> - - * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program - from the second command-line argument. - * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el) - ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el) - ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to - w32-batch-update-autoloads. - * emacs-lisp/autoload.el (autoload-make-program): New variable. - (batch-update-autoloads): Handle autoload-excludes on windows-nt. - - * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of - the headers cannot be located. Simplify, subtracting superflous - save-excursions. - -2009-10-15 Stefan Monnier <[email protected]> - - Replace completion-base-size by completion-base-position to fix bugs - such as (bug#4699). - * simple.el (completion-base-position): New var. - (completion-base-size): Mark as obsolete. - (choose-completion): Make it work for mouse events as well. - Pass the new base-position to choose-completion-string. - (choose-completion-guess-base-position): New function, extracted from - choose-completion-delete-max-match. - (choose-completion-delete-max-match): Use it. Make obsolete. - (choose-completion-string): Use the new base-position info. - (completion-root-regexp): Delete. - (completion-setup-function): Preserve completion-base-position. - Eliminate obsolete base-size manipulation. - * minibuffer.el (display-completion-list): Don't mess with base-size. - (minibuffer-completion-help): Set completion-base-position instead. - * mouse.el (mouse-choose-completion): Redefine as a mere alias to - choose-completion. - * textmodes/bibtex.el (bibtex-complete): - * emacs-lisp/crm.el (crm--choose-completion-string): - Adjust to new calling convention. - * complete.el (partial-completion-mode): Use minibufferp to avoid - bumping into incompatible change to choose-completion-string-functions. - * ido.el (ido-choose-completion-string): Make its calling convention - more permissive. - * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete - base-size manipulation. - (comint-dynamic-list-input-ring): Use dotimes and push. - * iswitchb.el (iswitchb-completion-help): Remove dead-code call to - fundamental-mode. Use `or'. - -2009-10-14 Juri Linkov <[email protected]> - - * misearch.el (multi-isearch-next-buffer-from-list) - (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723) - -2009-10-14 Stefan Monnier <[email protected]> - - * Makefile.in (compile-onefile): Load `bytecomp' rather than - `bytecomp.el'. - - * minibuffer.el (completion-pcm--merge-completions): Make sure the - string we return is all made up of text from the completions rather - than part from the completions and part from the input (bug#4219). - - * ido.el (ido-everywhere): Use define-minor-mode. - - * buff-menu.el (list-buffers, ctl-x-map): - Mark the entry points with ;;;###autoload cookies. - -2009-10-14 Dan Nicolaescu <[email protected]> - - * vc-git.el (vc-git-dir-extra-headers): Set the branch name - correctly in the detached head case. - (vc-git-print-log): Remove unused binding. - - * vc.el (vc-responsible-backend): When a directory is passed for - for registration create a VC repository if no backend is - responsible for the directory argument. - (vc-deduce-fileset): Tell vc-responsible-backend to register. - - * vc.el: Move comments about RCS and SCCS ... - * vc-rcs.el: - * vc-sccs.el: ... here, respectively. - -2009-10-14 Stefan Monnier <[email protected]> - - * minibuffer.el (completion--file-name-table): Return nil if there's - no file completion, even if substitute-in-file-name changed - the string (bug#4708). - -2009-10-13 Juri Linkov <[email protected]> - - * files-x.el (read-file-local-variable-value): Don't filter out - minor modes from mode name completion (bug#4664). - -2009-10-13 Juanma Barranquero <[email protected]> - - * international/mule-cmds.el (ucs-names): Remove exclusion of - "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF). - -2009-10-13 Kenichi Handa <[email protected]> - - * international/uni-name.el: Regenerated. - -2009-10-13 Juanma Barranquero <[email protected]> - - * bs.el (bs-mode): Fix last change. (`revert-buffer-function' - should be automatically buffer-local, but isn't.) - -2009-10-12 Sam Steingold <[email protected]> - - * progmodes/compile.el (compilation-next-error-function): Fix the - timestamps if the buffer has been visited before. - (compilation-mode-font-lock-keywords): Do not prepend "^ *" to - non-anchored patterns, like the perl one (bug#3928). - -2009-10-12 Glenn Morris <[email protected]> - - * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat): - Let-bind `size'. - -2009-10-12 Juanma Barranquero <[email protected]> - - * proced.el (proced-unload-function): New function. - - * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'. - (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility. - Doc fix. - - * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item. - -2009-10-11 Juri Linkov <[email protected]> - - * files-x.el (read-file-local-variable-value): - Provide default value only for bound variables (bug#4664). - -2009-10-11 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-local-host-p): Function shall return nil for - connection methods like smb. - - * net/tramp-cache.el (tramp-flush-connection-property): The hash - can be empty. - - * net/tramp-smb.el (tramp-smb-errors): Add error messages. - (tramp-smb-file-name-handler-alist): Add handlers for - `add-name-to-file', `make-symbolic-link'. - (tramp-smb-handle-add-name-to-file) - (tramp-smb-do-file-attributes-with-stat) - (tramp-smb-handle-make-symbolic-link) - (tramp-smb-get-cifs-capabilities): New defuns. - (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file) - (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file) - (tramp-smb-handle-file-local-copy) - (tramp-smb-handle-make-directory-internal) - (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): - The file name syntax depends on cifs capabilities. - (tramp-smb-handle-file-attributes): - Call `tramp-smb-do-file-attributes-with-stat' if possible. - (tramp-smb-handle-insert-directory): Use posix attributes if possible. - (tramp-smb-handle-set-file-modes): It is applicable for posix only. - -2009-10-11 Chong Yidong <[email protected]> - - * emacs-lisp/eieio.el: Avoid requiring cl at runtime. - (eieio-defclass): Apply deftype handler and setf-method properties - directly. - (eieio-add-new-slot): Avoid union function from cl library. - (eieio--typep): New function. - (eieio-perform-slot-validation): Use it. - -2009-10-10 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark): - Update documentation to refer to the variables documented in r1.135. - (Bug#4188) - -2009-10-10 Karl Fogel <[email protected]> - - * bookmark.el (Info-suffix-list): Remove this unused variable. - (bookmark-current-point): Remove this obsolete variable. - (bookmark-set, bookmark-rename, bookmark-send-edited-annotation): - Adjust for removal of bookmark-current-point. - - (bookmarks-already-loaded, bookmark-current-buffer) - (bookmark-yank-point): Document. (Bug#4188) - -2009-10-10 Glenn Morris <[email protected]> - - * frame.el (frame-height): Doc fix. - - * calendar/calendar.el (calendar-split-width-threshold): New option. - (calendar-basic-setup): Use calendar-split-width-threshold. - -2009-10-10 Sascha Wilde <[email protected]> - - * cedet/ede/proj-shared.el (ede-proj-makefile-target-name): - Use .la for Automake. - -2009-10-09 Chong Yidong <[email protected]> - - * cedet/ede/pconf.el (ede-proj-configure-synchronize): - Use "autoreconf -i". Suggested by Andreas Schwab. - -2009-10-09 Juanma Barranquero <[email protected]> - - * international/mule-cmds.el (ucs-names): Exclude new "Enclosed - Ideographic Supplement" range (U+1F200..U+1F2FF). - -2009-10-09 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list, - since the list will have been rebuilt anyway. (Bug#4349) - -2009-10-09 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-delete): Don't let batch arg prevent saving. - (bookmark-bmenu-execute-deletions): Don't save here, as - bookmark-delete will now do so if necessary. - Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>. - (Bug#4348) - -2009-10-09 Glenn Morris <[email protected]> - - * mail/emacsbug.el (report-emacs-bug): Also print `features'. - -2009-10-09 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-jump): Add new `display-func' parameter. - (bookmark-jump-other-window): Just invoke bookmark-jump with new - argument now, so the two function's behaviors will match. (Bug#3645) - -2009-10-08 Chong Yidong <[email protected]> - - * cedet/ede/proj.el (project-make-dist, project-compile-project): - Fix filename test. - (ede-proj-dist-makefile): Use expand-file-name instead of concat - to expand file names. - -2009-10-08 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain) - (tramp-file-name-real-host, tramp-file-name-port): - Apply `save-match-data'. - - * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the - case both directories are remote. - (tramp-smb-handle-expand-file-name): Implement "~" expansion. - (tramp-smb-maybe-open-connection): Flush the cache only if necessary. - -2009-10-08 Chong Yidong <[email protected]> - - * cedet/ede/proj-obj.el (ede-gcc-linker): New var. - (ede-proj-target-makefile-objectcode): Use it. - - * cedet/ede/source.el (ede-want-any-source-files-p) - (ede-want-any-auxiliary-files-p, ede-want-any-files-p): - Return search result. This error was introduced while merging. - -2009-10-07 Juanma Barranquero <[email protected]> - - * makefile.w32-in (WINS_UPDATES): Fix typo in previous change. - -2009-10-07 Glenn Morris <[email protected]> - - * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use - of concat. - -2009-10-07 Stefan Monnier <[email protected]> - - * files-x.el (read-file-local-variable): Include some - non-user-variables in the completion table (bug#4664). - -2009-10-07 Michael Albinus <[email protected]> - - * net/tramp-cache.el (tramp-flush-connection-property): Add trace - message. - - * net/tramp-smb.el (tramp-smb-errors): Add error messages. - (tramp-smb-file-name-handler-alist): Add handler for - `copy-directory', `expand-file-name', `set-file-modes'. - (tramp-smb-handle-copy-directory) - (tramp-smb-handle-expand-file-name) - (tramp-smb-handle-set-file-modes): New defuns. - (tramp-smb-handle-copy-file): Handle KEEP-DATE. - (tramp-smb-handle-file-attributes): Simplify check for retrieving - entry. - (tramp-smb-handle-insert-directory): Don't flush the cache. - (tramp-smb-maybe-open-connection): Check for samba client and - server versions. - -2009-10-07 Eli Zaretskii <[email protected]> - - * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change - to not error out of search for "^lisp=" fails. - -2009-10-07 Juanma Barranquero <[email protected]> - - * makefile.w32-in (WINS_UPDATES): New macro. - (custom-deps, finder-data, autoloads): Use it. - -2009-10-07 Glenn Morris <[email protected]> - - * Makefile.in (autoloads): Revert previous change. - * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having - the list of preloaded files passed on the command-line, get - it from src/Makefile. - - * calendar/calendar.el (calendar-basic-setup): In the wide frame case, - show the original buffer rather than a random one. - -2009-10-07 Markus Rost <[email protected]> - - * help.el (describe-no-warranty): Place point in a slightly better - position in the GPLv3 text. - -2009-10-06 Sam Steingold <[email protected]> - - * net/tramp-compat.el (tramp-compat-process-running-p): Check that - the comm attribute is present before calling regexp-quote. - -2009-10-06 Juanma Barranquero <[email protected]> - - * play/animate.el (animate-string): For good effect, make sure - `indent-tabs-mode' and `show-trailing-whitespace' are nil. - - * play/animate.el (animate-sequence, animate-birthday-present): - * misc.el (butterfly): Don't set `indent-tabs-mode'. - -2009-10-06 Glenn Morris <[email protected]> - - * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix. - - * emacs-lisp/autoload.el (autoload-excludes): New variable. - (autoload-generate-file-autoloads): Skip files in autoload-excludes. - (batch-update-autoloads): Process a string value of autoload-excludes, - set during the build process. - * Makefile.in (autoloads): Skip preloaded files. (Bug#4446) - - * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call - inside with-parsed... macro so that `v' is defined. - - * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block): - * progmodes/fortran.el (fortran-end-of-block) - (fortran-beginning-of-block): - Also push mark in the macro case. - - * emerge.el (emerge-show-file-name): - * calc/calc.el (calc-quit): - * calc/calc-misc.el (calc-big-or-small): - * calc/calc-graph.el (calc-graph-view): - * calc/calc-ext.el (calc-reset): - * calendar/calendar.el (calendar-basic-setup): - Use window-full-height-p. - - * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type - header we don't understand, don't insert another. (Bug#4624) - If changing mime charset, insert the new one in the right place. - -2009-10-06 Matthew Junker <[email protected]> (tiny change) - - * calendar/cal-tex.el (cal-tex-cursor-month-landscape) - (cal-tex-cursor-month): Correctly increment the end date for diary and - holiday listing. (Bug#4626) - -2009-10-05 Stefan Monnier <[email protected]> - - * help-fns.el (describe-function-1): Don't burp if the function is not - a symbol. - -2009-10-05 Juanma Barranquero <[email protected]> - - * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart) - (chart-axis-range, chart-axis-names, chart-sequece, chart-bar) - (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist) - (chart-draw-line, chart-bar-quickie): Fix typos in docstrings. - - * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form) - (eieio-default-superclass): Reflow docstrings. - (this, class-option-assoc, defclass, eieio-class-un-autoload) - (eieio-unbind-method-implementations, defmethod) - (eieio-validate-slot-value, eieio-validate-class-slot-value) - (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default) - (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list) - (eieio-slot-originating-class-p, eieio-slot-name-index) - (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute) - (constructor, initialize-instance, no-next-method, object-print) - (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string): - Fix typos in docstrings. - (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric) - (child-of-class-p, object-slots, slot-boundp, slot-exists-p) - (next-method-p): Doc fixes. - (eieio-add-new-slot, call-next-method, eieiomt-add, change-class): - Fix typos in error messages. - (eieio-defmethod): Fix typo in description of generic method. - - * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound) - (eieio-persistent-save-interactive, slot-missing): - Fix typos in docstrings. - (eieio-instance-inheritor-slot-boundp): Doc fix. - - * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod) - (byte-compile-defmethod-param-convert): Fix typos in docstrings. - - * emacs-lisp/eieio-custom.el (eieio-done-customizing) - (eieio-custom-object-apply-reset): - Fix typos in docstrings and error messages. - - * emacs-lisp/eieio-datadebug.el (data-debug-show): - Fix typo in docstring. - - * emacs-lisp/eieio-opt.el (top): Fix typo in error message. - (eieio-browse-tree): Doc fix. - (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings. - (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map): - Fix typos in docstrings. - - * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix. - (eieio-speedbar-key-map, eieio-speedbar-create-engine) - (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children) - (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand): - Reflow docstrings. - -2009-10-05 Dan Nicolaescu <[email protected]> - - * vc-hg.el (log-view-vc-backend): Declare for compiler. - (vc-hg-outgoing-mode, vc-hg-incoming-mode): - Set log-view-vc-backend so that diff can work. - - * log-view.el (log-view-diff): Use vc-diff-internal instead of - vc-version-diff. - (vc-diff-internal): Autoload this instead of vc-version-diff. - -2009-10-05 Eli Zaretskii <[email protected]> - - * simple.el (eval-expression): Doc fix. - - * progmodes/cwarn.el (cwarn-mode): Doc fix. - -2009-10-05 Michael Albinus <[email protected]> - - * files.el (directory-files-no-dot-files-regexp): New defconst. - (delete-directory): Use it. - (copy-directory): Use it. Remove parameter PRESERVE-UID-GID. - - * net/tramp.el (tramp-verbose): Fix docstring. - (tramp-methods): Add recursive option to `tramp-copy-args'. - Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2", - "scp1_old", "scp2_old", "rsync", "rsyncc". - (tramp-default-method): Check also for `auth-source-user-or-password'. - (tramp-file-name-handler-alist, tramp-file-name-for-operation): - Add handler for `copy-directory'. - (tramp-handle-copy-directory): New defun. - (tramp-do-copy-or-rename-file-out-of-band): Handle directory case. - (tramp-handle-start-file-process): Raise an error when PROGRAM is nil. - Optimize sent command. - -2009-10-05 Stefan Monnier <[email protected]> - - * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar - window if necessary. - - * calendar/calendar.el (calendar-basic-setup): Don't call - switch-to-buffer in a dedicated window. - -2009-10-05 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-handle-bookmark): If bookmark has no file, - don't do anything related to relocating, just return nil. - (bookmark-error-no-filename): New error. - (bookmark-default-handler): Signal `bookmark-error-no-filename' if - bookmark has no file. Don't even attempt to handle things that - are not files; the whole point of custom handlers is to keep that - knowledge elsewhere anyway. Tighten some comments. - (bookmark-file-or-variation-thereof): Remove now-unused function. - (bookmark-location): Doc string fix. - (Bug#4250) - -2009-10-04 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark, - don't use a file dialog, because they usually don't know how to read - a directory target from the user. (Bug#4230) - Also, make sure the prompt can display directories as well as files. - -2009-10-04 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-set, bookmark-buffer-name): - Improve doc strings. (Bug#1193) - -2009-10-04 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record) - (bookmark-set-name, bookmark-prop-get, bookmark-prop-set) - (bookmark-get-annotation, bookmark-set-annotation) - (bookmark-get-filename, bookmark-set-filename, bookmark-get-position) - (bookmark-set-position, bookmark-get-front-context-string) - (bookmark-set-front-context-string, bookmark-get-rear-context-string) - (bookmark-set-rear-context-string, bookmark-location, bookmark-jump) - (bookmark-jump-other-window, bookmark-handle-bookmark) - (bookmark-relocate, bookmark-insert-location, bookmark-rename) - (bookmark-insert, bookmark-delete, bookmark-time-to-save-p) - (bookmark-edit-annotation-mode, bookmark-edit-annotation): - Improve doc strings to say whether bookmark can be a string or - a record or both, and make other consistency and clarity fixes. - (bookmark-get-handler, bookmark--jump-via, bookmark-write-file) - (bookmark-default-annotation-text, bookmark-yank-word) - (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist) - (bookmark-import-new-list, bookmark-maybe-rename) - (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames) - (bookmark-bmenu-bookmark): Give these doc strings. - (bookmark-bmenu-check-position): Give this a doc string, but also - add a FIXME comment about how the function may be pointless. - (bookmark-default-handler): Rework doc string and change a - parameter name, to clarify that this takes a bookmark record - not a bookmark name. - (bookmark-set): Change a parameter name to indicate its meaning, - and improve the doc string a bit. - (Bug#4188) - -2009-10-04 Karl Fogel <[email protected]> - - * bookmark.el (bookmark-alist): Document the new `handler' element - in the param alist. - (bookmark-make-record-function): Adjust documentation for above. - (Bug#4193) - -2009-10-04 Karl Fogel <[email protected]> - - * info.el (Info-bookmark-make-record): Document this function. - (Info-bookmark-jump): Document with a doc string, not just a comment. - (Bug#4203) - -2009-10-04 Chong Yidong <[email protected]> - - * cedet/semantic.el (semantic-new-buffer-setup-functions): New option. - (semantic-new-buffer-fcn): Call parser setup functions here. - (semantic-mode): Don't call parser setup functions here, it's done - in semantic-new-buffer-fcn now. - (semantic-mode): Parse all existing buffers when enabled. - - * cedet/srecode/compile.el (srecode-compile-file): - Call semantic-new-buffer-fcn if the buffer has not been parsed. - -2009-10-04 Chong Yidong <[email protected]> - - * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete. - - * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel. - (proj-comp-insert-variable-once): New macro, renamed from - ede-pmake-insert-variable-once in ede/pmake.edl. - (ede-proj-makefile-insert-variables): Use it. - -2009-10-04 Michael Albinus <[email protected]> - - * files.el (copy-directory): New defun. - - * dired-aux.el (dired-copy-file-recursive): Use it. - -2009-10-04 Juanma Barranquero <[email protected]> - - * cedet/ede/makefile-edit.el (makefile-beginning-of-command) - (makefile-end-of-command): - * cedet/srecode/srt-mode.el (semantic-beginning-of-context) - (semantic-end-of-context): Fix previous change. Doc fixes. - -2009-10-04 Juanma Barranquero <[email protected]> - - * files-x.el (modify-dir-local-variable) - (copy-dir-locals-to-file-locals-prop-line): - * cedet/ede/makefile-edit.el (makefile-beginning-of-command) - (makefile-end-of-command): - * cedet/semantic/lex.el (semantic-lex-token): - * cedet/semantic/analyze/fcn.el - (semantic-analyze-dereference-metatype-1): - * cedet/semantic/bovine/c.el (semantic-lex-cpp-define) - (semantic-lex-cpp-undef): - * cedet/semantic/wisent/wisent.el (wisent-skip-block): - * cedet/srecode/srt-mode.el (semantic-beginning-of-context) - (semantic-end-of-context): Fix typos in docstrings. - - * recentf.el (recentf-unload-function): New function. - -2009-10-04 Chong Yidong <[email protected]> - - * cedet/ede.el (ede-project-placeholder-cache-file): - * cedet/semantic/db-file.el (semanticdb-default-save-directory): - * cedet/srecode/map.el (srecode-map-save-file): - Use locate-user-emacs-file. Suggested by Juanma Barranquero. - -2009-10-04 Glenn Morris <[email protected]> - - * window.el (window-full-height-p): Add doc string. - -2009-10-04 Martin Rudalics <[email protected]> - - * window.el (window-full-height-p): New function. (Bug#4543) - -2009-10-03 Chong Yidong <[email protected]> - - * cedet/srecode/insert.el: Require srecode/args. - - * cedet/srecode/args.el: Require srecode/dictionary instead of - srecode/insert. - - * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix. - - * files.el (auto-mode-alist): Add .srt and Project.ede. - - * cedet/semantic.el (semantic-mode): - Handle srecode-template-mode-hook as well. - (semantic-mode): Use js-mode-hook for Javascript hook. - - * cedet/srecode/template.el: Remove hook variable. - - * cedet/ede/proj-comp.el: Require ede/pmake when compiling. - - * cedet/ede.el (ede-target-forms-menu): Don't enable if no - projects exist. - (ede-project-placeholder-cache-file): Default to a file in - user-emacs-directory. - - * cedet/srecode/map.el (srecode-map-base-template-dir): Look for - templates in data-directory. - (srecode-map-save-file): Default to a file in user-emacs-directory. - - * cedet/ede/srecode.el (ede-srecode-setup): Use default templates - directory. - -2009-09-30 Eric Ludlam <[email protected]> - - * cedet/semantic/util-modes.el (semantic-highlight-func-mode): - Doc fix. - - * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables): - Only insert each variable once. - - * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro. - (ede-pmake-insert-variable-shared): Use it. - - * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table - for lexical table iff table is nil. - -2009-10-03 Dan Nicolaescu <[email protected]> - - * vc.el: Remove commented out code. - (vc-derived-from-dir-mode): Remove, unused. - (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset. - -2009-10-03 Michael Albinus <[email protected]> - - * net/tramp-ftp.el (tramp-ftp-file-name-handler): - Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise, - there could be recursive loading when `default-directory' is a - remote file name. (Bug#4614) - -2009-10-03 Glenn Morris <[email protected]> - - * calendar/calendar.el (calendar-basic-setup): Handle the case where - the frame is wide. - (calendar-generate-window): Test for shrinkability rather than width. - - * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out - declaration, currently false. - - * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about - reusing existing buffers, in case we happen to visit two files with the - same basename. (Bug#4593) - -2009-10-02 Eli Zaretskii <[email protected]> - - * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR). - (WINS_CEDET_SUBDIRS): List of subdirectories of cedet. - (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in - subdirs of cedet as well. - (AUTOGENEL): Add loaddefs.el files in cedet subdirectories. - -2009-10-02 Stefan Monnier <[email protected]> - - * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): - Obey advertised-signature-table. - - * help-fns.el (help-function-arglist): Don't check - advertised-signature-table. - (describe-function-1): Do it here instead so it also applies to subrs. - -2009-10-02 Michael Albinus <[email protected]> - - * simple.el (start-file-process): Say in the doc-string, that file - handlers might not support pty association, if PROGRAM is nil. - - * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether - HOST and USER are strings. They are nil, when there are - incomplete entries in ~/.netrc, for example. - (ange-ftp-delete-directory): Implement RECURSIVE case. Change to - root directory ("device busy" error otherwise). - - * net/tramp-smb.el (tramp-smb-handle-make-directory-internal): - Flush file properties of created directory. - -2009-10-02 Eli Zaretskii <[email protected]> - - * makefile.w32-in (WINS_BASIC): Remove cedet. - (WINS_CEDET): Add cedet. - (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS). - -2009-10-02 Kevin Ryde <[email protected]> - - * net/browse-url.el (browse-url): Pass any symbol in - browse-url-browser-function to `apply', since if you've mistakenly put - an unbound symbol then the error is clearer. (Bug#4531) - -2009-10-02 Juanma Barranquero <[email protected]> - - * allout.el (allout-init, allout-back-to-current-heading) - (allout-beginning-of-current-entry, allout-ascend-to-depth) - (allout-ascend, allout-up-current-level, allout-end-of-level) - (allout-previous-visible-heading, allout-forward-current-level) - (allout-backward-current-level, allout-show-children): - * apropos.el (apropos-describe-plist): - * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list): - * comint.el (comint-strip-ctrl-m, comint-goto-process-mark): - * completion.el (add-completion, add-permanent-completion): - * descr-text.el (describe-text-category, describe-char): - * desktop.el (desktop-lazy-abort): - * dired-x.el (dired-omit-expunge, dired-x-bind-find-file): - * dired.el (dired-build-subdir-alist): - * ediff.el (ediff-version): - * elide-head.el (elide-head, elide-head-show): - * emerge.el (emerge-version): - * env.el (getenv): - * face-remap.el (variable-pitch-mode): - * faces.el (describe-face): - * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse) - (dired-at-point): - * files.el (find-file-existing, auto-save-mode): - * font-lock.el (font-lock-fontify-buffer): - * help-fns.el (describe-function, describe-variable) - (describe-syntax, describe-categories): - * help.el (view-lossage, describe-bindings, describe-key) - (describe-mode): - * hexl.el (hexl-current-address): - * hi-lock.el (hi-lock-mode, hi-lock-find-patterns): - * info.el (Info-goto-emacs-key-command-node): - * log-edit.el (log-edit-insert-cvs-template) - (log-edit-insert-cvs-rcstemplate): - * menu-bar.el (menu-bar-mode): - * mouse.el (mouse-appearance-menu): - * newcomment.el (comment-indent-new-line): - * pgg.el (pgg-save-coding-system, pgg-encrypt-region) - (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric) - (pgg-encrypt, pgg-decrypt-region, pgg-decrypt) - (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify): - * recentf.el (recentf-mode): - * savehist.el (savehist-mode, savehist-save): - * shadowfile.el (shadow-copy-files): - * simple.el (kill-ring-save, next-line, previous-line) - (normal-erase-is-backspace-mode): - * strokes.el (strokes-update-window-configuration) - (strokes-load-user-strokes, strokes-prompt-user-save-strokes) - (strokes-xpm-for-stroke): - * time.el (emacs-uptime, emacs-init-time): - * tutorial.el (tutorial--describe-nonstandard-key) - (tutorial--detailed-help): - * type-break.el (type-break-mode) - (type-break-mode-line-message-mode, type-break-query-mode) - (type-break-guesstimate-keystroke-threshold): - * vc.el (vc-version-diff, vc-diff, vc-root-diff): - * version.el (emacs-version): - * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock): - * winner.el (winner-mode): - * calendar/timeclock.el (timeclock-in, timeclock-out) - (timeclock-status-string, timeclock-change) - (timeclock-workday-remaining-string) - (timeclock-workday-elapsed-string) - (timeclock-when-to-leave-string): - * calendar/todo-mode.el (todo-add-category): - * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp): - * emacs-lisp/autoload.el (update-file-autoloads): - * emacs-lisp/checkdoc.el (checkdoc-current-buffer) - (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces) - (checkdoc-message-text, checkdoc-defun): - * emacs-lisp/debug.el (debugger-list-functions): - * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): - * emacs-lisp/eieio-opt.el (eieio-describe-class) - (eieio-describe-generic): - * emacs-lisp/lisp-mnt.el (lm-synopsis): - * emacs-lisp/shadow.el (list-load-path-shadows): - * emulation/cua-base.el (cua-mode): - * emulation/edt.el (edt-set-scroll-margins): - * emulation/tpu-edt.el (tpu-toggle-newline-and-indent) - (tpu-toggle-regexp, tpu-toggle-search-direction) - (tpu-toggle-rectangle, tpu-toggle-control-keys): - * emulation/tpu-extras.el (tpu-set-scroll-margins): - * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros) - (viper-set-parsing-style-toggling-macro) - (viper-set-emacs-state-searchstyle-macros): - * emulation/viper.el (viper-set-hooks): - * eshell/esh-mode.el (eshell-truncate-buffer): - * international/mule-cmds.el (prefer-coding-system) - (describe-input-method, describe-language-environment): - * international/mule-diag.el (list-character-sets) - (describe-character-set, describe-coding-system) - (describe-fontset, list-fontsets, list-input-methods): - * mail/sendmail.el (mail-signature): - * net/ange-ftp.el (ange-ftp-copy-file): - * net/browse-url.el (browse-url): - * net/eudc.el (eudc-set-server, eudc-get-attribute-list): - * net/quickurl.el (quickurl-add-url): - * net/rcirc.el (names, topic): - * net/xesam.el (xesam-mode): - * play/5x5.el (5x5-new-game): - * play/yow.el (apropos-zippy): - * progmodes/ada-mode.el (ada-mode-version): - * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram) - (f90-end-of-block) - (f90-beginning-of-block): - * progmodes/fortran.el (fortran-end-of-block) - (fortran-beginning-of-block): - * progmodes/js.el (js-syntactic-context, js-gc, js-eval): - * progmodes/python.el (python-describe-symbol, python-shell): - * term/ns-win.el (ns-print-buffer): - * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url): - * textmodes/flyspell.el (flyspell-mode-on): - * textmodes/page-ext.el (set-page-delimiter, pages-directory) - (pages-directory-for-addresses): - * textmodes/table.el (table-recognize-cell) - (table-query-dimension, table-generate-source) - (table-insert-sequence, table--warn-incompatibility): - * textmodes/tex-mode.el (tex-validate-buffer): - * textmodes/texinfmt.el (texinfmt-version) - (texinfo-format-buffer): - Use `called-interactively-p' instead of `interactive-p'. - -2009-10-02 Juanma Barranquero <[email protected]> - - * image-mode.el (image-toggle-display): - * emacs-lisp/elp.el (elp-instrument-function): - * emacs-lisp/advice.el (ad-make-advised-definition): - * emacs-lisp/easy-mmode.el (define-minor-mode): - * net/browse-url.el (browse-url-maybe-new-window): - * progmodes/sh-script.el (sh-learn-buffer-indent): - Pass new argument 'any to `called-interactively-p'. - -2009-10-01 Juanma Barranquero <[email protected]> - - * international/uni-bidi.el: - * international/uni-category.el: - * international/uni-combining.el: - * international/uni-comment.el: - * international/uni-decimal.el: - * international/uni-decomposition.el: - * international/uni-digit.el: - * international/uni-lowercase.el: - * international/uni-mirrored.el: - * international/uni-name.el: - * international/uni-numeric.el: - * international/uni-old-name.el: - * international/uni-titlecase.el: - * international/uni-uppercase.el: - Regenerate from Unicode 5.2.0 data. - -2009-10-01 Glenn Morris <[email protected]> - - * Makefile.in (ELCFILES): Regenerate. - -2009-10-01 Stefan Monnier <[email protected]> - - * subr.el (interactive-p): Mark obsolete. - (called-interactively-p): Make the optional-ness of `kind' obsolete. - * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey - advertised-signature-table for subroutines as well. - - * emacs-lisp/byte-run.el (advertised-signature-table): New var. - (set-advertised-calling-convention): New function. - (make-obsolete, define-obsolete-function-alias) - (make-obsolete-variable, define-obsolete-variable-alias): - Make the optional-ness of `when' obsolete. - (define-obsolete-face-alias): Make `when' non-optional. - * help-fns.el (help-function-arglist): - * emacs-lisp/bytecomp.el (byte-compile-fdefinition): - Use advertised-signature-table. - -2009-10-01 Michael Albinus <[email protected]> - - * files.el (delete-directory): New defun. The original function - in fileio.c has been renamed to `delete-directory-internal'. - - * dired.el (dired-delete-file): Call `delete-directory' with - RECURSIVE parameter. - - * net/ange-ftp.el (ange-ftp-delete-directory): Add optional - parameter RECURSIVE. Implementation is missing. - - * net/tramp.el (tramp-handle-make-directory): Flush upper - directory's file properties. - (tramp-handle-delete-directory): Handle optional parameter RECURSIVE. - (tramp-handle-dired-recursive-delete-directory): Flush directory - properties after the remove command only. - - * net/tramp-fish.el (tramp-fish-handle-delete-directory): - Handle optional parameter RECURSIVE. - - * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): - Handle optional parameter RECURSIVE. - - * net/tramp-smb.el (tramp-smb-errors): Add error message for - connection timeout. - (tramp-smb-handle-delete-directory): Handle optional parameter - RECURSIVE. - -2009-10-01 Stefan Monnier <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun. - (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it. - (byte-compile-defmacro): Use backquotes. - - * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599). - - * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which - has no associated file. - (vc-resynch-buffer): Use vc-dir-buffers. - -2009-10-01 Glenn Morris <[email protected]> - - * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie) - (chart-file-count): - * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert): - * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button): - * emacs-lisp/eieio-opt.el (eieio-describe-class): - * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create): - * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload) - (eieio-copy-parents-into-subclass, make-instance, class-children) - (eieio-generic-form): - * cedet/cedet-files.el (cedet-directory-name-to-file-name): - * cedet/cedet-idutils.el (cedet-idutils-search) - (cedet-idutils-expand-filename, cedet-idutils-support-for-directory) - (cedet-idutils-version-check): - * cedet/cedet.el (cedet-version): - * cedet/data-debug.el (data-debug-insert-overlay-button) - (data-debug-insert-overlay-list-button) - (data-debug-insert-buffer-button) - (data-debug-insert-buffer-list-button) - (data-debug-insert-process-button, data-debug-insert-ring-button) - (data-debug-insert-widget, data-debug-insert-stuff-list-button) - (data-debug-insert-stuff-vector-button) - (data-debug-insert-symbol-button, data-debug-insert-string) - (data-debug-insert-number, data-debug-insert-lambda-expression) - (data-debug-insert-nil, data-debug-insert-simple-thing) - (data-debug-insert-custom, data-debug-edebug-expr): - * cedet/ede.el (ede-auto-add-method, ede-project-class-files) - (global-ede-mode-map, ede-new, ede-debug-target) - (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set): - * cedet/semantic.el (semantic-minimum-working-buffer-size) - (semantic-fetch-tags, semantic-submode-list) - (semantic-default-submodes): - * cedet/ede/source.el (ede-source-match): - * cedet/ede/project-am.el (project-am-type-alist, project-add-file) - (project-am-package-info): - * cedet/ede/proj.el (ede-proj-target, project-new-target): - * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf): - * cedet/ede/proj-comp.el (ede-current-build-list): - * cedet/ede/makefile-edit.el (makefile-move-to-macro): - * cedet/ede/files.el (ede-toplevel-project-or-nil): - * cedet/ede/cpp-root.el (initialize-instance): - * cedet/ede/autoconf-edit.el (autoconf-find-last-macro) - (autoconf-parameter-strip, autoconf-insert-new-macro): - * cedet/semantic/wisent.el (wisent-lex-eoi): - * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode) - (semantic-show-parser-state-mode): - * cedet/semantic/texi.el (semantic-texi-environment-regexp): - * cedet/semantic/tag.el (semantic-tag-new-variable) - (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy) - (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value) - (semantic--tag-deep-copy-tag-list) - (semantic-tag-components-with-overlays-default): - * cedet/semantic/symref.el (semantic-symref-find-text): - * cedet/semantic/senator.el (senator-yank-tag) - (senator-transpose-tags-up): - * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default) - (semantic-analyze-scoped-inherited-tags, semantic-scope-find): - * cedet/semantic/sb.el (semantic-sb-autoexpand-length): - * cedet/semantic/lex.el (semantic-lex-comment-regex) - (semantic-lex-maximum-depth, define-lex, semantic-lex-token) - (semantic-lex-unterminated-syntax-protection, define-lex-analyzer): - * cedet/semantic/lex-spp.el - (semantic-lex-spp-dynamic-macro-symbol-obarray-stack) - (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt): - * cedet/semantic/idle.el - (semantic-idle-summary-current-symbol-info-brutish) - (semantic-idle-summary-current-symbol-info-default): - * cedet/semantic/grammar.el (semantic-grammar-recreate-package) - (semantic--grammar-macro-compl-dict): - * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table): - * cedet/semantic/format.el (semantic-format-tag-custom-list) - (semantic-format-tag-canonical-name-default): - * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region) - (semantic-find-tags-for-completion) - (semantic-find-tags-by-scope-protection-default) - (semantic-deep-find-tags-for-completion): - * cedet/semantic/edit.el - (semantic-edits-incremental-reparse-failed-hook) - (semantic-edits-verbose-flag, semantic-edits-assert-valid-region) - (semantic-edits-splice-remove, semantic-edits-splice-replace): - * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag): - * cedet/semantic/dep.el (semantic-dependency-include-path): - * cedet/semantic/db.el (semanticdb-default-find-index-class) - (semanticdb-match-any-mode, semanticdb-with-match-any-mode) - (semanticdb-project-roots): - * cedet/semantic/db-find.el (semanticdb-implied-include-tags) - (semanticdb-find-adebug-insert-scanned-tag-cons) - (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc) - (semanticdb-brute-deep-find-tags-for-completion): - * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table): - * cedet/semantic/ctxt.el (semantic-beginning-of-context-default) - (semantic-end-of-context-default) - (semantic-ctxt-current-function-default) - (semantic-ctxt-scoped-types-default): - * cedet/semantic/complete.el (semantic-complete-read-tag-engine) - (semantic-complete-inline-tag-engine) - (semantic-complete-inline-custom-type) - (semantic-complete-read-tag-analyzer): - * cedet/semantic/chart.el (semantic-chart-tags-by-class) - (semantic-chart-database-size): - * cedet/semantic/analyze.el (semantic-analyze-current-symbol) - (semantic-analyze-current-context): - * cedet/semantic/symref/list.el (semantic-symref) - (semantic-symref-hide-buffer, semantic-symref-symbol): - * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template): - * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region): - * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string): - * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map) - (semantic-c-parse-token-hack-depth, semantic-c--template-name-1) - (semantic-c-dereference-template): - * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup) - (semantic--analyze-refs-full-lookup-with-parents) - (semantic--analyze-refs-full-lookup-simple): - * cedet/semantic/analyze/complete.el - (semantic-analyze-possible-completions): - * cedet/srecode/table.el (srecode-mode-table-new): - * cedet/srecode/srt.el (srecode-read-variable-name): - * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p): - * cedet/srecode/semantic.el (srecode-semantic-handle-:tag) - (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag): - * cedet/srecode/map.el (srecode-current-map): - * cedet/srecode/insert.el (srecode-insert) - (srecode-insert-variable-secondname-handler, srecode-insert-method) - (srecode-template-inserter-point-override) - (srecode-insert-include-lookup): - * cedet/srecode/getset.el (srecode-auto-choose-class): - * cedet/srecode/extract.el (srecode-inserter-extract): - * cedet/srecode/document.el - (srecode-document-autocomment-return-last-alist) - (srecode-document-autocomment-param-type-alist) - (srecode-document-insert-function-comment) - (srecode-document-insert-variable-one-line-comment) - (srecode-document-function-name-comment): - * cedet/srecode/dictionary.el (srecode-create-dictionary) - (srecode-compound-toString): - * cedet/srecode/compile.el (srecode-flush-active-templates): - * cedet/srecode/args.el (srecode-semantic-handle-:blank): - Doc/message fixes. - - * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the - match-data. (Bug#4555). - - * cedet/semantic/bovine/gcc.el - (semantic-c-reset-preprocessor-symbol-map): Fix declaration. - (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes. - - * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration - rather than parsing it as a regexp. This relaxes the layout - requirements and makes errors easier to detect. - (check-declare-verify): Check file is regular. - (check-declare-directory): Doc fix. - * subr.el (declare-function): Doc fix. - - * ibuffer.el (ibuffer-format-qualifier): - * isearch.el (hi-lock-regexp-okay): - * calc/calc.el (math-zerop): - * mail/uce.el (rmail-msgbeg, rmail-msgend): - * term/w32-win.el (setup-default-fontset, set-fontset-font): - Remove unused declarations. - -2009-10-01 Juanma Barranquero <[email protected]> - - * cedet/semantic/wisent/javat-wy.el - (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@. - -2009-09-30 Juanma Barranquero <[email protected]> - - * cedet/srecode/expandproto.el: Fix provide statement. - -2009-09-30 Eric Ludlam <[email protected]> - - * emacs-lisp/eieio.el (boolean-p): Delete. - -2009-09-30 Sascha Wilde <[email protected]> - - * cedet/ede/srecode.el: Fix provide statement. - -2009-09-30 Glenn Morris <[email protected]> - - * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous): - * cedet/ede/proj-aux.el (ede-aux-source): - * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous) - (ede-misc-source): - * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read) - (semantic-mrub-switch-tags): Fix doc typos. - - * cedet/semantic/db-global.el (data-debug-new-buffer) - (data-debug-insert-thing): Remove unneeded declarations (one broken). - (semanticdb-enable-gnu-global-databases): Fix prompt typo. - - * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration. - - * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime - use of CL function `remove-if-not'. - - * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el". - - * emacs-lisp/elint.el (elint-init-form): Report declarations where the - filename is not a string. - -2009-09-29 Chong Yidong <[email protected]> - - * files.el (safe-local-eval-forms): Fix typo. - -2009-09-29 Stefan Monnier <[email protected]> - - * vc-hooks.el (vc-dir-buffers): New var. - (vc-state-refresh): New function. - (vc-state): Use it. - (vc-after-save): Always ask the backend to recompute the new state. - Always call vc-dir if necessary, using vc-dir-buffers. - * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file): - Use vc-dir-buffers. - (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook. - (vc-dir-prepare-status-buffer, vc-dir-update) - (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode): - Don't call expand-file-name on default-directory. - -2009-09-29 Juanma Barranquero <[email protected]> - - * speedbar.el (speedbar-item-delete): - * calc/calc-prog.el (calc-kbd-if): - * language/hanja-util.el (hanja-init-load): Fix typos in messages. - - * epa.el (epa-key-list-mode-map): - * hi-lock.el (hi-lock-menu): Fix typos in menus. - - * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring. - (hs-show-hook): Fix typo in docstring. - -2009-09-29 Glenn Morris <[email protected]> - - * cedet/semantic/symref/idutils.el: - * cedet/semantic/symref/list.el: Relicense under GPLv3+. - - * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration. - - * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p): - * cedet/semantic/tag-file.el (semanticdb-table-child-p): - * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p): - Mark declarations not understood by check-declare. - - * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless - file-name-nondirectory call preventing location of cedet files. - (check-declare-verify): Use literal search rather than re-search. - Add basic defmethod and defclass, and define-overloadable-function. - - * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes): - Use tramp-compat-file-attributes rather than nonexistent - tramp-compat-handle-file-attributes. - - * Makefile.in (lisptagsfiles4): New. - (AUTOGENEL): Add cedet loaddefs files. - (TAGS, TAGS-LISP): Use $lisptagsfiles4. - (update-elclist, compile-always, backup-compiled-files) - (bootstrap-clean): Add yet another directory level. - (update-elclist): Use LC_COLLATE rather than COLLATE. - (ELCFILES): Update, via `make update-elclist'. - -2009-09-29 Juanma Barranquero <[email protected]> - - * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros. - (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET. - (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST. - -2009-09-28 Andreas Schwab <[email protected]> - - * Makefile.in (lisptagsfiles3): Define. - (TAGS, TAGS-LISP): Use it. - (update-elclist): Add third directory level to look for elc files. - (compile-always): Likewise. - (backup-compiled-files): Likewise. - (bootstrap-clean): Likewise. - (ELCFILES): Update. - -2009-09-28 Chong Yidong <[email protected]> - - * Makefile.in (ELCFILES): Add CEDET files. - -2009-09-28 Eric Ludlam <[email protected]> - - CEDET (development tools) package merged. - - * cedet/*.el: - * cedet/ede/*.el: - * cedet/semantic/*.el: - * cedet/srecode/*.el: New files. - -2009-09-28 Michael Albinus <[email protected]> - - * Makefile.in (ELCFILES): Add net/tramp-imap.elc. - - * net/tramp.el (top): Require tramp-imap. - - * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes): - Use `tramp-compat-handle-file-attributes'. - -2009-09-28 Teodor Zlatanov <[email protected]> - - * net/tramp-imap.el: New package. - -2009-09-28 Eric Ludlam <[email protected]> - - * emacs-lisp/chart.el: - * emacs-lisp/eieio-base.el: - * emacs-lisp/eieio-comp.el: - * emacs-lisp/eieio-custom.el: - * emacs-lisp/eieio-datadebug.el: - * emacs-lisp/eieio-opt.el: - * emacs-lisp/eieio-speedbar.el: - * emacs-lisp/eieio.el: New files. - - * cedet/cedet-cscope.el: - * cedet/cedet-files.el: - * cedet/cedet-global.el: - * cedet/cedet-idutils.el: - * cedet/data-debug.el: - * cedet/inversion.el: - * cedet/mode-local.el: - * cedet/pulse.el: New files. - -2009-09-27 Vinicius Jose Latorre <[email protected]> - - * whitespace.el (whitespace-trailing-regexp) - (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp): - Fix doc string. - -2009-09-27 Chong Yidong <[email protected]> - - * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools - menu. - - * ediff-hook.el: Move menu-bar-ediff-misc-menu into - menu-bar-ediff-menu. - - * emacs-lisp/lisp-mode.el: Add doc-string-elt property to - define-overloadable-function. - - * progmodes/autoconf.el: Provide autoconf as well, so that this - file can be `require'd. - - * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs. - - * emacs-lisp/autoload.el (generated-autoload-feature) - (generated-autoload-load-name): New vars. - (autoload-rubric, autoload-generate-file-autoloads): Use them. - (make-autoload): Recognize define-overloadable-function and - defclass forms (for EIEIO). - - * Makefile.in (update-subdirs): Exclude cedet directory. - -2009-09-27 Adrian Robert <[email protected]> - - * term/ns-win.el: Don't set the region face background. (Bug#4381) - - * faces.el: Default light-background background for region face to - ns_selection_color under NS. - -2009-09-27 Teodor Zlatanov <[email protected]> - - * net/imap-hash.el: New library, see NEWS. - - * Makefile.in (ELCFILES): Add imap-hash.el. - -2009-09-27 Stefan Monnier <[email protected]> - - * help.el (help-for-help-internal): Don't purecopy the text (bug#4560). - * isearch.el (isearch-help-for-help-internal): Purecopy the second arg. - * help-macro.el (make-help-screen): Avoid using an ambiguous function - definition where the docstring could be taken for the return value. - -2009-09-26 Glenn Morris <[email protected]> - - * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler): - Add option to only show images below a certain size. - (rmail-mime-multipart-handler): Remove unnecessary save-match-data and - save-excursion calls. - -2009-09-26 Eli Zaretskii <[email protected]> - - * makefile.w32-in (WINS_ALMOST): Add cedet (with its - subdirectories) and eieio. - -2009-09-26 Alan Mackenzie <[email protected]> - - * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct - buggy bracketing. (Bug#4289) - - * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted - character constants (as case labels). (Bug#4289) - -2009-09-25 Juri Linkov <[email protected]> - - * files.el (safe-local-eval-forms): Allow time-stamp in - before-save-hook (Bug#4554). - -2009-09-25 Drew Adams <[email protected]> - - * menu-bar.el (list-buffers-directory): Doc fix. - -2009-09-25 Stefan Monnier <[email protected]> - - * log-edit.el (log-edit-changelog-entries): Avoid inf-loops. - Try and avoid copying twice the same paragraph. - (log-edit-changelog-paragraph, log-edit-changelog-subparagraph): - Remove save-excursion. - (log-edit-changelog-entry): Do it here instead. - -2009-09-25 Juanma Barranquero <[email protected]> - - * bs.el (bs--get-file-name): Use `list-buffers-directory' - when available, instead of hardcoding mode names. Doc fix. - - * menu-bar.el (list-buffers-directory): Add docstring. - Make automatically buffer-local. - - * dired.el (dired-mode): - * files.el (cd-absolute): - * pcvs.el (cvs-temp-buffer): - * pcvs-util.el (cvs-get-buffer-create): - * shell.el (shell-mode): - * vc-dir.el (vc-dir-mode): - Don't make `list-buffers-directory' buffer local. - -2009-09-25 Devon Sean McCullough <[email protected]> - - * comint.el (comint-exec, comint-run, make-comint): - Doc fixes (Bug#4542). - -2009-09-25 Glenn Morris <[email protected]> - - * mail/rmailmm.el (rmail-mime): New custom group. - Move all defcustoms in this file into this group. - (rmail-mime-media-type-handlers-alist): Revert previous change. - (rmail-mime-show-images): New option. - (rmail-mime-total-number-of-bulk-attachments): Remove variable and all - references to it, since it wasn't actually used for anything. - (rmail-mime-insert-image): New function. - (rmail-mime-image): Use rmail-mime-insert-image. - (rmail-mime-bulk-handler): Remove optional `image' argument, instead - obey the value of `rmail-mime-show-images' option. Print the size of - attachments. - -2009-09-25 David Engster <[email protected]> - - * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548) - -2009-09-24 Vinicius Jose Latorre <[email protected]> - - * whitespace.el: Does not highlight trailing spaces While point is - at end of line. Does not highligt spaces at beginning of buffer - while point is at beginning of buffer. Does not highlight spaces - at end of buffer while point is at end of buffer. (Bug#4177) - New version 12.0. - (whitespace-display-mappings): Adjust initialization. - (whitespace-point, whitespace-font-lock-refontify): New vars. - (whitespace-color-on, whitespace-color-off): Adjust code. - (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp) - (whitespace-empty-at-eob-regexp, whitespace-space-regexp) - (whitespace-tab-regexp, whitespace-post-command-hook): New funs. - -2009-09-24 Chong Yidong <[email protected]> - - * nxml/nxml-mode.el: Alias xml-mode to nxml-mode. - - * textmodes/sgml-mode.el: Remove xml-mode alias. - - * files.el (auto-mode-alist, conf-mode-maybe) - (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes. - -2009-09-24 Alan Mackenzie <[email protected]> - - * progmodes/cc-cmds.el (c-scan-conditionals): A new function like - c-forward-conditionals, but it doesn't move point and doesn't set - the mark. - (c-up-conditional, c-up-conditional-with-else, c-down-conditional) - (c-down-conditional-with-else, c-backward-conditional) - (c-forward-conditional): Refactor to use c-scan-conditionals. - -2009-09-24 Juanma Barranquero <[email protected]> - - * help-fns.el (help-downcase-arguments): New option, defaulting to nil. - (help-default-arg-highlight): Remove. - (help-highlight-arg): New function. - (help-do-arg-highlight): Use it. - Suggested by Drew Adams <[email protected]>. (Bug#4510, bug#4520) - -2009-09-24 Stefan Monnier <[email protected]> - - * term.el (term-set-scroll-region, term-handle-ansi-escape): - Undo last change, which didn't fix the problem and introduced others. - -2009-09-24 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el: Don't require speedbar. - (gdb-jsonify-buffer): Handle case where "=" is part of value string. - -2009-09-24 Glenn Morris <[email protected]> - - * calendar/diary-lib.el (diary-fancy-display): Always run the hook. - - * term/ns-win.el (ns-reg-to-script): Define for compiler. - - * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where - there is no newline after the final mime boundary. (Bug#4539) - Move markers on insertion so that any buttons inserted don't end up in - the next part of a multipart message. - (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler. - (rmail-mime-bulk-handler): Optionally handle images. - (rmail-mime-image): New button action. - (rmail-mime-image-handler): New function. - (rmail-mime-mode): New mode. - (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock). - -2009-09-24 Stefan Monnier <[email protected]> - - * minibuffer.el (minibuffer-force-complete): Cycle the list, rather - than just dropping elements from it (bug#4504). - - * term.el (term-set-scroll-region): Don't move cursor any more. - (term-handle-ansi-escape): Call term-goto here instead. - Suggested by Ivan Kanis <[email protected]>. - - * term.el: Require CL. - (term-ansi-reset): New function. - (term-mode, term-emulate-terminal, term-handle-colors-array): Use it. - (term-handle-colors-array): Simplify. - -2009-09-24 Juanma Barranquero <[email protected]> - - * allout.el (allout-overlay-interior-modification-handler) - (allout-obtain-passphrase): - * epa-file.el (epa-file-write-region): - * ps-print.el (ps-begin-job): - * vc-hooks.el (vc-toggle-read-only): - * vc-rcs.el (vc-rcs-rollback): - * vc-sccs.el (vc-sccs-rollback): - * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with) - (vc-version-diff, vc-revert, vc-rollback): - * wdired.el (wdired-check-kill-buffer): - * emacs-lisp/authors.el (authors): - * net/socks.el (socks-open-connection): - * net/zeroconf.el (zeroconf-service-add-hook): - * obsolete/vc-mcvs.el (vc-mcvs-register): - * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command) - (gdb-select-frame): - * progmodes/grep.el (lgrep, rgrep): - * progmodes/idlw-help.el (idlwave-help-check-locations) - (idlwave-help-html-link, idlwave-help-assistant-open-link): - * textmodes/ispell.el (ispell-find-aspell-dictionaries): - * textmodes/reftex-toc.el (reftex-toc-promote-prepare) - (reftex-toc-rename-label): Fix typos in error messages. - - * dired-aux.el (dired-do-shell-command): Reflow docstring. - (dired-copy-how-to-fn): Doc fix. - (dired-files-attributes, dired-read-shell-command): - Fix typos in docstrings. - - * dired-x.el (dired-enable-local-variables, dired-filename-at-point) - (dired-x-find-file-other-window): Reflow docstrings. - (dired-omit-marker-char, dired-read-shell-command) - (dired-x-submit-report): Fix typos in docstrings. - - * shell.el (shell-mode-hook): - * view.el (View-scroll-line-forward): - * progmodes/inf-lisp.el (inferior-lisp-mode-hook): - Fix typos in docstrings. - - * net/dig.el (dig-invoke): Fix typo in docstring. - (query-dig): Reflow docstring. - - * progmodes/idlwave.el (idlwave-create-user-catalog-file) - (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes. - (idlwave-abbrev-move, idlwave-auto-routine-info-updates) - (idlwave-begin-block-reg, idlwave-begin-unit-reg) - (idlwave-beginning-of-subprogram, idlwave-block-jump-out) - (idlwave-block-match-regexp, idlwave-calculate-paren-indent) - (idlwave-check-abbrev, idlwave-class-file-or-buffer) - (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer) - (idlwave-completion-map, idlwave-current-indent) - (idlwave-custom-ampersand-surround, idlwave-customize) - (idlwave-default-font-lock-items, idlwave-default-insert-timestamp) - (idlwave-define-abbrev, idlwave-determine-class-special) - (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification) - (idlwave-end-block-reg, idlwave-end-of-statement) - (idlwave-end-of-statement0, idlwave-end-of-subprogram) - (idlwave-end-unit-reg, idlwave-entry-find-keyword) - (idlwave-explicit-class-listed, idlwave-file-header) - (idlwave-fill-paragraph, idlwave-find-class-definition) - (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab) - (idlwave-idlwave_routine_info-compiled, idlwave-in-comment) - (idlwave-in-quote, idlwave-indent-action-table) - (idlwave-indent-expand-table, idlwave-indent-line) - (idlwave-indent-subprogram, idlwave-indent-to-open-paren) - (idlwave-is-comment-line, idlwave-is-comment-or-empty-line) - (idlwave-is-continuation-line, idlwave-is-pointer-dereference) - (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at) - (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table) - (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment) - (idlwave-outlawed-buffers, idlwave-popup-select) - (idlwave-previous-statement, idlwave-rescan-catalog-directories) - (idlwave-routine-entry-compare, idlwave-routine-info.pro) - (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info) - (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name) - (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target) - (idlwave-statement-type, idlwave-struct-skip) - (idlwave-substitute-link-target, idlwave-toggle-comment-region) - (idlwave-update-current-buffer-info, idlwave-use-library-catalogs) - (idlwave-what-module-find-class): Fix typos in docstrings. - (idlwave-all-method-classes, idlwave-calc-hanging-indent) - (idlwave-calculate-cont-indent, idlwave-expand-equal) - (idlwave-find-module, idlwave-find-structure-definition) - (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location) - (idlwave-list-load-path-shadows, idlwave-next-statement) - (idlwave-routine-entry-compare-twins, idlwave-routine-info) - (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match) - (idlwave-template): Reflow docstrings. - - * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix. - (idlwave-shell-batch-command, idlwave-shell-bp-alist) - (idlwave-shell-bp-get, idlwave-shell-bp-overlays) - (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer) - (idlwave-shell-display-line, idlwave-shell-display-wframe) - (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select) - (idlwave-shell-file-name-chars, idlwave-shell-filter-bp) - (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re) - (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe) - (idlwave-shell-mode-hook, idlwave-shell-mode-line-info) - (idlwave-shell-mode-map, idlwave-shell-module-source-filter) - (idlwave-shell-mouse-help, idlwave-shell-mouse-print) - (idlwave-shell-pc-frame, idlwave-shell-pending-commands) - (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay) - (idlwave-shell-scan-for-state, idlwave-shell-send-command) - (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output) - (idlwave-shell-shell-command, idlwave-shell-sources-alist) - (idlwave-shell-sources-bp, idlwave-shell-sources-filter) - (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph) - (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle): - Fix typos in docstrings. - (idlwave-shell-bp, idlwave-shell-clear-current-bp) - (idlwave-shell-hide-output, idlwave-shell-mode) - (idlwave-shell-run-region, idlwave-shell-set-bp-in-module): - Reflow docstrings. - - * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name. - -2009-09-24 Ivan Kanis <[email protected]> - - * term.el (term-bold-attribute): New var. - (term-handle-colors-array): Use it. - -2009-09-23 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-version): New variable. - (gdb-non-stop-handler): Set gdb-version. - (gdb-gud-context-command, gdb-current-context-command, gdb-stopped): - Condition "--thread" option on gdb-version. - (gdb-invalidate-threads): Remove unused argument. - -2009-09-23 Stefan Monnier <[email protected]> - - * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args - to looking-back to avoid ridiculous slow down in large files (bug#4511). - -2009-09-23 Glenn Morris <[email protected]> - - * mail/rmail.el (rmail-reply): Don't try to add a References header when - replying to mail without References or Message-Id. (Bug#4525) - -2009-09-23 Adrian Robert <[email protected]> - - * term/ns-win.el (ns-reg-to-script): New variable. - -2009-09-23 Daiki Ueno <[email protected]> - - * epg.el (epg-wait-for-status): Preserve existing 'error results. - -2009-09-22 Sam Steingold <[email protected]> - - * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing. - (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command' - to 1 because hg returns status 1 when nothing is found. - Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'. - -2009-09-22 Stefan Monnier <[email protected]> - - * textmodes/fill.el: Convert to utf-8 encoding. - (fill-french-nobreak-p): Remove redundant » and « inherited from our - pre-Unicode days. - - * add-log.el (change-log-fill-forward-paragraph): New function. - (change-log-mode): Use it so fill-region DTRT. - Set fill-indent-according-to-mode here rather than in - change-log-fill-paragraph. - (change-log-fill-paragraph): Remove. - -2009-09-22 Juanma Barranquero <[email protected]> - - * info.el (Info-try-follow-nearest-node): Use the URL extracted by - `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508) - -2009-09-22 Glenn Morris <[email protected]> - - * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on - the scroll-bar scroll the calendar window rather than the buffer. - - * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with - commands that move point (as opposed to scrolling). - - * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler. - - * emacs-lisp/elint.el (elint): New custom group. - (elint-log-buffer): Make it a defcustom. - (elint-scan-preloaded, elint-ignored-warnings) - (elint-directory-skip-re): New options. - (elint-builtin-variables): Doc fix. - (elint-preloaded-env): New variable. - (elint-unknown-builtin-args): Add an entry for encode-time. - (elint-extra-errors): Make it a variable rather than a constant. - (elint-preloaded-skip-re): New constant. - (elint-directory): Skip files matching elint-directory-skip-re. - (elint-features): New variable, local to linted buffers. - (elint-update-env): Initialize elint-features. Possibly add - elint-preloaded-env to the buffer's environment. - (elint-get-top-forms): Bind elint-current-pos, for log messages. - Skip quoted forms. - (elint-init-form): New function, extracted from elint-init-env. - Make non-list forms a warning rather than an error. - Add the mode-map for define-derived-mode. Handle define-minor-mode, - easy-menu-define, put that adds an error-condition, and provide. - When requiring cl, also require cl-macs. Really require cl, to handle - some cl macros. Store required libraries in the list elint-features, - so as not to re-load them. Treat cc-require like require. - (elint-init-env): Call elint-init-form to do the work. - Handle eval-and-compile and such like. - (elint-add-required-env): Do not clear messages. - (elint-special-forms): Add handlers for function, defalias, if, when, - unless, and, or. - (elint-form): Add optional argument to ignore elint-special-forms, - useful to prevent recursive calls from handlers. Doc fix. - Respect elint-ignored-warnings. - (elint-form): Respect elint-ignored-warnings. - (elint-bound-variable, elint-bound-function): New variables. - (elint-unbound-variable): Respect elint-bound-variable. - (elint-get-args): Respect elint-bound-function. - (elint-check-cond-form): Add some simple handling for (f)boundp and - featurep tests. - (elint-check-defalias-form): New handler. - (elint-check-let-form): Make an empty let a warning rather than an - error. - (elint-check-setq-form): Make an empty setq a warning rather than an - error. Respect elint-ignored-warnings. - (elint-check-defvar-form): Accept null doc-strings. - (elint-check-conditional-form): New handler. Does some simple-minded - checking of featurep and (f)boundp tests. - (elint-put-function-args): New function. - (elint-initialize): Use elint-scan-doc-file rather than - elint-find-builtin-variables. Use elint-put-function-args. - Possibly scan preloaded-file-list. - (elint-scan-doc-file): Rename from elint-find-builtin-variables and - extend to handle functions as well. - -2009-09-22 Lennart Borgman <[email protected]> - - * linum.el (linum-delete-overlays, linum-update-window): - Do not modify the right margin. (Bug#3971) - -2009-09-21 Chong Yidong <[email protected]> - - * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use - nxml-mode instead of xml-mode. - -2009-09-21 Kevin Ryde <[email protected]> - - * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501) - -2009-09-21 Stefan Monnier <[email protected]> - - * net/dig.el (dig-mode): Use define-derived-mode. - -2009-09-20 Dan Nicolaescu <[email protected]> - - * vc-dispatcher.el (vc-do-command): Return the process object in - the asynchronous case. Use when instead of if. Do not run - vc-exec-after to display a message if not enabled. (Bug#4463) - - * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face - properties to the stash strings. - (vc-git-stash-list): Return a list of strings. - (vc-git-stash-get-at-point, vc-git-stash-delete-at-point) - (vc-git-stash-show-at-point): New functions. - (vc-git-stash-map): New keymap. - - * register.el (ctl-x-r-map): Define the keys here instead of - using autoload. - -2009-09-20 Thierry Volpiatto <[email protected]> (tiny change) - - * bookmark.el (bookmark-write-file): Avoid calling `pp' with large - list, to workaround performance problem (bug#4485). - -2009-09-20 Nick Roberts <[email protected]> - - * progmodes/gud.el (gud-sentinel): Revert indavertant change. - -2009-09-20 Daiki Ueno <[email protected]> - - * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption): - Document that this option is not recommended to use. - -2009-09-19 Glenn Morris <[email protected]> - - * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free - variable `var'. - - * calc/calc-alg.el (var): - * calc/calcalg2.el (var): Define for compiler. - -2009-09-19 Chong Yidong <[email protected]> - - * emacs-lisp/advice.el (ad-get-argument, ad-set-argument): - Doc fix (Bug#3932). - - * subr.el (baud-rate): Remove long-obsolete function (Bug#4372). - - * time-stamp.el (time-stamp-month-dd-yyyy) - (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy) - (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd) - (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd) - (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm): - Remove functions that have been obsolete since 1995 (Bug#4436). - - * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the - indent buffer only if called interactively (Bug#4452). - -2009-09-19 Juanma Barranquero <[email protected]> - Eli Zaretskii <[email protected]> - - This fixes bug#4197 (merged to bug#865, though not identical). - * server.el (server-auth-dir): Add docstring note about FAT32. - (server-ensure-safe-dir): Accept FAT32 directories as "safe", - but warn against using them. - -2009-09-19 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of - older GDB where there is no has_more field. - -2009-09-19 Glenn Morris <[email protected]> - - * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator. - -2009-09-18 Chong Yidong <[email protected]> - - * files.el (auto-mode-alist): Change default for XML files to nXML - mode (Bug#4169). - -2009-09-18 Juanma Barranquero <[email protected]> - - * server.el (server-ensure-safe-dir): Pass 'integer - to `file-attributes', as suggested. - -2009-09-18 Stefan Monnier <[email protected]> - - * dired-aux.el (dired-query-alist): Remove spurious backslash. - (dired-query): Use read-key. - -2009-09-18 Adrian Robert <[email protected]> - - * cus-start.el (ns-use-qd-smoothing): Remove. - -2009-09-18 Glenn Morris <[email protected]> - - * allout.el (top-level): Remove unnecessary progn. - - * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let. - - * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in - definition of abbrev table. - - * speedbar.el (speedbar-track-mouse): - * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program): - * net/eudc.el (eudc-expand-inline): - * net/newst-backend.el (newsticker--cache-read-feed): - * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in - condition-case handlers. - -2009-09-18 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-frame-address): New variable. - (gdb-var-list): Add an element for has_more field. - (gdb-non-stop-handler): Enable pretty printing for STL containers. - (gdb-var-create-handler, gdb-var-list-children-handler-1) - (gdb-var-update-handler-1): Parse output of dynamic variable - objects (STL containers). - (gdb-var-delete-1): Pass var1 as an explicit second argument. - (gdb-get-field): Delete alias. Use bindat-get-field directly. - - * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to - gdb-var-list. - (gud-speedbar-buttons): Make node expandable if expression "has more" - children. - -2009-09-17 Juanma Barranquero <[email protected]> - - * startup.el (emacs-quick-startup): Remove variable and all uses. - (command-line): Set `inhibit-x-resources' instead. - (command-line-1): Use `inhibit-x-resources' instead. - -2009-09-17 Chong Yidong <[email protected]> - - * subr.el: Fix last change to avoid using the `unless' macro, - which breaks bootstrapping. - -2009-09-17 Stefan Monnier <[email protected]> - - * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's - extended definitions, in case we reload subr.el after having - loaded CL. - (eval-next-after-load): Mark as obsolete. - -2009-09-17 Juri Linkov <[email protected]> - - * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu) - (menu-bar-options-menu, menu-bar-showhide-fringe-menu) - (menu-bar-showhide-menu, menu-bar-tools-menu) - (menu-bar-describe-menu, menu-bar-help-menu) - (minibuffer-local-completion-map, minibuffer-local-map): - Fix list quoting. - -2009-09-17 Glenn Morris <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function - arguments, whether or not it has a handler. - - * ansi-color.el (ansi-color-get-face-1): Fix typo in handler. - - * simple.el (hard-newline): Give it a doc-string. - - * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): - (lisp-mode-syntax-table): Give them doc-strings. - -2009-09-17 Dan Nicolaescu <[email protected]> - - * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu) - (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu) - (menu-bar-options-menu, menu-bar-showhide-menu) - (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu) - (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu) - (menu-bar-options-menu, menu-bar-line-wrapping-menu) - (menu-bar-options-menu, menu-bar-tools-menu) - (menu-bar-describe-menu, menu-bar-search-documentation-menu) - (menu-bar-help-menu): - (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the - string arguments. - - * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu) - (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy - calls for the menu names and :help. - -2009-09-17 Stefan Monnier <[email protected]> - - * mouse.el (minor-mode-menu-from-indicator): Pay attention - to :minor-mode-function (bug#4455). - -2009-09-16 Stefan Monnier <[email protected]> - - * startup.el (command-line): Initialize the window-system after - processing the command-line. - - * textmodes/page.el (what-page): Make sure we don't inf-loop if - page-delimiter matches the empty string. - -2009-09-16 Glenn Morris <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from - byte-compile-not-obsolete-var. It's a list now. - (byte-compile-not-obsolete-funcs): New variable. - (byte-compile-warn-obsolete): Don't warn about functions if they are in - byte-compile-not-obsolete-funcs. - (byte-compile-variable-ref, byte-compile-defvar): Update for - byte-compile-not-obsolete-vars name-change and list nature. - (byte-compile-maybe-guarded): Suppress warnings about obsolete functions - and variables behind (f)boundp tests. - * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound. - -2009-09-15 Dan Nicolaescu <[email protected]> - - * vc-git.el (vc-git-log-view-mode): Undo inadvertent change. - -2009-09-15 Stefan Monnier <[email protected]> - - * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded. - * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): - Don't autoload. - -2009-09-15 Stephen Eglen <[email protected]> - - * iswitchb.el (iswitchb-read-buffer): When selecting a match from - the virtual-buffers, use the name of the buffer specified by - find-file-noselect, as the match may be a symlink. (This was a - problem if the target and the symlink had different names.) - -2009-09-15 Stefan Monnier <[email protected]> - - * custom.el (custom-initialize-default, custom-initialize-set): CSE. - - * desktop.el (desktop-path): Check user-emacs-directory. - - * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function. - - * loadup.el: Use after-load-functions to GC after loading each file. - Remove the explicit GC calls that used to be sprinkled around. - - * subr.el (after-load-functions): New hook. - (do-after-load-evaluation): Run it. Use string-match-p to detect - `obsolete' packages, rather than painfully extracting the relevant - directory name. - -2009-09-15 Glenn Morris <[email protected]> - - * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to - free variable `doc'. - - * dired.el (dired-mode-map): Add menu entry for async shell command. - - * help-fns.el (find-lisp-object-file-name): When looking for autoloaded - variables, also consider the .elc files, since the .el files are - normally gzipped (subsequent code locates the .el.gz from the .elc). - - * calc/calc-prog.el (arglist): Define for compiler. - - * calendar/diary-lib.el (diary-display-function): Change the default to - fancy display. - (body): Define for compiler. - - * emacs-lisp/bytecomp.el (byte-compile-keep-pending) - (byte-compile-file-form, byte-compile-lambda) - (byte-compile-top-level-body, byte-compile-form) - (byte-compile-variable-ref, byte-compile-setq) - (byte-compile-setq-default, byte-compile-body) - (byte-compile-body-do-effect, byte-compile-and, byte-compile-or) - (batch-byte-compile): Give some more local variables with common names - a "bytecomp-" prefix to avoid masking warnings about free variables. - - * startup.el (command-line-1): Give local variables with common names a - distinguishing prefix, so as not to hide free variable warnings during - bootstrap. - - * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be - clever and add a suffix to make a unique name, just let the user decide - whether or not to overwrite it. If the input is a directory, write the - default filename to that directory. (Bug#4388) - (rmail-mime-bulk-handler): Ensure the save button's 'directory property - is a filename-as-a-directory. - -2009-09-15 Stefan Monnier <[email protected]> - - * textmodes/page.el (what-page): Don't move to beginning of line. - See <[email protected]> in emacs-devel. - -2009-09-15 Dan Nicolaescu <[email protected]> - - * vc-git.el (vc-git-dir-extra-headers): Show the remote location. - -2009-09-14 Dan Nicolaescu <[email protected]> - - * bindings.el (mode-line-mode-menu): Add purecopy calls for :help. - * help.el (help-for-help-internal): Add purecopy calls for text. - - * vc.el (top): print-log method now takes an optional SHORTLOG - argument. Add a new method: root. - (vc-root-diff, vc-print-root-log): New functions. - (vc-log-short-style): New variable. - (vc-print-log-internal): Add support for showing short logs. - - * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for - vc-print-root-log and vc-print-root-diff. - - * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log): - * vc-git.el (vc-git-print-log, vc-git-log-view-mode): - * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for - short logs. - - * vc-cvs.el (vc-cvs-print-log): - * vc-mtn.el (vc-mtn-print-log): - * vc-rcs.el (vc-rcs-print-log): - * vc-sccs.el (vc-sccs-print-log): - * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog - that is ignored for now. - - * vc-mtn.el (vc-mtn-annotate-command): - * vc-svn.el (vc-svn-annotate-command): Run asynchronously. - -2009-09-14 Stefan Monnier <[email protected]> - - * simple.el: Add mapping for backspace/delete/clear/tab/escape/return - to function-key-map, and give them ascii-character property. - * term/x-win.el (x-alternatives-map): - * term/ns-win.el (ns-alternatives-map): - * term/internal.el (msdos-key-remapping-map): - * w32-fns.el (x-alternatives-map): Remove redundant mappings. - -2009-09-14 Glenn Morris <[email protected]> - - * emacs-lisp/elint.el (elint-add-required-env): Revert to not using - temp-buffers (2009-09-12). - -2009-09-13 Stefan Monnier <[email protected]> - - * textmodes/ispell.el (ispell-command-loop): Improve last fix, using - the new read-key function. - -2009-09-13 Chong Yidong <[email protected]> - - * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it - is defined (Bug#4405). - -2009-09-13 Vincent Belaïche <[email protected]> - - * recentf.el (recentf-cleanup): Use a hash table to find - duplicates (Bug#4407). - -2009-09-13 Per Starbäck <[email protected]> (tiny change) - - * textmodes/ispell.el (ispell-command-loop): Convert keys such as - kp-0 to ascii equivalents (Bug#4325). - -2009-09-13 Chong Yidong <[email protected]> - - * progmodes/cperl-mode.el (cperl-init-faces): Revert last change. - - * eshell/em-hist.el: - * eshell/em-dirs.el (eshell-complete-user-reference): - Declare pcomplete functions and variables to avoid compiler warnings. - -2009-09-13 Leo <[email protected]> (tiny change) - - * eshell/em-script.el (eshell-login-script, eshell-rc-script): - * eshell/em-dirs.el (eshell-last-dir-ring-file-name): - * eshell/em-alias.el (eshell-aliases-file): - * eshell/em-hist.el (eshell-history-file-name): - Use expand-file-name instead of concat to make file names (Bug#4308). - -2009-09-13 Glenn Morris <[email protected]> - - * ediff-merg.el (ediff-do-merge): - * filesets.el (filesets-run-cmd): - * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block) - (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3) - (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7) - (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin) - (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block): - Replace empty `let's with `progn'. - -2009-09-13 Stefan Monnier <[email protected]> - - * mail/sendmail.el (send-mail-function): - * tooltip.el (tooltip-mode): - * simple.el (transient-mark-mode): - * rfn-eshadow.el (file-name-shadow-mode): - * frame.el (blink-cursor-mode): - * font-core.el (global-font-lock-mode): - * files.el (temporary-file-directory) - (small-temporary-file-directory, auto-save-file-name-transforms): - * epa-hook.el (auto-encryption-mode): - * composite.el (global-auto-composition-mode): - Use custom-initialize-delay. - * startup.el (command-line): Don't explicitly call - custom-reevaluate-setting for all the above vars. - * custom.el (custom-initialize-safe-set) - (custom-initialize-safe-default): Delete. - -2009-09-12 Stefan Monnier <[email protected]> - - * term/x-win.el (x-initialize-window-system): - * term/w32-win.el (w32-initialize-window-system): - * term/ns-win.el (ns-initialize-window-system): Don't call - mouse-wheel-mode since it's enabled globally by default already. - - * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't - actually define the variable, but only silences the byte-compiler. - (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound - before looking it up. - (mouse-wheel-scroll-amount): Also reset the bindings if this value - is changed. - -2009-09-12 Glenn Morris <[email protected]> - - * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least - 1000. - (elint-add-required-env): Don't beep on error. - (elint-forms): In case of error, return ENV unchanged. - (elint-init-env): Skip non-list forms. - (elint-log): Handle unknown file positions. - -2009-09-12 Daiki Ueno <[email protected]> - - * epg.el (epg-make-context): Add autoload cookie. - (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file) - (epg-decrypt-string, epg-start-verify, epg-verify-file) - (epg-verify-string, epg-start-sign, epg-sign-file) - (epg-sign-string, epg-start-encrypt, epg-encrypt-file) - (epg-encrypt-string, epg-start-export-keys) - (epg-export-keys-to-file, epg-export-keys-to-string) - (epg-start-import-keys, epg-import-keys-from-file) - (epg-import-keys-from-string, epg-start-receive-keys) - (epg-receive-keys, epg-import-keys-from-server) - (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys) - (epg-sign-keys, epg-start-generate-key) - (epg-generate-key-from-file, epg-generate-key-from-string): - Remove autoload cookie. - -2009-09-12 Eli Zaretskii <[email protected]> - - * dos-fns.el (dos-reevaluate-defcustoms): Comment out the - reevaluation of trash-directory. - - * mwheel.el: Fix last change. - (mouse-wheel-mode): New defvar. - (mouse-wheel-mode): Remove autoload cookie. - -2009-09-12 Stefan Monnier <[email protected]> - - * mwheel.el (mwheel-installed-bindings): New var. - (mouse-wheel-mode): Use it, so as to make sure we really remove all - the bindings we set last time. Use custom-initialize-delay. - * loadup.el: Load mwheel after term/*-win.el. - * startup.el (command-line): Don't reevaluate mouse-wheel-down-event - and mouse-wheel-up-event now that their first evaluation is done - sufficiently late to be correct. - - * startup.el (tutorial-directory): Make it a defcustom. - Use custom-initialize-delay rather than eval-at-startup to set it. - * image.el (image-load-path): Make it a defcustom. - Use custom-initialize-delay rather than eval-at-startup to set it. - * subr.el (eval-at-startup): Remove. - * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup. - - * subr.el (do-after-load-evaluation): Warn the user after loading an - obsolete package. - -2009-09-12 Glenn Morris <[email protected]> - - * proced.el (proced-mark-alt): Remove alias. - (proced-mode-map): Remove proced-mark-alt. - - * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to - Elint file and directory. Remove initialization entry. - - * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded - commands. - (elint-current-buffer): Set mode-line-process. - (elint-init-env): Handle define-derived-mode. - Fix declare-function with unspecified arglist. Guard against odd - defalias statements (eg iso-insert's 8859-1-map). - (elint-add-required-env): Use a temp buffer. - (elint-form): Just print the function/macro name, not the whole form. - Return env unchanged if we fail to parse a macro. - (elint-forms): Guard against parse errors. - (elint-output): New function, to handle batch mode. - (elint-log-message): Add optional argument. Use elint-output. - (elint-set-mode-line): New function. - -2009-09-12 Andreas Politz <[email protected]> (tiny change) - - * emacs-lisp/elp.el (elp-not-profilable): Add more - functions (Bug#4233). - -2009-09-12 Chong Yidong <[email protected]> - - * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark) - (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190). - -2009-09-11 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete. - (gdb-var-list-children): Use json parsing. - -2009-09-11 Daniel Colascione <[email protected]> - - * progmodes/js.el (js--proper-indentation): Handle the case where - char-before is null. Reported by Deniz Dogan. - -2009-09-11 Juanma Barranquero <[email protected]> - - * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare. - -2009-09-11 Daiki Ueno <[email protected]> - - * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA. - (epg-digest-algorithm-alist): Add SHA224. - (epg-context-set-passphrase-callback) - (epg-context-set-progress-callback): Add description about - callback function. - -2009-09-11 Stefan Monnier <[email protected]> - - * custom.el (custom-delayed-init-variables): New var. - (custom-initialize-delay): New function. - * startup.el (command-line): "Re"evaluate all vars in - custom-delayed-init-variables. Don't reevaluate abbrev-file-name - explicitly any more. - * abbrev.el (abbrev-file-name): Use custom-initialize-delay - to avoid creating a ~/.emacs.d at build-time (bug#4347). - - * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362). - -2009-09-11 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete. - (gdb-var-update-handler): Use json parsing. - -2009-09-11 Juanma Barranquero <[email protected]> - - * vc-annotate.el (vc-annotate): Use the main file's coding-system to - decode annotated text, regardless of language environment. (Bug#2741) - -2009-09-11 Stefan Monnier <[email protected]> - - * Makefile.in (autoloads): Make rmail.el writable as well. - -2009-09-11 Glenn Morris <[email protected]> - - * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than - loaddefs.el. - * dired.el: Regenerate with extracted autoloads. - * Makefile.in (autoloads): Make dired.el writable. - - * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el. - * ibuffer.el: Regenerate with extracted autoloads. - * Makefile.in (autoloads): Make ibuffer.el writable. - - * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name): - * version.el (emacs-copyright, emacs-major-version) - (emacs-minor-version): Reformat doc-strings for make-docfile. - - * apropos.el (apropos-documentation-check-doc-file): Exclude unbound - functions and variables, since they must be stuff specific to some other - platform. - (apropos-print): Make mouse-click message less specific about button. - - * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property - that records where a macro was defined. - * help-fns.el (describe-function-1): Mention if a function has a - compiler-macro. - * help-mode.el (help-function-cmacro): New button. - - * locate.el (top-level): Always require dired. - (locate-mode-map): Initialize inside the defvar. - - * net/ange-ftp.el (dired-compress-file): Declare. - (ange-ftp-dired-compress-file): Add doc string. - - * term/ns-win.el (x-display-name, x-setup-function-keys): - Unify doc-strings with X versions. - -2009-09-11 Stefan Monnier <[email protected]> - - * emulation/crisp.el (crisp-mode-map): Move initialization - into declaration. - (crisp-mode): Use define-minor-mode. - - * progmodes/xscheme.el (xscheme-evaluation-commands): - Put a :advertised-binding property rather than using - advertised-xscheme-send-previous-expression. - (advertised-xscheme-send-previous-expression): Declare obsolete. - * emulation/crisp.el (crisp-mode-map): Use `undo' rather than - `advertised-undo'. - (crisp-mode): Add corresponding bindings to - undo's :advertised-binding instead. - * dired.el (dired-mode-map): Put a :advertised-binding property rather - than using dired-advertised-find-file. - (dired-advertised-find-file): - * simple.el (advertised-undo): - * wid-edit.el (advertised-widget-backward): Declare obsolete. - (widget-keymap): Put a :advertised-binding property rather - than using advertised-widget-backward. - * bindings.el (ctl-x-map): Put a :advertised-binding property rather - than using advertised-undo. - * tutorial.el (tutorial--default-keys): Adjust accordingly. - -2009-09-10 Simon South <[email protected]> - - * progmodes/delphi.el (delphi-tab): Indent region when Transient - Mark mode is enabled and region is active; otherwise indent or - insert TAB as usual. - (delphi-mode): Update description of TAB-key binding. - -2009-09-10 Stefan Monnier <[email protected]> - - * subr.el (define-key-rebound-commands): Mark obsolete. - * startup.el (precompute-menubar-bindings): Remove. - (normal-top-level): Remove obsolete code that tried to precompute - menubar bindings. - * loadup.el (define-key-rebound-commands): Don't bother fiddling with - define-key-rebound-commands and precompute-menubar-bindings. - -2009-09-10 Teodor Zlatanov <[email protected]> - - * net/imap.el (imap-interactive-login): Better messages. - (imap-open): Fix bug with renamed buffer on reconnect. - (imap-authenticate): Add buffer-local imap-last-authenticator variable - for easier debugging and cleaner code. On successful (guessed based on - server capabilities) secondary authentication, set imap-state - correctly. - (imap-last-authenticator): Define imap-last-authenticator as a variable - to avoid warnings. - -2009-09-10 Glenn Morris <[email protected]> - - * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line. - - * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix. - (byte-compile-file-form-autoload): Don't warn about unknown functions - where the autoload statement comes after the use. - (with-no-warnings): Give it a byte-hunk-handler like than of progn, so - that any handlers inside the body (eg require) are in turn respected. - - * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side - effects. - - * emacs-lisp/derived.el (define-derived-mode): Give the mode's map, - and syntax and abbrev tables basic docs, if they don't have any. - - * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string. - - * international/mule-cmds.el (top-level): Require cl when compiling. - (view-hello-file): Use default-value rather than - default-enable-multibyte-characters. - - * progmodes/fortran.el: Move all safe and risky properties into the - defcustoms. - - * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el: - * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el: - * mail/undigest.el: - Put autoloads in rmail.el rather than loaddefs.el. - * mail/rmail.el: Regenerate with extracted autoloads. - - * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el. - * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el. - -2009-09-10 Nick Roberts <[email protected]> - - Reported in thread for Bug#4375. - * progmodes/gud.el (gud-tooltip-print-command): Use MI command - "-data-evaluate-expression" instead of print. - * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto. - (gdb-tooltip-print): Parse output from above MI command. - (gdb): Revert 2009-08-11 change. User should detach inferior - manually. - - Remove the word "separate" from IO functions as inferior - output is now never displayed in the GUD buffer. - -2009-09-10 Juanma Barranquero <[email protected]> - - * startup.el (command-line-normalize-file-name): On Windows and - MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/. - -2009-09-10 Juri Linkov <[email protected]> - - * isearch.el (isearch-text-char-description): Propertize escape - character sequences with the `escape-glyph' face. (Bug#4344) - - * simple.el (shell-command): Set asynchronous process filter to - `comint-output-filter'. (Bug#4343) - - * progmodes/grep.el (grep-template): Add "<X>" to docstring. - (grep-files-aliases): Add "all". Move "el" and "ch" to the top of - the list. Move "asm" to the bottom. - (grep-find-ignored-directories): Add `choice' with nil value - to empty the list easily. - (grep-find-ignored-files): New option. - (grep-files-history): Set to nil by default instead of '("ch" "el"). - (grep-compute-defaults): Add "<X>" to `grep-template'. - (grep-read-files): Bind new local variables `default-alias' and - `default-extension'. Use a list of default values for the file prompt. - (lgrep): Add `--exclude=' command line options composed from - `grep-find-ignored-files'. - (rgrep): Add `-name' command line options composed from - `grep-find-ignored-files'. (Bug#4301) - -2009-09-09 Stefan Monnier <[email protected]> - - * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk - (bug#4368). - -2009-09-09 Katsumi Yamaoka <[email protected]> - - * calendar/time-date.el (autoload): - Expand define-obsolete-function-alias into defalias and make-obsolete - for old Emacsen that Gnus supports. - (with-no-warnings): Define it for old Emacsen. - (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time - is available. - (time-to-number-of-days): Don't use (featurep 'xemacs) to check if - float-time is available; suppress compile warning for time-to-seconds. - -2009-09-09 Teodor Zlatanov <[email protected]> - - * net/imap.el (imap-message-map): Docstring fix. - -2009-09-09 Glenn Morris <[email protected]> - - * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with - line numbers too. (Bug#4374) - -2009-09-08 Stefan Monnier <[email protected]> - - * smerge-mode.el (smerge-remove-props, smerge-refine): - Use with-silent-modifications (bug#4342). - - * subr.el (with-silent-modifications): New macro. - -2009-09-07 Juanma Barranquero <[email protected]> - - * files.el (top-level): Require `cl' when compiling. - -2009-09-07 Glenn Morris <[email protected]> - - * files.el (auto-mode-alist): Use delphi-mode for .dpr files. - - * proced.el (proced-mode-map): Bind "d" to proced-mark-alt. - (proced-mark-alt): New alias, to control the advertised key. (Bug#4362) - -2009-09-06 Nick Roberts <[email protected]> - - * vc-git.el (vc-git-annotate-command): Use separator to parse - arguments correctly. - -2009-09-06 Eli Zaretskii <[email protected]> - - * proced.el (proced-mode): Doc fix. - -2009-09-06 Julian Scheid <[email protected]> (tiny change) - - * net/tramp.el (tramp-perl-file-attributes): Print "nil" when - lstat fails. - (tramp-do-file-attributes-with-ls): Check for file existence at - remote end. - (tramp-do-file-attributes-with-stat): Likewise. - (tramp-convert-file-attributes): Return nil when attr is nil. - -2009-09-05 Glenn Morris <[email protected]> - - * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link - properties to this button. - (diary-fancy-display): Don't extend the button to the final newline. - (diary-fancy-display-mode): Continue to define "q" as a local key. - - * calendar/cal-china.el (holiday-chinese): Make it slightly more - efficient. - - * font-lock.el (lisp-font-lock-keywords-2): Add letf. - - * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix. - (byte-compile-dest-file-function): New option. - (byte-compile-dest-file): Doc fix. - Obey byte-compile-dest-file-function. - (byte-compile-cl-file-p): New function. - (byte-compile-eval): Only suppress noruntime warnings about cl functions - if the cl-functions warning is enabled. Use byte-compile-cl-file-p. - (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather - than for file being previously loaded. - (byte-compile-find-cl-functions): Use byte-compile-cl-file-p. - (byte-compile-file-form-require): Handle the case where requiring a file - indirectly causes CL to be loaded. - -2009-09-05 Karl Fogel <[email protected]> - - * files.el (find-alternate-file): Run `kill-buffer-hook' manually - before killing the old buffer, since by the time `kill-buffer' is - run so many buffer variables have been set to nil that it may not - behave as expected. (Bug#4061) - -2009-09-05 Karl Fogel <[email protected]> - - * files.el (find-alternate-file): If the old buffer is modified - and visiting a file, behave similarly to `kill-buffer' when - killing it, thus reverting to the pre-1.878 behavior; see - http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html - for discussion. Also, consult `buffer-file-name' as a variable - not as a function, for consistency with the rest of the code. - -2009-09-04 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-insert-directory): Handle "--dired" - also when adding a new directory. - - * net/tramp-compat.el (tramp-compat-line-beginning-position): New - defun. - -2009-09-04 Stefan Monnier <[email protected]> - - * files.el (locate-file-completion-table): Make it provide boundary - information, so partial-completion works better. - -2009-09-04 Leo <[email protected]> (tiny change) - - * mail/footnote.el (Footnote-text-under-cursor): - Check footnote-text-marker-alist before using it (bug#4324). - -2009-09-04 Glenn Morris <[email protected]> - - * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el: - * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el: - * play/solitaire.el, play/tetris.el: - Remove leading * from defcustom and defface docs. - - * calendar/diary-lib.el (diary-fancy-display): Only switch modes if - necessary. - (diary-fancy-overriding-map): New variable. - (diary-fancy-display-mode): Set minor-mode-overriding-map-alist. - Use view-mode. - - * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than - goto-line. - -2009-09-03 Glenn Morris <[email protected]> - - * arc-mode.el (archive-mode): - * dos-fns.el (set-default-process-coding-system): - * man.el (Man-getpage-in-background): - * menu-bar.el (menu-bar-describe-menu): - * server.el (server-process-filter): - * startup.el (command-line): - * tar-mode.el (tar-header-block-tokenize, tar-extract): - * w32-fns.el (set-default-process-coding-system): - * x-dnd.el (x-dnd-handle-file-name): - * international/mule-cmds.el (mule-menu-keymap) - (set-default-coding-systems, language-info-alist, set-language-info) - (set-language-environment, standard-display-european-internal) - (set-locale-environment): - * international/mule-diag.el (mule-diag): - * mail/emacsbug.el (report-emacs-bug): - * mail/rmail.el (rmail-mode): - * mail/sendmail.el (mail-setup): - Use default-value rather than default-enable-multibyte-characters. - - * progmodes/f90.el: Move all safe properties into the defcustoms. - (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq. - - * calendar/appt.el (appt-check): - * calendar/diary-lib.el (diary-set-header, diary-live-p) - (diary-check-diary-file, diary-list-entries) - (diary-include-other-diary-files, diary-simple-display) - (diary-fancy-display, diary-print-entries) - (diary-mark-included-diary-files, diary-make-entry): - Don't call substitute-in-file-name on diary-file. - -2009-09-03 Eduard Wiebe <[email protected]> - Stefan Monnier <[email protected]> - - * mail/footnote.el (footnote-prefix): Make it a defcustom. - (footnote-mode-map): Move initialization into the declaration. - (footnote-minor-mode-map): Define it rather than changing global-map. - (footnote-mode): Use define-minor-mode. - -2009-09-02 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-file-attributes-with-ls) - (tramp-do-file-attributes-with-perl) - (tramp-do-file-attributes-with-stat): Rename from - `tramp-handle-file-attributes-with-*'. - (tramp-handle-file-attributes): Use them. - (tramp-do-directory-files-and-attributes-with-perl) - (tramp-do-directory-files-and-attributes-with-stat): Rename from - `tramp-handle-directory-files-and-attributes-with-*'. - (tramp-handle-directory-files-and-attributes): Use them. - (tramp-method-out-of-band-p): Additional parameter SIZE. - (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy) - (tramp-handle-write-region): Use it. - (tramp-handle-insert-directory): Use "?\ " for compatibility reasons. - (tramp-handle-vc-registered): Check, whether the first run did - return files to be tested. - (tramp-advice-make-auto-save-file-name): Do not call directly - `tramp-handle-make-auto-save-file-name', because this would bypass - the locking mechanism. - - * net/tramp-compat.el (top): Autoload used functions from tramp.el. - (file-remote-p, process-file, start-file-process, set-file-times) - (tramp-compat-file-attributes): Compatibility functions shall not - call directly `tramp-handle-*', because this would bypass the - locking mechanism. - (tramp-compat-number-sequence): New defun. - -2009-09-02 Glenn Morris <[email protected]> - - * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete - alias for float-time. - (time-to-number-of-days): In Emacs, use float-time. - * net/newst-backend.el (time-add): Suppress warnings from compat - function. - * time.el (emacs-uptime, emacs-init-time): - * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE): - Use float-time rather than time-to-seconds. - - * minibuffer.el (completion-initials-expand): Fix typo. - - * faces.el (modeline, modeline-inactive, modeline-highlight) - (modeline-buffer-id): - * info.el (info-menu-5): Mark these face aliases as obsolete. - -2009-09-01 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-current-context-command): Move the - space ... - (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is - no "--thread" option. - (gdb-stopped): Don't print "Switched to thread" message when it is - unchanged. - -2009-09-01 Stefan Monnier <[email protected]> - - * minibuffer.el (completion-try-completion) - (completion-all-completions): Remove ill-defined (and - mistakenly installed and luckily never used nor documented) - `completion-styles' property. - (completion-initials-expand, completion-initials-all-completions) - (completion-initials-try-completion): New functions. - (completion-styles-alist): Add doc to each entry. - Add new `initials' entry. - -2009-09-01 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant - MI command -var-evaluate-expression. - (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el - and tweak for case of string child. - (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el. - -2009-09-01 Glenn Morris <[email protected]> - - * add-log.el (change-log-date-face, change-log-name-face) - (change-log-email-face, change-log-file-face, change-log-list-face) - (change-log-conditionals-face, change-log-function-face) - (change-log-acknowledgement-face): - * cus-edit.el (custom-invalid-face, custom-rogue-face) - (custom-modified-face, custom-set-face, custom-changed-face) - (custom-saved-face, custom-button-face, custom-button-pressed-face) - (custom-documentation-face, custom-state-face, custom-comment-face) - (custom-comment-tag-face, custom-variable-tag-face) - (custom-variable-button-face, custom-face-tag-face) - (custom-group-tag-face-1, custom-group-tag-face): - * diff-mode.el (diff-header-face, diff-file-header-face) - (diff-index-face, diff-hunk-header-face, diff-removed-face) - (diff-added-face, diff-changed-face, diff-function-face) - (diff-context-face, diff-nonexistent-face): - * generic-x.el (show-tabs-tab-face, show-tabs-space-face): - * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face): - * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face) - (Info-title-4-face): - * isearch.el (isearch-lazy-highlight-face): - * log-view.el (log-view-file-face, log-view-message-face): - * paren.el (show-paren-match-face, show-paren-mismatch-face): - * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face) - (cvs-handled-face, cvs-need-action-face, cvs-marked-face) - (cvs-msg-face): - * smerge-mode.el (smerge-mine-face, smerge-other-face) - (smerge-base-face, smerge-markers-face): - * wid-edit.el (widget-documentation-face, widget-button-face) - (widget-field-face, widget-single-line-field-face) - (widget-inactive-face, widget-button-pressed-face): - * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face) - (woman-addition-face): - * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face) - (eshell-ls-executable-face, eshell-ls-readonly-face) - (eshell-ls-unreadable-face, eshell-ls-special-face) - (eshell-ls-missing-face, eshell-ls-archive-face) - (eshell-ls-backup-face, eshell-ls-product-face) - (eshell-ls-clutter-face): - * eshell/em-prompt.el (eshell-prompt-face): - * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face): - * obsolete/old-whitespace.el (whitespace-highlight-face): - * progmodes/antlr-mode.el (antlr-font-lock-default-face) - (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face) - (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face) - (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face) - (antlr-font-lock-literal-face): - * progmodes/ebrowse.el (ebrowse-tree-mark-face) - (ebrowse-root-class-face, ebrowse-file-name-face) - (ebrowse-default-face, ebrowse-member-attribute-face) - (ebrowse-member-class-face, ebrowse-progress-face): - * progmodes/make-mode.el (makefile-space-face): - * progmodes/sh-script.el (sh-heredoc-face): - * textmodes/flyspell.el (flyspell-incorrect-face) - (flyspell-duplicate-face): - * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face): - * textmodes/texinfo.el (texinfo-heading-face): - Mark face aliases with "-face" suffix as obsolete. - - * mail/feedmail.el (file-name-buffer-file-type-alist): Define for - compiler. - - * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu) - (eudc-bob-sound-menu): Use defvar rather than defconst, since - easy-menu-define wants to modify these. - - * net/net-utils.el (nslookup): Use make-comint rather than comint-run. - - * net/browse-url.el (browse-url-file-url): - * term/internal.el (dos-codepage-setup): - Use default-value rather than default-enable-multibyte-characters. - - * progmodes/etags.el (etags-goto-tag-location): - * progmodes/flymake.el (flymake-highlight-line) - (flymake-goto-file-and-line, flymake-goto-line): - * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump) - (gdb-goto-breakpoint): - * progmodes/idlw-shell.el (idlwave-shell-move-to-bp): - * progmodes/python.el (python-find-function) - (python-pdbtrack-track-stack-file): - * progmodes/verilog-mode.el (verilog-surelint-off): - * term/ns-win.el (ns-open-file-select-line): - * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally): - Use forward-line rather than goto-line. - - * textmodes/reftex-cite.el (reftex-offer-bib-menu): - * textmodes/reftex-index.el (reftex-display-index): - * textmodes/reftex-ref.el (reftex-offer-label-menu): - * textmodes/reftex-toc.el (reftex-toc): - Remove unnecessary bindings of default-major-mode (all are followed by - major-mode check and possible mode switch). - -2009-08-31 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom): - Handle watchpoints (bug#4282). - (def-gdb-thread-buffer-command): Enable thread to be selected by - clicking without selecting threads buffer first. - (gdb-current-context-command): Use selected frame so that "up", - "down" etc work in the GUD buffer. - (gdb-update): Find selected frame before rendering stack buffer. - (gdb-frame-handler): Set gdb-frame-number for stack buffer. - -2009-08-31 Stefan Monnier <[email protected]> - - * progmodes/sym-comp.el (displayed-completions): Remove. - (symbol-complete): Use minibuffer-complete. - -2009-08-31 Glenn Morris <[email protected]> - - * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro. - - * apropos.el (apropos-symbols-internal): - Handle (obsolete) face aliases. - - * faces.el (describe-face): Adjust the output format to be more like - describe-variable, and to mention (obsolete) face aliases. - Adjust the whitespace so that help-setup-xref works. - - * calendar/calendar.el (calendar-today-face, diary-face, holiday-face): - * calendar/diary-lib.el (diary-button-face): - Mark these face aliases as obsolete. - - * calendar/calendar.el (calendar-today): Doc fix. - -2009-08-31 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-control-all-threads) - (gdb-control-current-thread): Force tool bar update. - (gdb-non-stop-handler): New function. - (gdb-init-1): Use it to test if non-stop mode is supported. - Remove unused gdbmi buffer type. - -2009-08-30 Kevin Rodgers <[email protected]> - - * progmodes/grep.el (grep-read-files): Strip trailing <N> from - buffer names not visiting a file (e.g. cloned buffers). (Bug#4210) - -2009-08-30 Nick Roberts <[email protected]> - - * comint.el (comint-exec-1): Check command is non-null first. - Part of gdb-mi.el change (2009-08-28). - -2009-08-30 Stefan Monnier <[email protected]> - - * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete. - -2009-08-30 Juanma Barranquero <[email protected]> - - * subr.el (do-after-load-evaluation): Fix last change: use `mapc' - instead of `dolist' to avoid a recursive require when bootstrapping. - -2009-08-30 Stefan Monnier <[email protected]> - - * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete. - - * net/ldap.el (ldap-search-internal): Use with-current-buffer and push. - - * net/imap.el (imap-send-command): Simplify. - (imap-wait-for-tag): point-max -> buffer-size. - - * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode. - - * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value - with constant argument. - - * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte. - - * emacs-lisp/cl.el (cl-macro-environment): Don't define it here. - - * emacs-lisp/checkdoc.el (checkdoc-force-history-flag): - Change default, since most of our files don't have a history. - (checkdoc-display-status-buffer): Don't use a hidden buffer to show to - the user. - - * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): - Add comint-run. - - * calc/calc.el: Improve commenting convention. - (calc-digit-map, toplevel): Simplify. - - * comint.el (comint-insert-input): Be careful to only set point if we - don't delegate to some other command. - - * proced.el (proced-signal-list): Make it an alist. - (proced-grammar-alist): Capitalize names. - (proced-send-signal): Use a non-hidden buffer (since it's displayed). - Disable undo manually and make it read-only. - Use completion-annotate-function. - - * minibuffer.el (minibuffer-message): If the current buffer is not - a minibuffer, insert the message in the echo area rather than at the - end of the buffer. - (completion-annotate-function): New variable. - (minibuffer-completion-help): Use it. - (completion--embedded-envvar-table): Environment vars are - always case-sensitive. - -2009-08-30 Glenn Morris <[email protected]> - - * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted - from fortran-current-defun. - (fortran-beginning-of-subprogram): Be more precise about finding the - start, to avoid an infinite loop in end-of-defun. (Bug#4259) - (fortran-end-of-subprogram): Simplify. - (fortran-current-defun): Use fortran-start-prog-re. - -2009-08-29 Juanma Barranquero <[email protected]> - - * subr.el (do-after-load-evaluation): Simplify. - -2009-08-29 Dan Nicolaescu <[email protected]> - - * vc.el (vc-print-log-internal): Move RCS/CVS specific code ... - - * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function. - (vc-rcs-print-log): Use it. - - * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup. - -2009-08-29 Stefan Monnier <[email protected]> - - * paths.el (abbrev-file-name): Move to abbrev.el. - * abbrev.el (abbrev-file-name): Move from paths.el. - Obey user-emacs-directory. - * calc/calc.el (calc-settings-file): Don't autoload and instead obey - user-emacs-directory. - * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate - abbrev-file-name and calc-settings-file any more. - * startup.el (command-line): Recompute abbrev-file-name and - abbreviated-home-dir. - (normal-no-mouse-startup-screen): Improve the generic code and get rid - of the special code for when C-h bindings haven't been changed. - (display-startup-echo-area-message): Use with-current-buffer. - (command-line-1): Use a list of strings, rather than a list of lists - of strings for longopts. - - * files.el (get-free-disk-space): Use / for default-directory. - - * textmodes/ispell.el (ispell-accept-output, ispell-command-loop): - Use with-current-buffer. - - * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p): - Recognize immutable variables like most-positive-fixnum. - (byte-compile-setq-default): Check and warn if trying to assign - to an immutable variable, or a non-variable. - - * progmodes/cc-vars.el (c-comment-continuation-stars): - * progmodes/cc-engine.el (c-looking-at-bos): - * progmodes/cc-cmds.el (c-toggle-auto-state) - (c-forward-into-nomenclature, c-backward-into-nomenclature) - (c-comment-line-break-function): Add version of obsolescence. - -2009-08-28 Juri Linkov <[email protected]> - - * files.el (magic-fallback-mode-alist): Add ZIP magic number - associated with `archive-mode'. - - * image.el (image-type-header-regexps): Use only JPEG magic number - to determine JPEG images, and don't use `image-jpeg-p' because - Emacs can display non-JFIF non-Exif JPEG images. - -2009-08-28 Juanma Barranquero <[email protected]> - - * arc-mode.el (archive-mode): - * emacs-lisp/re-builder.el (re-builder-unload-function): - Protect against the default value of `major-mode' being nil. - -2009-08-28 Juanma Barranquero <[email protected]> - - * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list): - Fix typos in docstrings. - - * progmodes/js.el (js--macro-decl-re): Doc fix. - (js--plain-method-re, js--split-name): Refloc docstring. - (js--class-styles, js--make-merged-item, js--splice-into-items): - Fix typos in docstrings; reflow docstrings. - (js--maybe-join, js--function-prologue-beginning, js--flush-caches) - (js--variable-decl-matcher, js--inside-pitem-p) - (js--parse-state-at-point, js--get-all-known-symbols) - (js--symbol-history, js-find-symbol, js--js-references) - (js--moz-interactor, js--js-encode-value, js--read-tab): - Fix typos in docstrings. - -2009-08-28 Stefan Monnier <[email protected]> - - * textmodes/reftex.el (reftex-get-file-buffer-force): - * progmodes/verilog-mode.el (verilog-batch-execute-func): - * emulation/viper.el (viper-go-away, viper-set-hooks): - * emacs-lisp/re-builder.el (re-builder-unload-function): - * emacs-lisp/bytecomp.el (byte-compile-file): - * ses.el (ses-unload-function): - * hexl.el (hexl-find-file): - * files.el (normal-mode): - * ehelp.el (with-electric-help): - * autoinsert.el (auto-insert-alist): - * arc-mode.el (archive-mode): - Use (default-value 'major-mode) instead of default-major-mode. - - * textmodes/ispell.el (ispell-check-version, ispell-send-string): - * international/mule.el (load-with-code-conversion): - * emacs-lisp/debug.el (debug): - * ediff-vers.el (ediff-rcs-get-output-buffer): - * dired.el (dired-internal-noselect): Don't let-bind - default-major-mode around code that doesn't use it. - E.g. buffer creation via get-buffer-create doesn't use it. - -2009-08-28 Michael Albinus <[email protected]> - - * net/tramp.el (all): Replace "'(lambda" by "(lambda". - (tramp-handle-file-local-copy): Unset `file-name-handler-alist' - when writing the temp file. Otherwise, epa-file gets confused. - (tramp-register-file-name-handlers): Make it a defun. Move also - `epa-file-handler' to the front of `file-name-handler-alist'. - -2009-08-28 Stefan Monnier <[email protected]> - - * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to - start right after a ^M. - (tramp-root-regexp, tramp-completion-file-name-regexp-unified) - (tramp-completion-file-name-regexp-separate) - (tramp-completion-file-name-regexp-url): Use \\` and \\'. - (tramp-handle-file-attributes, tramp-set-file-uid-gid): - Don't modify last-coding-system-used by accident. - (tramp-completion-file-name-handler): Apply the checks here, - instead during registration. - (tramp-register-file-name-handlers): Renamed from - `tramp-register-file-name-handler'. Register both - `tramp-file-name-handler' and `tramp-completion-file-name-handler'. - (tramp-register-completion-file-name-handler): Remove. (Bug#4260) - -2009-08-28 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-use-separate-io-buffer): - Remove variable ... - (gdb-init-1, gdb-display-separate-io-buffer) - (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and - references to it. - (gdb-inferior-io-mode): Use make-comint-in-buffer. - (gdb-inferior-filter): Use comint-output-filter to stop - echoing and remove ^M characters. - -2009-08-28 Stefan Monnier <[email protected]> - - * emulation/viper-init.el (viper-restore-cursor-type): - * emulation/cua-base.el (cua--update-indications): - Replace default-cursor-type with (default-value 'cursor-type). - - * mail/sendmail.el (mail-recover-1): - * international/mule-diag.el (describe-current-coding-system-briefly) - (describe-current-coding-system): - * international/mule-cmds.el (select-safe-coding-system) - (select-message-coding-system) - (set-language-environment-coding-systems, set-locale-environment): - * hexl.el (hexl-insert-multibyte-char): - * dos-w32.el (find-buffer-file-type-coding-system): - * simple.el (what-cursor-position): - Replace uses of default-buffer-file-coding-system - with (default-value 'buffer-file-coding-system). - - * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion): - Replace uses of default-cursor-in-non-selected-windows - with (default-value 'cursor-in-non-selected-windows). - Use with-current-buffer. - - * mail/feedmail.el: Use CL macros. - (feedmail-run-the-queue, feedmail-send-it-immediately): - * dos-w32.el (find-buffer-file-type): Replace uses of - default-buffer-file-type with (default-value 'buffer-file-type). - -2009-08-28 Glenn Morris <[email protected]> - - * calendar/diary-lib.el (diary-list-entries, diary-goto-entry) - (diary-show-all-entries, diary-mark-entries, diary-make-entry): - Use default-value of major-mode rather than default-major-mode. - -2009-08-27 Stefan Monnier <[email protected]> - - * Makefile.in (update-elcfiles): Report left over elc files. - - * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer, - expand-file-name and with-current-buffer. - (mail-get-names, mail-directory): Use with-current-buffer. - - * vc.el (vc-read-revision): New function. - (vc-version-diff, vc-merge): Use it. - -2009-08-27 Sam Steingold <[email protected]> - - * simple.el (kill-do-not-save-duplicates): New user option. - (kill-new): When it is non-nil, and the new string is the same as - the latest kill, set replace to t to avoid duplicates in kill-ring. - -2009-08-27 Julian Scheid <[email protected]> (tiny change) - - * net/tramp.el (tramp-handle-process-file): Do not flush all - caches when `process-file-side-effects' is set. - (tramp-handle-vc-registered): Use `tramp-get-file-exists-command' - instead of `tramp-find-file-exists-command'. - Unset `process-file-side-effects'. - -2009-08-27 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-methods): New method "rsyncc". - (top): Add completion function for "rsyncc". - (tramp-message-show-message): New defvar. - (tramp-message, tramp-error): Use it. - (tramp-do-copy-or-rename-file-directly): Extend check for direct - remote copying. - (tramp-do-copy-or-rename-file-out-of-band): Handle new - `tramp-methods' entry `copy-env' of "rsyncc". - (tramp-vc-registered-read-file-names): New defconst. - (tramp-vc-registered-file-names): New defvar. - (tramp-handle-vc-registered): Implement optimization strategy. - (tramp-run-real-handler): Add `tramp-vc-file-name-handler'. - (tramp-vc-file-name-handler): New defun. - (tramp-get-ls-command, tramp-get-test-command) - (tramp-get-file-exists-command, tramp-get-remote-ln) - (tramp-get-remote-perl, tramp-get-remote-stat) - (tramp-get-remote-id): Remove superfluous `with-current-buffer'. - - * net/tramp-cache.el (top): Autoload `tramp-time-less-p'. - (tramp-cache-inhibit-cache): Extend doc string. It allows also - timestamps. - (tramp-get-file-property): Check for timestamps in - `tramp-cache-inhibit-cache'. - (tramp-set-file-property): Write timestamp. - -2009-08-27 ARISAWA Akihiro <[email protected]> (tiny change) - - * language/japan-util.el (japanese-symbol-table): Add entries for - cp932-2-byte. - - * international/characters.el: Add category `j' to cp932-2-byte. - -2009-08-27 Kenichi Handa <[email protected]> - - * international/fontset.el (build-default-fontset-data): New macro. - (setup-default-fontset): Use build-default-fontset-data for CJK, - tibetan, ethiopic, and ipa. - -2009-08-27 Stefan Monnier <[email protected]> - - * cus-start.el (default-major-mode): Customize `major-mode' instead. - (enable-multibyte-characters): Not customizable any more. - - * subr.el (default-mode-line-format, default-header-line-format) - (default-line-spacing, default-abbrev-mode, default-ctl-arrow) - (default-direction-reversed, default-truncate-lines) - (default-left-margin, default-tab-width, default-case-fold-search) - (default-left-margin-width, default-right-margin-width) - (default-left-fringe-width, default-right-fringe-width) - (default-fringes-outside-margins, default-scroll-bar-width) - (default-vertical-scroll-bar, default-indicate-empty-lines) - (default-indicate-buffer-boundaries, default-fringe-indicator-alist) - (default-fringe-cursor-alist, default-scroll-up-aggressively) - (default-scroll-down-aggressively, default-fill-column) - (default-cursor-type, default-buffer-file-type) - (default-cursor-in-non-selected-windows) - (default-buffer-file-coding-system, default-major-mode) - (default-enable-multibyte-characters): Mark as obsolete. - -2009-08-27 Dan Nicolaescu <[email protected]> - - * vc-dir.el (vc-dir-update): Remove debug helper. - - * vc-cvs.el (vc-cvs-update-changelog): Fix typo. - -2009-08-26 Sam Steingold <[email protected]> - - * simple.el (save-interprogram-paste-before-kill): New user option. - (kill-new): When `save-interprogram-paste-before-kill' is non-nil, - save the interprogram-paste into kill-ring before overriding it - with the Emacs kill. - -2009-08-26 Dan Nicolaescu <[email protected]> - - * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el. - (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el. - (vc-default-previous-revision): Rename to vc-rcs-previous-revision - and move to vc-rcs.el. - (vc-default-next-revision): Rename to vc-rcs-next-revision and - move to vc-rcs.el. - (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend. - (vc-rcs-update-changelog): Remove. - (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog - and move to vc-rcs.el. - - * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin) - (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p - renaming. - (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision) - (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from - vc.el, renamed to be RCS specific. - - * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision): - New functions. - (vc-cvs-update-changelog): Move here from vc.el. - - * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision): - New functions. - -2009-08-26 Stefan Monnier <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change. - -2009-08-26 Dan Nicolaescu <[email protected]> - - * vc-git.el (vc-git-register): Use "git add" for directories. - (vc-git-stash, vc-git-stash-show): New functions. - (vc-git-extra-menu-map): Bind them. - - * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent - directory correctly in case the item is a directory itself. - - * vc.el: Document the desired behavior for reverted files in the - `added' state. - (vc-default-prettify-state-info): Remove function, unused. - - * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused. - -2009-08-26 Glenn Morris <[email protected]> - - * bindings.el (standard-mode-line-format): Reposition dashes in - which-func entry. (Bug#4217) - - * files.el (enable-local-variables, enable-local-eval) - (safe-local-variable-values, safe-local-eval-forms): Mark as risky in - the defcustoms. - (auto-mode-alist, ignored-local-variables) - (save-some-buffers-action-alist): Move risky declarations to the - definitions. - (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string) - (font-lock-defaults, format-alist, imenu--index-alist) - (imenu-generic-expression, input-method-alist, minor-mode-alist) - (mode-line-buffer-identification, mode-line-client, mode-line-modes) - (mode-line-modified, mode-line-mule-info, mode-line-position) - (mode-line-process, mode-line-remote, outline-level) - (parse-time-rules, rmail-output-file-alist) - (special-display-buffer-names, vc-mode): - Move risky declarations to the relevant files. - * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote) - (mode-line-modified, mode-line-process, mode-line-position) - (mode-line-modes, mode-line-buffer-identification, minor-mode-alist) - * font-core.el (font-lock-defaults): - * format.el (format-alist): - * vc-hooks.el (vc-mode): - * window.el (special-display-buffer-names): - * international/mule-cmds.el (input-method-alist): - Define riskiness here (dumped file) rather than in files.el. - * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace): - * imenu.el (imenu-generic-expression, imenu--index-alist): - * outline.el (outline-level): - * time.el (display-time-string): - * calendar/parse-time.el (parse-time-rules): - * mail/rmailout.el (rmail-output-file-alist): - Autoload riskiness here, rather than placing in files.el. - -2009-08-26 Andreas Schwab <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow. - -2009-08-25 Michael Albinus <[email protected]> - - * simple.el (process-file-side-effects): New defvar. - - * dired-aux.el (dired-show-file-type): - * vc.el (vc-diff-internal): - * vc-arch.el (vc-arch-diff): - * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table): - * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table): - * vc-git.el (vc-git-registered, vc-git-working-revision) - (vc-git-find-revision, vc-git-diff, vc-git-revision-table) - (vc-git--empty-db-p): - * vc-hooks.el (vc-user-login-name): - * vc-svn.el (vc-svn-registered, vc-svn-state) - (vc-svn-dir-extra-headers, vc-svn-find-revision): - * progmodes/grep.el (grep-probe): Let-bind - `process-file-side-effects' with nil. - - * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT. - - * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS - daemon. Replace ping by checking for running service for bluez - and zeroconf. (Bug#4239) - -2009-08-25 Kevin Ryde <[email protected]> - - * net/dig.el (dig): Add autoload cookie. - -2009-08-25 Glenn Morris <[email protected]> - - * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in - load-history for absolute file-names. - (byte-compile-file-form-require): Warn about use of the cl package. - - * format.el (format-alist): Doc fix. - - * play/bubbles.el (top-level): Don't require cl at run-time. - - * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence - run-time cl). - -2009-08-24 Dmitry Dzhus <[email protected]> - - * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*' - from cl package. - (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'. - -2009-08-24 Jay Belanger <[email protected]> - - * calc/calc-alg.el (math-trig-rewrite) - (math-hyperbolic-trig-rewrite): New functions. - (calc-simplify): Simplify trig functions when asked. - -2009-08-24 Stefan Monnier <[email protected]> - - * diff-mode.el (diff-find-source-location): Avoid goto-line. - -2009-08-24 Kenichi Handa <[email protected]> - - * language/ind-util.el (mapthread): Delete it. - (combinatorial): New function. - (indian--puthash-cv): Use combinatorial instead of mapthread. - -2009-08-22 Kevin Ryde <[email protected]> - - * emacs-lisp/checkdoc.el (checkdoc-force-history-flag) - (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp. - (checkdoc-symbol-words): Add safe-local-variable for list of strings. - Clarify docstring that the value is strings not symbols. - (checkdoc-list-of-strings-p): New function. - -2009-08-22 Glenn Morris <[email protected]> - - * files.el (auto-mode-alist): - * hippie-exp.el (he-concat-directory-file-name): - * lpr.el (lpr-windows-system, printer-name): - * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program): - * ps-print.el (ps-windows-system): - * startup.el (command-line): - * emulation/viper-ex.el (viper-glob-function): - * international/mule-cmds.el (set-language-environment-coding-systems): - * net/ange-ftp.el (ange-ftp-write-region): - * obsolete/fast-lock.el (fast-lock-cache-name): - Remove code for defunct system-types emx, macos, mswindows, next-mach, - unisoft-unix, vax-vms, win32, w32. - - * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a - given name if the pattern is not more specific. - - * calendar/lunar.el (lunar-phase-names): New option. - (lunar-phase): Doc fix. - (lunar-cycles-per-year): New constant. - (lunar-index): New function. - (lunar-phase-list, diary-lunar-phases): Use lunar-index. - (lunar-phase-name): Use lunar-phase-names. - (calendar-lunar-phases): Use format. - (lunar-new-moon-on-or-after): Use lunar-cycles-per-year. - - * progmodes/cperl-mode.el (cperl-imenu-name-and-position): - Copy imenu-example--name-and-position function here for own use. - (cperl-xsub-scan): Use cperl-imenu-name-and-position. - - * bs.el (bs--redisplay): - * cus-edit.el (custom-redraw): - * ibuffer.el (ibuffer-bury-buffer): - * server.el (server-goto-line-column): - * startup.el (command-line-1): - * strokes.el (strokes-xpm-for-stroke): - * term.el (term-display-buffer-line): - * view.el (View-goto-line): - * calc/calc.el (calc-do, calc-trail-buffer): - * play/gamegrid.el (gamegrid-add-score-insecure): - * progmodes/ada-mode.el (ada-compile-goto-error): - * progmodes/ada-xref.el (ada-xref-find-in-modified-ali): - (ebrowse-select-1st-to-9nth): - * progmodes/cperl-mode.el (cperl-time-fontification): - * progmodes/ebrowse.el (ebrowse-toggle-file-name-display) - * progmodes/gud.el (gud-display-line): - (idlwave-shell-display-line): - * progmodes/idlw-shell.el (idlwave-shell-goto-frame) - * progmodes/make-mode.el (makefile-browser-toggle): - (vhdl-speedbar-port-copy, vhdl-compose-components-package): - * progmodes/vhdl-mode.el (vhdl-speedbar-find-file) - * textmodes/picture.el (picture-draw-rectangle): - * textmodes/reftex-index.el (reftex-index-goto-letter): - (reftex-select-jump-to-previous): - * textmodes/reftex-sel.el (reftex-find-start-point) - * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region): - (rst-straighten-deco-spacing, rst-section-tree, rst-toc): - * textmodes/rst.el (rst-promote-region, rst-straighten-decorations) - * textmodes/tex-mode.el (tex-compilation-parse-errors): - * textmodes/two-column.el (2C-associated-buffer): - Use forward-line rather than goto-line. - - * emulation/vi.el (vi-goto-line): Don't warn about non-interactive - goto-line. - - * international/ucs-normalize.el (nfd, decomposition-translation-alist) - (decomposition-char-recursively, alist-list-to-vector, quick-check-list) - (quick-check-list-to-regexp): Declare. - - * progmodes/make-mode.el (makefile-browser-insert-selection): - Use goto-char rather than goto-line. - - * progmodes/prolog.el (compilation-error-regexp-alist) - (compilation-forget-errors): Declare. - -2009-08-22 Juri Linkov <[email protected]> - - * progmodes/grep.el (lgrep, rgrep): At the beginning - set `dir' to `default-directory' unless `dir' is a non-nil - readable directory. (Bug#4052) - (lgrep, rgrep): Change a weird way to report an error - from using `read-string' to using `error'. - Instead of using interactive arguments in the function body, - add new argument `confirm'. - -2009-08-21 Stefan Monnier <[email protected]> - - * textmodes/remember.el (remember-buffer): - * progmodes/cperl-mode.el (cperl-vc-header-alist): - * calendar/icalendar.el (icalendar-convert-diary-to-ical) - (icalendar-extract-ical-from-buffer): - * net/newst-treeview.el (newsticker-groups-filename): - * net/newst-backend.el (newsticker-cache-filename): - * speedbar.el (speedbar-update-speed, speedbar-navigating-speed) - (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp) - (speedbar-add-ignored-path-regexp, speedbar-line-path) - (speedbar-buffers-line-path, speedbar-path-line) - (speedbar-buffers-line-path): - * epg.el (epg-passphrase-callback-function, epg-start-sign-keys) - (epg-sign-keys): - * epa.el (epa-display-verify-result): - * progmodes/pascal.el (pascal-outline): Add version of obsolescence. - -2009-08-21 Glenn Morris <[email protected]> - - * progmodes/js.el (inferior-moz-process): Fix declaration. - - * imenu.el (imenu-example--name-and-position): Fix obsolescence message. - - * obsolete/rnewspost.el (news-mail-reply): - Use goto-char rather than goto-line. - - * term/ns-win.el (ns-open-file-select-line): - Use line-beginning-position rather than goto-line. - - * apropos.el (apropos-command): - * ehelp.el (electric-helpify): - * printing.el (pr-show-setup): - * strokes.el (strokes-help): - * tutorial.el (tutorial--describe-nonstandard-key) - (tutorial--detailed-help): - * woman.el (woman-mini-help, woman-display-extended-fonts): - * calc/calc-help.el (calc-describe-key): - * emulation/edt.el (edt-electric-helpify): - * international/mule-diag.el (mule-diag): - * play/yow.el (apropos-zippy): - * progmodes/python.el (python-describe-symbol): - * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode): - * textmodes/table.el (*table--cell-describe-mode) - (*table--cell-describe-bindings): - Use help-print-return-message rather than the now obsolete alias. - - * calendar/cal-move.el (calendar-cursor-to-nearest-date) - (calendar-cursor-to-visible-date): - * play/5x5.el (5x5-position-cursor): - * play/decipher.el (decipher): - * play/gomoku.el (gomoku-goto-xy): - * play/landmark.el (lm-goto-xy): - * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics) - (mpuz-paint-digit): - Use forward-line, not goto-line. - - * mail/rmail.el (rmail-obsolete): Delete custom group. - (rmail-pop-password, rmail-pop-password-required): Make into aliases. - (rmail-remote-password, rmail-remote-password-required): - Remove unneeded :set-after and :set properties. - -2009-08-21 Michael Albinus <[email protected]> - - * net/dbus.el (top): Initialize only when `dbusbind' is loaded. - -2009-08-21 Dan Nicolaescu <[email protected]> - - * loadup.el: Remove leftover macos code. - - * vc-git.el (vc-git-annotate-command): Run asynchronously. - Explicitly pass the date format to git blame so that user local - so that the output format can be parsed. - -2009-08-20 Michael Albinus <[email protected]> - - * net/dbus.el (top): Don't check for (getenv - "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now. - -2009-08-19 Magnus Henoch <[email protected]> - - * log-edit.el (log-edit-strip-single-file-name): New var. - (log-edit-insert-changelog): Use it. Bug#3571 - -2009-08-19 Stefan Monnier <[email protected]> - - * subr.el (read-passwd): Use read-key so keypad keys work as well. - Bug#3287 - - * help.el (help-print-return-message): Rename from - print-help-return-message. - - * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable - cvs-mode-map parent hack. - (log-view-mode): Derive from special-mode. - - * linum.el (linum-mode): window-size-change-functions is redundant. - Adapt to new window-configuration-change-hook behavior. - (linum-after-size, linum-after-config): Remove. - - * imenu.el (imenu-example--name-and-position) - (imenu-example--lisp-extract-index-name) - (imenu-example--create-lisp-index, imenu-example--create-c-index): - Mark as obsolete. - - * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var. - (inferior-prolog-mode): Use it. - (inferior-prolog-load-file): Reset list of errors. - -2009-08-19 ARISAWA Akihiro <[email protected]> (tiny change) - - * language/tibetan.el ("Tibetan"): Fix sample-text entry. - - * language/tai-viet.el ("TaiViet"): Fix sample-text entry. - -2009-08-19 Michael Albinus <[email protected]> - - * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus - is running already. - -2009-08-19 Stefan Monnier <[email protected]> - - * subr.el (listify-key-sequence-1): Use normal syntax since those - integers are nowadays always represented by the same (positive) number - on all platforms. - (read-key-empty-map): New const. - (read-key-delay): New var. - (read-key): New function. - (force-mode-line-update): Use with-current-buffer. - (locate-user-emacs-file): Don't forget to abbreviate the file name. - (start-process-shell-command, start-file-process-shell-command): - Discourage the use of command-args. - -2009-08-19 Glenn Morris <[email protected]> - - * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail. - -2009-08-19 Stefan Monnier <[email protected]> - - * simple.el (choose-completion-string): Don't rely on - minibuffer-completing-file-name and ad-hoc checks to decide whether - to continue completion or not. - - * minibuffer.el (minibuffer-hide-completions): New function. - (completion--do-completion): Use it. - (completions-annotations): New face. - (completion--insert-strings): Use it. - (completion-pcm--delim-wild-regex): Add docstring. - (completion-pcm--string->pattern): Add support for 0-width delimiters - in completion-pcm--delim-wild-regex. - -2009-08-18 Stefan Monnier <[email protected]> - - * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion): - Remove unused var `buffer-modified-p'. - - * minibuffer.el (completion--do-completion): Move point for the #b001 - case as well (bug#4176). - (minibuffer-complete, minibuffer-complete-word): Don't move point. - -2009-08-18 Michael Albinus <[email protected]> - - * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system - and :session buses. - -2009-08-18 Kenichi Handa <[email protected]> - - * international/ucs-normalize.el (ucs-normalize-version): - Change to 1.1. - (ucs-normalize-hfs-nfd-pre-write-conversion): New function. - (utf-8-hfs): Make it perform normalization on encoding too. - - * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie. - (sentence-end-without-space): Delete duplicated chars. - (sentence-end-base): Likewise. - - * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie. - (html-mode): Delete duplicated chars from sentence-end-base. - - * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie. - (texinfo-mode): Delete duplicated chars from sentence-end-base. - -2009-08-17 Chong Yidong <[email protected]> - - * files.el (hack-one-local-variable): If the mode function is for - a minor mode, pass it an argument (Bug#4148). - -2009-08-17 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-register-completion-file-name-handler): - Check also for (member 'partial-completion completion-styles). - -2009-08-16 Chong Yidong <[email protected]> - - * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand - abbrev (Bug#3943). - -2009-08-16 Ilya Zakharevich <[email protected]> - - * progmodes/cperl-mode.el: Merge upstream 6.2. - (cperl-mode-syntax-table): Modify syntax entry for ["'`]. - (cperl-forward-re): Check cperl-brace-recursing. - (cperl-highlight-charclass): New function. - (cperl-find-pods-heres): Use it. - (cperl-fill-paragraph): Synch to save-excursion placement used upstream. - (cperl-beautify-regexp-piece): Fix column calculation. - (cperl-make-regexp-x): Handle case where point is between "q" and "rs". - (cperl-beautify-level): Don't process entire regexp. - (cperl-build-manpage, cperl-perldoc): Bind Man-switches before - calling man. - (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix. - (cperl-init-faces): Build a list in the normal way. - -2009-08-16 Chong Yidong <[email protected]> - - * calendar/parse-time.el (parse-time-string-chars): Save match - data. - -2009-08-16 Stefan Monnier <[email protected]> - - * progmodes/sql.el (sql-product-alist): Add :name tag to entries. - (sql-product): Use it. - (sql-mode-menu): Auto-generate the menu based on sql-product-alist. - (sql-set-product): Add completion. - (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords) - (sql-highlight-linter-keywords, sql-highlight-ms-keywords) - (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords) - (sql-highlight-informix-keywords, sql-highlight-interbase-keywords) - (sql-highlight-ingres-keywords, sql-highlight-solid-keywords) - (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords) - (sql-highlight-db2-keywords): Remove. - (sql-find-sqli-buffer, sql-set-sqli-buffer-generally) - (sql-highlight-product): Use derived-mode-p. - (sql-set-sqli-buffer): Use with-current-buffer. - (sql-connect-informix, sql-connect-ingres, sql-connect-oracle): - Simplify. - - * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function. - - * term.el: Fix commenting convention, turn comments into docstrings. - -2009-08-16 E. Jay Berkenbilt <[email protected]> (tiny change) - - * whitespace.el (whitespace-style): Doc fix (Bug#3661). - -2009-08-16 Jan Seeger <[email protected]> (tiny change) - - * calendar/parse-time.el (parse-time-string-chars): Compute using - character classes, to handle non-ascii characters (Bug#3190). - -2009-08-16 Chong Yidong <[email protected]> - - * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting - another heredoc if the user adds another < (Bug#3226). - - * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): - Don't initialize based on window-system (Bug#4124). - - * facemenu.el (facemenu-read-color): Use a completion function - that accepts any defined color, such as RGB triplets (Bug#3677). - - * files.el (get-free-disk-space): Change fallback default - directory to /. Expand DIR argument before switching to fallback. - Suggested by Kevin Ryde (Bug#2631, Bug#3911). - -2009-08-15 Chong Yidong <[email protected]> - - * files.el (load-library): Doc fix. - -2009-08-15 Michael Kifer <[email protected]> - - * emulation/viper-cmd.el (viper-insert-isearch-string): New function. - (viper-if-string): Redefine C-s in the minibuffer to insert the last - incremental search string. - - * ediff-init.el (ediff-coding-system): Use escape-quoted in case of - XEmacs. - - * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip) - (ediff-merge-region-is-non-clash) - (ediff-skip-merge-region-if-changed-from-default-p): Use defun. - Also check if the job is really a merge job. - - * ediff.el (ediff-current-file): New function. - -2009-08-15 Chong Yidong <[email protected]> - - * progmodes/js.el: Edit docstrings throughout to follow Emacs - conventions. - (js-insert-and-indent): Delete function. - (js-mode-map): Don't bind keys to js-insert-and-indent. - (js-beginning-of-defun): Rename from js--beginning-of-defun. - (js-end-of-defun): Rename from js--end-of-defun. - (js-auto-indent-flag): Delete variable. - -2009-08-14 Chong Yidong <[email protected]> - - * progmodes/js.el: Remove proclaim statement. - Defvar which-func-imenu-joiner-function to silence compiler. - - * files.el (auto-mode-alist): Use js-mode for .js files. - - * progmodes/js2-mode.el: Remove file. - - * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el. - - * speedbar.el (speedbar-supported-extension-expressions): Add .js. - - * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry. - -2009-08-14 Daniel Colascione <[email protected]> - Karl Landstrom <[email protected]> - - * progmodes/js.el: New file. - -2009-08-14 Mark A. Hershberger <[email protected]> - - * timezone.el (timezone-parse-date): Add ability to understand ISO - basic format (minimal separators) dates in addition to the - already-supported extended format dates. - -2009-08-14 Eli Zaretskii <[email protected]> - - * international/ucs-normalize.el: Add a `coding' file variable. - - * Makefile.in (ELCFILES): Add international/ucs-normalize.elc. - -2009-08-14 Sam Steingold <[email protected]> - - * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing. - -2009-08-13 Chong Yidong <[email protected]> - - * faces.el (help-argument-name): Define it here instead of - help-fns.el, because in daemon mode help-fns.el may be loaded when - faces are still uninitialized (Bug#1078). - - * help-fns.el (help-argument-name): Move defface to faces.el. - -2009-08-13 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to - create buffer with a pty but no process so that GDB can make the - inferior the controlling process. - -2009-08-13 Taichi Kawabata <[email protected]> - - * international/ucs-normalize.el: New file. - -2009-08-13 Richard Stallman <[email protected]> - - * mail/rmail.el (rmail-get-attr-names): - Accept an attribute header that is too short. - - * mail/rmail.el (rmail-forget-messages): - Ignore nil elt in rmail-message-vector. Use dotimes. - - * progmodes/compile.el (compilation-goto-locus): - Use next-error-move-function. - - * simple.el (next-error-move-function): New variable. - -2009-08-12 Juri Linkov <[email protected]> - - * progmodes/grep.el (lgrep): Ensure that `default-directory' is - always non-nil. (Bug#4052) - - * replace.el (read-regexp): Return empty string when - `default-value' is nil. - (keep-lines-read-args): Don't use empty string as the - default value for `read-regexp'. (Bug#2495) - -2009-08-12 Juri Linkov <[email protected]> - - * international/mule-cmds.el (ucs-insert): Change arguments - from `arg' to `character', `count', `inherit' to be the same - as in `insert-char'. Doc fix. (Bug#4039) - - * international/mule-conf.el (utf-16be-with-signature): Doc fix. - -2009-08-12 Juri Linkov <[email protected]> - - * files-x.el: New file. - - * files.el: Move code that deals with adding/deleting - file/directory-local variables to files-x.el. - - * Makefile.in (ELCFILES): Add files-x.elc. - -2009-08-11 Dmitry Dzhus <[email protected]> - - * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not - to use `goto-line'. - (gdb-place-breakpoints, gdb-get-location): Rewritten without - `goto-line'. - (gdb-invalidate-disassembly): Do not refresh upon receiving - 'update signal. Instead, update all disassembly buffers only after - threads list. - (gdb): Send -target-detach when buffer is killed (Bug#3794). - (gdb-starting): Moved -data-list-register-names... - (gdb-stopped): ...here so it's sent when first thread stops. - (gdb-registers-handler-custom): Do nothing if register names are - unknown yet. - - * progmodes/gud.el (gud-stop-subjob): Rewritten without macros - from `gdb-mi.el' to avoid extra tangling. - - * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous - change which breaks `gud-def' definitions used in `gdb'. - (gdb-update-gud-running): No extra fuss for updating frame number. - -2009-08-10 Stefan Monnier <[email protected]> - - * international/mule-cmds.el (mule-keymap, mule-menu-keymap) - (describe-language-environment-map, setup-language-environment-map) - (set-coding-system-map): Move initialization into declaration. - (set-language-info-alist): Last arg to define-key-after can be skipped. - - * international/quail.el (quail-completion-1): Simplify. - (quail-define-rules): Use slightly more compact code. - (quail-insert-decode-map): Propertize keys, compact columns. - - * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): - Add goto-line. - -2009-08-10 Miles Bader <[email protected]> - - * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag) - (js2-jsdoc-type, js2-jsdoc-value, js2-function-param) - (js2-instance-member, js2-private-member, js2-private-function-call) - (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter) - (js2-magic-paren, js2-external-variable): - Remove "-face" suffix from face names. - (js2-jsdoc-highlight-helper, js2-highlight-jsdoc) - (js2-highlight-undeclared-vars, js2-peek-token) - (js2-parse-function-params, js2-mode-show-errors) - (js2-mode-show-warnings, js2-make-magic-delimiter) - (js2-mode-highlight-magic-parens): Update to use new face names. - -2009-08-09 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-get-ls-command-with-dired): New defun. - (tramp-handle-insert-directory): Handle "--dired". (Bug#4075) - -2009-08-09 Chong Yidong <[email protected]> - - * subr.el: Provide hashtable-print-readable. - - * progmodes/hideshow.el (hs-special-modes-alist): Don't use - hs-c-like-adjust-block-beginning. - (hs-hide-block-at-point): Stop hiding at the beginning of - hs-block-end-regexp (Bug#700). - -2009-08-09 Dmitry Dzhus <[email protected]> - - * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be - a macro. - (gdb-registers-handler-custom): Do not fail when register names - are unavailable. - -2009-08-08 Dmitry Dzhus <[email protected]> - - * progmodes/gdb-mi.el (gdb-control-all-threads) - (gdb-control-current-thread): Interactive setters for - `gdb-gud-control-all-threads' to use in menu. - (gdb-show-run-p): Show «Go» when process is not active. - (gud-tool-bar-map): Add non-stop/A,T indicator. Uses - gud/thread.xpm and gud/all.xpm. - -2009-08-08 Yoni Rabkin <[email protected]> - - * net/net-utils.el (net-utils-font-lock-keywords): New var. - (nslookup-font-lock-keywords): Make it a variable. - (net-utils-mode): New mode for viewing diagnostic network output. - (net-utils-remove-ctrl-m-filter): Set inhibit-read-only. - (net-utils-run-simple): New function. - (ifconfig, iwconfig, netstat, arp, route): Use it. - -2009-08-08 Dmitry Dzhus <[email protected]> - - * progmodes/gdb-mi.el (gdb-read-memory-custom) - (gdb-memory-set-address, def-gdb-set-positive-number) - (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer - after changing settings. - (gdb-invalidate-disassembly): Update when first shown. - (gdb-edit-locals-value): Fixed. - (gdb-registers-handler-custom): Print registers in right order and - allow changing register values (only for current thread yet). - (gdb-breakpoints-mode-map): Don't assume threads buffer is present. - (gdb-threads-mode-map): Don't assume breakpoints buffer is present. - (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom) - (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread - info in mode name. - (gdb-registers-mode-map): TAB to switch to locals. - -2009-08-08 Eli Zaretskii <[email protected]> - - * mail/rmail.el (rmail-add-mbox-headers) - (rmail-set-message-counters-counter): Search for - rmail-unix-mail-delimiter instead of just "From ". (Bug#4076) - -2009-08-08 Glenn Morris <[email protected]> - - * Makefile.in (ELCFILES): Update. - -2009-08-07 Eli Zaretskii <[email protected]> - - * mail/sendmail.el (mail-yank-original): Set - buffer-file-coding-system from the one used by the message whose - text is yanked. - - * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device - to "windows" when "pgnuplot" is used. - (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't - call accept-process-output if "pgnuplot" is used. - (calc-graph-init): Don't send -display and -geometry to - "pgnuplot". If "pgnuplot" is used, glean gnuplot version by - running "pgnuplot -V" with shell-command-to-string. - - * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as - the default. - -2009-08-07 Eli Zaretskii <[email protected]> - - * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to - org/org-latex.elc. - -2009-08-07 Dan Nicolaescu <[email protected]> - - * vc-dispatcher.el (vc-resynch-window): Update comment. - - * term.el (term-handle-ansi-escape): Add comments with the - terminfo capabilities implemented. - -2009-08-06 Dmitry Dzhus <[email protected]> - - * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed. - (gdb-var-create-handler): Rewritten using JSON parser. - (gdb-propertize-header): Moved earlier. - (gdb-set-header): Removed to avoid duplication. - (gdb-thread-list-handler-custom, gdb-invalidate-disassembly): - Refresh disassembly buffers only after threads list have been - update. - (gdb-threads-header, gdb-registers-header): Per-buffer header line - variables. - -2009-08-04 Juri Linkov <[email protected]> - - * files.el: Commands to add/delete file/directory-local variables. - (read-file-local-variable, read-file-local-variable-value) - (read-file-local-variable-mode, modify-file-local-variable) - (modify-file-local-variable-prop-line) - (modify-dir-local-variable): New functions. - (add-file-local-variable, delete-file-local-variable) - (add-file-local-variable-prop-line, delete-file-local-variable-prop-line) - (add-dir-local-variable, delete-dir-local-variable) - (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals) - (copy-dir-locals-to-file-locals-prop-line): New commands. - -2009-08-04 Chong Yidong <[email protected]> - - * abbrev.el (insert-abbrev-table-description): Prettify output. - Suggested by Karl Chen. - -2009-08-04 Dmitry Dzhus <[email protected]> - - * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil. - (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'. - (gdb-overlay-arrow-position, gdb-thread-position) - (gdb-disassembly-position): Declare variables. - (gdb-wait-for-pending): Function now. - (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers) - (gdb-emit-signal, gdb-buf-publisher): Declare before first use so - compilation goes smoothly. - (gdb, gdb-non-stop, gdb-buffers): New customization groups. - (gdb-non-stop-setting): New customization setting which replaces - `gdb-non-stop' so changing it doesn't break active GDB session. - (gdb-stack-buffer-locations, gdb-stack-buffer-addresses) - (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments) - (gdb-thread-buffer-locations, gdb-thread-buffer-addresses) - (gdb-show-threads-by-default): New customization options. - (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper - routines. - (gdb-get-buffer-create): Send buffers update signal when they are - created. - (gdb-invalidate-locals, gdb-invalidate-registers) - (gdb-invalidate-breakpoints) - (gdb-invalidate-threads, gdb-invalidate-disassembly) - (gdb-invalidate-memory): Accept update signal. - (gdb-current-context-command): Use --frame option. - (gdb-update-gud-running, gdb-running, gdb-setq-thread-number): - Implement `gdb-frame-number' selection logic. - (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide - whether to show GUD toolbar buttons. - (gdb-thread-exited): Unselect current thread when it exits. - (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks'). - (gdb-mark-line): Routine which sets overlay arrow or inverses - video on fringeless displays. - (gdb-table, gdb-table-add-row, gdb-table-string): Structure used - to build aligned columns of data in GDB buffers and set text - properties line-by-line. - (gdb-invalidate-breakpoints) - (gdb-breakpoints-list-handler-custom) - (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom) - (gdb-stack-list-frames-custom, gdb-locals-handler-custom) - (gdb-registers-handler-custom): Align data columns. - (gdb-locals-handler-custom): Now prints data like in variable - declarations. - (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button): - Removed confusing buttons. - (gdb-invalidate-threads): Append --frame. - (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch - between breakpoints/threads buffers. - (gdb-set-window-buffer): Now can ignore dedicated windows. - (gdb-propertize-header): Use `gdb-set-window-buffer'. - (def-gdb-thread-buffer-simple-command): Numerous typos fixed. - (def-gdb-thread-buffer-gud-command): Replaces - `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands - for fine thread control. - (gdb-preempt-existing-or-display-buffer): New function used to - display bound buffers without breaking window layout. - (gdb-frame-location): Replaces `gdb-insert-frame-location'. - (gdb-select-frame): New version of `gdb-frames-select' which now - sets `gdb-frame-number' so commands may use --frame option instead - of inner debugger state. - (gdb-frame-handler): Do not set `gdb-frame-number'. - (gdb-threads-mode-map): Select threads with mouse. - - * progmodes/gud.el (gdb-gud-context-call): Declare function to - avoid compilation warning. - (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and - `gdb-show-stop-p`. - - * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create): - Argument `key' renamed to `buffer-type'. - (gdb-current-context-buffer-name): Do not add thread info to - buffer name when no thread is selected. - (gdbmi-record-list, gdb-shell): Try to handle GDB `shell' - command (bug 3794). - (gdb-thread-selected): Handle `=thread-selected' notification. - (gdb-wait-for-pending): New macro to deal with congestion problems. - (gdb-breakpoints-list-handler-custom): Don't fail on pending - breakpoints. - (gdb-invalidate-disassembly): Use 'fullname instead of 'file. - This fixes problem similar to one described in bug 3947. - (gud-menu-map): More menu items. - (gdb-init-1): Reset `gdb-thread-number' to nil. - - * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB - non-stop settings. - - * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil. - (gdb-current-context-command): Do not append --thread if - `gdb-thread-number' is nil. - (gdb-running-threads-count, gdb-stopped-threads-count): New - variables. - (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons) - (gdb-stopped-hooks, gdb-switch-when-another-stopped): New - customization options. - (gdb-gud-context-command, gdb-gud-context-call): New wrappers for - GUD commands. - (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'. - (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled. - (gdb-setq-thread-number, gdb-update-gud-running): New functions to - set `gdb-thread-number' and update `gud-running' properly. - (gdb-running): Update threads list when new threads appear. - (gdb-stopped): Support non-stop operation and new thread switching - logic. - (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string) - (gdb-json-partial-output): New set of JSON routines. - (def-gdb-auto-update-trigger): New `signal-list' optional - argument. - (gdb-thread-list-handler-custom): Update `gud-running', - `gdb-stopped-threads-count' and `gdb-running-threads-count'. - (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread) - (gdb-continue-thread, gdb-step-thread): New commands for fine - thread execution control. - (gud-menu-map): New menu items to switch non-stop options. - (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker. - (gdb-send): Mimic RET properly (bug 3794). - - * progmodes/gdb-mi.el (gdb-rules-name-maker) - (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for - gdb-buffer-rules. - (def-gdb-auto-update-handler): New nopreserve optional argument. - (gdb-stack-list-frames-custom): Print stack from top to bottom. - - * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable. - (gdb-threads-list, gdb-breakpoints-list): New assoc lists. - (gdb-parent-mode): New mode to derive other GDB modes from. - (gdb-display-disassembly-for-thread) - (gdb-frame-disassembly-for-thread): New commands for threads - buffer. - - * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create) - (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber) - (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher) - (gdb-update): We now store all GDB buffers in a list so that they - can be updated by traversing a list instead of calling invalidate - triggers explicitly. - (def-gdb-trigger-and-handler): New macro to define trigger-handler - pair for GDB buffer. - (gdb-stack-buffer-name): Add thread information. - (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to - handle pending triggers. - (gdb-threads-mode-map, def-gdb-thread-buffer-command) - (def-gdb-thread-buffer-simple-command) - (gdb-display-stack-for-thread, gdb-display-locals-for-thread) - (gdb-display-registers-for-thread, gdb-frame-stack-for-thread) - (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread): - New commands which show buffers bound to thread. - (gdb-stack-list-locals-regexp): Removed unused regexp. - - * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name) - (gdb-locals-buffer-name, gdb-registers-buffer-name) - (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch - to (gud-comint-buffer) in *-buffer-name functions - because (gdb-get-target-string) already does that. - (gdb-locals-handler-custom, gdb-registers-handler-custom) - (gdb-changed-registers-handler): Rewritten without regexps. - - * progmodes/gdb-mi.el: Basic thread selection support. - (gdb-thread-number): New variable. - (gdb-current-context-command): New macro which adds --thread - option to command. - (gdb-threads-mode-map): Select thread with SPC. - (gdb-thread-list-handler-custom): Mark current thread with overlay - arrow. Synchronize GDB thread and Emacs thread. - (gdb-select-thread): New command which selects current thread. - (gdb-invalidate-frames, gdb-invalidate-locals) - (gdb-invalidate-registers): Use --thread option. - -2009-08-04 Michael Albinus <[email protected]> - - * net/tramp.el (top): Make check for tramp-gvfs loading more - robust. (Bug#3977) - (tramp-handle-insert-file-contents): `unwind-protect' must be - inside `with-parsed-tramp-file-name'. - - * net/tramp-gvfs.el (top): Remove superfluous message when loading - fails. - -2009-08-03 Nick Roberts <[email protected]> - - * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current - directory if CLASSPATH is not set. - -2009-08-03 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp): - New defconst. - (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004) - -2009-08-02 Kevin Ryde <[email protected]> - - * net/newst-backend.el (newsticker--raw-url-list-defaults): - Update freshmeat link. Delete newsforge.com as it seems gone. - -2009-08-02 Chong Yidong <[email protected]> - - * select.el (x-set-selection): Doc fix (Bug#4021). - - * w32-fns.el (x-set-selection): Doc fix (Bug#4021). - - * help-fns.el (describe-variable): Treat list return values from - dir-locals-find-file properly (Bug#4005). - -2009-08-02 Julian Scheid <[email protected]> (tiny change) - - * net/tramp.el (tramp-debug-message): Print also microseconds. - -2009-08-02 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG - or END is non-nil. - (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'. - (tramp-get-debug-buffer): Change `outline-regexp' according to new - format. - - * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar. - (tramp-get-file-property): Use it. - - * autorevert.el (auto-revert-handler): Allow - `auto-revert-tail-mode' for remote files. - -2009-08-02 Jason Rumney <[email protected]> - - * minibuffer.el (read-file-name): Treat confirm options to - MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969) - -2009-08-02 Chong Yidong <[email protected]> - - * font-lock.el (font-lock-string-face, font-lock-builtin-face) - (font-lock-variable-name-face, font-lock-constant-face): Darken - the colors for light backgrounds. - -2009-08-01 Eli Zaretskii <[email protected]> - - * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of - month names. (Bug#3987) - -2009-07-31 Chong Yidong <[email protected]> - - * simple.el (line-move-finish): Pass whole number to - line-move-to-column. - (line-move-visual): Perform hscroll to the recorded position. - -2009-07-30 Jay Belanger <[email protected]> - - * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt. - -2009-07-29 Alan Mackenzie <[email protected]> - - * progmodes/cc-defs.el (c-version): Bump to 5.31.7. - -2009-07-29 Dmitry Dzhus <[email protected]> - - * progmodes/gdb-mi.el (gdb-goto-breakpoint) - (gdb-place-breakpoints): Use full path when setting breakpoints. - -2009-07-29 Jay Belanger <[email protected]> - - * calc/calc.el (calc-mode-map): Add keybinding for - `calc-transpose-lines'. - -2009-07-29 Vincent Belaïche <[email protected]> - - * calc/calc-misc.el (calc-transpose-lines): New function. - -2009-07-28 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-do-copy-or-rename-file): Add messages. - Simplify check for out-of-band methods. - (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be - remote. Remove messages which are in `tramp-do-copy-or-rename-file'. - -2009-07-28 Dan Nicolaescu <[email protected]> - - * vc-git.el (vc-git-checkin): Fix typo. - -2009-07-28 Steve Yegge <[email protected]> - - * progmodes/js2-mode.el: New file. - -2009-07-28 Nick Roberts <[email protected]> - - * progmodes/gud.el (jdb): Add gud-pstar to dump object information. - (gud-menu-map): Adjust tooltip accordingly. - -2009-07-27 Dan Nicolaescu <[email protected]> - - * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log. - (vc-bzr-log-view-mode): Adjust log-view-file-re. - - * add-log.el (change-log-mode-map): Add a menu. - -2009-07-27 Michael Albinus <[email protected]> - - * net/dbus.el (dbus-call-method-non-blocking): Handle the case the - function returns nil. - (dbus-handle-event): Handle special return value :ignore. - Reported by Jan Moringen <[email protected]>. - -2009-07-26 Chong Yidong <[email protected]> - - * view.el (view-mode-enable): Don't define Helper-return-blurb if - it's not needed. - -2009-07-25 Eli Zaretskii <[email protected]> - - Fix Bug#3888: - - * w32-vars.el (x-select-enable-clipboard): Doc fix. - - * term/pc-win.el (x-display-name, x-colors) - (x-select-enable-clipboard, x-select-text): Doc fix. - - * term/common-win.el (x-display-name, x-colors): Doc fix. - - * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors) - (xw-defined-colors): Doc fix. - - * w32-fns.el (x-select-text, x-setup-function-keys) - (x-get-selection, x-set-selection): Doc fix. - - * term/x-win.el (x-select-text, x-setup-function-keys) - (x-select-enable-clipboard, xw-defined-colors): Doc fix. - - * select.el (x-set-selection): Doc fix. - -2009-07-25 Michael Albinus <[email protected]> - - * net/zeroconf.el (zeroconf-init): Check for "GetVersionString" - instead of "IsNSSSupportAvailable". Avahi ought to work also when - "IsNSSSupportAvailable" method is not available. Reported by - Steve Youngs <[email protected]>. - -2009-07-24 Kenichi Handa <[email protected]> - - * international/characters.el: Fix setting of category ?C, ?|, ?K, - and ?H. Fix setting of case for Latin Extended and Greek Extended. - (build-unicode-category-table): Fix range checks. - -2009-07-24 Dan Nicolaescu <[email protected]> - - * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure - the buffer we try to sync is current when calling - vc-resynch-buffer. - - * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does - not show up to date files. - -2009-07-24 Glenn Morris <[email protected]> - - * emacs-lisp/elint.el (elint-current-buffer, elint-defun): - Add autoload cookies. If necessary, initialize. - (elint-log): Handle non-file buffers. - (elint-initialize): Add optional argument to reinitialize. - (elint-find-builtin-variables): Save excursion. - -2009-07-23 Dan Nicolaescu <[email protected]> - - * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries - for Lint. - -2009-07-22 Dan Nicolaescu <[email protected]> - - * vc.el (vc-print-log-internal): New function, split out from ... - (vc-print-log): ... here. - (vc-dir-move-to-goal-column): Declare. - - * vc-git.el (vc-git-add-signoff): New variable. - (vc-git-checkin): Use it. - (vc-git-toggle-signoff): New function. - (vc-git-extra-menu-map): Bind it to menu. - (vc-git--run-command-string): Accept a nil FILE argument. - (vc-git-stash-list): New function. - (vc-git-dir-extra-headers): Use it. - -2009-07-23 Glenn Morris <[email protected]> - - * help-fns.el (describe-variable): Describe ignored and risky local - variables in a similar way to that in which we describe safe ones. - - * emacs-lisp/bytecomp.el (byte-compile-from-buffer) - (byte-compile-output-file-form, byte-compile-output-docform) - (byte-compile-file-form-defmumble, byte-compile-output-as-comment): - Give some more local variables with common names a "bytecomp-" prefix, - so as not to shadow things during compilation. - * emacs-lisp/cl-macs.el (load-time-value) - * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change - `outbuffer' to `bytecomp-outbuffer'. - - * emacs-lisp/elint.el (elint-standard-variables): Remove most members, - since the next two variables cover them automatically now. - (elint-builtin-variables, elint-autoloaded-variables): New. - (elint-unknown-builtin-args): Remove all members, since they can be - parsed automatically now. - (elint-extra-errors): New. - (elint-env-add-env, elint-env-add-macro): Use cadr. - (elint-current-buffer): Use or. Change final message. - (elint-get-top-forms): Use line-end-position. - (elint-init-env): Use cadr. Handle autoload, declare-function, - and defalias. - (elint-add-required-env): Doc fix. Use or. Standardize error. - (regexp-assoc): Remove unused function. - (elint-top-form): Set elint-current-pos, to record the start of the - top-level form, for compilation-mode. - (elint-form): Trap errors in macro expansion. Use dolist. - (elint-unbound-variable): Use elint-builtin-variables and - elint-autoloaded-variables. - (elint-get-args): Use cadr, or. - (elint-check-cond-form): Use dolist, cadr. - (elint-check-condition-case-form): Doc fix. Use cadr. - Use elint-extra-errors. - (elint-log): New function. - (elint-error, elint-warning): Use elint-log for a bytecomp-style format. - Distinguish errors and warnings. - (elint-log-message): Use with-current-buffer. Inhibit read-only. - Use a bytecomp-style format. - (elint-clear-log): Preserve default-directory. Inhibit read-only. - (elint-get-log-buffer): Use compilation mode. Disable undo. - Don't truncate lines. - (elint-initialize): Set builtin and autoloaded variable lists. - Only process elint-unknown-builtin-args if non-nil. - (elint-find-builtin-variables, elint-find-autoloaded-variables): - New functions. - (elint-find-builtin-args): Doc fix. Handle "BODY...)". - -2009-07-22 Kevin Ryde <[email protected]> - - * net/newst-backend.el (newsticker--parse-atom-1.0) - (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92) - (newsticker--parse-rss-1.0): - * progmodes/idlwave.el (idlwave-mode): - * progmodes/idlw-shell.el (idlwave-shell-mode): - * progmodes/vera-mode.el (vera-mode): - * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto): - * progmodes/vhdl-mode.el (vhdl-mode): - * textmodes/table.el (table-generate-source) - (table--warn-incompatibility): - Hyperlink urls in docstrings with URL `...'. - -2009-07-22 Glenn Morris <[email protected]> - - * emacs-lisp/advice.el, emacs-lisp/checkdoc.el: - * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el: - * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el: - Remove leading * from defcustom docs. - - * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889) - - * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from - defcustom doc. - (list-load-path-shadows): Optionally, just return shadows as a string. - - * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows. - -2009-07-21 Chong Yidong <[email protected]> - - * mail/rmailedit.el (rmail-edit-mode): Use - auto-save-include-big-deletions. - - * mail/rmail.el (rmail-variables): Use - auto-save-include-big-deletions. - - * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16 - changes. - -2009-07-21 Jay Belanger <[email protected]> - - * calc/calc.el (calc-undo-length): New variable. - (calc-quit): Truncate rather than eliminate `calc-undo-list'. - -2009-07-21 Richard Stallman <[email protected]> - - * files.el (auto-save-mode): Handle buffer-save-size = -2 - for toggling mode. - -2009-07-21 Glenn Morris <[email protected]> - - * textmodes/ispell.el (ispell-looking-back): Update declaration. - - * calendar/todo-mode.el (calendar-current-date): Update declaration. - - * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to - silence compiler. Instead... - (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare. - (ps-print-ensure-fontified): Update for above function name changes. - - * printing.el (pr-mh-get-msg-num, pr-mh-show) - (pr-mh-start-of-uncleaned-message): Remove aliases only used to - silence compiler. Instead... - (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare. - (mh-show-buffer): Only define for compiler. - (pr-mh-current-message): Update for above function name changes. - - * files.el (abort-if-file-too-large): Explicitly pass `filename' - as an argument. - (find-file-noselect, insert-file-1): Update for above change. - - * mail/rmail.el (rmail-retry-ignored-headers): Bump :version. - - * mail/mailclient.el (mailclient-send-it): Fix message. - - * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler. - (edebug-eval): Check cl-debug-env is bound. - (print-level, print-circle): Don't redefine built-in variables. - - * emacs-lisp/cust-print.el: Remove leading * from defcustom docs. - (custom-print-vectors): Remove old comments from doc. - - * emerge.el (menu-bar-emerge-menu): Remove unused variable. - (emerge-version): Make the variable an obsolete alias for the - emacs-version variable. Make the function obsolete. - (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for - Emerge options, rather than merging in into the main Options menu. - (emerge-options-menu): Adjust menu text. Use buttons for skip prefers - and auto advance modes. Disable edit/fast items when not relevant. - -2009-07-20 Dan Nicolaescu <[email protected]> - - * term/vt420.el (terminal-init-vt420): Fix typo. - -2009-07-20 Sam Steingold <[email protected]> - - * progmodes/ada-mode.el (compile-auto-highlight): Remove the - variable (removed from compile.el on 2004-03-11). - -2009-07-20 Chong Yidong <[email protected]> - - * files.el (hack-local-variables-filter): Fix last change. - -2009-07-19 Juri Linkov <[email protected]> - - * files.el (ignored-local-variables): Add `dir-local-variables-alist'. - (dir-local-variables-alist): New buffer-local variable. - (hack-local-variables-filter): If variable is not dir-local, - i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist', - because file-local overrides dir-local. - (c-postprocess-file-styles) <declare-function>: - Remove obsolete declaration. - (hack-dir-local-variables): Add dir-local variable/value pair to - `dir-local-variables-alist' and remove duplicates. Doc fix. - - * help-fns.el (describe-variable): Add information about - file-local and dir-local variables. - -2009-07-19 Chong Yidong <[email protected]> - - * files.el (hack-local-variables-filter): Rewrite. - -2009-07-19 Glenn Morris <[email protected]> - - * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs): - Silence compiler by only defining on XEmacs. - - * international/mule.el (auto-coding-regexp-alist): Only match - BABYL... at the start of buffer, not of lines. (Bug#3790) - - * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from - non-calendar buffers (Bug#3862). Restore "not on a date" message. - (cal-menu-context-mouse-menu): Doc fix. - - * desktop.el (desktop-buffers-not-to-save): Set :version tag. - - * simple.el (mail-user-agent): Doc fix. Set :version tag. - -2009-07-18 Juri Linkov <[email protected]> - - * info.el: Virtual Info keyword finder. - (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'". - (Info-finder-file): New variable. - (Info-finder-find-file): New function. - (finder-known-keywords, finder-package-info) - (find-library-name, lm-commentary): Use defvar and - declare-function to silence compiler warnings. - (Info-finder-find-node): New function. - (info-finder): New command. - - * subr.el (process-kill-buffer-query-function): New function. - (add-hook)<kill-buffer-query-functions>: Add hook - `process-kill-buffer-query-function'. - -2009-07-18 Alan Mackenzie <[email protected]> - - * progmodes/cc-mode.el (c-before-hack-hook) - (c-postprocess-file-styles): Give invocation of `c-set-style' - DONT-OVERRIDE parameter of t. Already set style variables will - thus not be overridden by style settings given by `c-file-syle'. - - * files.el (hack-local-variables-filter): Remove entries with - duplicate keys from `file-local-variables-alist'. - -2009-07-18 Eli Zaretskii <[email protected]> - - * simple.el (deactivate-mark, activate-mark, set-mark): Don't call - x-set-selection if display-selections-p returns nil for the - current frame. - -2009-07-18 Chong Yidong <[email protected]> - - * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873). - -2009-07-18 Eli Zaretskii <[email protected]> - - * desktop.el (desktop-buffers-not-to-save): Default value is nil. - Accept nil in addition to a regexp. - (desktop-files-not-to-save): Add "(ftp)$" to the default regexp. - Accept nil in addition to a regexp. - (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for - buffers that have an associated file. Handle nil values of - desktop-buffers-not-to-save and desktop-files-not-to-save. - (Bug#3833) - - * term/pc-win.el (x-selection-owner-p, x-own-selection-internal) - (x-disown-selection-internal): New functions. - -2009-07-18 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler - warning. - (gdb-breakpoints-header): Move forward to avoid compiler warning. - (gdb-make-header-line-mouse-map): Remove duplicate definition. - -2009-07-18 David De La Harpe Golden <[email protected]> - - * simple.el (set-mark): Revert last change. - -2009-07-17 Tassilo Horn <[email protected]> - - * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if - rendering of pngs is not possible instead of messaging a long - description. - -2009-07-17 David De La Harpe Golden <[email protected]> - - * w32-fns.el (x-selection-owner-p): New function. - - * mouse.el (mouse-drag-track): Call deactivate-mark earlier. - (mouse-yank-at-click, mouse-yank-primary): If - select-active-regions is non-nil, deactivate the mark before - insertion. - - * simple.el (deactivate-mark, set-mark): Only save selection if we - own it. - -2009-07-17 Kenichi Handa <[email protected]> - - * case-table.el (describe-buffer-case-table): Fix for the case - that KEY is a cons. - -2009-07-16 Dan Nicolaescu <[email protected]> - - * vc-rcs.el (vc-rcs-find-file-hook): - * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error. - -2009-07-16 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-wait-for-output): Handle the case when - commands do not return a newline but a null byte before the shell - prompt. (Bug#3858) - -2009-07-16 YAMAMOTO Mitsuharu <[email protected]> - - * term/ns-win.el (ns-set-alpha): Don't declare. - (ns-set-background-alpha): Remove function. - -2009-07-16 Kevin Ryde <[email protected]> - - * emacs-lisp/copyright.el (copyright-update): Save match-data across - y-or-n-p, for safety. - -2009-07-16 Richard Stallman <[email protected]> - - * files.el (auto-save-mode): If buffer-saved-size is -2, - don't clobber it. - - * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2. - (rmail-retry-ignored-headers): Add more uninteresting fields. - -2009-07-15 Jari Aalto <[email protected]> - - * net/rcirc.el (rcirc): Use history variables. - (rcirc-server-name-history, rcirc-nick-name-history) - (rcirc-server-port-history): New variables. - -2009-07-15 Kenichi Handa <[email protected]> - - * international/mule-cmds.el (set-language-environment-charset): - If coding-system-charset-list returns `iso-2022' or `emacs-mule', - ignore them. - - * language/misc-lang.el ("IPA"): Change coding systems to utf-8. - Delete unibyte-display. - -2009-07-15 Chong Yidong <[email protected]> - - * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695). - -2009-07-15 Chong Yidong <[email protected]> - - * simple.el (deactivate-mark): Optional argument FORCE. - (set-mark): Use deactivate-mark. - - * info.el (Info-search): No need to check transient-mark-mode - before calling deactivate-mark. - - * select.el (x-set-selection): Doc fix. - (x-valid-simple-selection-p): Allow buffer values. - (xselect--selection-bounds): Handle buffer values. Suggested by - David De La Harpe Golden. - - * mouse.el (mouse-set-region, mouse-drag-track): Call - copy-region-as-kill before setting the mark, to let - select-active-regions work. - -2009-07-15 David De La Harpe Golden <[email protected]> - - * simple.el (deactivate-mark): If select-active-regions is - non-nil, copy the selection data into a string. - (activate-mark): If select-active-regions is non-nil, set the - selection to the current buffer. - (set-mark): Update selection if select-active-regions is non-nil. - - * select.el (x-valid-simple-selection-p): Allow buffer values. - -2009-07-14 Stefan Monnier <[email protected]> - - * simple.el (mail-user-agent): Default to the upwardly-UI-compatible - and more featureful message-mode. - -2009-07-14 Chong Yidong <[email protected]> - - * select.el (x-set-selection): Doc fix. - (x-valid-simple-selection-p): Disallow selection data consisting - of a list or cons of integers, since that is not used. - (xselect--selection-bounds, xselect--int-to-cons): New functions. - (xselect-convert-to-string, xselect-convert-to-length) - (xselect-convert-to-filename, xselect-convert-to-charpos) - (xselect-convert-to-lineno, xselect-convert-to-colno): Use them. - -2009-07-14 Dmitry Dzhus <[email protected]> - - * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI - output in -break-info command (Emacs bug #3794). - -2009-07-14 Glenn Morris <[email protected]> - - * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms) - (edebug-eval-macro-args, edebug-save-displayed-buffer-points) - (edebug-print-length, edebug-print-level, edebug-print-circle) - (edebug-sit-for-seconds, edebug-view-outside) - (edebug-bounce-point, edebug-set-global-break-condition) - (edebug-Go-nonstop-mode, edebug-trace-mode) - (edebug-Trace-fast-mode, edebug-continue-mode) - (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help) - (edebug-visit-eval-list): Doc fixes. - - * subr.el (def-edebug-spec): Doc fix. - -2009-07-14 Kenichi Handa <[email protected]> - - * international/characters.el: Fix setting of category ?C. - -2009-07-13 Jan Djärv <[email protected]> - - * term/ns-win.el (x-select-font): defalias x-select-font to - ns-popup-font-panel instead of generate-fontset-menu. - -2009-07-12 Eli Zaretskii <[email protected]> - - * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833) - -2009-07-12 Peter Jolly <[email protected]> (tiny change) - - * arc-mode.el (archive-find-type): Allow for a PK00 string before - the PK\003\004 header (Bug#3770). - -2009-07-12 Guanpeng Xu <[email protected]> - - * pcomplete.el (pcomplete-comint-setup): Check for - shell-dynamic-complete-filename too. - -2009-07-11 Chong Yidong <[email protected]> - - * simple.el (temporary-goal-column): Change the value for - line-move-visual to a cons cell. - (line-move-visual): Record or set the window hscroll, if - necessary (Bug#3494). - (line-move-1): Handle cons value of temporary-goal-column. - -2009-07-11 Kenichi Handa <[email protected]> - - * international/mule-diag.el (describe-character-set): Don't show - width. - -2009-07-10 Sam Steingold <[email protected]> - - * progmodes/compile.el (compilation-mode-font-lock-keywords): - Omake sometimes indents the errors it prints, so allow all - regexps to start with spaces. - -2009-07-10 Eli Zaretskii <[email protected]> - - * cus-edit.el (customize-changed-options-previous-release): - Bump value to 22.1. (Bug#3804) - -2009-07-08 Sam Steingold <[email protected]> - - * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories - to be a cons cell (test . ignored-directory) to selectively ignore - some directories depending on the location of the search. - -2009-07-08 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-set-file-uid-gid): Handle the case the - remote user is root, on the local host. - (tramp-local-host-p): Either the local user or the remote user - must be root. (Bug#3771) - -2009-07-08 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb): Remove description of - gdb-use-separate-io-buffer. - (menu): Don't allow toggling of or enable - gdb-use-separate-io-buffer from menubar. - -2009-07-08 E. Jay Berkenbilt <[email protected]> (tiny change) - - * mail/unrmail.el (unrmail): Make sure the message ends with two - newlines (Bug#3769). - -2009-07-08 Glenn Morris <[email protected]> - - * calendar/calendar.el (calendar-current-date): Rework previous change. - -2009-07-08 Ed Reingold <[email protected]> - - * calendar/calendar.el (calendar-current-date): - Add an optional argument giving an offset from today. - -2009-07-08 Glenn Morris <[email protected]> - - * tutorial.el (tutorial--describe-nonstandard-key): - Adjust the message for when a key has been unbound. - (help-with-tutorial): Hide the arch-tag. - -2009-07-08 Kenichi Handa <[email protected]> - - * international/fontset.el (setup-default-fontset): For each - script, append (not set) font-specs. - - * language/japanese.el (japanese-shift-jis-2004): Fix typo in the - docstring. - -2009-07-08 Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el (gdb-init-1): Move sending - -data-list-register-names to ... - (gdb-starting): ... here because GDB 7.0 requires execution to - have started when using this MI command. - (gdb-set-header): New function to distinguish select and - unselected tabs in gdb buffers. - (gdb-propertize-header): New macro that uses gdb-set-header. - (gdb-breakpoints-header, gdb-locals-header): Use it. - (gdb-disassembly-mode-map): Add keybinding to kill buffer. - -2009-07-07 Chong Yidong <[email protected]> - - * Makefile.in (ELCFILES): Remove fadr.elc. - -2009-07-07 Dmitry Dzhus <[email protected]> - - * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name - may contain frame information, so `string-match' should be used. - (gdb-update): Disassembly is invalidated through - `gdb-get-selected-frame'. - (gdb-pad-string): New function to pad string with spaces. - (gdb-invalidate-disassembly): Invalidate only if the buffer - exists. - (gdb-disassembly-handler-custom): Column alignment. - (gdb-disassembly-place-breakpoints): Clear old breakpoints before - placing new ones. - (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the - end of line, too. - (gdb-frame-handler): Match convention to for disassembly buffer - mode name. - (gdb-stack-list-frames-handler): Rewritten without regexps. - (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do - not highlight breakpoints without line information. - (gdb-input): Add trailing newline to command. - - * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly - buffer properly. - (gdb-breakpoints-list-handler-custom): Replacement for - `gdb-break-list-handler'. Using real parser instead of regexps - now. - (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'. - Use `gdb-breakpoints-list' instead of parsing breakpoints buffer - to place breakpoints. - (def-gdb-memory-unit): A new macro to define gdb-memory-unit-.. - functions. - (gdb-disassembly-handler-custom): Show overlay arrow. - (gdb-disassembly-place-breakpoints): Show breakpoints in - disassembly buffer. - (gdb-toggle-breakpoint, gdb-delete-breakpoint) - (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties - instead of parsing breakpoints buffer. Fixed old menu references - in `gud-menu-map'. - - * fadr.el: Remove. - - * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el. - (gdb-memory-address): New variable which holds top address of - memory page shown in memory buffer. - (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New - customization variables. - New functions: - (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to - display the memory buffer. - (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory - buffer display parameters. - (def-gdb-memory-format, gdb-memory-format-binary) - (gdb-memory-format-octal, gdb-memory-format-unsigned) - (gdb-memory-format-signed, gdb-memory-format-hexadecimal): - Functions for setting memory buffer format. - (gdb-memory-unit-word, gdb-memory-unit-halfword) - (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set - unit size used in memory buffer. - (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch - to next/previous page of memory buffer. - Now using (bindat-get-field) instead of fadr functions. - -2009-07-07 Sam Steingold <[email protected]> - - * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for - non-top-level files. - -2009-07-07 Kenichi Handa <[email protected]> - - * international/mule-cmds.el (reset-language-environment): Put - the highset priority to the charset iso-8859-1. - -2009-07-06 Chong Yidong <[email protected]> - - * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point - to the end of the line when locating the block (Bug#700). - -2009-07-06 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-handle-write-region): Flush file properties - in case of short track. - -2009-07-06 Michael McNamara <[email protected]> - - * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist): - Coded custom representation of verilog error regular expressions - to work with Emacs-22's new format. - (verilog-error-regexp-xemacs-alist): Coded custom representation - of verilog error regular expressions to work with XEmacs format. - (verilog-error-regexp-add-xemacs): Hook routine to install verilog - error recognition into XEmacs. - (verilog-error-regexp-add-emacs): Hook routine to install verilog - error recognition into Emacs-22. - -2009-07-06 Chong Yidong <[email protected]> - - * woman.el: Remove stand-alone closing parentheses. - (woman-file-name, woman2-format-paragraphs) - (woman-leave-blank-lines): Code cleanup. - (woman-use-own-frame): Change default to nil. - (woman-italic, woman-bold, woman-unknown, woman-addition): Change - defaults to inherit from default faces. - (woman2-process-escapes): Consume the newline after a stand-alone - filler character (Bug#3651). - -2009-07-06 Glenn Morris <[email protected]> - - * ffap.el (ffap-version): Make it an obsolete alias for emacs-version. - (top-level): Move provide to the end. - (ffap): Remove defunct URL from custom group. - - * subr.el (eval-after-load): Doc fix. - -2009-07-06 Vincent Belaïche <[email protected]> - - * calc/calc-embed.el (calc-embedded-make-info): Don't force when - `calc-embedded-word' is called twice. - -2009-07-05 Stefan Monnier <[email protected]> - - * files.el (find-alternate-file-other-window, find-alternate-file): - Obey confirm-nonexistent-file-or-buffer. - -2009-07-05 Michael Albinus <[email protected]> - - * dired-aux.el (dired-show-file-type): Handle remote files. - -2009-07-05 Jari Aalto <[email protected]> - - * desktop.el (desktop-globals-to-save): - Add file-name-history (Bug#2750). - -2009-07-05 Chong Yidong <[email protected]> - - * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217). - -2009-07-04 Johan Bockgård <[email protected]> - - * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number' - property on entire argument since this is what eshell-lisp-command - expects. - -2009-07-03 Michael Albinus <[email protected]> - - * net/tramp-gvfs.el (tramp-gvfs-methods) - (tramp-gvfs-zeroconf-domain) - (tramp-bluez-discover-devices-timeout): Add version flag. - (tramp-gvfs-handler-mounted-unmounted) - (tramp-gvfs-connection-mounted-p): Polish handling of - incompatibilities between GVFS 0.2 and 1.0. - -2009-07-03 Jan Djärv <[email protected]> - - * cus-start.el (all): Add make-pointer-invisible. - -2009-07-03 Jay Belanger <[email protected]> - - * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is - formatted correctly. - -2009-07-02 Juri Linkov <[email protected]> - - * info.el: Virtual Info files and nodes. - (Info-virtual-files, Info-virtual-nodes): New variables. - (Info-current-node-virtual): New variable. - (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call): - New functions. - (Info-file-supports-index-cookies): Use Info-virtual-file-p - to check for a virtual file instead of checking a fixed list - of node names. - (Info-find-file): Use Info-virtual-fun and Info-virtual-call - instead of ad-hoc processing of "dir" and (apropos history toc). - (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call - instead of ad-hoc processing of "dir" and (apropos history toc). - Reread a file when moving from a virtual node. - (add-to-list)<Info-virtual-files>: Add "\\`dir\\'". - (Info-directory-toc-nodes, Info-directory-find-file) - (Info-directory-find-node): New functions. - (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'". - (Info-history): Move part of code to - `Info-history-find-node'. - (Info-history-toc-nodes, Info-history-find-file) - (Info-history-find-node): New functions. - (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'". - (Info-toc): Move part of code to `Info-toc-find-node'. - (Info-toc-find-node): New function. - (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert - the current Info file name to references because now the node - "*TOC*" belongs to the same Info manual. - (Info-toc-build): Rename from `Info-build-toc'. - (Info-toc-nodes): Rename input argument `file' to `filename'. - Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p - instead of ad-hoc processing of ("dir" apropos history toc). - (Info-index-nodes): Use Info-virtual-file-p - to check for a virtual file instead of checking a fixed list - of node names. - (Info-index-node): Add check for `Info-current-node-virtual'. - Raise `save-match-data' higher up the tree to contain - `search-forward' too (bug fix). - (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'". - (Info-virtual-index-nodes): New variable. - (Info-virtual-index-find-node, Info-virtual-index): New functions. - (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'". - (Info-apropos-file, Info-apropos-nodes): New variables. - (Info-apropos-toc-nodes, Info-apropos-find-file) - (Info-apropos-find-node, Info-apropos-matches): New functions. - (info-apropos): Move part of code to `Info-apropos-find-node' and - `Info-apropos-matches'. - (Info-mode-map): Bind "I" to `Info-virtual-index'. - (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check - for a virtual file instead of checking a fixed list of node names. - - * simple.el (async-shell-command): New command. - - * bindings.el (esc-map): Bind "&" to `async-shell-command'. - - * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt' - instead of `mount-info'. - -2009-07-02 Michael Albinus <[email protected]> - - * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted) - (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface. - -2009-07-02 Kenichi Handa <[email protected]> - - * international/mule.el (set-keyboard-coding-system): Force *-unix - coding-system to avoid eol conversion. - -2009-07-01 Michael Albinus <[email protected]> - - * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): - Add handler for `process-file', `shell-command' and - `start-file-process'. - (tramp-gvfs-handle-shell-command) - (tramp-gvfs-handle-start-file-process) - (tramp-gvfs-handle-process-file): New defuns. - (tramp-synce-list-devices): Simplify check for existence of property. - -2009-07-01 Jan Djärv <[email protected]> - - * startup.el (command-line-x-option-alist): Add -mm and --maximized. - -2009-07-01 Eduard Wiebe <[email protected]> (tiny change) - - * language/korean.el (set-language-info-alist): Add korean-cp949, - cp949 to spec. - -2009-07-01 Kenichi Handa <[email protected]> - - * Makefile.in (ELCFILES): Delete encoded-kb.elc. - - * international/encoded-kb.el: Deleted. - - * international/mule.el (set-keyboard-coding-system): Perform the - necessary setup here instead of calling encoded-kbd-setup-display. - -2009-07-01 Glenn Morris <[email protected]> - - * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes. - -2009-07-01 Evangelos Evangelou <[email protected]> (tiny change) - - * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730) - -2009-06-30 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-do-copy-or-rename-file-directly): - Handle also the 'rename case, when setting file modes. (Bug#3712) - (tramp-default-file-modes): Remove execute permissions. - - * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method. - (top): Add a default for "synce" in `tramp-default-user-alist'. - Add completion function for "synce" method. - (tramp-hal-service, tramp-hal-path-manager) - (tramp-hal-interface-manager, tramp-hal-interface-device): - New defconst. - (tramp-gvfs-connection-mounted-p): Handle empty user name for synce. - (tramp-synce-list-devices, tramp-synce-parse-device-names): - New defuns. - - * net/trampver.el: Update release number. - -2009-06-30 Kenichi Handa <[email protected]> - - * international/fontset.el (setup-default-fontset): Add CJK fonts - for symbols and the other miscellaneous characters. - - * language/korea-util.el (setup-korean-environment-internal): - Make char-width-table suitable for Korean environments. - (exit-korean-environment): Cancel above. - - * language/chinese.el ("Chinese-GB", "Chinese-BIG5") - ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a - setup-function to make char-width-table suitable for respective - environments, and an exit-function to cancel that. - - * language/japan-util.el (setup-japanese-environment-internal): - Call use-cjk-char-width-table with arg `ja_JP'. - - * international/characters.el (cjk-char-width-table): Delete it. - (cjk-char-width-table-list): New variable. - (use-cjk-char-width-table): New arg local-name. - (use-default-char-width-table): Fix for the case that Emacs is - already using the default char-width-table. - -2009-06-29 Michael Albinus <[email protected]> - - * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file - modes mandatory. (Bug#3712) - -2009-06-29 Alan Mackenzie <[email protected]> - - * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious - correction between the visible width of TABs and their number of bytes. - -2009-06-29 Chong Yidong <[email protected]> - - * server.el (server-buffer-done): Prevent kill-buffer from - prompting by clearing the buffer modification flag (Bug#3696). - -2009-06-28 Michael McNamara <[email protected]> - - * progmodes/verilog-mode.el (verilog-beg-of-statement) - (verilog-endcomment-reason-re): Support unique case and priority case. - (verilog-basic-complete-re): Support localparam lineup. - (verilog-beg-of-statement-1): Fix for robustness, unique case. - (verilog-set-auto-endcomments): Fix for unique case, always_comb - commenting. - (verilog-leap-to-case-head): Now support *nested* unique & - priority case statements. - (verilog-auto-lineup): Make just declarations the default (as it - had been). - (verilog-leap-to-case-head): Support priority/unique case statements. - (verilog-auto-lineup): Rework to give users radio buttons to - select the various styles of automatic lineup. - (verilog-error-regexp-alist): Rework to support the XEmacs style - of error regular expressions from compilers, lint tools & - simulators. Note that GNU Emacs has made it impossible for a mode - to load such things. - (electric-verilog-terminate-line, verilog-indent-declaration) - (verilog-auto-wiure): Rework for radio button selection of - auto-lineup selection of specification of auto lineup. - (verilog-beg-of-statement-1): Redesign to support proper operation - in additional code, based on testing with auto-lineup. - (verilog-calculate-indent, assignments & declarations) - (verilog-backward-token): Enhance to support auto-lineup of - assignments & declarations. - (verilog-in-directive-p, verilog-at-struct-p): New function for - easy test of whether we are. - (verilog-pretty-declarations, verilog-pretty-expr): Massive rework - to support safe execution at almost anyline. - (verilog-calc-1): Properly support indenting deep inside generate - blocks. - (verilog-init-font): Remove definition & use of verilog-init-font, - as it is redundant with font-lock-defaults. - (verilog-mode): Alter the definition of verilog-font-lock-defaults - to avoid circular calls if syntax-ppss is a function (as is the - case now in 22.x GNU Emacs) as that function would sometimes call - itself, leading to (nearly) infinite recursion. - (verilog-ovm-begin-re, verilog-ovm-end-re) - (verilog-ovm-statement-re, verilog-leap-to-head) - (verilog-backward-token): Add support for OVM macros. Some are - complete statements, and others open and close scopes like begin - and end. - (verilog-defun-level-not-generate-re, verilog-defun-level-re) - (verilog-defun-level-generate-only-re): Really fix the defun-list - compilation issue. - (verilog-calc-1, verilog-beg-of-statement): Enhance support for - coverpoint, constraint and cross statements. - (verilog-defun-level-list, verilog-generate-defun-level-list) - (verilog-all-defun-level-list): Redo these specifications - it is - too hard to support eval-when compile aggregation of lists also - built at when-compile time. - (verilog-defun-level-list): Place defconsts of variables used in - building regular expressions which are built in eval-when-compile - bodies in the same eval-when-compile body to facilitate compile - without load. - (verilog-beg-block-re-ordered): Support indenting - virtual/protected tasks and functions. - (verilog-defun-level-list, verilog-in-generate-region-p) - (verilog-backward-ws&directives, verilog-calc-1): Speed up - indentation of some module items (generate items). - (verilog-forward-sexp, verilog-leap-to-head): Support stepping - across virtual/protected tasks and functions. - -2009-06-28 Wilson Snyder <[email protected]> - - * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort): - Allow sorting AUTOARG lists. Suggested by Andrea Fedeli. - (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost - in concatenations. Reported by Yishay Belkind. - (verilog-auto-ascii-enum): Support one-hot state machines in - AUTOASCIIENUM. Suggested by Lloyd Gomez. - (verilog-auto-inst, verilog-auto-inst-port): Include interface - modport in AUTOINST and add vl-modport for users. Reported by - David Rogoff. - (verilog-auto-inout-module, verilog-auto-inst) - (verilog-decls-get-interfaces, verilog-insert-definition) - (verilog-insert-one-definition, verilog-read-decls) - (verilog-read-sub-decls, verilog-read-sub-decls-sig) - (verilog-sig-modport, verilog-signals-combine-bus) - (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog - interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST. - Suggested by David Rogoff. - (verilog-repair-open-comma): Fix non-insertion of comma when - `DEFINE occurs in V2K argument list. Reported by Lane Brooks. - (verilog-make-width-expression): Simplify [A-1:0] expression - widths to just {A{1'b0}}. - (verilog-mode): Cleanup checkdoc warnings. - (verilog-auto-inout-module, verilog-signals-matching-dir-re): - Add third optional regexp to AUTOINOUTMODULE to allow selecting only - inputs/outputs or data type. Suggested by Vasu Kandadi. - (next-error-last-buffer): Fix byte-compiler warning. - (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst) - (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp - or shell command text during AUTO expansion. Suggested by Tad Truex. - (verilog-read-sub-decls-expr, verilog-read-sub-decls-line) - (verilog-read-sub-decls-sig, verilog-symbol-detick-text): - Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included - in AUTOINOUT. Reported by Matthew Lovell. - (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)" - causing use of <= assignments. Reported by Alex Reed. - (verilog-read-decls): Fix triand, trior, wand, wor to be - recognized by AUTOWIRE. Reported by Spencer Isaacson. - (verilog-extended-complete-re): Support import "DPI-C" functions. - (verilog-read-always-signals-recurse): Fix AUTORESET of "x <= - y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever. - (verilog-insert-date, verilog-insert-year) - (verilog-sk-header-tmpl): Fix verilog-header inserting error on - Windows systems. Reported by Michael Potts. - (verilog-read-module-name): Fix AUTOINST when the child module - declaration's name is a tick define. Reported by Elliot Mednick. - (verilog-read-decls): Fix V2K parameter bit subscripts getting - passed to next parameter's definition. Reported by Bruce T. - (verilog-read-decls): Fix detecting "parameter int" when using - AUTOINSTPARAM. Reported by Bruce T. - (verilog-goto-defun): Fix goto not finding modules unless first - perform a verilog-auto expansion. Suggested by Lawrence Butcher. - (verilog-mode): Expand -f flag arguments on entry to mode so - verilog-goto-defun will work. Reported by Lawrence Butcher. - (verilog-getopt): Expand environment variables in -f file - arguments. Suggested by Lawrence Butcher. - (verilog-set-define): Fix "Symbol's value as variable is void" - when reading enumerations. - (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM. - Suggested by Stephen Peltan. - (verilog-read-defines): Fix reading of enumerations in include - files. Reported by Steve Peltan. - -2009-06-28 David De La Harpe Golden <[email protected]> - - * files.el (trash-directory): Fix defcustom type. - -2009-06-28 Juri Linkov <[email protected]> - - * help-fns.el (describe-function-1): Correctly locate adviced - functions in hyperlink (Bug#2438). - -2009-06-28 Chong Yidong <[email protected]> - - * files.el (trash-directory): Change default to nil. - (move-file-to-trash): If trash-directory is nil and - system-move-file-to-trash is unbound, perform freedesktop-style - trashing. - -2009-06-28 David De La Harpe Golden <[email protected]> - - * files.el (move-file-to-trash): Add freedesktop trash - support (Bug#973). - -2009-06-28 Glenn Morris <[email protected]> - - * autorevert.el (global-auto-revert-non-file-buffers) - (global-auto-revert-mode): Doc fixes. - -2009-06-27 Johan Bockgård <[email protected]> - - * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec. - -2009-06-27 Chong Yidong <[email protected]> - - * faces.el (x-handle-named-frame-geometry): Ensure that we have - opened an X connection before calling x-get-resource (Bug#3194). - - * play/doctor.el: Remove reference to obsolete website. - (make-doctor-variables): Correct grammar mistake (Bug#2633). - -2009-06-26 Dan Nicolaescu <[email protected]> - - Remove find-file-not-found-hook VC method. (Bug#2757) - * vc-hooks.el (vc-file-not-found-hook) - (vc-default-find-file-not-found-hook): Remove functions. - (find-file-not-found-functions): Do not add vc-file-not-found-hook. - * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function. - * vc.el: - * vc-hg.el: - * vc-git.el: Do not mention find-file-not-found-hook VC method. - -2009-06-25 Agustín Martín <[email protected]> - - * textmodes/ispell.el: Add `ispell-looking-back' XEmacs - compatibility function for `looking-back'. - - * textmodes/flyspell.el (sgml-mode-flyspell-verify): - Use `ispell-looking-back'. - -2009-06-24 Michael Albinus <[email protected]> - - * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir' - rather than `filename'. - -2009-06-23 Miles Bader <[email protected]> - - * face-remap.el (text-scale-set): New function. - -2009-06-23 Glenn Morris <[email protected]> - - * pcmpl-rpm.el (pcomplete/rpm): Doc fix. - - * bindings.el (mode-line-modified): Fix case of "Buffer is modified". - - * textmodes/ispell.el (ispell-local-dictionary): Doc fix. - - * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations. - - * calendar/cal-dst.el (calendar-time-zone-daylight-rules): - Simplify Persian conditionals. - - * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free - variable `filename'. - - * comint.el (comint-insert-input): Doc fix. - - * Makefile.in (ELCFILES): Fix typo in previous change. - -2009-06-23 Miles Bader <[email protected]> - - * cus-start.el: Add entry for `recenter-redisplay'. - -2009-06-23 Dan Nicolaescu <[email protected]> - - * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision): - Add an optional argument for the backend, use it instead of - calling vc-backend. - (vc-mode-line): Add an optional argument for the backend. - Pass the backend to vc-state and vc-working-revision. Move code for - special handling for vc-state being a buffer to ... - - * vc-rcs.el (vc-rcs-find-file-hook): - * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions. - - * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout) - (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state, - vc-stay-local-p and vc-mode-line calls. - - * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log) - (vc-cvs-diff, vc-cvs-annotate-command) - (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p) - (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and - vc-mode-line calls. - - * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of - direct comparison. - (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the - backend when calling vc-mode-line. - (vc-register): Do not create a closure for calling the vc register - function, call it directly. - -2009-06-23 Dan Nicolaescu <[email protected]> - - * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face - to make it obvious item can be clicked. - - * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions. - -2009-06-23 Kenichi Handa <[email protected]> - - * language/korea-util.el (korean-key-bindings): Change the binding - of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the - same command. - -2009-06-22 Michael Albinus <[email protected]> - - Sync with Tramp 2.1.16. - - * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc. - - * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading', - when a loading of a package fails. Completion function for rsync - is `tramp-completion-function-alist-ssh'. - (all): Replace all calls of `split-string' and - `tramp-split-string' by `tramp-compat-split-string'. - (tramp-default-method): Use `tramp-compat-process-running-p'. - (tramp-default-proxies-alist): Allow also Lisp forms. - (tramp-remote-path): Add choice "Private Directories". - (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option. - (tramp-domain-regexp): Allow also "-", "_" and ".". - (tramp-end-of-output): Remove newlines, and add "$" at the end. - (tramp-file-name-handler-alist): Add handler for `dired-uncache'. - (tramp-debug-message): Insert header line in debug buffer. - (tramp-handle-directory-files-and-attributes-with-stat): - Care about filenames with spaces, or starting with "-". - (tramp-handle-dired-uncache): New defun. - (tramp-handle-insert-directory): Don't flush the directory from - cache, this is handled by `dired-uncache' now. - (tramp-handle-insert-file-contents): Improve error handling. - (tramp-find-shell, tramp-open-connection-setup-interactive-shell): - Quote `tramp-end-of-output'. - (tramp-action-password): Improve trace message. - (tramp-check-for-regexp): Both echoes must be present, before removing. - (tramp-open-connection-setup-interactive-shell): Trace coding system. - (tramp-compute-multi-hops): Eval cons cells of - `tramp-default-proxies-alist'. - (tramp-maybe-open-connection): Use the same command pattern for - first hop and further hops. - (tramp-wait-for-output): Remove handling of newlines. - (tramp-get-remote-path): Handle also `tramp-own-remote-path'. - (tramp-split-string): Remove function. It is handled in - tramp-compat now. - - * net/tramp-cmds.el (tramp-bug): - Recommend `tramp-cleanup-all-connections' in the bug mail. - - * net/tramp-compat.el (tramp-compat-split-string) - (tramp-compat-process-running-p): New defuns. - - * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler - for `dired-uncache'. - - * net/tramp-gvfs.el: New package. - - * net/tramp-smb.el (tramp-smb-file-name-handler-alist): - Add handler for `dired-uncache'. - (tramp-smb-handle-file-local-copy): Cleanup in case of error. - - * net/trampver.el: Update release number. Make version check fit - for SXEmacs 22. - -2009-06-22 Jim Meyering <[email protected]> - - Automatically handle .xz suffix (XZ-compressed files), too. - * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz. - XZ is the successor to LZMA: <http://tukaani.org/xz/> - -2009-06-22 Dmitry Dzhus <[email protected]> - Nick Roberts <[email protected]> - - * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's - repository (http://sphinx.net.ru/hg/gdb-mi/). - -2009-06-22 Glenn Morris <[email protected]> - - * files.el (dir-locals-collect-mode-variables): Allow for any number of - `mode' and `eval' entries. (Bug#3430) - - * Makefile.in (ELCFILES): Add fadr.elc. - - * calendar/appt.el (appt-make-list): Fix off-by-one error caused by - differing behavior of \n and ^ in strings. (Bug#3385) - - * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs. - - * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable - property. - (lisp-indent-function): Make it a defcustom. - -2009-06-21 Nick Roberts <[email protected]> - - * progmodes/gdb-ui.el: Replace with ... - * progmodes/gdb-mi.el: ... this file. - * progmodes/gud.el: Modify for gdb-mi.el. - -2009-06-21 Dmitry Dzhus <[email protected]> - - * fadr.el: New file. - -See ChangeLog.14 for earlier changes. - -;; Local Variables: -;; coding: utf-8 -;; End: - - Copyright (C) 2009, 2010 Free Software Foundation, Inc. - - This file is part of GNU Emacs. - - GNU Emacs is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - GNU Emacs is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. - -;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1 + (byte-compile-variable-ref): Remove second argument. Now only + handles real variable references (not setting or binding). + (byte-compile-push-unknown-constant) + (byte-compile-resolve-unknown-constant): New functions. + (byte-compile-funarg, byte-compile-funarg-2): Functions removed. + (byte-compile-function-form): Use either `byte-compile-constant' + or `byte-compile-closure'. + (byte-compile-setq): Use `byte-compile-variable-set' instead of + `byte-compile-variable-ref'. + (apply, mapcar, mapatoms, mapconcat, mapc, sort): + `byte-defop-compiler-1's removed. + (byte-compile-while): Make sure lexically-bound variables inside + the loop don't get stored in an environment outside the loop. + (byte-compile-compute-lforminfo): Autoload. + (byte-compile-push-binding-init): New function. + (byte-compile-let, byte-compile-let*): Handle lexical binding. + (byte-compile-defun): Use `byte-compile-closure' to do the work. + (byte-compile-defmacro): Use `byte-compile-make-closure'. + (byte-compile-defvar): Expand the generated call to `push' since + we're past macroexpansion already. + (byte-compile-stack-adjustment): New function. + (byte-compile-out): Make second arg optional. Rewrite for clarity. + (byte-compile-delay-out, byte-compile-delayed-out): New functions. + + * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): + Don't expand macros here. + + * emacs-lisp/macroexp.el (macroexpand-all-1): Expand defmacro forms. + + * emacs-lisp/byte-lexbind.el (byte-compile-make-lvarinfo) + (byte-compile-lforminfo-add-var) + (byte-compile-lforminfo-note-closure) + (byte-compile-compute-lforminfo) + (byte-compile-lforminfo-from-lambda) + (byte-compile-lforminfo-analyze) + (byte-compile-heapenv-add-accessible-env) + (byte-compile-heapenv-ensure-access) + (byte-compile-rearrange-let-clauses, byte-compile-bind) + (byte-compile-unbind): Fix a bunch of typos. + +2002-06-12 Miles Bader <[email protected]> + + * emacs-lisp/byte-lexbind.el, emacs-lisp/macroexp.el: New files. + + * subr.el (functionp): Function removed (now a subr). + * help-fns.el (describe-function-1): Handle interpreted closures. + +;; arch-tag: bd1b5b8b-fdb2-425d-9ac2-20689fb0ee70 diff --git a/lisp/ChangeLog.funvec b/lisp/ChangeLog.funvec new file mode 100644 index 0000000000..0a31b9a590 --- /dev/null +++ b/lisp/ChangeLog.funvec @@ -0,0 +1,10 @@ +2004-05-20 Miles Bader <[email protected]> + + * subr.el (functionp): Use `funvecp' instead of + `byte-compiled-function-p'. + * help-fns.el (describe-function-1): Describe curried functions + and other funvecs as such. + (help-highlight-arguments): Only format things that look like a + function. + +;; arch-tag: 87f75aac-de53-40d7-96c7-3befaa771cb1 diff --git a/lisp/ChangeLog.trunk b/lisp/ChangeLog.trunk new file mode 100644 index 0000000000..f0e59a6c6a --- /dev/null +++ b/lisp/ChangeLog.trunk @@ -0,0 +1,17000 @@ +2010-09-13 Daiki Ueno <[email protected]> + + * epa-file.el (epa-file-insert-file-contents): If visiting, bind + buffer-file-name to avoid file-locking. (Bug#7026) + +2010-09-13 Julien Danjou <[email protected]> + + * notifications.el (notifications-notify): Add support for + image-path and sound-name. + (notifications-specification-version): Add this variable. + +2010-09-12 Stefan Monnier <[email protected]> + + * subr.el (y-or-n-p): New function, moved from src/fns.c. Use read-key. + +2010-09-12 Leo <[email protected]> + + * net/rcirc.el (rcirc-server-commands, rcirc-client-commands) + (rcirc-completion-start): New variables. + (rcirc-nick-completions): Rename to rcirc-completions. + (rcirc-nick-completion-start-offset): Delete. + (rcirc-completion-at-point): New function for constructing + completion data for both nicks and irc commands. Add to + completion-at-point-functions in rcirc mode. + (rcirc-complete): Rename from rcirc-nick-complete; use + rcirc-completion-at-point. + (defun-rcirc-command): Update rcirc-client-commands. + +2010-09-11 Glenn Morris <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files + atomically, to avoid parallel build errors. (Bug#4196) + +2010-09-11 Michael R. Mauger <[email protected]> + + * progmodes/sql.el: Version 2.6 + (sql-dialect): Synonym for "sql-product". + (sql-find-sqli-buffer, sql-set-sqli-buffer-generally) + (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode): + Set "sql-buffer" to buffer name not buffer object so multiple sql + interactive buffers work properly. Reverts misguided changes in + earlier work. + (sql-comint): Make sure different buffer name is used if "*SQL*" + buffer is for a different product. + (sql-make-alternate-buffer-name): Fix bug with "sql-database" + login param. + (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql) + (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase) + (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer): + Accept new buffer name or prompt for one. + (sql-port): Default to zero. + (sql-comint-mysql): Handle "sql-port" as a numeric. + (sql-port-history): Delete unused variable. + (sql-get-login): Default "sql-port" to a number. + (sql-product-alist): Correct Postgres prompt and terminator + regexp. + (sql-sqlite-program): Dynamically detect presence of "sqlite" or + "sqlite3" executables. + (sql-sqlite-login-params): Add "*.sqlite[23]?" database name + pattern. + (sql-buffer-live-p): New function. + (sql-mode-menu, sql-send-string): Use it. + (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK + syntax pattern. + (sql-mode-postgres-font-lock-keywords): Support Postgres V9. + (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands. + +2010-09-10 Lars Magne Ingebrigtsen <[email protected]> + + * net/netrc.el (netrc-credentials): New conveniency function. + +2010-09-10 Stefan Monnier <[email protected]> + + * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun + to replace texinfo-font-lock-syntactic-keywords. + (texinfo-mode): Use it. + + * textmodes/tex-mode.el (tex-common-initialization, doctex-mode): + Use syntax-propertize-function. + + * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to + replace sgml-font-lock-syntactic-keywords. + (sgml-mode): Use it. + + * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare + since we don't use it. + + * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function. + + * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function + if available. + (vhdl-fontify-buffer): Adjust. + + * progmodes/tcl.el (tcl-syntax-propertize-function): New var to + replace tcl-font-lock-syntactic-keywords. + (tcl-mode): Use it. + + * progmodes/simula.el (simula-syntax-propertize-function): New var to + replace simula-font-lock-syntactic-keywords. + (simula-mode): Use it. + + * progmodes/sh-script.el (sh-st-symbol): Remove. + (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg. + (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove. + (sh-font-lock-quoted-subshell): Assume we've already matched $(. + (sh-font-lock-paren): Set syntax-multiline. + (sh-font-lock-syntactic-keywords): Remove. + (sh-syntax-propertize-function): New function to replace it. + (sh-mode): Use it. + + * progmodes/ruby-mode.el (ruby-here-doc-beg-re): + Define while compiling. + (ruby-here-doc-end-re, ruby-here-doc-beg-match) + (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax) + (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p) + (ruby-here-doc-find-end, ruby-here-doc-beg-syntax) + (ruby-here-doc-end-syntax): Only define when + syntax-propertize is not available. + (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc): + New functions. + (ruby-in-ppss-context-p): Update to new syntax of heredocs. + (electric-indent-chars): Silence bytecompiler. + (ruby-mode): Use prog-mode, syntax-propertize-function, and + electric-indent-chars. + + * progmodes/python.el (python-syntax-propertize-function): New var to + replace python-font-lock-syntactic-keywords. + (python-mode): Use it. + (python-quote-syntax): Simplify and adjust to new use. + + * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to + replace perl-font-lock-syntactic-keywords. + (perl-syntax-propertize-special-constructs): New fun to replace + perl-font-lock-special-syntactic-constructs. + (perl-font-lock-syntactic-face-function): New fun. + (perl-mode): Use it. + + * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function + to replace octave-font-lock-close-quotes. + (octave-syntax-propertize-function): New function to replace + octave-font-lock-syntactic-keywords. + (octave-mode): Use it. + + * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var; + replaces mixal-font-lock-syntactic-keywords. + (mixal-mode): Use it. + + * progmodes/make-mode.el (makefile-syntax-propertize-function): + New var; replaces makefile-font-lock-syntactic-keywords. + (makefile-mode): Use it. + (makefile-imake-mode): Adjust. + + * progmodes/js.el (js--regexp-literal): Define while compiling. + (js-syntax-propertize-function): New var; replaces + js-font-lock-syntactic-keywords. + (js-mode): Use it. + + * progmodes/gud.el (gdb-script-syntax-propertize-function): New var; + replaces gdb-script-font-lock-syntactic-keywords. + (gdb-script-mode): Use it. + + * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function. + (fortran--font-lock-syntactic-keywords): New var. + (fortran-line-length): Update syntax-propertize-function and + fortran--font-lock-syntactic-keywords. + + * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function. + + * progmodes/cfengine.el (cfengine-mode): + Use syntax-propertize-function. + (cfengine-font-lock-syntactic-keywords): Remove. + + * progmodes/autoconf.el (autoconf-mode): + Use syntax-propertize-function. + (autoconf-font-lock-syntactic-keywords): Remove. + + * progmodes/ada-mode.el (ada-set-syntax-table-properties) + (ada-after-change-function, ada-initialize-syntax-table-properties) + (ada-handle-syntax-table-properties): Only define when + syntax-propertize is not available. + (ada-mode): Use syntax-propertize-function. + + * font-lock.el (font-lock-syntactic-keywords): Make obsolete. + (font-lock-fontify-syntactic-keywords-region): Move handling of + font-lock-syntactically-fontified to... + (font-lock-default-fontify-region): ...here. + Let syntax-propertize-function take precedence. + (font-lock-fontify-syntactically-region): Cal syntax-propertize. + + * emacs-lisp/syntax.el (syntax-propertize-function) + (syntax-propertize-chunk-size, syntax-propertize--done) + (syntax-propertize-extend-region-functions): New vars. + (syntax-propertize-wholelines, syntax-propertize-multiline) + (syntax-propertize--shift-groups, syntax-propertize-via-font-lock) + (syntax-propertize): New functions. + (syntax-propertize-rules): New macro. + (syntax-ppss-flush-cache): Set syntax-propertize--done. + (syntax-ppss): Call syntax-propertize. + + * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups. + +2010-09-10 Agustín Martín <[email protected]> + + * textmodes/ispell.el (ispell-init-process): Improve comments. + XEmacs compatibility changes regarding (add-hook) 'local option + and (set-process-query-on-exit-flag). + +2010-09-09 Michael Albinus <[email protected]> + + * net/tramp-cache.el (tramp-parse-connection-properties): + Set tramp-autoload cookie. + +2010-09-09 Glenn Morris <[email protected]> + + * image.el (imagemagick-types-inhibit): Add :type, :version, :group. + (imagemagick-register-types): Doc fix. + +2010-09-08 Stefan Monnier <[email protected]> + + * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp. + + * progmodes/js.el (require): Require is already "eval-and-compile". + (js--re-search-forward): Avoid `eval'. Preserve the error data. + (js--re-search-backward): Use js--re-search-forward. + + * progmodes/fortran.el (fortran-line-length): Don't recompute + syntactic keywords redundantly a second time. + + * progmodes/ada-mode.el: Replace "(set '" with setq. + (ada-mode): Simplify. + (ada-create-case-exception, ada-adjust-case-interactive) + (ada-adjust-case-region, ada-format-paramlist, ada-indent-current) + (ada-search-ignore-string-comment, ada-move-to-start) + (ada-move-to-end): Use with-syntax-table. + + * font-lock.el (save-buffer-state): Remove `varlist' arg. + (font-lock-unfontify-region, font-lock-default-fontify-region): + Update usage correspondingly. + (font-lock-fontify-syntactic-keywords-region): + Set parse-sexp-lookup-properties buffer-locally here. + (font-lock-fontify-syntactically-region): Remove unused `ppss' arg. + + * simple.el (blink-matching-open): Don't burp if we can't find a match. + +2010-09-08 Glenn Morris <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-report-ops): + Error if not compiled with -DBYTE_CODE_METER. + + * emacs-lisp/bytecomp.el (byte-recompile-directory): + Ignore dir-locals-file. + +2010-09-08 Stefan Monnier <[email protected]> + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Not a const. + (compilation-error-regexp-alist-alist): Rule out ": " in file names + for the `gnu' messages. + (compilation-set-skip-threshold): New command. + (compilation-start): Use \' rather than $. + (compilation-forget-errors): Use clrhash. + +2010-09-08 Agustín Martín <[email protected]> + + * textmodes/ispell.el (ispell-valid-dictionary-list): + Simplify logic. + +2010-09-08 Michael Albinus <[email protected]> + + Migrate to Tramp 2.2. Rearrange load dependencies. + (Bug#1529, Bug#5448, Bug#5705) + + * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables. + ($(TRAMP_DIR)/tramp-loaddefs.el): New target. + (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el. + + * net/tramp.el (top): Remove all other tramp-* loads except + tramp-compat.el. Remove all changes to tramp-unload-hook for + other tramp-* packages. Rearrange defun order. Change calls of + `tramp-compat-call-process', `tramp-compat-decimal-to-octal', + `tramp-compat-octal-to-decimal' to new function names. + (tramp-terminal-type, tramp-initial-end-of-output) + (tramp-methods, tramp-foreign-file-name-handler-alist) + (tramp-tramp-file-p, tramp-completion-mode-p) + (tramp-send-command-and-check, tramp-get-remote-path) + (tramp-get-remote-tmpdir, tramp-get-remote-ln) + (tramp-shell-quote-argument): Set tramp-autoload cookie. + (with-file-property, with-connection-property): Move to + tramp-cache.el. + (tramp-local-call-process, tramp-decimal-to-octal) + (tramp-octal-to-decimal): Move to tramp-compat.el. + (tramp-handle-shell-command): Do not require 'shell. + (tramp-compute-multi-hops): No special handling for tramp-gw-* + symbols. + (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'. + + * net/tramp-cache.el (top): Require 'tramp. Add to + `tramp-unload-hook'. + (tramp-cache-data, tramp-get-file-property) + (tramp-set-file-property, tramp-flush-file-property) + (tramp-flush-directory-property, tramp-get-connection-property) + (tramp-set-connection-property, tramp-flush-connection-property) + (tramp-cache-print, tramp-list-connections): Set tramp-autoload + cookie. + (with-file-property, with-connection-property): New defuns, moved + from tramp.el. + (tramp-flush-file-function): Use `with-parsed-tramp-file-name' + macro. + + * net/tramp-cmds.el (top): Add to `tramp-unload-hook'. + (tramp-version): Set tramp-autoload cookie. + + * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all + changes to tramp-unload-hook for other tramp-* packages. Add to + `tramp-unload-hook'. + (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal) + (tramp-compat-call-process): New defuns, moved from tramp.el. + + * net/tramp-fish.el (top) Require just 'tramp. Add objects to + `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add + to `tramp-unload-hook'. Change call of + `tramp-compat-decimal-to-octal' to new function name. + (tramp-fish-method): Make it a defconst. + (tramp-fish-file-name-p): Make it a defsubst. + (tramp-fish-method, tramp-fish-file-name-handler) + (tramp-fish-file-name-p): Set tramp-autoload cookie. + + * net/tramp-ftp.el (top) Add objects to `tramp-methods' and + `tramp-foreign-file-name-handler-alist'. Add to + `tramp-unload-hook'. + (tramp-ftp-method): Make it a defconst. + (tramp-ftp-file-name-p): Make it a defsubst. + (tramp-ftp-method, tramp-ftp-file-name-handler) + (tramp-ftp-file-name-p): Set tramp-autoload cookie. + + * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and + `tramp-foreign-file-name-handler-alist'. Add to + `tramp-unload-hook'. Change checks, whether package can be + loaded. + (tramp-gvfs-file-name-p): Make it a defsubst. + (tramp-gvfs-methods, tramp-gvfs-file-name-handler) + (tramp-gvfs-file-name-p): Set tramp-autoload cookie. + (tramp-gvfs-handle-file-directory-p): New defun. + (tramp-gvfs-file-name-handler-alist): Use it. + + * net/tramp-gw.el (top) Add objects to `tramp-methods' and + `tramp-foreign-file-name-handler-alist'. Add to + `tramp-unload-hook'. + (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port) + (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a + defconst. + (tramp-gw-tunnel-method, tramp-gw-socks-method) + (tramp-gw-open-connection): Set tramp-autoload cookie. + + * net/tramp-imap.el (top) Require just 'tramp. Add objects to + `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add + to `tramp-unload-hook'. Change checks, whether package can be + loaded. + (tramp-imap-file-name-p): Make it a defsubst. + (tramp-imap-method, tramp-imaps-method) + (tramp-imap-file-name-handler) + (tramp-imap-file-name-p): Set tramp-autoload cookie. + + * net/tramp-smb.el (top) Require just 'tramp. Add objects to + `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add + to `tramp-unload-hook'. Change checks, whether package can be + loaded. Change call of `tramp-compat-decimal-to-octal' to new + function name. + (tramp-smb-tunnel-method): Make it a defconst. + (tramp-smb-file-name-p): Make it a defsubst. + (tramp-smb-method, tramp-smb-file-name-handler) + (tramp-smb-file-name-p): Set tramp-autoload cookie. + + * net/tramp-uu.el (top) Add to `tramp-unload-hook'. + (tramp-uuencode-region): Set tramp-autoload cookie. + + * net/trampver.el (top) Add to `tramp-unload-hook'. + (tramp-version, tramp-bug-report-address): Set tramp-autoload + cookie. Update release number. + +2010-09-07 Agustín Martín <[email protected]> + + * textmodes/ispell.el (ispell-start-process): Make sure original + arg list is properly initialized (Bug#6993, Bug#6994). + +2010-09-06 Alexander Klimov <[email protected]> (tiny change) + + * files.el (directory-abbrev-alist): Use \` as default regexp. + + * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special + chars like - or ] (bug#6984). + (rx-any-condense-range): Explode 2-char ranges. + +2010-09-06 Glenn Morris <[email protected]> + + * desktop.el (desktop-path): Bump :version after 2009-09-15 change. + +2010-09-06 Stefan Monnier <[email protected]> + + * textmodes/bibtex.el: + * proced.el: Update to new email for Roland Winkler <[email protected]>. + +2010-09-05 Lars Magne Ingebrigtsen <[email protected]> + + * net/imap.el (imap-message-map): Remove optional buffer parameter, + since no callers use it. + (imap-message-get): Ditto. + (imap-message-put): Ditto. + (imap-mailbox-map): Ditto. + (imap-mailbox-put): Ditto. + (imap-mailbox-get): Ditto. + (imap-mailbox-get): Revert last change for this function. + +2010-09-05 Lars Magne Ingebrigtsen <[email protected]> + + * net/imap.el (imap-fetch-safe): Remove function, and alter all + callers to use `imap-fetch' instead. According to the comments, this + should be safe, since all other IMAP clients use the 1:* syntax. + (imap-enable-exchange-bug-workaround): Remove. + (imap-debug): Remove -- doesn't seem very useful. + +2010-09-05 Lars Magne Ingebrigtsen <[email protected]> + + * net/imap.el (imap-log): New convenience function used throughout + instead of repeating the same code all over the place. + +2010-09-05 David De La Harpe Golden <[email protected]> + + * mouse.el (mouse-save-then-kill): Save region to kill-ring + when mouse-drag-copy-region is non-nil (Bug#6956). + +2010-09-05 Chong Yidong <[email protected]> + + * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp): + Improve regexps (Bug#6987). + (dired-sort-toggle): Search more robustly for -t flag. + + * files.el (get-free-disk-space): Search more robustly for + "available" column. Suggested by Ehud Karni + <[email protected]>. + +2010-09-05 Juanma Barranquero <[email protected]> + + * international/uni-bidi.el: + * international/uni-category.el: + * international/uni-combining.el: + * international/uni-decimal.el: + * international/uni-mirrored.el: + * international/uni-name.el: Regenerate. + +2010-09-04 Stefan Monnier <[email protected]> + + * electric.el (electric-indent-post-self-insert-function): + Don't reindent with a sloppy indentation function. + + * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch + border case in change-log-mode. + +2010-09-04 Chong Yidong <[email protected]> + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Remove ruby regexp; handle Ruby errors with gcc-include and gnu. + Recognize leading tab in gcc-include regexp. Ignore names with + leading "from" or "in" in gnu regexp (Bug#6937). + +2010-09-04 Stefan Monnier <[email protected]> + + Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols. + * textmodes/ispell.el (ispell-process-buffer-name): Remove. + (ispell-start-process): Avoid setq and simplify logic. + (ispell-init-process): Setup kill-buffer-hook locally when needed. + (kill-buffer-hook): Don't use it globally with code that uses + expand-file-name since that may call kill-buffer via + code_conversion_restore. + +2010-09-04 Noorul Islam K M <[email protected]> (tiny change) + + * emacs-lisp/package.el (package-directory-list): Only call + file-name-nondirectory on a string. + +2010-09-02 Chong Yidong <[email protected]> + + * emacs-lisp/package.el (package--download-one-archive): + Ensure that archive-contents is valid before saving it. + (package-activate-1, package-mark-obsolete, define-package) + (package-compute-transaction, package-list-maybe-add): Use push. + +2010-09-03 Stefan Monnier <[email protected]> + + Use SMIE's blink-paren for octave-mode. + * progmodes/octave-mod.el (octave-font-lock-close-quotes): + Backslashes do not escape single-quotes, single-quotes do. + (octave-block-else-regexp, octave-block-end-regexp) + (octave-block-match-alist): Remove. + (octave-smie-bnf-table): New var, with old content. + (octave-smie-op-levels): Use it. + (octave-smie-closer-alist): New var. + (octave-mode): Use it. Setup smie-blink-matching and electric-indent. + (octave-blink-matching-block-open): Remove. + (octave-reindent-then-newline-and-indent, octave-electric-semi) + (octave-electric-space): Let self-insert-command run expand-abbrev and + blink parens. + + * electric.el (electricity): New group. + (electric-indent-chars): New var. + (electric-indent-post-self-insert-function): New fun. + (electric-indent-mode): New minor mode. + (electric-pair-skip-self): New custom. + (electric-pair-post-self-insert-function): New function. + (electric-pair-mode): New minor mode. + + * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace + calcAlg-blink-matching-open. + (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration. + (calc-do-alg-entry): Only touch the part of the keymap that varies. + Use the new blink-matching-check-function. + + Provide blink-matching support to SMIE. + * emacs-lisp/smie.el (smie-bnf-closer-alist): New function. + (smie-blink-matching-triggers, smie-blink-matching-inners): New vars. + (smie-blink-matching-check, smie-blink-matching-open): New functions. + + * simple.el (newline): Fix last change to properly remove itself from + the hook. + +2010-09-02 Stefan Monnier <[email protected]> + + * simple.el (newline): Eliminate optimization. + Use post-self-insert-hook to set hard-newline and things before + running post-self-insert-hook. + (blink-matching-check-mismatch): New function. + (blink-matching-check-function): New variable. + (blink-matching-open): Use them. + Skip back forward over prefix chars skipped by forward-sexp. + Don't check if the parens are backslash escaped. + (blink-paren-post-self-insert-function): Check backslash escaping here. + +2010-09-02 Chong Yidong <[email protected]> + + * emacs-lisp/package.el (package-menu-mode-map): + Change package-menu-revert bindings to revert-buffer. + (package-menu-mode): Set revert-buffer-function. + (package-menu-revert): Doc fix. + +2010-09-02 Agustín Martín <[email protected]> + + * textmodes/ispell.el (ispell-init-process): Use "~/" as + `default-directory' unless using Ispell per-directory personal + dictionaries and not in a mini-buffer under XEmacs. + (kill-buffer-hook): Do not kill ispell process on exit when + `ispell-process-directory' is "~/". (Bug#6143) + +2010-09-02 Jan Djärv <[email protected]> + + * simple.el (kill-new): Call interprogram-cut-function with only + one argument. + + * term.el (term-mouse-paste): Don't call x-get-cutbuffer. + Remove cut buffer from error message. + + * term/x-win.el (x-select-text): + * term/pc-win.el (x-selection-value): + * term/ns-win.el (x-selection-value): + * eshell/em-term.el: + * w32-fns.el (x-get-selection-value): + * mouse-sel.el (mouse-sel-set-selection-function): + * frame.el (display-selections-p): Remove cut-buffer in documentation. + + * term/x-win.el: Update documentation for x-last-selected-text-*. + (x-last-selected-text-cut, x-last-selected-text-cut-encoded) + (x-last-cut-buffer-coding, x-cut-buffer-max): Remove. + (x-select-text): Remove argument PUSH, update documentation. Remove + cut-buffer code. + (x-selection-value-internal): Was previously x-selection-value. + (x-selection-value): Rename from x-cut-buffer-or-selection-value. + Update documentation, remove cut-buffer code. Call + x-selection-value-internal. + (x-clipboard-yank): Call x-selection-value-internal. + (x-initialize-window-system): Remove setting of x-cut-buffer-max. + + * term/pc-win.el (x-last-selected-text): + x-cut-buffer-or-selection-value renamed to x-selection-value + (x-select-text): Remove argument PUSH, update documentation. + + * term/ns-win.el (x-setup-function-keys, ns-last-selected-text): + x-cut-buffer-or-selection-value renamed to x-selection-value + (x-selection-value): Renamed from x-cut-buffer-or-selection-value. + (x-select-text): Remove argument PUSH, update documentation. + + * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove. + + * w32-fns.el (x-last-selected-text): + x-cut-buffer-or-selection-value renamed to x-selection-value. + (x-cut-buffer-max): Remove. + (x-select-text): Remove argument PUSH, update documentation. + + * simple.el (interprogram-cut-function): Remove mention of PUSH. + + * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove. + + * mouse-sel.el (mouse-sel-get-selection-function): + x-cut-buffer-or-selection-value renamed to x-selection-value. + (x-select-text): Remove optional push. + +2010-09-01 Stefan Monnier <[email protected]> + + * simple.el (blink-paren-function): Move from C to here. + (blink-paren-post-self-insert-function): New function. + (post-self-insert-hook): Use it. + + * emacs-lisp/pcase.el (pcase-split-memq): + Fix overenthusiastic optimisation. + (pcase-u1): Handle the case of a lambda pred. + +2010-08-31 Kenichi Handa <[email protected]> + + * international/mule-cmds.el (standard-display-european-internal): + Setup standard-display-table for 8-bit characters by storing 8-bit + characters in the element vector. + + * disp-table.el (standard-display-8bit): Setup + standard-display-table for 8-bit characters by storing 8-bit + characters in the element vector. + (standard-display-european): Likewise. + +2010-08-31 Masatake YAMATO <[email protected]> + + * textmodes/nroff-mode.el (nroff-view): New command. + (nroff-mode-map): Bind it to C-c C-c. + +2010-08-31 Stefan Monnier <[email protected]> + + * emacs-lisp/smie.el (smie-down-list): New command. + + Remove old indentation and navigation code on octave-mode. + * progmodes/octave-mod.el (octave-mode-map): Remap down-list to + smie-down-list rather than add a binding for octave-down-block. + (octave-mark-block, octave-blink-matching-block-open): + Rely on forward-sexp-function. + (octave-fill-paragraph): Don't narrow, so you can use + indent-according-to-mode. + (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove. + (octave-in-block-p, octave-re-search-forward-kw) + (octave-re-search-backward-kw, octave-indent-calculate) + (octave-end-as-array-index-p, octave-block-end-offset) + (octave-scan-blocks, octave-forward-block, octave-backward-block) + (octave-down-block, octave-backward-up-block, octave-up-block) + (octave-before-magic-comment-p, octave-indent-line): Remove. + +2010-08-31 Chong Yidong <[email protected]> + + * emacs-lisp/package.el (package--read-archive-file): Just use + `read', to avoid copying an additional string. + (package-menu-mode): Set header-line-format here. + (package-menu-refresh, package-menu-revert): Signal an error if + not in the Package Menu. + (package-menu-package-list): New var. + (package--generate-package-list): Operate on the current buffer; + don't assume that it is *Packages*, since the user may rename it. + Allow persistent package listings and sort keys using + package-menu-package-list and package-menu-package-sort-key. + (package-menu--version-predicate): Fix version calculation. + (package-menu-sort-by-column): Don't select the window. + (package--list-packages): Create the *Packages* buffer. + Set package-menu-package-list-key. + (list-packages): Sorting by status is now the default. + (package-buffer-info): Use match-string-no-properties. + (define-package): Add a &rest argument for future proofing, but + don't use it yet. + (package-install-from-buffer, package-install-buffer-internal): + Merge into a single function, package-install-from-buffer. + (package-install-file): Change caller. + + * finder.el: Load finder-inf using `require'. + (finder-list-matches): Sorting by status is now the default. + (finder-compile-keywords): Simpify printing. + +2010-08-30 Stefan Monnier <[email protected]> + + * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt. + (octave-mode-map): Remove special bindings for forward/backward-block + and octave-backward-up-block. Use smie-close-block. + (octave-continuation-marker-regexp): New var. + (octave-continuation-regexp): Use it. + (octave-operator-table, octave-smie-op-levels) + (octave-operator-regexp, octave-smie-indent-rules): New vars. + (octave-smie-backward-token, octave-smie-forward-token): New funs. + (octave-mode): Use SMIE. + (octave-close-block): Delete. + +2010-08-30 Eli Zaretskii <[email protected]> + + * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in + CLIPBOARD, not in PRIMARY. (Bug#6944) + +2010-08-30 Stefan Monnier <[email protected]> + + * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take + a list of parents. + (smie-indent-column): Allow indirection through variables. + + * composite.el (save-buffer-state): Delete, unused. + * font-lock.el (save-buffer-state): Use with-silent-modifications. + (font-lock-default-fontify-region): Use with-syntax-table. + * jit-lock.el (with-buffer-unmodified): Remove. + (with-buffer-prepared-for-jit-lock): Use with-silent-modifications. + + Use `declare' in defmacros. + * window.el (save-selected-window): + * subr.el (with-temp-file, with-temp-message, with-syntax-table): + * progmodes/python.el (def-python-skeleton): + * net/dbus.el (dbus-ignore-errors): + * jka-cmpr-hook.el (with-auto-compression-mode): + * international/mule.el (with-category-table): + * emacs-lisp/timer.el (with-timeout): + * emacs-lisp/lisp-mnt.el (lm-with-file): + * emacs-lisp/eieio.el (with-slots): + * emacs-lisp/easymenu.el (easy-menu-define): + * emacs-lisp/debug.el (debugger-env-macro): + * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq) + (Multiple-value-call, Multiple-value-prog1): + * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key) + (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and + edebug rule to definition. + * emacs-lisp/lisp-mode.el (save-selected-window) + (with-current-buffer, combine-after-change-calls) + (with-output-to-string, with-temp-file, with-temp-buffer) + (with-temp-message, with-syntax-table, read-if, eval-after-load) + (dolist, dotimes, when, unless): + * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant. + +2010-08-29 Chong Yidong <[email protected]> + + * finder.el: Require `package'. + (finder-known-keywords): Tweak descriptions. Retire `oop' keyword. + (finder-package-info): Var deleted. + (finder-keywords-hash, finder--builtins-alist): New vars. + (finder-compile-keywords): Compute package--builtins and + finder-keywords-hash instead of finder-keywords-hash, respecting + the "Package" header. + (finder-unknown-keywords, finder-list-matches): + Use finder-keywords-hash and package--list-packages. + (finder-mode): Don't set font-lock-defaults. + (finder-exit): We don't use "*Finder-package*" and "*Finder + Category*" buffers anymore. + + * emacs-lisp/package.el (package--builtins-base): Var deleted. + (package--builtins): Set default value to nil. + (package-initialize): Load precomputed value of package--builtins + from finder-inf.el. + (package-alist, package-compute-transaction) + (package-download-transaction): Improve docstring. + (package-read-all-archive-contents): Do not change + package--builtins here. + (list-packages): Make package-list-packages an alias for this. + Sort by status by default. + (package--list-packages): Add optional PACKAGES arg. + (describe-package-1): Use font-lock-face property. For built-in + packages, insert file commentary. + (package--generate-package-list): Rename from + package-list-packages-internal; all callers changed. Add optional + PACKAGES arg. Add alphabetical sort fallbacks. + (package-menu--version-predicate, package-menu--status-predicate) + (package-menu--description-predicate) + (package-menu--name-predicate): New functions. + + * info.el (Info-finder-find-node): Search package-alist instead of + finder-package-info. + +2010-08-29 Chong Yidong <[email protected]> + + * subr.el (version-regexp-alist): Don't use "a" and "b" for + "alpha" and "beta". + (version-to-list): Handle versions like "10.3d". + +2010-08-28 Stefan Monnier <[email protected]> + + * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase. + (macroexp-accumulate): Use `declare'. + +2010-08-27 Vinicius Jose Latorre <[email protected]> + + * whitespace.el (whitespace-style): Adjust type declaration. + +2010-08-26 Magnus Henoch <[email protected]> + + * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass + empty argument to gvfs-copy. + +2010-08-26 Chong Yidong <[email protected]> + + * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to + handle new TRASH arg of `delete-file'. + +2010-08-26 Christian Lynbech <[email protected]> (tiny change) + + * net/tramp.el (tramp-handle-insert-directory): Don't use + `forward-word', its default syntax could be changed. + +2010-08-26 Toru TSUNEYOSHI <[email protected]> + Michael Albinus <[email protected]> + + Implement compression for inline methods. + + * net/tramp.el (tramp-inline-compress-start-size): New defcustom. + (tramp-copy-size-limit): Allow also nil. + (tramp-inline-compress-commands): New defconst. + (tramp-find-inline-compress, tramp-get-inline-compress) + (tramp-get-inline-coding): New defuns. + (tramp-get-remote-coding, tramp-get-local-coding): Remove, + replaced by `tramp-get-inline-coding'. + (tramp-handle-file-local-copy, tramp-handle-write-region) + (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'. + +2010-08-26 Noah Lavine <[email protected]> (tiny change) + + Detect ssh 'ControlMaster' argument automatically in some cases. + + * net/tramp.el (tramp-detect-ssh-controlmaster): New defun. + (tramp-default-method): Use it. + +2010-08-26 Karel Klíč <[email protected]> + + * net/tramp.el (tramp-file-name-for-operation): + Add file-selinux-context. + +2010-08-26 Łukasz Stelmach <[email protected]> (tiny change) + + * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921). + +2010-08-26 Chong Yidong <[email protected]> + + * simple.el (beginning-of-buffer, end-of-buffer): Doc fix + (Bug#6907). + +2010-08-26 Nathan Weizenbaum <[email protected]> (tiny change) + + * progmodes/js.el: Make indentation more customizable (Bug#6914). + (js-paren-indent-offset, js-square-indent-offset) + (js-curly-indent-offset): New options. + (js--proper-indentation): Use them. + +2010-08-26 Daniel Colascione <[email protected]> + + * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss + instead of inspecting font-lock properties (Bug#6916). + +2010-08-26 David Reitter <[email protected]> + + * server.el (server-visit-files): Run pre-command-hook and + post-command-hook for each buffer while it is current + (Bug#6910). + (server-execute): Do not run hooks here. + +2010-08-26 Michael Albinus <[email protected]> + + Sync with Tramp 2.1.19. + + * net/tramp-cmds.el (tramp-cleanup-all-connections) + (tramp-reporter-dump-variable, tramp-load-report-modules) + (tramp-append-tramp-buffers): Use `tramp-compat-funcall'. + (tramp-bug): Recommend setting of `tramp-verbose' to 9. + + * net/tramp-compat.el (top): Do not autoload + `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el + only when `start-file-process' is not bound. + (byte-compile-not-obsolete-vars): Define if not bound. + (tramp-compat-funcall): New defmacro. + (tramp-compat-line-beginning-position) + (tramp-compat-line-end-position) + (tramp-compat-temporary-file-directory) + (tramp-compat-make-temp-file, tramp-compat-file-attributes) + (tramp-compat-copy-file, tramp-compat-copy-directory) + (tramp-compat-delete-file, tramp-compat-delete-directory) + (tramp-compat-number-sequence, tramp-compat-process-running-p): + Use it. + (tramp-advice-file-expand-wildcards): Do not use + `tramp-handle-file-remote-p'. + (tramp-compat-make-temp-file): Simplify fallback implementation. + (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT. + (tramp-compat-copy-tree): Remove function. + (tramp-compat-delete-file): New defun. + (tramp-compat-delete-directory): Provide implementation for older + Emacsen. + (tramp-compat-file-attributes): Handle only + `wrong-number-of-arguments' error. + + * net/tramp-fish.el (tramp-fish-handle-copy-file): Add + PRESERVE_SELINUX_CONTEXT. + (tramp-fish-handle-delete-file): Add TRASH arg. + (tramp-fish-handle-directory-files-and-attributes): + Do not use `tramp-fish-handle-file-attributes. + (tramp-fish-handle-file-local-copy) + (tramp-fish-handle-insert-file-contents) + (tramp-fish-maybe-open-connection): Use `with-progress-reporter'. + + * net/tramp-gvfs.el (top): Require url-util. + (tramp-gvfs-mount-point): Remove. + (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context' + and `set-file-selinux-context'. + (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command) + (tramp-gvfs-handle-file-selinux-context) + (tramp-gvfs-handle-set-file-selinux-context): New defuns. + (with-tramp-dbus-call-method): Format trace message. + (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT. + (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): + Implement backup call, when operation on local files fails. Use + progress reporter. Flush properties of changed files. + (tramp-gvfs-handle-delete-file): Add TRASH arg. Use + `tramp-compat-delete-file'. + (tramp-gvfs-handle-expand-file-name): Expand "~/". + (tramp-gvfs-handle-make-directory): Make more traces. + (tramp-gvfs-handle-write-region): Protect deleting tmpfile. + (tramp-gvfs-url-file-name): Hexify file name in url. + (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares) + into account for the resulting file name. + (tramp-gvfs-handler-askquestion): Preserve current message, in + order to let progress reporter continue afterwards. (Bug#6257) + Return dummy mountpoint, when the answer is "no". See + `tramp-gvfs-maybe-open-connection'. + (tramp-gvfs-handler-mounted-unmounted) + (tramp-gvfs-connection-mounted-p): Test also for new mountspec + attribute "default_location". Set "prefix" property. Handle + default-location. + (tramp-gvfs-mount-spec): Return both prefix and mountspec. + (tramp-gvfs-maybe-open-connection): Test, whether mountpoint + exists. Raise an error, if not (due to a corresponding answer + "no" in interactive questions, for example). Use + `tramp-compat-funcall'. + + * net/tramp-imap.el (top): Autoload `epg-make-context'. + (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT. + (tramp-imap-do-copy-or-rename-file) + (tramp-imap-handle-insert-file-contents) + (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'. + (tramp-imap-handle-delete-file): Add TRASH arg. + + * net/tramp-smb.el (tramp-smb-handle-copy-file): Add + PRESERVE-SELINUX-CONTEXT. + (tramp-smb-handle-copy-file) + (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file) + (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection): + Use `with-progress-reporter'. + (tramp-smb-handle-delete-file): Add TRASH arg. + + * net/tramp.el (tramp-methods): Move hostname to the end in all + ssh `tramp-login-args'. Add `tramp-async-args' attribute where + appropriate. + (tramp-verbose): Describe verbose level 9. + (tramp-completion-function-alist) + (tramp-file-name-regexp, tramp-chunksize) + (tramp-local-coding-commands, tramp-remote-coding-commands) + (with-connection-property, tramp-completion-mode-p) + (tramp-action-process-alive, tramp-action-out-of-band) + (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote) + (tramp-exists-file-name-handler): Fix docstring. + (tramp-remote-process-environment): Use `format' instead of + `concat'. Protect version string by apostroph. + (tramp-shell-prompt-pattern): Do not use a shy group in case of + XEmacs. + (tramp-file-name-regexp-unified) + (tramp-completion-file-name-regexp-unified): On W32 systems, do + not regard the volume letter as remote filename. (Bug#5447) + (tramp-perl-file-attributes) + (tramp-perl-directory-files-and-attributes): Don't pass "$3". + (tramp-vc-registered-read-file-names): Read input as + here-document, otherwise the command could exceed maximum length + of command line. + (tramp-file-name-handler-alist): Add `file-selinux-context' and + `set-file-selinux-context'. + (tramp-debug-message): Add `tramp-compat-funcall' to ignored + backtrace functions. + (tramp-error-with-buffer): Don't show the connection buffer when + we are in completion mode. + (tramp-progress-reporter-update, tramp-remote-selinux-p) + (tramp-handle-file-selinux-context) + (tramp-handle-set-file-selinux-context, tramp-process-sentinel) + (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash): + New defuns. + (with-progress-reporter): New defmacro. + (tramp-debug-outline-regexp): New defconst. + (top, tramp-rfn-eshadow-setup-minibuffer) + (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times) + (tramp-handle-dired-compress-file, tramp-handle-shell-command) + (tramp-completion-mode-p, tramp-check-for-regexp) + (tramp-open-connection-setup-interactive-shell) + (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd) + (tramp-time-diff, tramp-coding-system-change-eol-conversion) + (tramp-set-process-query-on-exit-flag, tramp-unload-tramp): + Use `tramp-compat-funcall'. + (tramp-handle-make-symbolic-link): Flush file properties. + (tramp-handle-load, tramp-handle-file-local-copy) + (tramp-handle-insert-file-contents, tramp-handle-write-region) + (tramp-handle-vc-registered, tramp-maybe-send-script) + (tramp-find-shell): Use `with-progress-reporter'. + (tramp-do-file-attributes-with-stat): Add space in format string, + in order to work around a bug in pdksh. Reported by Gilles Pion + <[email protected]>. + (tramp-handle-verify-visited-file-modtime): Do not send a command + when the connection is not established. + (tramp-handle-set-file-times): Simplify the check for utc. + (tramp-handle-directory-files-and-attributes) + (tramp-get-remote-path): Use `copy-tree'. + (tramp-completion-handle-file-name-all-completions): Ensure, that + non remote files are still checked. Oops. + (tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle + PRESERVE-SELINUX-CONTEXT. + (tramp-do-copy-or-rename-file): Add progress reporter. + (tramp-do-copy-or-rename-file-directly): Do not use + `tramp-handle-file-remote-p'. + (tramp-do-copy-or-rename-file-out-of-band): + Use `tramp-compat-delete-directory'. + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-compute-multi-hops, tramp-maybe-open-connection): + Use `format-spec-make'. + (tramp-handle-delete-file): Add TRASH arg. + (tramp-handle-dired-uncache): Flush directory cache, not only file + cache. + (tramp-handle-expand-file-name) + (tramp-completion-handle-file-name-all-completions) + (tramp-completion-handle-file-name-completion): Use + `tramp-connectable-p'. + (tramp-handle-start-file-process): Set connection property "vec". + Use it, in order to invalidate file caches. Check only for + `remote-tty' process property. + Implement tty setting. (Bug#4604, Bug#6360) + (tramp-file-name-for-operation): Add `call-process-region' and + `set-file-selinux-context'. + (tramp-find-foreign-file-name-handler) + (tramp-advice-make-auto-save-file-name) + (tramp-set-auto-save-file-modes): Remove superfluous check for + `stringp'. This is done inside `tramp-tramp-file-p'. + (tramp-file-name-handler): Trace 'quit. Catch the error for some + operations when we are in completion mode. This gives the user + the chance to correct the file name in the minibuffer. + (tramp-completion-mode-p): Use `non-essential'. + (tramp-handle-file-name-all-completions): Backward/ XEmacs + compatibility: Use `completion-ignore-case' if + `read-file-name-completion-ignore-case' does not exist. + (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'. + (tramp-find-shell, tramp-open-connection-setup-interactive-shell): + `tramp-open-shell'. + (tramp-action-password): Hide password prompt before next run. + (tramp-process-actions): Widen connection buffer for the trace. + (tramp-open-connection-setup-interactive-shell): Set `remote-tty' + process property. Trace stty settings if `tramp-verbose' >= 9. + Apply workaround for IRIX64 bug. Move argument of last + `tramp-send-command' where it belongs to. + (tramp-maybe-open-connection): Use `async-args' and `gw-args' in + front of `login-args'. + (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests + on "/dev/null" instead of "/". + (tramp-get-ls-command-with-dired): Make test for "--dired" + stronger. + (tramp-set-auto-save-file-modes): Adapt version check. + (tramp-set-process-query-on-exit-flag): Fix wrong parentheses. + (tramp-handle-process-file): Call the program in a subshell, in + order to preserve working directory. + (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but + `tramp-remote-sh' from `tramp-methods'. + (tramp-get-ls-command): Make test for "--color=never" stronger. + (tramp-check-for-regexp): Use (forward-line 1). + + * net/trampver.el: Update release number. + +2010-08-26 Chong Yidong <[email protected]> + + * help.el (help-map): Bind `C-h P' to describe-package. + + * menu-bar.el (menu-bar-describe-menu): Add describe-package. + + * emacs-lisp/package.el (package-refresh-contents): Catch errors + when downloading archives. + (describe-package-1): Add package commentary. + (package-install-button-action): New function. + (package-menu-mode-map): Bind ? to package-menu-describe-package. + (package-menu-view-commentary): Function removed. + (package-list-packages-internal): Hide the `package' package too. + +2010-08-25 Kenichi Handa <[email protected]> + + * language/misc-lang.el ("Arabic"): New language environment. + Setup composition-function-table for Arabic characters. + + * international/fontset.el (setup-default-fontset): Fix typo for + arabic OTF spec (fini->fina). + +2010-08-25 Jan Djärv <[email protected]> + + * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter + on all frames. + +2010-08-24 Vinicius Jose Latorre <[email protected]> + + * whitespace.el: Allow cleaning up blanks without blank + visualization (Bug#6651). Adjust help window for + whitespace-toggle-options (Bug#6479). Allow to use fill-column + instead of whitespace-line-column (from EmacsWiki). New version + 13.1. + (whitespace-style): Added new value 'face. Adjust docstring. + (whitespace-space, whitespace-hspace, whitespace-tab): Adjust + foreground property face. + (whitespace-line-column): Adjust docstring and type declaration. + (whitespace-style-value-list, whitespace-toggle-option-alist) + (whitespace-help-text): Adjust const initialization. + (whitespace-toggle-options, global-whitespace-toggle-options): + Adjust docstring. + (whitespace-display-window, whitespace-interactive-char) + (whitespace-style-face-p, whitespace-color-on): Adjust code. + (whitespace-help-scroll): New fun. + +2010-08-24 Chong Yidong <[email protected]> + + * emacs-lisp/package.el (list-packages): Alias for + package-list-packages. + +2010-08-24 Kevin Ryde <[email protected]> + + * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix + (Bug#5651). + + * progmodes/ruby-mode.el (ruby): Add defgroup. + +2010-08-24 Chong Yidong <[email protected]> + + * progmodes/python.el: Add Ipython support (Bug#5390). + (python-shell-prompt-alist) + (python-shell-continuation-prompt-alist): New options. + (python--set-prompt-regexp): New function. + (inferior-python-mode, run-python, python-shell): Require + ansi-color. Use python--set-prompt-regexp to set the comint + prompt based on the Python interpreter. + (python--prompt-regexp): New var. + (python-check-comint-prompt) + (python-comint-output-filter-function): Use it. + (run-python): Use a pipe (Bug#5694). + +2010-08-24 Fabian Ezequiel Gallina <[email protected]> (tiny change) + + * progmodes/python.el (python-send-region): Send a different + Python command if Ipython is in use. + (python-check-version): Use a Python command to find the version. + +2010-08-24 Chong Yidong <[email protected]> + + * mouse.el (mouse-yank-primary): Avoid setting primary when + deactivating the mark (Bug#6872). + +2010-08-23 Chris Foote <[email protected]> (tiny change) + + * progmodes/python.el (python-block-pairs): Allow use of "finally" + with "else" (Bug#3991). + +2010-08-23 Michael Albinus <[email protected]> + + * net/dbus.el: Accept UNIX domain sockets as bus address. + (top): Don't initialize `dbus-registered-objects-table' anymore, + this is done in dbusbind,c. + (dbus-check-event): Adapt test for bus. + (dbus-return-values-table, dbus-unregister-service) + (dbus-event-bus-name, dbus-introspect, dbus-register-property): + Adapt doc string. + +2010-08-23 Juanma Barranquero <[email protected]> + + * ido.el (ido-use-virtual-buffers): Fix typo in docstring. + +2010-08-22 Juri Linkov <[email protected]> + + * simple.el (read-extended-command): New function with the logic + for `completing-read' moved to Elisp from `execute-extended-command'. + Use `function-called-at-point' in `minibuffer-default-add-function' + to get a command name for M-n (bug#5364, bug#5214). + +2010-08-22 Chong Yidong <[email protected]> + + * startup.el (command-line-1): Issue warning for ignored arguments + --unibyte, etc (Bug#6886). + +2010-08-22 Leo <[email protected]> + + * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements. + (ignore, bright, dim, keyword): Split list of nicknames before + passing to rcirc-add-or-remove (Bug#6894). + +2010-08-22 Chong Yidong <[email protected]> + + * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880). + +2010-08-22 Leo <[email protected]> + + Fix buffer-list rename&refresh after killing a buffer in ido. + * lisp/ido.el: Revert Óscar's. + (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh. + Remember the buffers at head, rather than their name. + * lisp/iswitchb.el (iswitchb-kill-buffer): Re-make the list. + +2010-08-22 Kirk Kelsey <[email protected]> (tiny change) + Stefan Monnier <[email protected]> + + * progmodes/make-mode.el (makefile-fill-paragraph): Account for the + extra backslash added to each line (bug#6890). + +2010-08-22 Stefan Monnier <[email protected]> + + * subr.el (read-key): Don't echo keystrokes (bug#6883). + +2010-08-22 Glenn Morris <[email protected]> + + * menu-bar.el (menu-bar-games-menu): Add landmark. + +2010-08-22 Glenn Morris <[email protected]> + + * align.el (align-regexp): Make group and spacing arguments + use the interactive defaults when non-interactive. (Bug#6698) + + * mail/rmail.el (rmail-forward): Replace mail-text-start with its + expansion, so as not to need sendmail. + (mail-text-start): Remove declaration. + (rmail-retry-failure): Require sendmail. + +2010-08-22 Chong Yidong <[email protected]> + + * subr.el (read-key): Don't hide the menu-bar entries (bug#6881). + +2010-08-22 Michael Albinus <[email protected]> + + * progmodes/flymake.el (flymake-start-syntax-check-process): + Use `start-file-process' in order to let it run also on remote hosts. + +2010-08-22 Kenichi Handa <[email protected]> + + * files.el: Add `word-wrap' as safe local variable. + +2010-08-22 Glenn Morris <[email protected]> + + * woman.el (woman-translate): Case matters. (Bug#6849) + +2010-08-22 Chong Yidong <[email protected]> + + * simple.el (kill-region): Doc fix (Bug#6787). + +2010-08-22 Glenn Morris <[email protected]> + + * calendar/diary-lib.el (diary-header-line-format): + Fit it to the window, not the frame. + +2010-08-22 Andreas Schwab <[email protected]> + + * subr.el (ignore-errors): Add debug declaration. + +2010-08-22 Geoff Gole <[email protected]> (tiny change) + + * whitespace.el (whitespace-color-off): Remove post-command-hook + locally. + +2010-08-21 Stefan Monnier <[email protected]> + + * vc/add-log.el (add-log-file-name): Don't get confused by symlinks. + +2010-08-21 Chong Yidong <[email protected]> + + * cus-edit.el (custom-group-value-create): Add extra newline + before end line (Bug#6876). + +2010-08-21 Chong Yidong <[email protected]> + + * mouse.el (mouse-save-then-kill): Don't save region to kill ring + when extending it. Before killing on the second click, check if + the buffer is the correct one. Doc fix. + (mouse-secondary-save-then-kill): Allow usage without first + calling mouse-start-secondary, by defaulting to point. Don't save + an empty secondary selection. Doc fix. + +2010-08-21 Vinicius Jose Latorre <[email protected]> + + * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by + Christoph Groth <[email protected]> and Liu Xin <[email protected]>. + New version 13.0. + (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp): + Adjust initialization. + (whitespace-bob-marker, whitespace-eob-marker) + (whitespace-buffer-changed): New vars. + (whitespace-cleanup, whitespace-color-on, whitespace-color-off) + (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp) + (whitespace-post-command-hook, whitespace-display-char-on): + Adjust code. + (whitespace-looking-back, whitespace-buffer-changed): New funs. + (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated. + +2010-08-19 Stefan Monnier <[email protected]> + + * files.el (locate-file-completion-table): Only list the .el and .elc + extensions if there's no other choice (bug#5955). + + * facemenu.el (facemenu-self-insert-data): New var. + (facemenu-post-self-insert-function, facemenu-set-self-insert-face): + New functions. + (facemenu-add-face): Use them. + + * simple.el (blink-matching-open): Obey forward-sexp-function. + +2010-08-18 Stefan Monnier <[email protected]> + + * simple.el (prog-mode-map): New var. + (prog-indent-sexp): New command. + + * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons. + + * progmodes/prolog.el (smie): Require. + + * emacs-lisp/smie.el (smie-default-backward-token) + (smie-default-forward-token): Strip properties. + (smie-next-sexp): Be more careful with associative operators. + (smie-forward-sexp-command): Generalize. + (smie-backward-sexp-command): Simplify. + (smie-closer-alist): New var. + (smie-close-block): New command. + (smie-indent-debug-log): New var. + (smie-indent-offset-rule): Add a few more cases. + (smie-indent-column): New function. + (smie-indent-after-keyword): Use it. + (smie-indent-keyword): Use it. + Fix up the opener code's point position. + (smie-indent-comment): Only applies at BOL. + (smie-indent-debug): New command. + + * emacs-lisp/autoload.el (make-autoload): Preload the macros's + declarations that are useful before running the macro. + +2010-08-18 Joakim Verona <[email protected]> + + * image.el (imagemagick-types-inhibit): New variable. + (imagemagick-register-types): New function. + * image-mode.el (image-transform-properties): New function. + (image-transform-set-scale, image-transform-fit-to-height) + (image-transform-set-rotation, image-transform-set-resize) + (image-transform-fit-to-width, image-transform-fit-to-height): + New functions. + (image-toggle-display-image): Support image transforms. + +2010-08-18 Katsumi Yamaoka <[email protected]> + + * image.el (create-animated-image): Don't add heuristic mask to image + (Bug#6839). + +2010-08-18 Jan Djärv <[email protected]> + + * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard): + Use QCLIPBOARD instead of QPRIMARY (Bug#6677). + +2010-08-17 Stefan Monnier <[email protected]> + + * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set. + + Font-lock '...' strings, plus various simplifications and fixes. + * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt. + (octave-font-lock-close-quotes): New function. + (octave-font-lock-syntactic-keywords): New var. + (octave-mode): Use it. Set beginning-of-defun-function. + (octave-mode-map): Don't override the <foo>-defun commands. + (octave-mode-menu): Pass it directly to easy-menu-define; + remove (now generic) <foo>-defun commands; use info-lookup-symbol. + (octave-block-match-alist): Fix up last change so that + octave-close-block uses the more specific keyword. + (info-lookup-mode): Silence byte-compiler. + (octave-beginning-of-defun): Not interactive any more. + Optimize slightly. + (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove. + (octave-indent-defun, octave-send-defun): Use mark-defun instead. + (octave-completion-at-point-function): Make sure point is within + beg..end. + (octave-reindent-then-newline-and-indent): + Use reindent-then-newline-and-indent. + (octave-add-octave-menu): Remove. + +2010-08-17 Jan Djärv <[email protected]> + + * mail/emacsbug.el (report-emacs-bug-insert-to-mailer) + (report-emacs-bug-can-use-xdg-email): New functions. + (report-emacs-bug): Set can-xdg-email to result of + report-emacs-bug-can-use-xdg-email. If can-xdg-email bind + \C-cm to report-emacs-bug-insert-to-mailer and add help text + about it. + + * net/browse-url.el (browse-url-default-browser): Add cond + for browse-url-xdg-open. + (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions. + +2010-08-17 Glenn Morris <[email protected]> + + * progmodes/cc-engine.el (c-new-BEG, c-new-END) + (c-fontify-recorded-types-and-refs): Define for compiler. + * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions + before use. + + * calendar/icalendar.el (icalendar--convert-recurring-to-diary): + Fix format call. + +2010-08-17 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-make-symbolic-link): Flush file + properties. + (tramp-handle-process-file): Call the program in a subshell, in + order to preserve working directory. + (tramp-action-password): Hide password prompt before next run. + (tramp-process-actions): Widen connection buffer for the trace. + +2010-08-16 Deniz Dogan <[email protected]> + + * net/rcirc.el (rcirc-log-process-buffers): New option. + (rcirc-print): Use it. + (rcirc-generate-log-filename): New function. + (rcirc-log-filename-function): Change default to + rcirc-generate-log-filename (Bug#6828). + +2010-08-16 Chong Yidong <[email protected]> + + * simple.el (deactivate-mark): If select-active-regions is `only', + only set selection for temporarily active regions. + + * cus-start.el: Change defcustom for select-active-regions. + +2010-08-15 Chong Yidong <[email protected]> + + * mouse.el (mouse--drag-set-mark-and-point): New function. + (mouse-drag-track): Use LOCATION arg to push-mark. + Use mouse--drag-set-mark-and-point to take click-count into + consideration when updating point and mark (Bug#6840). + +2010-08-15 Chong Yidong <[email protected]> + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Give the Ruby rule a lower priority than Gnu (Bug#6778). + +2010-08-14 Štěpán Němec <[email protected]> (tiny change) + + * font-lock.el (lisp-font-lock-keywords-2): + Add combine-after-change-calls, condition-case-no-debug, + with-demoted-errors, and with-silent-modifications (Bug#6025). + +2010-08-14 Kevin Ryde <[email protected]> + + * emacs-lisp/copyright.el (copyright-update-year) + (copyright-update): Temporary switch-to-buffer to ensure the + buffer change being queried is visible (Bug#5394). + +2010-08-14 Tom Tromey <[email protected]> + + * progmodes/etags.el (tags-file-name): Mark safe if stringp + (Bug#6733). + +2010-08-14 Eli Zaretskii <[email protected]> + + * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and + MS-DOS. (Bug#6689) + +2010-08-13 Jan Djärv <[email protected]> + + * menu-bar.el (menu-bar-set-tool-bar-position): New function. + (menu-bar-showhide-tool-bar-menu-customize-enable-left) + (menu-bar-showhide-tool-bar-menu-customize-enable-right) + (menu-bar-showhide-tool-bar-menu-customize-enable-top) + (menu-bar-showhide-tool-bar-menu-customize-enable-bottom): + Call menu-bar-set-tool-bar-position. + +2010-08-12 Stefan Monnier <[email protected]> + + * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c" + comment style (bug#6834). + * progmodes/scheme.el (scheme-mode-syntax-table): + * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious + "b" flag in "' 14b" syntax. + + * progmodes/octave-mod.el (octave-mode-map): Remove special bindings + for (un)commenting the region and performing completion. + (octave-mode-menu): Use standard commands for help and completion. + (octave-mode-syntax-table): Support %{..%} comments (sort of). + (octave-mode): Use define-derived-mode. + Set completion-at-point-functions and don't set columns. + Don't disable adaptive-fill-regexp. + (octave-describe-major-mode, octave-comment-region) + (octave-uncomment-region, octave-comment-indent) + (octave-indent-for-comment): Remove. + (octave-indent-calculate): Rename from calculate-octave-indent. + (octave-indent-line, octave-fill-paragraph): Update caller. + (octave-initialize-completions): No need to make an alist. + (octave-completion-at-point-function): New function. + (octave-complete-symbol): Use it. + (octave-insert-defun): Use define-skeleton. + + * progmodes/octave-mod.el (octave-mode): Set comment-add. + (octave-mode-map): Use comment-dwim (bug#6829). + +2010-08-12 Antoine Levitt <[email protected]> (tiny change) + + * cus-edit.el (custom-save-variables, custom-save-faces): Fix up + indentation of inserted comment. + +2010-08-11 Jan Djärv <[email protected]> + + * faces.el (region): Add type gtk that uses gtk colors. + + * dynamic-setting.el (dynamic-setting-handle-config-changed-event): + Handle theme-name change. + +2010-08-10 Michael R. Mauger <[email protected]> + + * progmodes/sql.el: Version 2.5 + (sql-product-alist): Add :prompt-cont-regexp property for several + database products. + (sql-prompt-cont-regexp): New variable. + (sql-output-newline-count, sql-output-by-send): + New variables. Record number of newlines in input text. + (sql-send-string): Handle multiple filters and count newlines. + (sql-send-magic-terminator): Count terminator newline. + (sql-interactive-remove-continuation-prompt): Filters output to + remove continuation prompts; one for each newline. + (sql-interactive-mode): Set up new variables, prompt regexp and + output filter. + (sql-mode-sqlite-font-lock-keywords): Correct some keywords. + (sql-make-alternate-buffer-name): Correct buffer name in edge cases. + +2010-08-10 Stefan Monnier <[email protected]> + + * emacs-lisp/pcase.el: New file. + +2010-08-10 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-vc-registered-read-file-names): Read input + as here-document, otherwise the command could exceed maximum + length of command line. + (tramp-handle-vc-registered): Call script accordingly. + Reported by Toru TSUNEYOSHI <[email protected]>. + +2010-08-10 Kenichi Handa <[email protected]> + + * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the + composable pattern. + +2010-08-09 Chong Yidong <[email protected]> + + * emacs-lisp/package.el (package-version-split) + (package--version-first-nonzero, package-version-compare): + Functions removed. + (package-directory-list, package-load-all-descriptors) + (package--built-in, package-activate, define-package) + (package-installed-p, package-compute-transaction) + (package-read-all-archive-contents) + (package--add-to-archive-contents, package-buffer-info) + (package-tar-file-info, package-list-packages-internal): + Use version-to-list and version-list-*. + + * emacs-lisp/package-x.el (package-upload-buffer-internal): + Use version-to-list. + (package-upload-buffer-internal): Use version-list-<=. + +2010-08-09 Kenichi Handa <[email protected]> + + * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the + composable pattern. + +2010-08-08 Chong Yidong <[email protected]> + + * tutorial.el (tutorial--default-keys): C-d is now bound to + delete-forward-char (Bug#6826). + + * mouse.el (mouse-drag-track): Remove accidentally-removed check + for `double' value of mouse-1-click-follows-link (Bug#6807). + +2010-08-08 Johan Bockgård <[email protected]> + + * replace.el (replace-highlight): Bind isearch-forward and + isearch-error, ensuring that highlighting is updated if the user + switches the search direction (Bug#6808). + + * isearch.el (isearch-lazy-highlight-forward): New var. + (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search): + (isearch-lazy-highlight-update): Use it. + +2010-08-08 Kenichi Handa <[email protected]> + + * international/mule.el (define-charset): Store NAME as :base property. + (ctext-non-standard-encodings-table): Pay attention to charset aliases. + (ctext-pre-write-conversion): Sort ctext-standard-encodings by the + current priority. Force using the designation of the specific + charset by adding `charset' text property. Improve the whole algorithm. + +2010-08-08 Juanma Barranquero <[email protected]> + + * emulation/pc-select.el (pc-selection-mode-hook) + (copy-region-as-kill-nomark, beginning-of-buffer-mark) + (pc-selection-mode): Fix typos in docstrings. + +2010-08-08 Kenichi Handa <[email protected]> + + * language/cyrillic.el: Don't add "microsoft-cp1251" to + ctext-non-standard-encodings-alist here. + + * international/mule.el (ctext-non-standard-encodings-alist): + Add "koi8-r" and "microsoft-cp1251". + (ctext-standard-encodings): New variable. + (ctext-non-standard-encodings-table): List only elements for + non-standard encodings. + (ctext-pre-write-conversion): Adjust for the above change. + Check ctext-standard-encodings. + + * international/mule-conf.el (compound-text): Doc fix. + (ctext-no-compositions): Doc fix. + (compound-text-with-extensions): Doc fix. + +2010-08-08 Stefan Monnier <[email protected]> + + * simple.el (exchange-dot-and-mark): Mark obsolete, finally. + +2010-08-08 Juanma Barranquero <[email protected]> + + * progmodes/which-func.el (which-func-format): Split help-echo text + into lines, like other mode-line tooltips. + + * server.el (server-start): When using TCP sockets, force IPv4 + and use a literal 127.0.0.1 for localhost. (Related to bug#6781.) + +2010-08-08 Stefan Monnier <[email protected]> + + * bindings.el (complete-symbol): Run completion-at-point as a fallback. + +2010-08-08 Juanma Barranquero <[email protected]> + + * term.el (term-delimiter-argument-list): Reflow docstring. + (term-read-input-ring, term-write-input-ring, term-send-input) + (term-bol, term-erase-in-display, serial-supported-or-barf): + Fix typos in docstrings. + +2010-08-08 Stefan Monnier <[email protected]> + + * bindings.el (function-key-map): Add a S-tab => backtab fallback. + +2010-08-08 Juanma Barranquero <[email protected]> + + * dabbrev.el (dabbrev-completion): Fix typo in docstring. + +2010-08-08 MON KEY <[email protected]> (tiny change) + + * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): + Fix typo in docstring (bug#6747). + +2010-08-08 Leo <[email protected]> + + * eshell/esh-io.el (eshell-get-target): Better detection of + read-only file (Bug#6762). + +2010-08-08 Juanma Barranquero <[email protected]> + + * align.el (align-default-spacing): Doc fix. + (align-region-heuristic, align-regexp): Fix typos in docstrings. + +2010-08-08 Stephen Peters <[email protected]> + + * calendar/icalendar.el + (icalendar--split-value): Fixed splitting regexp. (Bug#6766) + (icalendar--get-weekday-numbers): New + (icalendar--convert-recurring-to-diary): Handle multiple byday + values in weekly rules. (Bug#6766) + +2010-08-08 Ulf Jasper <[email protected]> + + * calendar/icalendar.el (icalendar-uid-format): Doc fix. + (icalendar--create-uid, icalendar-export-region) + (icalendar--parse-summary-and-rest): Code formatting. + +2010-08-08 Jay Belanger <[email protected]> + + * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property + to italicize headers. + (calc-highlight-selections-with-faces): New variable. + (calc-selected-face, calc-nonselected-face): New faces. + + * calc/calccomp.el (math-comp-highlight-string): Use + `calc-highlight-selections-with-faces' to determine how to highlight + sub-formulas. + + * calc/calc-sel.el (calc-show-selections): Change message to when + using faces to highlight selections. + +2010-08-07 Michael R. Mauger <[email protected]> + + * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords): + Add SQLite 3 keywords, functions and datatypes. + (sql-interactive-mode): Remove `comint-process-echoes' set to t + (Bug#6686). + +2010-08-07 Chong Yidong <[email protected]> + + * simple.el (select-active-regions): Move to keyboard.c. + (deactivate-mark): Used saved-region-selection. + (select-active-region): Function removed. + (activate-mark, set-mark, push-mark-command) + (handle-shift-selection): Don't call it. + (keyboard-quit): Avoid adding the region to the window selection. + + * mouse.el (mouse-drag-track): Remove hacks to deal with old + select-active-regions implementation. + (mouse-yank-at-click): Doc fix. + + * cus-start.el: Add custom declaration for select-active-regions. + +2010-08-07 Eli Zaretskii <[email protected]> + + * simple.el (delete-forward-char): Doc fix. + + * tutorial.el (help-with-tutorial): Hack safe file-local variables + after reading the tutorial. + +2010-08-06 Alan Mackenzie <[email protected]> + + * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix + for the case that a C style comment has its delimiters alone on + their respective lines. + +2010-08-06 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-start-file-process): Set connection + property "vec". + (tramp-process-sentinel): Use it for flushing the cache. We + cannot do it via the process buffer, the buffer could be deleted + already when running the sentinel. + +2010-08-06 Jürgen Hötzel <[email protected]> (tiny change) + + * comint.el (comint-mode): Make directory tracking functions + functional on remote files. (Bug#6764) + +2010-08-06 Dan Nicolaescu <[email protected]> + + * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer. + +2010-08-05 Eli Zaretskii <[email protected]> + + * emacs-lisp/find-gc.el (find-gc-source-files): Rename + unexec.c => unexcoff.c. + + * emacs-lisp/authors.el (authors-fixed-entries): Rename + unexec.c => unexcoff.c. + +2010-08-05 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-dired-uncache): Flush directory + cache, not only file cache. + (tramp-process-sentinel): New defun. + (tramp-handle-start-file-process): Use it, in order to invalidate + file caches. + +2010-08-03 Leo <[email protected]> + + * server.el (server-start): Simplify loop. + +2010-08-02 Stefan Monnier <[email protected]> + + * frame.el (screen-height, screen-width, set-screen-width) + (set-screen-height): Remove ancient compatibility aliases. + + * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces + when justifying. It seems useless and harmful for ncols=1 (bug#6738). + + * emacs-lisp/timer.el (timer-event-handler): Protect against timers + that change current buffer. + +2010-08-01 YAMAMOTO Mitsuharu <[email protected]> + + * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the + beginning of the string. Use `string-match-p'. (Bug#6765) + +2010-08-01 Jan Djärv <[email protected]> + + * cus-start.el (x-gtk-use-system-tooltips): New variable. + +2010-08-01 Chong Yidong <[email protected]> + + * emacs-lisp/package.el (package--list-packages): Fix column alignment. + (package--builtins): Tweak descriptions. + (package-print-package): Upcase descriptions if necessary. + Show all built-in packages in font-lock-builtin-face. + (package-list-packages-internal): Omit "emacs" package. + Show status of built-in packages as "built-in". + +2010-07-31 Chong Yidong <[email protected]> + + * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark + before killing to preserve the primary selection (Bug#6701). + + * term/x-win.el (x-select-text): Doc fix. + +2010-07-31 Nathaniel Flath <[email protected]> + + Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang). + The following functions were modified or created: + + * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms) + (objc-font-lock-extra-types): + * progmodes/cc-mode.el (c-basic-common-init): + * progmodes/cc-langs.el (c-make-mode-syntax-table) + (c++-make-template-syntax-table) + (c-identifier-syntax-modifications, c-symbol-start, c-operators) + (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds) + (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re) + (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key): + * progmodes/cc-fonts.el (c-make-inverse-face) + (c-basic-matchers-after): + * progmodes/cc-engine.el (c-forward-keyword-clause) + (c-forward-<>-arglist, c-forward-<>-arglist-recur) + (c-forward-name, c-forward-type, c-forward-decl-or-cast-1) + (c-guess-continued-construct, c-guess-basic-syntax): + +2010-07-31 Jan Djärv <[email protected]> + + * faces.el (face-all-attributes): Improve documentation (Bug#6767). + +2010-07-31 Eli Zaretskii <[email protected]> + + * files.el (bidi-paragraph-direction): Define safe local values. + + * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to + language-info-alist. Remove outdated FIXME in a comment. + +2010-07-31 Alan Mackenzie <[email protected]> + + * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688: + Auto-fill broken in C/C++ modes. + +2010-07-29 Jan Djärv <[email protected]> + + * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left) + (menu-bar-showhide-tool-bar-menu-customize-disable) + (menu-bar-showhide-tool-bar-menu-customize-enable-right) + (menu-bar-showhide-tool-bar-menu-customize-enable-bottom) + (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions + (menu-bar-showhide-tool-bar-menu): If tool bar is moveable, + make a menu for Options => toolbar that can move it. + +2010-07-29 Chong Yidong <[email protected]> + + * emacs-lisp/package-x.el (package--make-rss-entry): + (package-maint-add-news-item, package--update-news) + (package-upload-buffer-internal): New arg ARCHIVE-URL. + + * emacs-lisp/package.el (package-archive-url): Rename from + package-archive-id. + (package-install): Doc fix. + (package-download-single, package-download-tar, package-install) + (package-menu-view-commentary): Callers changed. + +2010-07-29 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-start-file-process): Check only for + `remote-tty' process property. + (tramp-open-shell): Don't check for tty. + (tramp-open-connection-setup-interactive-shell): Set `remote-tty' + process property. + + * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote + host. + +2010-07-28 Chong Yidong <[email protected]> + + * emacs-lisp/package.el (package-load-list, package-archives) + (package-archive-contents, package-user-dir) + (package-directory-list, package--builtins, package-alist) + (package-activated-list, package-obsolete-alist): Mark as risky. + +2010-07-28 Phil Hagelberg <[email protected]> + + Add support for non-default package repositories. + * emacs-lisp/package.el (package-archive-base): Var deleted. + (package-archives): New variable. + (package-archive-contents): Doc fix. + (package-load-descriptor): Do nothing if descriptor file is missing. + (package--write-file-no-coding): New function. + (package-unpack-single): Use it. + (package-archive-id): New function. + (package-download-single, package-download-tar) + (package-menu-view-commentary): Use it. + (package-installed-p): Make second argument optional. + (package-read-all-archive-contents): New function. + (package-initialize): Use it. + (package-read-archive-contents): Add ARCHIVE argument. + (package--add-to-archive-contents): New function. + (package-install): Don't call package-read-archive-contents. + (package--download-one-archive): Store archive file in a + subdirectory of package-user-dir. + (package-menu-execute): Remove spurious line movement. + +2010-07-28 Jan Djärv <[email protected]> + + * cus-start.el (tool-bar-style): Add text-image-horiz. + +2010-07-28 Michael Albinus <[email protected]> + + * progmodes/gud.el (gud-common-init): Check for remoteness of + `file', and not of `default-directory'. + +2010-07-28 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-methods): Move hostname to the end in all + ssh `tramp-login-args'. + (tramp-verbose): Describe verbose level 9. + (tramp-open-shell): Check for tty if `tramp-verbose' >= 9. + (tramp-open-connection-setup-interactive-shell): Trace stty + settings if `tramp-verbose' >= 9. + (tramp-handle-start-file-process): Implement tty setting. + (Bug#4604, Bug#6360) + + * net/tramp-cmds.el (tramp-bug): Recommend setting of + `tramp-verbose' to 9. + +2010-07-27 Aaron S. Hawley <[email protected]> + + * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode) + (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp): + Remove references to package `lisp-re' (bug#4369). + +2010-07-27 Tom Tromey <[email protected]> + + * progmodes/js.el (js-mode): + * progmodes/make-mode.el (makefile-mode): + * progmodes/simula.el (simula-mode): + * progmodes/tcl.el (tcl-mode): Derive from prog-mode. + +2010-07-27 Juanma Barranquero <[email protected]> + + * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494). + + * cedet/semantic/db-file.el (object-write): Fix typo in docstring. + + * time.el (display-time-day-and-date): Remove spurious * in docstring. + (display-time-world-buffer-name, display-time-world-mode-map): + Fix typos in docstrings. + +2010-07-27 Shyam Karanatt <[email protected]> (tiny change) + + * image-mode.el (image-display-size): New function. + (image-forward-hscroll, image-next-line, image-eol, image-eob) + (image-mode-fit-frame): Use it (Bug#6639). + +2010-07-27 Chong Yidong <[email protected]> + + * dired.el (dired-buffers-for-dir): Handle list values of + dired-directory (Bug#6636). + +2010-07-26 Sam Steingold <[email protected]> + + * mouse.el (mouse-yank-primary, mouse-yank-secondary): + Do not call `x-get-selection' the second time, reuse the value. + +2010-07-26 Daiki Ueno <[email protected]> + + * epa-mail.el (epa-mail-mode-map): Add alternative key bindings + which consist of control chars only. Suggested by Richard Stallman. + +2010-07-25 Daiki Ueno <[email protected]> + + * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE + exists before passing an error to find-file-not-found-functions + (bug#6723). + +2010-07-23 Lukas Huonker <[email protected]> + + * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank): + Remove leading nil element, adjust values. + (tetris-shapes, tetris-shape-scores): + Change representation of shapes and remove some redundancy. + (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape) + (tetris-draw-shape, tetris-erase-shape, tetris-test-shape): + Adjust for working with new representation of shapes. + (tetris-shape-rotations): New function. + (tetris-move-bottom, tetris-move-left, tetris-move-right) + (tetris-rotate-prev, tetris-rotate-next): + Adjust for working with the new version of tetris-test-shape. + +2010-07-23 Markus Triska <[email protected]> + + * progmodes/ps-mode.el: Use comint (bug#5954). + (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return].. + (ps-mode-other-newline): Simplify. + (ps-run-mode): Derive from comint-mode instead of + fundamental-mode, yielding input history etc. + (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region) + (ps-run-send-string): Adapt for comint-mode. + (ps-run-newline): Remove now unneeded function. + +2010-07-23 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-methods): Move hostname to the end in all + plink `tramp-login-args'. + +2010-07-23 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-open-shell): New defun. + (tramp-find-shell, tramp-open-connection-setup-interactive-shell): + Use it. + +2010-07-23 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-file-name-regexp-unified) + (tramp-completion-file-name-regexp-unified): On W32 systems, do + not regard the volume letter as remote filename. (Bug#5447) + +2010-07-23 Juanma Barranquero <[email protected]> + + * custom.el (custom-declare-variable): Give a clearer error message + when the docstring is missing (bug#6476). + +2010-07-22 Michael R. Mauger <[email protected]> + + * progmodes/sql.el: Version 2.4. Improved Login prompting. + (sql-login-params): New widget definition. + (sql-oracle-login-params, sql-mysql-login-params) + (sql-solid-login-params, sql-sybase-login-params) + (sql-informix-login-params, sql-ingres-login-params) + (sql-ms-login-params, sql-postgres-login-params) + (sql-interbase-login-params, sql-db2-login-params) + (sql-linter-login-params): Use it. + (sql-sqlite-login-params): Use it; Define "database" parameter as + a file name. + (sql-sqlite-program): Change to "sqlite3". + (sql-comint-sqlite): Make sure database name is complete. + (sql-for-each-login): New function. + (sql-connect, sql-save-connection): Use it. + (sql-get-login-ext): New function. + (sql-get-login): Use it. + (sql-make-alternate-buffer-name): Handle :file parameters. + +2010-07-22 Juanma Barranquero <[email protected]> + + * dired.el (dired-no-confirm): Document value t and fix defcustom to + accept it (bug#6597). Suggested by Drew Adams <[email protected]>. + +2010-07-22 Teemu Likonen <[email protected]> (tiny change) + + * dired.el (dired-mode-map): Use command remapping (bug#6632). + +2010-07-22 Lawrence Mitchell <[email protected]> + + * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620). + +2010-07-21 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-get-ls-command) + (tramp-get-ls-command-with-dired): Run tests on "/dev/null" + instead of "/". + +2010-07-20 Michael R. Mauger <[email protected]> + + * progmodes/sql.el: Version 2.3. + (sql-connection-alist): Changed keys from symbols to strings; + enhanced the widget definition. + (sql-mode-menu): Added submenu to select connections. + (sql-interactive-mode-menu): Added "Save Connection" item. + (sql-add-product): Fixed menu item. + (sql-get-product-feature): Improved error handling. + (sql--alt-buffer-part, sql--alt-if-not-empty): Removed. + (sql-make-alternate-buffer-name): Simplified. + (sql-product-interactive): Handle missing product. + (sql-connect): Support string keys, minor improvements. + (sql-save-connection): New function. + (sql-connection-menu-filter): New function. + +2010-07-20 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-file-name-handler): Trace 'quit. + (tramp-open-connection-setup-interactive-shell): Apply + workaround for IRIX64 bug. Move argument of last + `tramp-send-command' where it belongs to. + +2010-07-20 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-perl-file-attributes) + (tramp-perl-directory-files-and-attributes): Don't pass "$3". + (tramp-maybe-open-connection): Use `async-args' and `gw-args' in + front of `login-args'. + +2010-07-19 Juanma Barranquero <[email protected]> + + * time.el (display-time-world-mode): Define with `define-derived-mode'. + Set `show-trailing-whitespace' to nil. + (display-time-world-display): Simplify. + +2010-07-18 Alan Mackenzie <[email protected]> + + Enhance `c-file-style' in file/directory local variables. + * progmodes/cc-mode.el (c-count-cfss): New function. + (c-before-hack-hook): Call `c-set-style' differently according to + whether c-file-style was set in file or directory local + variables. + +2010-07-18 Michael R. Mauger <[email protected]> + + * progmodes/sql.el: Version 2.2. + (sql-product, sql-user, sql-database, sql-server, sql-port): Use + defcustom :safe keyword rather than putting safe-local-variable + property. + (sql-password): Use defcustom :risky keyword rather than putting + risky-local-variable property. + (sql-oracle-login-params, sql-sqlite-login-params) + (sql-solid-login-params, sql-sybase-login-params) + (sql-informix-login-params, sql-ingres-login-params) + (sql-ms-login-params, sql-postgres-login-params) + (sql-interbase-login-params, sql-db2-login-params) + (sql-linter-login-params): Add `port' option. + (sql-get-product-feature): Added NO-INDIRECT parameter. + (sql-comint-oracle, sql-comint-sybase) + (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql) + (sql-comint-solid, sql-comint-ingres, sql-comint-ms) + (sql-comint-postgres, sql-comint-interbase, sql-comint-db2) + (sql-comint-linter): Renamed sql-connect-* functions to + sql-comint-*. + (sql-product-alist, sql-mode-menu): Renamed as above and + :sqli-connect-func to :sqli-comint-func. + (sql-connection): New variable. + (sql-interactive-mode): Set it. + (sql-connection-alist): New variable. + (sql-connect): New function. + (sql--alt-buffer-part, sql--alt-if-not-empty) + (sql-make-alternate-buffer-name): Improved alternative buffer name. + +2010-07-17 Thierry Volpiatto <[email protected]> + + * image-mode.el (image-bookmark-make-record): Do not set context + in an image (Bug#6650). + +2010-07-17 Chong Yidong <[email protected]> + + * simple.el (select-active-region): New function. + (push-mark-command, set-mark, activate-mark) + (handle-shift-selection): Use it. + (deactivate-mark): Don't check for size of region. + + * mouse.el (mouse-drag-track): Use select-active-region. + +2010-07-17 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-get-ls-command-with-dired): Make test for + "--dired" stronger. + +2010-07-17 Chong Yidong <[email protected]> + + * term/x-win.el (x-select-enable-primary): Change default to nil. + (x-select-enable-clipboard): Add :version keyword. + + * mouse.el (mouse-drag-copy-region): + * simple.el (select-active-regions): Likewise. + +2010-07-16 Reiner Steib <[email protected]> + + * vc/vc.el (vc-coding-system-inherit-eol): New defvar. + (vc-coding-system-for-diff): Use it to decide whether to inherit + from the file the EOL format for reading the diffs of that file. + (Bug#4451) + +2010-07-16 Eli Zaretskii <[email protected]> + + * mail/rmailmm.el (rmail-mime-save): Make the temp buffer + unibyte, so compressed attachments are not compressed again. + +2010-07-16 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired + "/bin/sh" but `tramp-remote-sh' from `tramp-methods'. + (tramp-find-shell): Simplify setting connection property. + (tramp-get-ls-command): Make test for "--color=never" stronger. + +2010-07-15 Simon South <[email protected]> + + * progmodes/delphi.el (delphi-previous-indent-of): Indent case + blocks within record declarations (i.e. variant parts) correctly. + +2010-07-15 Simon South <[email protected]> + + * progmodes/delphi.el (delphi-token-at): Give newlines precedence + over literal tokens when parsing so newlines aren't "absorbed" by + single-line comments. Corrects the indentation of case blocks + that have a comment on the first line. + +2010-07-14 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-load-hook): Fix doc string as suggested + by Drew Adams (Bug#5504). + +2010-07-14 Jan Djärv <[email protected]> + + * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127 + now that Unicode is used (Bug#6594). + +2010-07-14 Chong Yidong <[email protected]> + + * term/x-win.el (x-select-enable-clipboard): Default to t. + (x-initialize-window-system): Don't overwrite Paste menu item. + + * simple.el (select-active-regions): Default to t. + (push-mark-command): Don't overwrite primary with empty string. + + * mouse.el: Bind mouse-2 to mouse-yank-primary. + (mouse-drag-copy-region): Default to nil. + + * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite + Cut/Copy/Paste menu bar items. + +2010-07-13 Thierry Volpiatto <[email protected]> + + Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975). + Patch applied by Karl Fogel. + + * bookmark.el (bookmark-set): Don't set `bookmark-yank-point' + and `bookmark-current-buffer' if they have been already set in + another buffer (e.g gnus-art). + +2010-07-13 Karl Fogel <[email protected]> + Thierry Volpiatto <[email protected]> + + Preparation for setting bookmarks in Gnus article buffers (Bug#5975). + + * bookmark.el (bookmark-make-record-default): Allow unneeded + information to be omitted from the record. + + Adjust declarations and calls: + + * info.el (bookmark-make-record-default): Adjust declaration. + (Info-bookmark-make-record): Adjust call. + + * woman.el (bookmark-make-record-default): Adjust declaration. + (woman-bookmark-make-record): Adjust call. + + * man.el (bookmark-make-record-default): Adjust declaration. + (Man-bookmark-make-record): Adjust call. + + * image-mode.el (bookmark-make-record-default): Adjust declaration. + + * doc-view.el (bookmark-make-record-default): Adjust declaration. + +2010-07-13 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'. + This is also from Thierry Volpiatto's patch in bug #6444. However, + because it was extraneous to the functional change in that patch, + and causes a re-indendation, I am committing it separately. + +2010-07-13 Thierry Volpiatto <[email protected]> + + * bookmark.el (bookmark-show-annotation): Ensure annotations show, + e.g. in Info bookmarks, by using `switch-to-buffer-other-window'. + Patch applied by Karl Fogel (Bug#6444). + +2010-07-13 Chong Yidong <[email protected]> + + * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625). + +2010-07-13 Adrian Robert <[email protected]> + + * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew + Dempsky; bug#5084). Remove incorrect binding for S-tab. + (ns-alternatives-map): Change S-tab binding to backtab + (bug#6616). + + * simple.el (normal-erase-is-backspace-setup-frame): Set mode on + under ns. + +2010-07-12 Andreas Schwab <[email protected]> + + * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs. + (Bug#5806) + + * language/tv-util.el (tai-viet-re): Remove format. + +2010-07-12 Kenichi Handa <[email protected]> + + * language/hebrew.el: Remove no-byte-compile declaration. + Change coding: tag to utf-8. Register hebrew-shape-gstring in + composition-function-table for 3-character looking back. + (hebrew-font-get-precomposed): New function. + (hebrew-shape-gstring): Utilize precomposed glyphs if available. + +2010-07-11 Chong Yidong <[email protected]> + + * mouse.el (mouse-drag-track): Handle select-active-regions + (Bug#6612). + +2010-07-11 Magnus Henoch <[email protected]> + + * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass + empty argument to gvfs-copy. + +2010-07-10 Glenn Morris <[email protected]> + + * calendar/calendar.el (calendar-week-end-day): New function. + * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars. + Respect calendar-week-start-day. (Bug#6606) + (cal-tex-insert-day-names, cal-tex-insert-blank-days) + (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day. + (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and + respect calendar-week-start-day. + +2010-07-10 Chong Yidong <[email protected]> + + * simple.el (use-region-p): Doc fix (Bug#6607). + +2010-07-10 Aleksei Gusev <[email protected]> (tiny change) + + * progmodes/compile.el (compilation-error-regexp-alist-alist): Add + regexps for cucumber and ruby. + +2010-07-08 Daiki Ueno <[email protected]> + + * epa-file.el (epa-file-error, epa-file--find-file-not-found-function) + (epa-file-insert-file-contents): Hack to prevent + find-file from opening empty buffer when decryption failed + (bug#6568). + +2010-07-07 Agustín Martín <[email protected]> + + * textmodes/ispell.el (ispell-alternate-dictionary): + Use file-readable-p. + Return nil if no word-list is found at default locations. + (ispell-complete-word-dict): Default to nil. + (ispell-command-loop): Use 'word-list' when using lookup-words. + (lookup-words): Use ispell-complete-word-dict or + ispell-alternate-dictionary. Check for word-list availability + and handle errors if needed with better messages (Bug#6539). + (ispell-complete-word): Use ispell-complete-word-dict or + ispell-alternate-dictionary. + +2010-07-07 Christoph Scholtes <[email protected]> + + * progmodes/python.el (python-font-lock-keywords): Add Python 2.7 + builtins (BufferError, BytesWarning, WindowsError; callables + bin, bytearray, bytes, format, memoryview, next, print; __package__). + +2010-07-07 Glenn Morris <[email protected]> + + * play/zone.el (top-level): Do not require timer, tabify, or cl. + (zone-shift-left): Ignore intangibility, and any errors from + forward-char. + (zone-shift-right): Remove no-op end-of-line. Ignore intangibility. + (zone-pgm-putz-with-case): Use upcase-region rather than inserting, + deleting, and copying text properties. + (zone-line-specs, zone-pgm-stress): Check forward-line exit status. + (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting + to point-max is hard. + (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes. + (zone-fill-out-screen): Ignore intangibility. + +2010-07-05 Chong Yidong <[email protected]> + + * menu-bar.el (menu-bar-mode): + * tool-bar.el (tool-bar-mode): Replace default-frame-alist element + if it has been set. + + * mouse.el (mouse-drag-track): Call mouse-start-end to handle + word/line selection (Bug#6565). + +2010-07-04 Juanma Barranquero <[email protected]> + + * net/dbus.el (dbus-send-signal): Declare function. + +2010-07-04 Michael Albinus <[email protected]> + + * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1). + (dbus-register-property): New optional argument EMITS-SIGNAL. + (dbus-property-handler): Send signal "PropertiesChanged" if requested. + +2010-07-03 Chong Yidong <[email protected]> + + * mouse.el (mouse-drag-overlay): Variable deleted. + (mouse-move-drag-overlay, mouse-show-mark): Functions deleted. + (mouse--remap-link-click-p): New function. + (mouse-drag-track): Handle dragging by using temporary Transient + Mark mode, instead of a special overlay. + (mouse-kill-ring-save, mouse-save-then-kill): Don't call + mouse-show-mark. + + * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay + deleted. + +2010-07-02 Juri Linkov <[email protected]> + + * autoinsert.el (auto-insert-alist): Fix readability + by using dotted pair notation for lambda. + +2010-07-02 Juri Linkov <[email protected]> + + * faces.el (read-face-name): Rename arg `string-describing-default' + to `default'. Doc fix. Display the default value in quotes + in the prompt. With empty input, return the `default' arg, + unless the default value is a string (in which case return nil). + (describe-face): Replace the string `default' arg of `read-face-name' + with the symbol `default'. + +2010-07-02 Chong Yidong <[email protected]> + + * emulation/viper-cmd.el (viper-delete-backward-char) + (viper-del-backward-char-in-insert) + (viper-del-backward-char-in-replace, viper-change) + (viper-backward-indent): Replace delete-backward-char with + delete-char (Bug#6552). + +2010-07-01 Chong Yidong <[email protected]> + + * ruler-mode.el (ruler--save-header-line-format): Fix typos. + +2010-06-30 Chong Yidong <[email protected]> + + * frame.el (make-frame): Add default-frame-alist to the PARAMETERS + argument passed to frame-creation-function (Bug#5378). + + * faces.el (x-handle-named-frame-geometry) + (x-handle-reverse-video, x-create-frame-with-faces) + (face-set-after-frame-default, tty-create-frame-with-faces): Don't + separately consult default-frame-alist. It is now passed as the + PARAMETER argument. + +2010-06-30 Andreas Schwab <[email protected]> + + * startup.el (command-line): Don't call tool-bar-setup in a + tty-only build. + +2010-06-30 Chong Yidong <[email protected]> + + * ruler-mode.el (ruler--save-header-line-format): New fun. + (ruler-mode): Use it as a setter function, so as not to overwrite + ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370). + +2010-06-29 Chong Yidong <[email protected]> + + * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers. + (vc-root-diff, vc-print-root-log, vc-log-incoming) + (vc-log-outgoing): Use it. + (vc-diff-internal): Set diff-vc-backend. + + * vc/diff-mode.el (diff-vc-backend): New var. + +2010-06-28 Jan Djärv <[email protected]> + + * dynamic-setting.el (font-setting-change-default-font): Remove + call to message. + +2010-06-28 Kenichi Handa <[email protected]> + + * international/quail.el (quail-insert-kbd-layout): Fix the + showing of untranslated characters. + +2010-06-28 Chong Yidong <[email protected]> + + * simple.el (delete-active-region): New option. + (delete-backward-char): Implement in Lisp. + (delete-forward-char): New command. + + * mouse.el (mouse-region-delete-keys): Deleted. + (mouse-show-mark): Simplify. + + * bindings.el (global-map): Bind delete and DEL, the former to + delete-forward-char. + +2010-06-27 Lennart Borgman <[email protected]> + + * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB. + (ruby-mode): Bind indent-line-function (Bug#5119). + +2010-06-27 Chong Yidong <[email protected]> + + * startup.el (command-line): Recognize "0" X resource value. + +2010-06-27 Chong Yidong <[email protected]> + + * startup.el (command-line): Use X resources to set the value of + menu-bar-mode and tool-bar-mode, before calling frame-initialize. + + * menu-bar.el (menu-bar-mode): + * tool-bar.el (tool-bar-mode): Don't change default-frame-alist. + Set init-value to t. + + * frame.el (frame-notice-user-settings): Don't change + default-frame-alist based on menu-bar-mode and tool-bar-mode, or + vice versa (Bug#2249). + +2010-06-26 Eli Zaretskii <[email protected]> + + * w32-fns.el (w32-convert-standard-filename): Doc fix. + +2010-06-25 Agustín Martín <[email protected]> + + * textmodes/flyspell.el (flyspell-check-previous-highlighted-word): + Make sure `flyspell-word' re-checks word after function run (Bug#6504). + + * textmodes/ispell.el (ispell-init-process): Make sure ispell and + default directories are expanded (Bug#6143). + +2010-06-24 Juri Linkov <[email protected]> + + * minibuffer.el (completions-format): Change default from nil to + `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459) + +2010-06-24 Juri Linkov <[email protected]> + + * vc/vc.el (vc-diff-internal): Set `revert-buffer-function' + buffer-locally to lambda that re-runs the vc diff command. + (Bug#6447) + +2010-06-24 Chong Yidong <[email protected]> + + * kmacro.el (kmacro-call-macro): Don't issue hint message if the + echo area is in use (Bug#3412). + +2010-06-22 Glenn Morris <[email protected]> + + * textmodes/texinfmt.el (texinfo-format-region) + (texinfo-raise-lower-sections, texinfo-format-separate-node) + (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias) + (texinfo-format-option, texinfo-noindent): + Use line-beginning-position and line-end-position. + + * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el: + * calc/calc-store.el, calc/calc-units.el, calc/calc.el: + * calc/calccomp.el: Add explicit utf-8 coding cookies to files with + utf-8 characters. + +2010-06-21 Karl Fogel <[email protected]> + + * play/zone.el (zone-fall-through-ws): Fix next-line -> + forward-line fallout. + +2010-07-06 Chong Yidong <[email protected]> + + * mouse.el (mouse-appearance-menu): Add docstring. + + * help.el (describe-key): Print up-event using key-description. + +2010-07-03 Michael Albinus <[email protected]> + + * net/zeroconf.el (zeroconf-resolve-service) + (zeroconf-service-resolver-handler): Use + `dbus-byte-array-to-string'. + (zeroconf-publish-service): Use `dbus-string-to-byte-array'. + +2010-07-03 Jan Moringen <[email protected]> + + * net/zeroconf.el (zeroconf-service-remove-hook): New defun. + +2010-06-30 Dan Nicolaescu <[email protected]> + + Avoid displaying files with a nil state in vc-dir. + * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all + cases that cause insertion. + (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files + with a nil state. + +2010-06-30 Chong Yidong <[email protected]> + + * xml.el (xml-parse-region): Avoid infloop (Bug#5281). + +2010-06-29 Leo <[email protected]> + + * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537) + +2010-06-27 Oleksandr Gavenko <[email protected]> (tiny change) + + * generic-x.el (bat-generic-mode): Fix regexp for command line + switches (Bug#5719). + +2010-06-27 Masatake YAMATO <[email protected]> + + * htmlfontify.el (hfy-face-attr-for-class): Use append instead + of nconc to avoid pure storage error (Bug#6239). + +2010-06-27 Christoph <[email protected]> (tiny change) + + * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window) + (bookmark-bmenu-other-window-with-mouse): Remove unnecessary + bindings of bookmark-automatically-show-annotations (Bug#6515). + +2010-06-25 Eli Zaretskii <[email protected]> + + * arc-mode.el (archive-zip-extract): Don't quote the file name on + MS-Windows and MS-DOS. (Bug#6467, Bug#6144) + +2010-06-24 Štěpán Němec <[email protected]> (tiny change) + + * comint.el (make-comint, make-comint-in-buffer): Mention return + value in the docstrings. (Bug#6498) + +2010-06-24 Yoni Rabkin <[email protected]> + + * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern, + since it is not present when using some non-default switches. + +2010-06-23 Karl Fogel <[email protected]> + + * simple.el (compose-mail): Fix doc string to refer to + `compose-mail-user-agent-warnings', instead of to the + nonexistent `compose-mail-check-user-agent'. + +2010-06-21 Alan Mackenzie <[email protected]> + + Fix an indentation bug: + + * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END. + (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account + of existing values. + + * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after) + (c-clear->-pair-props-if-match-before): now return t when they've + cleared properties, nil otherwise. + (c-before-change-check-<>-operators): Set c-new-beg/end correctly + by taking account of the existing value. + + * progmodes/cc-defs.el + (c-clear-char-property-with-value-function): Fix this to clear the + property rather than overwriting it with nil. + +2010-06-20 Chong Yidong <[email protected]> + + * emacs-lisp/package.el (package-print-package): Add link to + package description via describe-package. + (describe-package-1): List package requirements. Add button to + perform installation. + (package-menu-describe-package): New command. + + * help-mode.el (help-package): New button type. + +2010-06-19 Chong Yidong <[email protected]> + + * emacs-lisp/package.el: Move package-list-packages binding to + menu-bar.el. + (describe-package, describe-package-1, package--dir): New funs. + (package-activate-1): Use package--dir. + + * emacs-lisp/package-x.el (gnus-article-buffer): Require package. + + * help-mode.el (help-package-def): New button type. + + * menu-bar.el: Move package-list-packages binding here from + package.el. + +2010-06-19 Gustav Hållberg <[email protected]> (tiny change) + + * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423) + +2010-06-18 Stefan Monnier <[email protected]> + + * emacs-lisp/edebug.el (edebug-read-list): + Phase out old-style backquotes. + +2010-06-17 Juri Linkov <[email protected]> + + * help-mode.el (help-mode): Set buffer-local variable + revert-buffer-function to help-mode-revert-buffer. + (help-mode-revert-buffer): New function. + + * info.el (Info-revert-find-node): Check for major-mode Info-mode + before popping to "*info*" (like in other Info functions). + Keep buffer-name in old-buffer-name. Keep Info-history-forward in + old-history-forward. Pop to old-buffer-name or "*info*" to + recreate the killed buffer. Set Info-history-forward from + old-history-forward. + (Info-breadcrumbs-depth): Add :group and :version. + +2010-06-17 Dan Nicolaescu <[email protected]> + + * emacs-lisp/package.el (package-menu-mode-map): Add a menu. + +2010-06-17 Agustín Martín <[email protected]> + + * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp + for languages like Portuguese with pt_{BR,PT} and no plain pt. + +2010-06-17 Juanma Barranquero <[email protected]> + + * emacs-lisp/package.el (package-menu-mode-map): + Move initialization into declaration. + + * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry. + +2010-06-17 Chong Yidong <[email protected]> + + * emacs-lisp/package.el (package-archive-base): Point to + elpa.gnu.org. + (package-enable, package-load-list): New defcustoms. + (package-user-dir, package-directory-list): Turn into defcustoms. + Don't include package-user-dir in package-directory-list. + (package--builtins-base): Don't include Emacs as a "package". + (package-subdirectory-regexp): New var. + (package-load-all-descriptors, package-compute-transaction) + (package-download-transaction): Obey package-load-list. + (package-activate-1): Rename from package-do-activate. + (package-list-packages-internal): Check package-load-list. + (package-load-descriptor, package-generate-autoloads) + (package-unpack, package-unpack-single) + (package--read-archive-file, package-delete): Use + expand-file-name. + + * emacs-lisp/package-x.el: New file. Package uploading + functionality split out from package.el. + + * startup.el (command-line): Load packages after reading init + file. + +2010-06-17 Tom Tromey <[email protected]> + + * emacs-lisp/package.el: New file. + +2010-06-22 Dan Nicolaescu <[email protected]> + + Fix vc-annotate for renamed files when using Git. + * vc-git.el (vc-git-find-revision): Deal with empty results from + ls-files. Doe not pass the object as a file name to cat-file, it + is not a file name. + (vc-git-annotate-command): Pass the file name using -- to avoid + ambiguity with the revision. + (vc-git-previous-revision): Pass a relative file name. + +2010-06-22 Glenn Morris <[email protected]> + + * progmodes/js.el (js-mode-map): Use standard capitalization and + ellipses for menu entries. + + * wid-edit.el (widget-complete): Doc fix. + +2010-06-22 Jürgen Hötzel <[email protected]> (tiny change) + + * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change. + +2010-06-22 Dan Nicolaescu <[email protected]> + + Fix annotating other revisions for renamed files in vc-annotate. + * vc-annotate.el (vc-annotate): Add an optional argument for the + VC backend. Use it when non-nil. + (vc-annotate-warp-revision): Pass the VC backend to vc-annotate. + (Bug#6487) + + Fix vc-annotate-show-changeset-diff-revision-at-line for git. + * vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal): + Do not pass the file name to the 'previous-revision call when we + don't want a file diff. (Bug#6489) + +2010-06-21 Dan Nicolaescu <[email protected]> + + Fix finding revisions for renamed files in vc-annotate. + * vc.el (vc-find-revision): Add an optional argument for + the VC backend. Use it when non-nil. + * vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC + backend to vc-find-revision. (Bug#6487) + +2010-06-21 Dan Nicolaescu <[email protected]> + + Fix reading file names in Git annotate buffers. + * vc-git.el (vc-git-annotate-extract-revision-at-line): Remove + trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481) + +2010-06-20 Alan Mackenzie <[email protected]> + + * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set + in file local variables, set it first. + +2010-06-19 Glenn Morris <[email protected]> + + * descr-text.el (describe-char-unicode-data): Insert separating + space when needed. (Bug#6422) + + * progmodes/idlwave.el (idlwave-action-and-binding): + Fix typo in 2009-12-03 change. (Bug#6450) + +2010-06-17 Stefan Monnier <[email protected]> + + * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special + handling for `lambda' (misunderstanding). + +2010-06-16 Jay Belanger <[email protected]> + + * calc/calc-poly.el (math-accum-factors): Make sure that + constants aren't distributed after they are factored out. + +2010-06-16 Juri Linkov <[email protected]> + + * facemenu.el (list-colors-display): Call `pop-to-buffer' before + `list-colors-print'. (Bug#6332) + + * subr.el (read-quoted-char): Fix up last change (bug#6290). + +2010-06-16 Stefan Monnier <[email protected]> + + * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda' + specially, since it's a macro. Fix up wrong hint passed to maybe-cons. + + * font-lock.el (font-lock-major-mode): Rename from + font-lock-mode-major-mode to distinguish it from + global-font-lock-mode's own font-lock-mode-major-mode (bug#6135). + (font-lock-set-defaults): + * font-core.el (font-lock-default-function): Adjust users. + (font-lock-mode): Don't set it at all. + +2010-06-16 Stefan Monnier <[email protected]> + + * vc-annotate.el (vc-annotate): Use vc-read-revision. + +2010-06-16 Glenn Morris <[email protected]> + + * calendar/appt.el (appt-time-msg-list): Doc fix. + (appt-check): Let-bind appt-warn-time. + (appt-add): Make the 3rd argument optional. + Simplify argument names. Doc fix. Check for integer WARNTIME. + Only add WARNTIME to the output list if non-nil. + +2010-06-16 Ivan Kanis <[email protected]> + + * calendar/appt.el (appt-check): Let the 3rd element of + appt-time-msg-list specify the warning time. + (appt-add): Add new argument with the warning time. (Bug#5176) + +2010-06-16 Bob Rogers <[email protected]> (tiny change) + + * vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions + older than version 1.6. (Bug#6361) + +2010-06-16 Helmut Eller <[email protected]> + + * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote', + used by cl-do-arglist. (Bug#6408) + +2010-06-16 Agustín Martín <[email protected]> + + * textmodes/ispell.el (ispell-dictionary-base-alist): Fix + portuguese casechars/not-casechars for missing 'çÇ'. + Suggested by Rolando Pereira (bug#6434). + +2010-06-15 Juanma Barranquero <[email protected]> + + * facemenu.el (list-colors-sort): Doc fix. + +2010-06-15 Bob Rogers <[email protected]> (tiny change) + + * progmodes/sql.el (sql-connect-mysql): Fix typo. + +2010-06-14 Juri Linkov <[email protected]> + + Add sort option `list-colors-sort'. (Bug#6332) + * facemenu.el (color-rgb-to-hsv): New function. + (list-colors-sort): New defcustom. + (list-colors-sort-key): New function. + (list-colors-display): Doc fix. Sort list according to the option + `list-colors-sort'. + (list-colors-print): Add HSV values to `help-echo' property of + RGB strings. + +2010-06-14 Juri Linkov <[email protected]> + + * compare-w.el: Move to the "vc" subdirectory. + +2010-06-14 Stefan Monnier <[email protected]> + + * image-mode.el (image-mode-map): Remap left-char and right-char. + + * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior. + +2010-06-12 Chong Yidong <[email protected]> + + * term/common-win.el (x-colors): Add all the color names defined + in rgb.txt (Bug#6332). + + * facemenu.el (list-colors-print): Don't print extra names if it + will overflow the window width. + + * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02 + change (Bug#6343). + +2010-06-12 Eli Zaretskii <[email protected]> + + * files.el (make-directory): Doc fix (bug#6396). + +2010-06-12 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-remote-process-environment): Protect version + string by apostroph. + (tramp-shell-prompt-pattern): Do not use a shy group in case of + XEmacs. + (tramp-file-name-for-operation): Add `call-process-region'. + (tramp-set-process-query-on-exit-flag): Fix wrong parentheses. + + * net/tramp-compat.el (top): Do not autoload + `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el + only when `start-file-process' is not bound. + (tramp-advice-file-expand-wildcards): Do not use + `tramp-handle-file-remote-p'. + (tramp-compat-make-temp-file): Handle the case, that + `make-temp-file' has no third argument EXTENSION. + +2010-06-11 Juanma Barranquero <[email protected]> + + * makefile.w32-in (WINS_BASIC): Include new directory vc. + + * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/. + +2010-06-11 Juri Linkov <[email protected]> + + * finder.el (finder-known-keywords): Add keyword "vc" + for version control. + + * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el, + * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el, + * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el, + * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc". + +2010-06-11 Juri Linkov <[email protected]> + + Move version control related files to the "vc" subdirectory. + * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el, + * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el, + * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el, + * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el, + * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el, + * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el, + * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el, + * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el: + Move files to the "vc" subdirectory. + +2010-06-11 Chong Yidong <[email protected]> + + * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change + (Bug#6367). + +2010-06-11 Stephen Eglen <[email protected]> + + * shell.el: Bind `shell-resync-dirs' to M-RET. + +2010-06-10 Michael Albinus <[email protected]> + + * notifications.el: Move file from lisp/net, because it is + supposed to talk locally to the user. + +2010-06-10 Julien Danjou <[email protected]> + + * net/notifications.el (notifications-on-action-signal) + (notifications-on-closed-signal): Pass notification id as first + argument to the callback functions. Add docstrings. + (notifications-notify): Fix docstring. + +2010-06-10 Glenn Morris <[email protected]> + + * emacs-lisp/authors.el (authors-ignored-files) + (authors-valid-file-names): Add some files. + +2010-06-10 Stefan Monnier <[email protected]> + + * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve + merge conflict, giving preference to the emacs-23 version of the code. + +2010-06-09 Stefan Monnier <[email protected]> + + * emacs-lisp/advice.el (ad-compile-function): + Define warning-suppress-types before we let-bind it (bug#6275). + + * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook; + declare it, make it buffer-local and permanent-local (bug#6324). + (vc-resynch-window): Adjust name. + * vc-hooks.el (vc-find-file-hook): Adjust name. + +2010-06-09 Michael Albinus <[email protected]> + + * net/notifications.el (notifications-notify): Fix docstring. + +2010-06-09 Juanma Barranquero <[email protected]> + + Update to Unicode 6.0.0 beta. + * international/charprop.el: Update copyright. + * international/mule-cmds.el (ucs-names): Update character ranges. + * international/uni-bidi.el: + * international/uni-category.el: + * international/uni-combining.el: + * international/uni-comment.el: + * international/uni-decimal.el: + * international/uni-decomposition.el: + * international/uni-digit.el: + * international/uni-lowercase.el: + * international/uni-mirrored.el: + * international/uni-name.el: + * international/uni-numeric.el: + * international/uni-old-name.el: + * international/uni-titlecase.el: + * international/uni-uppercase.el: Regenerate. + +2010-06-09 Juanma Barranquero <[email protected]> + + * emacs-lisp/smie.el (comment-string-strip): Declare function. + (smie-precs-precedence-table): Fix typo in docstring. + + * vc-mtn.el (log-edit-extract-headers): Declare function. + + * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration. + + * net/notifications.el (dbus-register-signal): Declare function. + (notifications-notify): Fix typos and reflow docstring. + +2010-06-09 Dan Nicolaescu <[email protected]> + + Improve VC create/retrieve tag/branch. + * vc.el (vc-create-tag): Do not read the directory name for VCs + with repository revision granularity. Adjust the tag/branch + prompt. Reset VC properties. + (vc-retrieve-tag): Do not read the directory name for VCs + with repository revision granularity. Reset VC properties. + +2010-06-09 Julien Danjou <[email protected]> + + * net/notifications.el: New file. + +2010-06-09 Dan Nicolaescu <[email protected]> + + Add optional support for resetting VC properties. + * vc-dispatcher.el (vc-resynch-window): Add new optional argument, + call vc-file-clearprops when true. + (vc-resynch-buffer): Add new optional argument, pass it down. + (vc-resynch-buffers-in-directory): Likewise. + + Improve support for special markup in the VC commit message. + * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup. + * vc-hg.el (vc-hg-checkin): Add support for Date:. + * vc-git.el (vc-git-checkin): + * vc-bzr.el (vc-bzr-checkin): Likewise. + +2010-06-09 Stefan Monnier <[email protected]> + + * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that + can be handled with a ((:before "fn") (:prev "=>" parent)) rule. + +2010-06-07 Martin Pohlack <[email protected]> + + * iimage.el: Remove images as soon as the underlying text is modified. + (iimage-modification-hook): New function. + (iimage-mode-buffer): Use it. + +2010-06-07 Stefan Monnier <[email protected]> + + * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from + smie-indent-offset-after. Add :prev case. Make a bit more generic. + (smie-indent-virtual): Remove `virtual' arg. Update callers. + (smie-indent-keyword): Add handling of open-paren keywords. + (smie-indent-comment-continue): Don't assume comment-continue. + +2010-06-07 Martin Rudalics <[email protected]> + + * window.el (pop-to-buffer): Remove the conditional that + compares new-window and old-window, so it will reselect + the selected window unconditionally. + http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html + +2010-06-07 Stefan Monnier <[email protected]> + + * emacs-lisp/smie.el (smie-indent-offset-after) + (smie-indent-forward-token, smie-indent-backward-token): New functions. + (smie-indent-after-keyword): Use them. + (smie-indent-fixindent): Only applies to the indentation of the BOL. + (smie-indent-keyword): Tweak the black magic. + (smie-indent-comment-continue): Strip comment-continue before use. + (smie-indent-functions): Indent comments before keywords. + +2010-06-06 Juri Linkov <[email protected]> + + * isearch.el (isearch-lazy-highlight-search): Fix looping + by checking for empty match. This syncs this loop with the + similar loop in `isearch-search'. (Bug#6362) + +2010-06-05 Juanma Barranquero <[email protected]> + + * net/dbus.el (dbus-register-method): Declare function. + (dbus-handle-event, dbus-property-handler): Fix typos in docstrings. + (dbus-introspect): Doc fix. + (dbus-event-bus-name, dbus-introspect-get-interface) + (dbus-introspect-get-argument): Reflow docstrings. + +2010-06-05 Dan Nicolaescu <[email protected]> + + vc-log-incoming/vc-log-outgoing fixes for Git. + * vc-git.el (vc-git-log-view-mode): Fix font lock for + incoming/outgoing logs. + (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream} + instead of vc-git-compute-remote. + (vc-git-compute-remote): Remove. + +2010-06-04 Chong Yidong <[email protected]> + + * term/common-win.el (x-colors): Add "dark green" and "dark + turquoise" (Bug#6332). + +2010-06-04 Juri Linkov <[email protected]> + + * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates. + Instead of setting `replace' to t and replacing the same string + with itself, don't do certain actions when + kill-do-not-save-duplicates is non-nil and string is equal to car + of kill-ring: don't call menu-bar-update-yank-menu, don't push + interprogram-paste strings to kill-ring, and don't push the input + argument `string' to kill-ring. + http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html + +2010-06-04 Juanma Barranquero <[email protected]> + + * subr.el (directory-sep-char): Move from fileio.c and make a defconst. + +2010-06-04 Michael Albinus <[email protected]> + + * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/". + (tramp-gvfs-handler-mounted-unmounted) + (tramp-gvfs-connection-mounted-p): Handle default-location. + + * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to + move files to trash. + +2010-06-04 Juanma Barranquero <[email protected]> + + * international/mule-cmds.el (nonascii-insert-offset) + (nonascii-translation-table): Add obsolescence information. + + * international/mule.el (make-translation-table-from-vector): Doc fix. + +2010-06-03 Eric Ludlam <[email protected]> + + * cedet/semantic/lex-spp.el + (semantic-lex-spp-table-write-slot-value): Instead of erroring on + invalid values during save, just save a nil (Bug#6324). + +2010-06-03 Glenn Morris <[email protected]> + + * desktop.el (desktop-clear-preserve-buffers): + Add "*Warnings*" buffer. (Bug#6336) + +2010-06-03 Dan Nicolaescu <[email protected]> + + vc-log-incoming/vc-log-outgoing improvements for Git. + * vc-git.el (vc-git-log-outgoing): Use the same format as the + short log. + (vc-git-log-incoming): Likewise. Run "git fetch" before the log command. + + Add bindings for vc-log-incoming and vc-log-outgoing. + * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming + and vc-log-outgoing. + * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming + and vc-log-outgoing. + +2010-06-03 Chong Yidong <[email protected]> + + * net/rcirc.el (rcirc-sort-nicknames): Remove. + (rcirc-handler-366): Always sort nicknames. + +2010-06-03 Juanma Barranquero <[email protected]> + + * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler. + +2010-06-03 Chong Yidong <[email protected]> + + * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix. + +2010-06-03 Stefan Monnier <[email protected]> + + * net/rcirc.el (rcirc-sort-nicknames): Change default. + (rcirc-sort-nicknames-join): Avoid setq. + +2010-06-03 Deniz Dogan <[email protected]> + + * net/rcirc.el (rcirc-sort-nicknames): New custom. + (rcirc-nickname<, rcirc-sort-nicknames-join): New funs. + (rcirc-handler-366): Use them. + +2010-06-03 Stefan Monnier <[email protected]> + + Split smie-indent-calculate into more manageable chunks. + * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent) + (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword) + (smie-indent-close, smie-indent-comment-continue, smie-indent-bob) + (smie-indent-exps): Extract from smie-indent-calculate. + (smie-indent-functions): New var. + (smie-indent-functions): Use them. + +2010-06-02 Stefan Monnier <[email protected]> + + * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp. + (smie-indent-calculate): Simplify and cleanup. + +2010-06-02 Michael Albinus <[email protected]> + + * net/tramp-gvfs.el (top): Require url-util. + (tramp-gvfs-mount-point): Remove. + (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command): + New defuns. + (with-tramp-dbus-call-method): Format trace message. + (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): + Implement backup call, when operation on local files fails. + Use progress reporter. Flush properties of changed files. + (tramp-gvfs-handle-make-directory): Make more traces. + (tramp-gvfs-url-file-name): Hexify file name in url. + (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares) + into account for the resulting file name. + (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when + the answer is "no". See `tramp-gvfs-maybe-open-connection'. + (tramp-gvfs-handler-mounted-unmounted) + (tramp-gvfs-connection-mounted-p): Test also for new mountspec + attribute "default_location". Set "prefix" property. + (tramp-gvfs-mount-spec): Return both prefix and mountspec. + (tramp-gvfs-maybe-open-connection): Test, whether mountpoint + exists. Raise an error, if not (due to a corresponding answer + "no" in interactive questions, for example). + +2010-06-02 Dan Nicolaescu <[email protected]> + + * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax. + +2010-06-01 Juanma Barranquero <[email protected]> + + * emacs-lisp/eldoc.el: Add completions for new commands left-* and + right-*. (Bug#6265) + +2010-06-01 Dan Nicolaescu <[email protected]> + + Add support for vc-log-incoming, improve vc-log-outgoing for Git. + * vc-git.el (vc-git-compute-remote): New function. + (vc-git-log-outgoing): Use it instead of hard coding a value. + (vc-git-log-incoming): New function. + + Improve state updating for VC tag commands. + * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer + to update the state of all buffers in the directory. + + * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539). + +2010-06-01 Stefan Monnier <[email protected]> + + * vc-bzr.el (vc-bzr-revision-completion-table): Apply + `file-directory-p' to the filename part rather than to the whole text. + +2010-05-31 Jonathan Marchand <[email protected]> (tiny change) + + * cedet/ede/cpp-root.el (ede-set-project-variables): Fix feature name + (bug#6231). + +2010-05-31 Stefan Monnier <[email protected]> + + * man.el (Man-completion-table): Let the user type "-k " (bug#6319). + +2010-05-31 Drew Adams <[email protected]> + + * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298). + +2010-05-31 Juanma Barranquero <[email protected]> + + * subr.el (momentary-string-display): Just use read-event to read + the exit event (Bug#6238). + +2010-05-30 Eli Zaretskii <[email protected]> + + * international/mule.el (define-coding-system): Doc fix (bug#6313). + +2010-05-30 Juanma Barranquero <[email protected]> + + * emulation/cua-base.el: Recognize also `right-word' and `left-word'. + Suggested by Eli Zaretskii <[email protected]>. + +2010-05-30 Stefan Monnier <[email protected]> + + * minibuffer.el (completion-file-name-table): Don't return a boundary + past the end of `string' (bug#6299). + (completion--file-name-table): Delegate to completion-file-name-table + for the `boundaries' case. + +2010-05-30 Juanma Barranquero <[email protected]> + + * emulation/cua-base.el: Recognize `right-char' and `left-char' as + movement commands. + + * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from + `path-separator', but maintain compatibility with Emacs 20.2. + +2010-05-29 Chong Yidong <[email protected]> + + * server.el (server-process-filter): Receive parent-id argument + from emacsclient. + (server-create-window-system-frame): New arg. Pass parent-id as + frame parameter. + +2010-05-29 Eli Zaretskii <[email protected]> + + Bidi-sensitive word movement with arrow keys. + * subr.el (right-arrow-command, left-arrow-command): Move to + bindings.el. + + * bindings.el (right-char, left-char): Move from subr.el and + rename from right-arrow-command and left-arrow-command. + (right-word, left-word): New functions. + (global-map) <right>: Bind to right-char. + (global-map) <left>: Bind to left-char. + (global-map) <C-right>: Bind to right-word. + (global-map) <C-left>: Bind to left-word. + + * ls-lisp.el (ls-lisp-classify-file): New function. + (ls-lisp-insert-directory): Call it if switches include -F (bug#6294). + (ls-lisp-classify): Call ls-lisp-classify-file. + (insert-directory): Remove blanks from switches. + +2010-05-29 Chong Yidong <[email protected]> + + * ansi-color.el: Delete unused escape sequences (Bug#6085). + (ansi-color-drop-regexp): New constant. + (ansi-color-apply, ansi-color-filter-region) + (ansi-color-apply-on-region): Delete unrecognized control sequences. + (ansi-color-apply): Build string list before calling concat. + +2010-05-28 Juri Linkov <[email protected]> + + * image-dired.el (image-dired-dired-toggle-marked-thumbs): + Replace LOCALP arg of `dired-get-filename' 'no-dir with nil. + (Bug#5270) + +2010-05-28 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall' + to ignored backtrace functions. + (with-progress-reporter): Expand docstring. + (tramp-handle-delete-file): Implement TRASH argument. + (tramp-get-remote-trash): New defun. + +2010-05-28 Michael Albinus <[email protected]> + + * net/tramp-compat.el (tramp-compat-delete-file): Use + `symbol-value' for backward compatibility. + + * net/tramp.el (tramp-handle-make-symbolic-link) + (tramp-handle-load) + (tramp-do-copy-or-rename-file-via-buffer) + (tramp-do-copy-or-rename-file-directly) + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-handle-process-file, tramp-handle-call-process-region) + (tramp-handle-shell-command, tramp-handle-file-local-copy) + (tramp-handle-insert-file-contents, tramp-handle-write-region) + (tramp-delete-temp-file-function): Use `delete-file' instead + of `tramp-compat-delete-file'. + + * net/tramp-fish.el (tramp-fish-handle-delete-directory) + (tramp-fish-handle-make-symbolic-link) + (tramp-fish-handle-process-file): Use `delete-file' instead + of `tramp-compat-delete-file'. + + * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use + `delete-file' instead of `tramp-compat-delete-file'. + + * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg. + (tramp-gvfs-handle-write-region): Use `delete-file' instead of + `tramp-compat-delete-file'. + + * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use + `delete-file' instead of `tramp-compat-delete-file'. + + * net/tramp-smb.el (tramp-smb-handle-copy-file) + (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file) + (tramp-smb-handle-write-region): Use `delete-file' instead of + `tramp-compat-delete-file'. + (tramp-smb-handle-delete-directory): Use 'trash as arg. + +2010-05-27 Chong Yidong <[email protected]> + + * dired.el (dired-delete-file): New arg TRASH. + (dired-internal-do-deletions): New arg TRASH. Use progress reporter. + (dired-do-flagged-delete, dired-do-delete): Use trash. + + * speedbar.el (speedbar-item-delete): Allow trashing. + + * files.el (delete-directory): New arg TRASH. + + * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file) + (ange-ftp-rename-remote-to-remote) + (ange-ftp-rename-local-to-remote) + (ange-ftp-rename-remote-to-local, ange-ftp-load) + (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from + `delete-file'. + (ange-ftp-delete-directory): Add optional arg to `delete-file', to + allow trashing. + + * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to + handle new TRASH arg of `delete-file'. + + * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH. + (tramp-handle-make-symbolic-link, tramp-handle-load) + (tramp-do-copy-or-rename-file-via-buffer) + (tramp-do-copy-or-rename-file-directly) + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-handle-process-file, tramp-handle-call-process-region) + (tramp-handle-shell-command, tramp-handle-file-local-copy) + (tramp-handle-insert-file-contents, tramp-handle-write-region) + (tramp-delete-temp-file-function): Use null TRASH arg in + tramp-compat-delete-file call. + + * net/tramp-fish.el (tramp-fish-handle-delete-directory) + (tramp-fish-handle-delete-file) + (tramp-fish-handle-make-symbolic-link) + (tramp-fish-handle-process-file): Use null TRASH arg in + `tramp-compat-delete-file' call. + + * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH + arg in `tramp-compat-delete-file' call. + + * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg. + (tramp-gvfs-handle-write-region): Use null TRASH arg in + `tramp-compat-delete-file' call. + + * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg. + (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in + `tramp-compat-delete-file' call. + + * net/tramp-smb.el (tramp-smb-handle-copy-file) + (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file) + (tramp-smb-handle-write-region): Use null TRASH arg in + tramp-compat-delete-file call. + (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file. + (tramp-smb-handle-delete-file): Rename arg. + + * diff.el (diff-sentinel): + * epg.el (epg--make-temp-file, epg-decrypt-string) + (epg-verify-string, epg-sign-string, epg-encrypt-string): + * jka-compr.el (jka-compr-partial-uncompress) + (jka-compr-call-process, jka-compr-write-region): + * server.el (server-sentinel): Remove optional arg from + delete-file, reverting 2010-05-03 change. + +2010-05-27 Chong Yidong <[email protected]> + + * progmodes/verilog-mode.el (verilog-type-font-keywords): Use + font-lock-constant-face, not obsolete font-lock-reference-face. + +2010-05-27 Kenichi Handa <[email protected]> + + * language/hebrew.el (hebrew-shape-gstring): Check if a glyph + element of GSTRING is nil. + +2010-05-27 Stefan Monnier <[email protected]> + + * emacs-lisp/smie.el (smie-forward-token-function) + (smie-backward-token-function): New vars. + (smie-backward-sexp, smie-forward-sexp) + (smie-indent-hanging-p, smie-indent-calculate): Use them. + (smie-default-backward-token): Rename from smie-backward-token and + skip comments. + (smie-default-forward-token): Rename from smie-forward-token and + skip comments. + (smie-next-sexp): Handle nil results from next-token. + (smie-indent-calculate): Add a new case for special `fixindent' comments. + +2010-05-27 Chong Yidong <[email protected]> + + * progmodes/verilog-mode.el (verilog-type-font-keywords): + Use font-lock-constant-face, not obsolete font-lock-reference-face. + +2010-05-27 Masatake YAMATO <[email protected]> + + * htmlfontify.el (hfy-face-resolve-face): New function. + (hfy-face-to-style): Use it (Bug#6279). + +2010-05-26 Stefan Monnier <[email protected]> + + * progmodes/ada-xref.el (ada-gnat-parse-gpr): + * emulation/edt.el (edt-load-keys): Avoid (expand-file-name "."). + +2010-05-26 Glenn Morris <[email protected]> + + * emulation/edt.el (edt-load-keys): Use locate-library. + +2010-05-25 Chong Yidong <[email protected]> + + * log-edit.el (log-edit-strip-single-file-name): Default to nil. + (log-edit-changelog-entries): Doc fix. + (log-edit-changelog-insert-entries): Args changed. + Rename relative filenames in ChangeLog entries. Delete tabs. + (log-edit-insert-changelog-entries): Reorganize return value of + `log-edit-changelog-entries' to pass filenames to + log-edit-changelog-insert-entries. + +2010-05-25 Thierry Volpiatto <[email protected]> + + * dired.el (dired-mode-map): Rebind "\C-t\C-t" from + `image-dired-dired-insert-marked-thumbs' to + `image-dired-dired-toggle-marked-thumbs'. + + * image-dired.el: Require cl when compiling. + (image-dired-dired-toggle-marked-thumbs): Rename from + `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix. + Use interactive spec "P". Set LOCALP arg of `dired-get-filename' + to 'no-dir. Skip files whose names don't match + `image-file-name-regexp'. When file has a thumbnail overlay, + delete it. (Bug#5270) + +2010-05-25 Juri Linkov <[email protected]> + + * image-mode.el (image-mode): Add image-after-revert-hook to + after-revert-hook. + (image-after-revert-hook): New function. (Bug#5669) + +2010-05-25 Juri Linkov <[email protected]> + + * image.el (image-animated-p): When delay between animated images + is 0, set it to 10 (0.1 sec). (Bug#6258) + +2010-05-25 Christian Lynbech <[email protected]> (tiny change) + + * net/tramp.el (tramp-handle-insert-directory): Don't use + `forward-word', its default syntax could be changed. + +2010-05-25 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-progress-reporter-update): New defun. + (with-progress-reporter): Use it. + (tramp-process-actions): + * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve + current message, in order to let progress reporter continue + afterwards. (Bug#6257) + +2010-05-25 Glenn Morris <[email protected]> + + * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name): + Add :version. + +2010-05-25 Ryan Yeske <[email protected]> + + * net/rcirc.el (rcirc-default-user-name): Change to "user". + (rcirc-default-full-name): Change to "unknown". + (rcirc-user-name-history): Add variable. + +2010-05-25 Ryan Yeske <[email protected]> + Jonathan Rockway <[email protected]> + + * net/rcirc.el (rcirc-server-alist): Add :pass. + (rcirc): When prompting for connection parameters, also prompt for + username and password. + (rcirc-connect): Take a PASS argument. If PASS is non-nil, send + value to server when connecting. + +2010-05-25 Stefan Monnier <[email protected]> + + * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use. + (smie-merge-prec2s): Pass the tables as separate args. + (smie-bnf-precedence-table): Adjust call accordingly. + (smie-prec2-levels): Set levels at the end. + + Replace Lisp calls to delete-backward-char by delete-char. + * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el, + * skeleton.el, term.el, time.el, wid-edit.el, woman.el, + * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el, + * calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el, + * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el, + * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el, + * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el, + * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el, + * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el, + * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el, + * progmodes/ps-mode.el, progmodes/verilog-mode.el, + * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el, + * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el, + * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to + delete-backward-char by calls to delete-char. + +2010-05-25 Kenichi Handa <[email protected]> + + * language/hebrew.el (hebrew-shape-gstring): New function. + Register it in composition-function-table for all Hebrew combining + characters. + +2010-05-25 Stefan Monnier <[email protected]> + + * epa.el (epa--select-keys): Don't explicitly delete the window since + that can fail (e.g. sole window in frame). Use dedication instead. + +2010-05-24 Uday S Reddy <[email protected]> (tiny change) + + * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201). + +2010-05-22 Chong Yidong <[email protected]> + + * image.el (image-refresh): Define as an alias for image-flush. + + * image-mode.el (image-toggle-display-image): Caller changed. + +2010-05-21 Juri Linkov <[email protected]> + + * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases. + Remove "all" from grep-files-aliases. Split grep-files-aliases by + whitespace, call wildcard-to-regexp on substrings and concat them + with "\\|". (Bug#6114) + +2010-05-21 Alan Mackenzie <[email protected]> + + * progmodes/cc-engine.el (c-parse-state-get-strategy): + Replace parameter `here' with `here-' and `here-plus', which sandwich + any pertinent CPP construct. + (c-remove-stale-state-cache-backwards): Fix a bug which happens + when doing (c-parse-state) in a CPP construct: Exclude any "new" + CPP construct from taking part in the scanning. + +2010-05-21 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-do-copy-or-rename-file) + (tramp-handle-file-local-copy, tramp-maybe-open-connection): + Tune `with-progress-reporter' messages. + (tramp-handle-vc-registered): + * net/tramp-fish.el (tramp-fish-handle-file-local-copy) + (tramp-fish-handle-insert-file-contents) + (tramp-fish-maybe-open-connection): + * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): + * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file) + (tramp-imap-handle-insert-file-contents) + (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'. + +2010-05-21 Juanma Barranquero <[email protected]> + + * add-log.el (change-log-font-lock-keywords): + Highlight all authors in multi-author entries. + + * smerge-mode.el (smerge-refine-ignore-whitespace) + (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict): + Fix typos in docstrings. + (smerge-resolve, smerge-refine-subst): Reflow docstrings. + +2010-05-21 Glenn Morris <[email protected]> + + * progmodes/fortran.el (fortran-mode): + * progmodes/f90.el (f90-mode): Derive from prog-mode. + + * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer + having a relative path in src/Makefile.in. + +2010-05-20 Kevin Ryde <[email protected]> + + * help-mode.el (help-make-xrefs): For Info node links turn + newlines into spaces. Link node names with newlines are matched + by help-xref-info-regexp and buttonized, this change ensures they + can be followed successfully with RET. (Bug#6206) + +2010-05-20 Juri Linkov <[email protected]> + + * locate.el (locate): Use pop-to-buffer instead of + switch-to-buffer-other-window. (Bug#6204) + +2010-05-20 Juri Linkov <[email protected]> + + * replace.el (replace-highlight): Fix lazy-highlighting + for `M-s w str M-% str RET'. + +2009-12-15 Masatake YAMATO <[email protected]> + + * isearch.el (isearch-yank-word-or-char): Pull next subword + when `subword-mode' is activated. (Bug#6220) + +2010-05-20 Mark A. Hershberger <[email protected]> + + * isearch.el (isearch-update-post-hook): New hook. + (isearch-update): Use the new hook. (Bug#6225) + +2010-05-20 Juri Linkov <[email protected]> + + * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map: + [f1], [help], and (char-to-string help-char) instead of "\C-h". + (Bug#6222) + +2010-05-20 Juri Linkov <[email protected]> + + * isearch.el (isearch-yank-string): Use isearch-process-search-string. + (Bug#6223) + +2010-05-20 Juri Linkov <[email protected]> + + * dired-x.el (dired-jump, dired-jump-other-window): Add arg + FILE-NAME to read from the minibuffer when called interactively + with prefix argument instead of using buffer-file-name. + http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html + + * dired.el: Update autoloads. + +2010-05-20 Chong Yidong <[email protected]> + + * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to + nxml-finish-element, for consistency with SGML mode. + + * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to + octave-close-block. + +2010-05-20 Juanma Barranquero <[email protected]> + + * composite.el: Require cl when compiling. + (reference-point-alist, compose-gstring-for-graphic) + (compose-gstring-for-terminal): Fix typos in docstrings. + +2010-05-19 Juri Linkov <[email protected]> + + * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with + set-window-parameter. + +2010-05-19 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute + where appropriate. + (tramp-maybe-open-connection): Use it. + +2010-05-19 Eli Zaretskii <[email protected]> + + * simple.el (move-end-of-line): Make sure we are at line beginning + before backing up to end of previous line. + +2010-05-19 Michael Albinus <[email protected]> + + * password-cache.el (password-cache-remove): Fix docstring. + + * net/secrets.el: Autoload the widget functions. + (secrets-search-items, secrets-create-item) + (secrets-get-attributes, secrets-expand-item): Attributes will be + stored on the password database without leading ":", as all other + clients do as well. + (secrets-mode): Fix docstring. + (secrets-show-secrets): Provide it as autoloaded command only when + D-Bus support is available. Check existence of Secret Service API. + +2010-05-19 Stefan Monnier <[email protected]> + + * indent.el (indent-region): Deactivate region (bug#6200). + +2010-05-19 Glenn Morris <[email protected]> + + * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204) + +2010-05-19 Kenichi Handa <[email protected]> + + * composite.el: Register compose-gstring-for-graphic in + composition-function-table only for combining characters (Mn, Mc, Me). + +2010-05-18 Jay Belanger <[email protected]> + + * calc/calc-trail.el (calc-trail-isearch-forward) + (calc-trail-isearch-backward): Ensure that the new window + point is set correctly. + +2010-05-18 Stefan Monnier <[email protected]> + + * subr.el (read-quoted-char): Resolve modifiers after key + remapping (bug#6212). + +2010-05-18 Michael Albinus <[email protected]> + + Add visualization code for secrets. + * net/secrets.el (secrets-mode): New major mode. + (secrets-show-secrets, secrets-show-collections) + (secrets-expand-collection, secrets-expand-item) + (secrets-tree-widget-after-toggle-function) + (secrets-tree-widget-show-password): New defuns. + +2010-05-18 Stefan Monnier <[email protected]> + + * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB. + (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now + handled in smie-next-sexp. + (smie-indent-calculate): Provide a starting indentation (so the + recursion is well-founded ;-). + + Fix handling of non-associative equal levels. + * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even + when it's not needed. + (smie-op-left, smie-op-right): New functions. + (smie-next-sexp): New function, extracted from smie-backward-sexp. + Better handle equal levels to distinguish the associative case from + the "multi-keyword construct" case. + (smie-backward-sexp, smie-forward-sexp): Use it. + +2010-05-18 Juanma Barranquero <[email protected]> + + * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler. + + * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp) + (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings. + +2010-05-17 Stefan Monnier <[email protected]> + + Provide a simple generic indentation engine and use it for Prolog. + * emacs-lisp/smie.el: New file. + * progmodes/prolog.el (prolog-smie-op-levels) + (prolog-smie-indent-rules): New var. + (prolog-mode-variables): Use them to configure SMIE. + (prolog-indent-line, prolog-indent-level): Remove. + +2010-05-17 Jay Belanger <[email protected]> + + * calc/calc-vec.el (math-vector-avg): Put the vector elements in + order before computing the averages. + +2010-05-16 Jay Belanger <[email protected]> + + * calc/calc-vec.el (calc-histogram): + (calcFunc-histogram): Allow vectors as inputs. + (math-vector-avg): New function. + + * calc/calc-ext.el (math-group-float): Have the number of digits + being grouped depend on the radix (Bug#6189). + +2010-05-15 Ken Raeburn <[email protected]> + + * version.el (emacs-copyright, emacs-version): Don't define here, + now that emacs.c defines it. + +2010-05-15 Eli Zaretskii <[email protected]> + + * international/mule-cmds.el (mule-menu-keymap): Fix definition of + "Describe Language Environment" menu item. + + * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix. + + Bidi-sensitive movement with arrow keys. + * subr.el (right-arrow-command, left-arrow-command): New functions. + + * bindings.el (global-map): Bind them to right and left arrow keys. + + Don't override standard definition of convert-standard-filename. + * files.el (convert-standard-filename): Call + w32-convert-standard-filename and dos-convert-standard-filename on + the corresponding systems. + + * w32-fns.el (w32-convert-standard-filename): Rename from + convert-standard-filename. Doc fix. + + * dos-fns.el (dos-convert-standard-filename): Doc fix. + (convert-standard-filename): Don't defalias. + (register-name-alist, make-register, register-value) + (set-register-value, intdos): Obsolete aliases for the + corresponding dos-* functions and variables. + (dos-intdos): Add a doc string. + +2010-05-15 Jay Belanger <[email protected]> + + * calc/calc-aent.el (math-read-token, math-find-user-tokens): + * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol): + (math-compose-tex-func): + * calc/calccomp.el (math-compose-expr): + * calc/calc-ext.el (math-format-flat-expr-fancy): + * calc/calc-store.el (calc-read-var-name): + * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters. + + * calc/calc.el (var-π, var-φ, var-γ): New variables. + * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol. + * calc/calc-units.el (math-unit-prefixes): Add mu for micro. + (math-standard-units): Add units. + +2010-05-15 Stefan Monnier <[email protected]> + + * progmodes/asm-mode.el (asm-mode): + * progmodes/prolog.el (prolog-mode): Use define-derived-mode. + + * pcomplete.el (pcomplete-completions-at-point): New function, + extracted from pcomplete-std-complete. + (pcomplete-std-complete): Use it. + +2010-05-15 Glenn Morris <[email protected]> + + * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): + Remove references to CVS, RCS and Old directories. + +2010-05-14 Jay Belanger <[email protected]> + + * calc/calc-bin.el (math-format-twos-complement): Group digits when + appropriate. + +2010-05-14 Stefan Monnier <[email protected]> + + * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove. + (sh-mode-syntax-table): Give it a default value instead. + (sh-header-marker): Make buffer-local. + (sh-mode): Move make-local-variable to the corresponding setq. + (sh-add-completer): Avoid gratuitously let-binding a buffer-local var. + Use complete-with-action. + + * simple.el (prog-mode): New (abstract) major mode. + * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it. + * progmodes/sh-script.el (sh-mode): Remove redundant var assignment. + +2010-05-14 Juanma Barranquero <[email protected]> + + * progmodes/sql.el (sql-oracle-program): Reflow docstring. + (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock) + (sql-add-product-keywords, sql-highlight-product, sql-set-product) + (sql-make-alternate-buffer-name, sql-placeholders-filter) + (sql-escape-newlines-filter, sql-input-sender) + (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings. + +2010-05-13 Chong Yidong <[email protected]> + + Add TeX open-block and close-block keybindings to SGML, and vice versa. + + * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to + latex-open-block and C-c / to latex-close-block. + + * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag + and C-c C-e to sgml-close-tag. + +2010-05-13 Michael Albinus <[email protected]> + + * net/tramp.el (with-progress-reporter): Create reporter object + only when the message would be displayed. Handle nested calls. + (tramp-handle-load, tramp-handle-file-local-copy) + (tramp-handle-insert-file-contents, tramp-handle-write-region) + (tramp-maybe-send-script, tramp-find-shell): + Use `with-progress-reporter'. + (tramp-handle-dired-compress-file, tramp-maybe-open-connection): + Fix message text. + + * net/tramp-smb.el (tramp-smb-handle-copy-file) + (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file) + (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection): + Use `with-progress-reporter'. + +2010-05-13 Agustín Martín <[email protected]> + + * textmodes/ispell.el (ispell-init-process): Do not kill ispell + process everytime when spellchecking from the minibuffer (bug#6143). + +2010-05-13 Stefan Monnier <[email protected]> + + * progmodes/sh-script.el (sh-mode): Use define-derived-mode. + + * dos-fns.el: Add "dos-" prefix for namespace control. + (convert-standard-filename): Define as alias for + dos-convert-standard-filename but only if applicable. + +2010-05-12 Alan Mackenzie <[email protected]> + + * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): + Push the mark at the start of these functions when appropriate. + +2010-05-12 Stefan Monnier <[email protected]> + + * minibuffer.el (completion-cycle-threshold): New custom var. + (completion--do-completion): Use it. + (minibuffer-complete): Use cycling if appropriate. + +2010-05-11 Juanma Barranquero <[email protected]> + + * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically + buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173). + +2010-05-11 Juri Linkov <[email protected]> + + * scroll-all.el (scroll-all-check-to-scroll): + Add `scroll-up-command' and `scroll-down-command' (bug#6164). + +2010-05-11 Stefan Monnier <[email protected]> + + * iimage.el (iimage-mode-map): Move initialization into declaration. + (iimage-mode-buffer): Use with-silent-modifications. + Simplify calling convention. Adjust callers. + (iimage-mode): Don't run hook redundantly. + + * minibuffer.el (completion-pcm--pattern->regex): + Fix last change (bug#6160). + +2010-05-10 Juri Linkov <[email protected]> + + Remove nodes visited during Isearch from the Info history. + * info.el (Info-isearch-initial-history) + (Info-isearch-initial-history-list): New variables. + (Info-isearch-start): Record initial values of + Info-isearch-initial-history and Info-isearch-initial-history-list. + Add Info-isearch-end to isearch-mode-end-hook. + (Info-isearch-end): New function. + +2010-05-10 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in + format string, in order to work around a bug in pdksh. + Reported by Gilles Pion <[email protected]>. + (tramp-handle-verify-visited-file-modtime): Do not send a command + when the connection is not established. + (tramp-handle-set-file-times): Simplify the check for utc. + +2010-05-10 Juanma Barranquero <[email protected]> + + Fix use of `filter-buffer-substring' (rework previous change). + * emulation/cua-base.el (cua--filter-buffer-noprops): New function. + (cua-repeat-replace-region): + * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle): + * emulation/cua-gmrk.el (cua-copy-region-to-global-mark) + (cua-cut-region-to-global-mark): Use it. + +2010-05-09 Michael R. Mauger <[email protected]> + + * progmodes/sql.el: Version 2.1. + (sql-product-alist): Redesign structure of product info. + (sql-product, sql-user, sql-server, sql-database): Safe variables. + (sql-port, sql-port-history): New variables. + (sql-interactive-product): New variable. + (sql-send-terminator): New variable. + (sql-imenu-generic-expression): Add "Types" imenu entry. + (sql-oracle-login-params, sql-sqlite-login-params) + (sql-mysql-login-params, sql-solid-login-params) + (sql-sybase-login-params, sql-informix-login-params) + (sql-ingres-login-params, sql-ms-login-params) + (sql-postgres-login-params, sql-interbase-login-params) + (sql-db2-login-params, sql-linter-login-params) + (sql-oracle-scan-on): New variables. + (sql-mode-map): Add C-c C-i to start interactive mode. + (sql-mode-menu): Update existing menu entries. + (sql-font-lock-keywords-builder): Compile-time font-lock optimization. + (sql-mode-oracle-font-lock-keywords) + (sql-mode-postgres-font-lock-keywords) + (sql-mode-ms-font-lock-keywords) + (sql-mode-sybase-font-lock-keywords) + (sql-mode-informix-font-lock-keywords) + (sql-mode-interbase-font-lock-keywords) + (sql-mode-ingres-font-lock-keywords) + (sql-mode-solid-font-lock-keywords) + (sql-mode-mysql-font-lock-keywords) + (sql-mode-sqlite-font-lock-keywords) + (sql-mode-db2-font-lock-keywords) + (sql-mode-linter-font-lock-keywords): Update initialization to + reduce run-time complexity. + (sql-add-product, sql-del-product): New functions. + (sql-set-product-feature, sql-get-product-feature): New functions. + (sql-product-font-lock): Update product API. + (sql-add-product-keywords): New function. + (sql-highlight-product): Update product API. + (sql-help-list-products): New function. + (sql-help): Dynamically lists free and non-free products. + (sql-get-login): Correct bug in handling history and added + prompt for port. + (sql-copy-column): Copy without properties. + (sqli-input-sender): Apply filters to SQLi input. + (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting. + Implement as a filter. + (sql-escape-newlines-filter): Implement as a filter. + (sql-remove-tabs-filter): New function. + (sql-send-magic-terminator): New function. + (sql-send-string): Implement magic terminator. + (sql-send-region): Use `sql-send-string'. + (sql-interactive-mode): Use product API. + (sql-product-interactive): Use product API. + (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql) + (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase) + (sql-db2, sql-linter): Use `sql-product-interactive'. + (sql-connect): New function. + (sql-connect-oracle, sql-connect-sybase, sql-connect-informix) + (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid) + (sql-connect-ingres, sql-connect-ms, sql-connect-postgres) + (sql-connect-interbase, sql-connect-db2, sql-connect-linter): + Use `sql-connect'. + +2010-05-09 Stefan Monnier <[email protected]> + + * minibuffer.el (completion-pcm-complete-word-inserts-delimiters): + New custom variable. + (completion-pcm--string->pattern): Use it. + (completion-pcm--pattern->regex, completion-pcm--pattern->string): + Make it handle any symbol as `any'. + (completion-pcm--merge-completions): Extract common suffix for the new + `prefix' symbol as well. + (completion-substring--all-completions): Use the new `prefix' symbol. + +2010-05-09 Michael Albinus <[email protected]> + + * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if + not bound. + (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT. + (tramp-compat-funcall): New defmacro. + (tramp-compat-line-beginning-position) + (tramp-compat-line-end-position) + (tramp-compat-temporary-file-directory) + (tramp-compat-make-temp-file, tramp-compat-file-attributes) + (tramp-compat-copy-file, tramp-compat-copy-directory) + (tramp-compat-delete-file, tramp-compat-delete-directory) + (tramp-compat-number-sequence, tramp-compat-process-running-p) + * net/tramp.el (top, with-progress-reporter) + (tramp-rfn-eshadow-setup-minibuffer) + (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times) + (tramp-handle-dired-compress-file, tramp-handle-shell-command) + (tramp-completion-mode-p, tramp-check-for-regexp) + (tramp-open-connection-setup-interactive-shell) + (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd) + (tramp-time-diff, tramp-coding-system-change-eol-conversion) + (tramp-set-process-query-on-exit-flag, tramp-unload-tramp) + * net/tramp-cmds.el (tramp-cleanup-all-connections) + (tramp-reporter-dump-variable, tramp-load-report-modules) + (tramp-append-tramp-buffers) + * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it. + + * net/tramp-imap.el (top): Autoload `epg-make-context'. + +2010-05-08 Stefan Monnier <[email protected]> + + * progmodes/compile.el (compilation-buffer-modtime): Rename from + buffer-modtime. Adjust users. + +2010-05-08 Chong Yidong <[email protected]> + + * international/mule.el (auto-coding-alist): Only purecopy + car of each item, not the whole list (Bug#6083). + +2010-05-08 Chong Yidong <[email protected]> + + * progmodes/js.el (js-mode): Make paragraph variables local before + calling c-setup-paragraph-variables (Bug#6071). + +2010-05-08 Eli Zaretskii <[email protected]> + + * composite.el (compose-region, reference-point-alist): Fix typos + in the doc strings. + +2010-05-08 Alexander Klimov <[email protected]> (tiny change) + + * calc/calc-graph.el (calc-graph-plot): Use the proper form for + gnuplot's "set" command. + +2010-05-08 Juanma Barranquero <[email protected]> + + * abbrev.el (last-abbrev-text): Doc fix. + (abbrev-prefix-mark): Don't escape parenthesis. + +2010-05-08 Andreas Schwab <[email protected]> + + * composite.el (find-composition): Doc fix. + +2010-05-08 Juanma Barranquero <[email protected]> + + * progmodes/sql.el (sql-electric-stuff): Fix typo in tag. + (sql-oracle-program, sql-sqlite-options) + (sql-query-placeholders-and-send): Doc fixes. + (sql-set-product, sql-interactive-mode): Reflow docstrings. + (sql-imenu-generic-expression, sql-buffer) + (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords) + (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords) + (sql-mode-sybase-font-lock-keywords) + (sql-mode-informix-font-lock-keywords) + (sql-mode-interbase-font-lock-keywords) + (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords) + (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords) + (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords) + (sql-product-feature, sql-highlight-product) + (comint-line-beginning-position, sql-rename-buffer) + (sql-toggle-pop-to-buffer-after-send-region sql-oracle) + (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid) + (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter): + Fix typos in docstrings. + +2010-05-08 Juri Linkov <[email protected]> + + * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display' + property instead of `invisible' and `after-string' (bug#5998). + +2010-05-08 Juri Linkov <[email protected]> + + * image-mode.el (image-mode-as-text): Fix typo in docstring. + +2010-05-08 Juanma Barranquero <[email protected]> + + * filecache.el (file-cache-add-directory-list) + (file-cache-add-directory-recursively): Fix typos in docstrings. + +2010-05-08 Kenichi Handa <[email protected]> + + * language/indian.el (gurmukhi-composable-pattern): Fix typo. + (gujarati-composable-pattern): Fix typo. + +2010-05-08 Kenichi Handa <[email protected]> + + * language/indian.el (oriya-composable-pattern) + (tamil-composable-pattern, malayalam-composable-pattern): + Add two-part vowels to "v" (vowel sign). + +2010-05-08 Chong Yidong <[email protected]> + + * files.el (copy-directory): Handle symlinks (Bug#5982). + +2010-05-08 Dan Nicolaescu <[email protected]> + + * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC. + (vc-hg-working-revision): Likewise. Use hg parents, not hg parent + (Bug#5846). + +2010-05-08 Glenn Morris <[email protected]> + + * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string. + + * minibuffer.el (completion-at-point): Doc fix. + +2010-05-08 Stefan Monnier <[email protected]> + + * electric.el (Electric-command-loop): Minor tweak. + + * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit + better with dedicated windows. + +2010-05-07 Chong Yidong <[email protected]> + + * Version 23.2 released. + +2010-05-07 Deniz Dogan <[email protected]> (tiny change) + Stefan Monnier <[email protected]> + + Highlight vendor specific properties. + * textmodes/css-mode.el (css-proprietary-nmstart-re): New var. + (css-proprietary-property): New face. + (css-font-lock-keywords): Use them. + +2010-05-07 Eli Zaretskii <[email protected]> + + * cus-start.el (all): Add native condition for tool-bar-* symbols. + +2010-05-07 Stefan Monnier <[email protected]> + + * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files. + * files.el (auto-mode-alist): Remove redundant entries. + + * files.el (auto-save-mode): Move to simple.el to fix bootstrap. + * simple.el (auto-save-mode): Move from files.el. + * minibuffer.el (completion--common-suffix): Fix copy&paste error. + +2010-05-07 Christian von Roques <[email protected]> (tiny change) + + * lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592). + +2010-05-07 Katsumi Yamaoka <[email protected]> + + * mail/binhex.el (binhex-decode-region-internal) + * mail/uudecode.el (uudecode-decode-region-internal) + * net/dns.el (dns-read-string-name, dns-write, dns-read) + (dns-read-type, dns-query) + * pgg-parse.el (pgg-parse-armor) + * pgg.el (pgg-verify-region) + * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for + XEmacs. + + * net/imap.el (imap-disable-multibyte): Redefine it as a macro. + +2010-05-07 Juanma Barranquero <[email protected]> + + * progmodes/cperl-mode.el (cperl-mode-unload-function): New function. + + Fix use of `filter-buffer-substring' (4th arg NOPROPS removed). + * emulation/cua-base.el (cua-repeat-replace-region): + * emulation/cua-gmrk.el (cua-copy-region-to-global-mark) + (cua-cut-region-to-global-mark): + Remove text properties with `set-text-properties'. + +2010-05-06 Michael Albinus <[email protected]> + + * net/tramp.el (top, with-progress-reporter): + Use `symbol-function' inside `funcall'. + + * net/tramp-compat.el (tramp-compat-file-attributes) + (tramp-compat-delete-file, tramp-compat-delete-directory): + Handle only `wrong-number-of-arguments' error. + + * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo. + (tramp-gvfs-handle-file-selinux-context): Use `symbol-function' + inside `funcall'. + +2010-05-06 Stefan Monnier <[email protected]> + + * minibuffer.el (completion--sreverse, completion--common-suffix): + New functions. + (completion-pcm--merge-completions): Extract common suffix when safe. + + * emacs-lisp/easy-mmode.el (define-minor-mode): + Make :variable more flexible. + * files.el (auto-save-mode): Use it to define using define-minor-mode. + +2010-05-05 Juri Linkov <[email protected]> + + Add `slow' and `history' tags to the desktop data. + + * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag. + (Info-virtual-files) [*Apropos*]: Add `slow' tag. + (Info-finder-find-node): Require `finder.el' to be able + to restore node from the desktop. + (Info-desktop-buffer-misc-data): Save all nodes. Save additional + data `Info-history' and `slow' tag in the assoc list. + (Info-restore-desktop-buffer): Don't restore nodes with the + `slow' tag. Restore `Info-history'. + +2010-05-05 Michael Albinus <[email protected]> + + Add FORCE argument to `delete-file'. + + * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun, + forcing to delete the temporary file. + (ange-ftp-delete-file): Add FORCE arg. + (ange-ftp-rename-remote-to-remote) + (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local) + (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress): + Force file deletion. + + * net/tramp-compat.el (tramp-compat-delete-file): New defun. + + * net/tramp.el (tramp-handle-delete-file): Add FORCE arg. + (tramp-handle-make-symbolic-link, tramp-handle-load) + (tramp-do-copy-or-rename-file-via-buffer) + (tramp-do-copy-or-rename-file-directly) + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-handle-process-file, tramp-handle-call-process-region) + (tramp-handle-shell-command, tramp-handle-file-local-copy) + (tramp-handle-insert-file-contents, tramp-handle-write-region) + (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'. + + * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg. + (tramp-fish-handle-make-symbolic-link) + (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'. + + * net/tramp-ftp.el (tramp-ftp-file-name-handler): + Use `tramp-compat-delete-file'. + + * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg. + (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'. + + * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg. + (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'. + + * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg. + (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy) + (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use + `tramp-compat-delete-file'. + +2010-05-05 Stefan Monnier <[email protected]> + + Minor cleanups. + * subr.el (add-minor-mode): Use push. + * mail/supercite.el (sc-electric-mode): Use more descriptive arg name. + * emulation/edt.el (edt-select-mode): Simplify. + + Use define-minor-mode in more cases. + * term/tvi970.el (tvi970-set-keypad-mode): + * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode) + (normal-erase-is-backspace-mode): + * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode. + (set-scroll-bar-mode-1): (Re)move to its sole caller. + (get-scroll-bar-mode): New function. + * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg. + + Use define-minor-mode for less obvious cases. + * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword. + * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method. + * international/iso-ascii.el (iso-ascii-mode): + * frame.el (auto-raise-mode, auto-lower-mode): + * composite.el (global-auto-composition-mode): Use define-minor-mode. + +2010-05-04 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args' + in order to see error messages for failed logins. + +2010-05-03 Chong Yidong <[email protected]> + + * diff.el (diff-sentinel): + + * epg.el (epg--make-temp-file, epg-decrypt-string) + (epg-verify-string, epg-sign-string, epg-encrypt-string): + + * jka-compr.el (jka-compr-partial-uncompress) + (jka-compr-call-process, jka-compr-write-region, jka-compr-load): + + * server.el (server-sentinel): Use delete-file's new FORCE arg + (Bug#6070). + +2010-05-03 Stefan Monnier <[email protected]> + + Use define-minor-mode where applicable. + * view.el (view-mode): + * type-break.el (type-break-query-mode) + (type-break-mode-line-message-mode): + * textmodes/reftex.el (reftex-mode): + * term/vt100.el (vt100-wide-mode): + * tar-mode.el (tar-subfile-mode): + * savehist.el (savehist-mode): + * ibuf-ext.el (ibuffer-auto-mode): + * composite.el (auto-composition-mode): + * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode): + Use define-minor-mode. + (vhdl-mode): Use static mode-line format. + (vhdl-mode-line-update): Delete. + (vhdl-create-mode-menu, vhdl-activate-customizations) + (vhdl-hs-minor-mode): Don't bother calling it. + +2010-05-02 Stefan Monnier <[email protected]> + + * simple.el (with-wrapper-hook): Move. + (buffer-substring-filters): Mark obsolete. + (filter-buffer-substring-functions): New variable. + (filter-buffer-substring): Use it. Remove unused arg `noprops'. + + Use a mode-line spec rather than a static string in Semantic. + * cedet/semantic/util-modes.el: + (semantic-minor-modes-format): New var to replace... + (semantic-minor-modes-status): Remove. + (semantic-mode-line-update): Construct a mode-line spec rather than + a static string so that mouse buttons can be used on individual minor + modes and so that semantic-mode-line-update only needs to be called + when global settings are changed. + (semantic-add-minor-mode, semantic-toggle-minor-mode-globally): + Call semantic-mode-line-update. + (semantic-toggle-minor-mode-globally): Don't assume mode is on + minor-mode-alist, check semantic-minor-mode-alist as well. + (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker) + (semantic-show-parser-state-marker, semantic-show-parser-state-mode) + (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode): + * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode): + * cedet/semantic/idle.el (semantic-idle-scheduler-mode) + (define-semantic-idle-service, semantic-idle-summary-mode): + * cedet/semantic/decorate/mode.el (semantic-decoration-mode): + Don't call semantic-mode-line-update any more. + +2010-05-02 Stefan Monnier <[email protected]> + + Use define-minor-mode in CEDET where applicable. + + * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode): + Use define-minor-mode. + + * cedet/semantic/util-modes.el (semantic-add-minor-mode): + Remove unused arg `keymap' and code redundant with define-minor-mode. + (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1. + (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode) + (semantic-highlight-func-mode, global-semantic-show-parser-state-mode) + (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode) + (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode) + (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode): + Use define-minor-mode. + (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup) + (semantic-show-unmatched-syntax-mode-setup) + (semantic-show-parser-state-mode-setup) + (semantic-highlight-func-mode-setup): Inline into sole caller. + + * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode) + (semantic-mru-bookmark-mode): Use define-minor-mode. + (semantic-mru-bookmark-mode-setup): Inline into sole caller. + + * cedet/semantic/idle.el (define-semantic-idle-service): + Use define-minor-mode and inline setup function into its sole caller. + (semantic-idle-scheduler-mode-setup) + (semantic-idle-summary-mode-setup): Inline into sole caller. + (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode): + Use define-minor-mode. + + * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode) + (semantic-decoration-mode): Use define-minor-mode. + (semantic-decoration-mode-setup): Inline into sole caller. + + * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration. + (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p. + (ede-dired-add-to-target): Use dolist. + +2010-05-01 Toru TSUNEYOSHI <[email protected]> + Michael Albinus <[email protected]> + + Implement compression for inline methods. + + * net/tramp.el (tramp-inline-compress-start-size): New defcustom. + (tramp-copy-size-limit): Allow also nil. + (tramp-inline-compress-commands): New defconst. + (tramp-find-inline-compress, tramp-get-inline-compress) + (tramp-get-inline-coding): New defuns. + (tramp-get-remote-coding, tramp-get-local-coding): Remove, + replaced by `tramp-get-inline-coding'. + (tramp-handle-file-local-copy, tramp-handle-write-region) + (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'. + +2010-05-01 Stefan Monnier <[email protected]> + + * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode): + Remove unused functions. + + * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode. + Set find-tag-default-function as a variable rather than a property. + + * minibuffer.el (tags-completion-at-point-function): Move to etags.el. + * progmodes/etags.el (tags-completion-at-point-function): + Remove left over interactive spec. Add autoloading stub. + (complete-tag): Use tags-completion-at-point-function. + +2010-04-30 Chong Yidong <[email protected]> + + * minibuffer.el (tags-completion-at-point-function): Fix return value. + +2010-04-29 Chong Yidong <[email protected]> + + * ido.el (ido-init-completion-maps): Remove C-v binding. + (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765). + +2010-04-29 Chong Yidong <[email protected]> + + * minibuffer.el (tags-completion-at-point-function): New function. + (completion-at-point-functions): Use it. + + * cedet/semantic.el (semantic-completion-at-point-function): + New function. + (semantic-mode): Use semantic-completion-at-point-function for + completion-at-point-functions instead. + + * progmodes/etags.el (complete-tag): Revert last change. + +2010-04-29 Alan Mackenzie <[email protected]> + + * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an + off-by-one error (in end of macro position). + +2010-04-29 Stefan Monnier <[email protected]> + + * net/browse-url.el (browse-url-firefox-program): Use iceweasel if + firefox is absent. Don't autoload. + (browse-url-galeon-program): Don't autoload. + +2010-04-28 Chong Yidong <[email protected]> + + * bindings.el (complete-symbol): Move into minibuffer.el. + + * minibuffer.el (complete-tag): Move from etags.el. If tags + completion cannot be performed, return nil instead of signalling + an error. + (completion-at-point): Make it an alias for complete-symbol. + (complete-symbol): Move from bindings.el, and replace with the + body of completion-at-point. + + * progmodes/etags.el (complete-tag): Move to minibuffer.el. + + * cedet/semantic.el (semantic-mode): When enabled, add + semantic-ia-complete-symbol to completion-at-point-functions. + + * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil + if Semantic is not active. + +2010-04-28 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-remote-selinux-p): New defun. + (tramp-handle-file-selinux-context) + (tramp-handle-set-file-selinux-context): Use it. + +2010-04-28 Sam Steingold <[email protected]> + + * progmodes/bug-reference.el (bug-reference-url-format): Mark as + `safe-local-variable' if the value is a string or a symbol with + the property `bug-reference-url-format'. + +2010-04-28 Chong Yidong <[email protected]> + + * progmodes/bug-reference.el (bug-reference-url-format): + Revert 2010-04-27 change due to security risk. + +2010-04-28 Stefan Monnier <[email protected]> + + Make it possible to locally disable a globally enabled mode. + * simple.el (fundamental-mode): Run fundamental-mode-hook. + * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode + rather than kill-all-local-variables so it runs fundamental-mode-hook. + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): + Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so + that subsequent hooks get a chance to disable it. + +2010-04-27 Stefan Monnier <[email protected]> + + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): + Avoid re-enabling a minor mode after the user turned the minor mode + off if MODE-enable-in-buffers is run twice (typically once from + fundamental-mode's after-change-major-mode-hook and a second time from + run-mode-hook's own after-change-major-mode-hook). + + * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully. + +2010-04-27 Sam Steingold <[email protected]> + + * progmodes/bug-reference.el (bug-reference-url-format): Mark as + `safe-local-variable' if the value is a string or a function, as + documented and implemented on 2010-04-02. + +2010-04-27 Juanma Barranquero <[email protected]> + + * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil + when method is 'kill. + +2010-04-27 Agustín Martín <[email protected]> + + * textmodes/ispell.el (ispell-init-process): Fix personal dictionary + condition in default directory check. + (ispell-init-process,ispell-kill-ispell,kill-buffer-hook): + Kill ispell process when killing its associated buffer. + +2010-04-27 Jan Djärv <[email protected]> + + * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists, + but we aren't using it. + +2010-04-25 Jan Djärv <[email protected]> + + * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended + checkin in 2010-04-23T16:26:[email protected]. + +2010-04-24 Glenn Morris <[email protected]> + + * emacs-lisp/authors.el (authors-obsolete-files-regexps): + Ignore VCS-ignore files, and deleted nextstep preferences files. + (authors-ignored-files): Ignore deleted cedet test files, and "*.el". + (authors-ambiguous-files): New list. + (authors-valid-file-names): Add some deleted files. + (authors-renamed-files-alist): Add font-setting.el, edt-user.doc. + (authors-disambiguate-file-name): New function. (Bug#5501) + (authors-canonical-file-name): Doc fix. + Don't warn about obsolete files. + (authors-canonical-file-name, authors-scan-el): + Use authors-disambiguate-file-name. + + * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values): + Add autoload cookies. + (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs. + (generated-autoload-file): Set file-local value to "htmlfontify.el". + * htmlfontify.el (caddr, cadddr): Remove fallback definitions. + They have definitions / compiler macros in cl.el. + (htmlfontify-load-rgb-file, hfy-fallback-colour-values): + Replace manual autoloads with generated ones. + (htmlfontify-unload-rgb-file): Remove autoload. + * Makefile.in (autoloads): Ensure htmlfontify.el is writable. + +2010-04-23 Stefan Monnier <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-set-default): New function. + (byte-compile-setq-default): Optimize for the + single-var case and don't call byte-compile-form in this case to avoid + inf-loop with byte-compile-set-default. + + * progmodes/compile.el (compilation-start): Abbreviate default directory. + +2010-04-23 Michael Albinus <[email protected]> + + Implement SELINUX backends. + + * net/tramp.el (tramp-file-name-handler-alist): + Add `file-selinux-context' and `set-file-selinux-context'. + (tramp-handle-file-selinux-context) + (tramp-handle-set-file-selinux-context): New defuns. + (tramp-handle-copy-file, tramp-do-copy-or-rename-file): + Handle PRESERVE-SELINUX-CONTEXT. + + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + Add `file-selinux-context' and `set-file-selinux-context'. + (tramp-gvfs-handle-file-selinux-context) + (tramp-gvfs-handle-set-file-selinux-context): New defuns. + (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT. + + * net/ange-ftp.el (ange-ftp-copy-file): + * net/tramp-fish.el (tramp-fish-handle-copy-file): + * net/tramp-imap.el (tramp-imap-handle-copy-file): + * net/tramp-smb.el (tramp-smb-handle-copy-file): + Add PRESERVE-SELINUX-CONTEXT. + +2010-04-22 Michael Albinus <[email protected]> + + Synchronize with Tramp repository. + + * net/tramp.el (with-connection-property, tramp-completion-mode-p) + (tramp-action-process-alive, tramp-action-out-of-band) + (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote) + (tramp-exists-file-name-handler): Fix docstring. + (with-progress-reporter): New defmacro. + (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file) + (tramp-maybe-open-connection): Use it. + +2010-04-22 Noah Lavine <[email protected]> (tiny change) + + Detect ssh 'ControlMaster' argument automatically in some cases. + + * net/tramp.el (tramp-detect-ssh-controlmaster): New defun. + (tramp-default-method): Use it. + +2010-04-22 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-copy-file): Add new optional + parameter `preserve-selinux-context'. + (tramp-file-name-for-operation): Add `set-file-selinux-context'. + +2010-04-22 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-completion-handle-file-name-all-completions): + Ensure, that non remote files are still checked. Oops. + +2010-04-21 Michael Albinus <[email protected]> + + Fix Bug#5840. + + * icomplete.el (icomplete-completions): Use `non-essential'. + + * net/tramp.el (tramp-connectable-p): New defun. + (tramp-handle-expand-file-name) + (tramp-completion-handle-file-name-all-completions) + (tramp-completion-handle-file-name-completion): Use it. + +2010-04-21 Stefan Monnier <[email protected]> + + * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors. + +2010-04-21 Jan Djärv <[email protected]> + + * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items. + + * tool-bar.el (tool-bar-setup): Add :label on some tool bar items. + + * loadup.el: Load dynamic-setting.el if feature dynamic-setting + is present. + + * info.el (info-tool-bar-map): Add labels. + + * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size. + + * cus-edit.el (custom-commands): Add labels for tool bar. + (custom-buffer-create-internal, Custom-mode): Adjust for + labels in custom-commands. + + * dynamic-setting.el: Renamed from font-setting.el. + +2010-04-21 John Wiegley <[email protected]> + + * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o + toggles the use of virtual buffers. + (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value. + (ido-toggle-virtual-buffers): New function. + +2010-04-21 Juanma Barranquero <[email protected]> + + Use `define-derived-mode'; fix window selection; doc fixes. + * play/tetris.el (tetris, tetris-update-speed-function) + (tetris-tty-colors, tetris-x-colors, tetris-move-bottom) + (tetris-move-left, tetris-move-right, tetris-rotate-prev) + (tetris-rotate-next, tetris-end-game, tetris-start-game) + (tetris-pause-game): Fix typos in docstrings. + (tetris-mode-map, tetris-null-map): + Move initialization into declaration. + (tetris-mode): Define with `define-derived-mode'; + set show-trailing-whitespace to nil. + (tetris): Prefer window already displaying the "*Tetris*" buffer. + +2010-04-21 Karel Klíč <[email protected]> + + * files.el (backup-buffer): Handle SELinux context, and return it + if a backup was made by renaming. + (backup-buffer-copy): Set SELinux context to the target file. + (basic-save-buffer): Set SELinux context of the newly written file. + (basic-save-buffer-1): Now it also returns any SELinux context. + (basic-save-buffer-2): Set SELinux context of the newly created file, + and return it. + * net/tramp.el (tramp-file-name-for-operation): + Add file-selinux-context. + +2010-04-21 Stefan Monnier <[email protected]> + + Make the log-edit comments use RFC822 format throughout. + + * vc.el (vc-checkin, vc-modify-change-comment): + Adjust to new vc-start/finish-logentry. + (vc-find-conflicted-file): New command. + (vc-transfer-file): Adjust to new vc-checkin. + (vc-next-action): Improve scoping. + + * vc-hg.el (vc-hg-log-edit-mode): Remove. + (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers. + + * vc-git.el (vc-git-log-edit-mode): Remove. + (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers. + (vc-git-commits-coding-system): Rename from git-commits-coding-system. + + * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files. + (vc-start-logentry): Remove argument `extra'. + (vc-finish-logentry): Remove extra args. + + * vc-bzr.el (vc-bzr-log-edit-mode): Remove. + (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers. + (vc-bzr-conflicted-files): New function. + + * log-edit.el (log-edit-extra-flags) + (log-edit-before-checkin-process): Remove. + (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces. + (log-edit-headers-alist): New var. + (log-edit-header-contents-regexp): New const. + (log-edit-match-to-eoh): New function. + (log-edit-font-lock-keywords): Use them. + (log-edit): Insert a "Summary:" header as default. + (log-edit-mode): Mark font-lock rules as case-insensitive. + (log-edit-done): Cleanup headers. + (log-view-process-buffer): Remove. + (log-edit-extract-headers): New function to replace it. + +2010-04-20 Juanma Barranquero <[email protected]> + + * subr.el (default-direction-reversed): Remove obsolescence info. + +2010-04-20 Stefan Monnier <[email protected]> + + * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the + windows/frames. + + * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point. + I.e. include text after point in the completion region. + Also, return nil when we're not after/in a symbol. + + * international/mule-cmds.el (view-hello-file): Don't fiddle with the + default enable-multibyte-characters. + +2010-04-19 Stefan Monnier <[email protected]> + + * international/mule.el: Help the user choose a valid coding-system. + (read-buffer-file-coding-system): New function. + (set-buffer-file-coding-system): Use it. Prompt the user if the + coding-system cannot encode all the chars. + + * vc-bzr.el: Use standard *vc* and *vc-diff* buffers. + (vc-bzr-shelve-show, vc-bzr-shelve-apply) + (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot): + Don't use *vc-bzr-shelve*. + +2010-04-19 Chong Yidong <[email protected]> + + * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): + Don't destroy list before using it. + +2010-04-19 Dan Nicolaescu <[email protected]> + + Fix the version number for added files. + * vc-hg.el (vc-hg-working-revision): Check if the file is + registered after hg parent fails (Bug#5961). + +2010-04-19 Glenn Morris <[email protected]> + + * htmlfontify.el (htmlfontify-buffer) + (htmlfontify-copy-and-link-dir): Autoload entry points. + +2010-04-19 Magnus Henoch <[email protected]> + + * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file + name relative to the project root (Bug#5960). + +2010-04-19 Glenn Morris <[email protected]> + + * vc-git.el (vc-git-print-log): Doc fix. + +2010-04-19 Óscar Fuentes <[email protected]> + + * ido.el (ido-file-internal): Fix 2009-12-02 change. + +2010-04-19 Christoph <[email protected]> (tiny change) + + * progmodes/grep.el (grep-compute-defaults): Fix handling of host + default settings (Bug#5928). + +2010-04-19 Glenn Morris <[email protected]> + + * progmodes/fortran.el (fortran-match-and-skip-declaration): + New function. + (fortran-font-lock-keywords-3): Use it. (Bug#1385) + +2010-04-19 Kenichi Handa <[email protected]> + + * language/indian.el (malayalam-composable-pattern): Fix previous + change (add U+0D4D "SIGN VIRAMA"). + (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp. + (tamil-composable-pattern): Fix typo in the regexp. + (telugu-composable-pattern): Fix U+0C4D and typo in the regexp. + (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp. + (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp. + +2010-04-19 Chong Yidong <[email protected]> + + * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to + paragraph-separate (Bug#5821). + +2010-04-19 Juri Linkov <[email protected]> + + Put breadcrumbs on overlay instead of inserting to buffer (bug#5809). + + * info.el (Info-find-node-2): Comment out code that skips + breadcrumbs line. + (Info-mouse-follow-link): New command. + (Info-link-keymap): New keymap. + (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'. + Return a string with links instead of inserting breadcrumbs + to the Info buffer. + (Info-fontify-node): Comment out code that inserts breadcrumbs. + Instead of putting the `invisible' text property over the Info + header, make an overlay over the Info header with the `invisible' + property and `after-string' set to the string returned by + `Info-breadcrumbs'. + +2010-04-19 Chong Yidong <[email protected]> + + * help.el (help-window-setup-finish): Doc fix (Bug#5830). + Reported by [email protected]. + +2010-04-19 Stefan Monnier <[email protected]> + + * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu. + (tmm-get-keymap): Add key-binding shortcuts now that they're not + available in the "keyseq cache" any more. + + * custom.el (defcustom): Add edebug spec. + +2010-04-18 Juri Linkov <[email protected]> + + Test for special mode-class in view-buffer instead of view-file (bug#5513). + + * view.el (view-file, view-buffer): Move test for special mode-class + from view-file to view-buffer. + + * tar-mode.el (tar-extract): Turn if's into one cond + like in arc-mode.el. + +2010-04-18 Juri Linkov <[email protected]> + + Add 7z archive format support (bug#5475). + + * arc-mode.el (archive-zip-extract): Try to find 7z executable. + (archive-7z-extract): New defcustom. + (archive-find-type): Add magic string for 7z. + (archive-extract-by-stdout): Add new optional arg `stderr-file'. + If `stderr-file' is non-nil, use `(t stderr-file)' for the + `buffer' arg of `call-process'. + (archive-zip-extract): Check `archive-zip-extract' for "7z" and + call the function `archive-7z-extract' with the variable + `archive-7z-extract' let-bound to `archive-zip-extract'. + (archive-7z-summarize, archive-7z-extract): New functions. + + * international/mule.el (auto-coding-alist): + * files.el (auto-mode-alist): Add 7z file extension. + +2010-04-18 Stefan Monnier <[email protected]> + + * loadup.el: Setup hash-cons for pure data. + + Fix duplicate entries in cedet's loaddefs.el files. + * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever. + Should make most file-local generated-autoload-file unnecessary. + (print-readably): Silence warnings. + (autoload-find-destination): Take load-name as an arg to make sure + it's the same as the one that will be in the file. + (autoload-generate-file-autoloads): Adjust to above changes. + Try to make the dataflow a bit simpler. + + * cvs-status.el (cvs-refontify): Remove unused. + +2010-04-18 Jay Belanger <[email protected]> + + * calc.el (calc-mode-map): Bind "O" to `calc-missing-key'. + + * calc-bin.el (calc-radix): Have the "O" option turn on + twos-complement mode. + +2010-04-17 Jay Belanger <[email protected]> + + * calc-ext.el (calc-init-extensions): Add keybinding for 'calc-option'. + Add `calc-option-prefix-help' to calc-help autoloads. + (calc-inverse): Add "Option" to message, as appropriate. + (calc-hyperbolic): Add "Option" to message, as appropriate. + (calc-option, calc-is-option): New functions. + + * calc-help.el (calc-full-help): Add `calc-option-help'. + (calc-option-prefix-help): New function. + + * calc-misc.el (calc-help): Add "Option" entry. + + * calc.el (calc-local-var-list): Add `calc-option-flag'. + (calc-option-flag): New variable. + (calc-do): Set `calc-option-flag to nil. + (calc-set-mode-line): Add "Opt " as appropriate. + +2010-04-16 Juri Linkov <[email protected]> + + Move scrolling commands from simple.el to window.el + because their primitives are implemented in window.c. + + * simple.el (scroll-error-top-bottom) + (scroll-up-command, scroll-down-command, scroll-up-line) + (scroll-down-line, scroll-other-window-down) + (beginning-of-buffer-other-window, end-of-buffer-other-window): + * window.el (scroll-error-top-bottom) + (scroll-up-command, scroll-down-command, scroll-up-line) + (scroll-down-line, scroll-other-window-down) + (beginning-of-buffer-other-window, end-of-buffer-other-window): + Move from simple.el to window.el because their primitives are + implemented in window.c. + +2010-04-16 Juri Linkov <[email protected]> + + * isearch.el (isearch-lookup-scroll-key): Check both + `isearch-scroll' and `scroll-command' properties. + (scroll-up, scroll-down): Remove `isearch-scroll' property. + + * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property. + + * simple.el (scroll-up-command, scroll-down-command) + (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property. + +2010-04-15 Juri Linkov <[email protected]> + + * simple.el (scroll-up-command, scroll-down-command) + (scroll-up-line, scroll-down-line): Put `scroll-command' + property on the these symbols. Remove them from + `scroll-preserve-screen-position-commands'. + + * mwheel.el (mwheel-scroll): Put `scroll-command' and + `isearch-scroll' properties on the `mwheel-scroll' symbol. + Remove it from `scroll-preserve-screen-position-commands'. + + * isearch.el (isearch-allow-scroll): Doc fix. + +2010-04-15 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-error-with-buffer): Don't show the + connection buffer when we are in completion mode. + (tramp-file-name-handler): Catch the error for some operations + when we are in completion mode. This gives the user the chance to + correct the file name in the minibuffer. + +2010-04-15 Glenn Morris <[email protected]> + + * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable. + +2010-04-15 Juanma Barranquero <[email protected]> + + Simplify by using `define-derived-mode'. + * info.el (Info-mode): + * calendar/todo-mode.el (todo-mode): + * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'. + (gomoku-mode-map): Move initialization into declaration. + +2010-04-14 Michael Albinus <[email protected]> + + Fix Bug#5840. + * ido.el (ido-file-name-all-completions-1): + * minibuffer.el (minibuffer-completion-help): + * net/tramp.el (tramp-completion-mode-p): Use `non-essential'. + +2010-04-14 Stefan Monnier <[email protected]> + + * simple.el (non-essential): New var. + + Add a new field `location' to bookmarks for non-file bookmarks. + * bookmark.el (bookmark-location): Use the new field, if present. + (bookmark-insert-location): Undo last change, not needed any more. + * man.el (Man-bookmark-make-record): + * woman.el (woman-bookmark-make-record): Add `location' field. + +2010-04-14 Juri Linkov <[email protected]> + + * simple.el (scroll-error-top-bottom): New defcustom. + (scroll-up-command, scroll-down-command): Use it. Doc fix. + + * emulation/pc-select.el (pc-select-override-scroll-error): + Obsolete in favor of `scroll-error-top-bottom'. + +2010-04-14 Juri Linkov <[email protected]> + + * tutorial.el (tutorial--default-keys): Rebind `C-v' to + `scroll-up-command' and `M-v' to `scroll-down-command'. + + * emulation/cua-rect.el (cua--init-rectangles): + * forms.el (forms--change-commands): + * image-mode.el (image-mode-map): + Remap scroll-down-command and scroll-up-command + in addition to scroll-down and scroll-up. + +2010-04-14 Juri Linkov <[email protected]> + + * mwheel.el (scroll-preserve-screen-position-commands): + Add mwheel-scroll to this list of commands. + + * simple.el (scroll-preserve-screen-position-commands): + Add scroll-up-command, scroll-down-command, scroll-up-line, + scroll-down-line to this list of commands. + +2010-04-13 Stefan Monnier <[email protected]> + + * obsolete/complete.el: Move from lisp/complete.el. + + * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935). + + * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument + to the minor mode function now turns the mode ON unconditionally. + +2010-04-12 Stefan Monnier <[email protected]> + + * vc-dir.el (vc-dir-kill-line): New command. + (vc-dir-mode-map): Bind it to C-k. + + * bookmark.el (bookmark-insert-location): Handle a nil filename. + + * woman.el: Add bookmark declarations to silence the compiler. + (bookmark-prop-get): Use `man-args' rather than `filename' as a first + step to compatibility between man and woman bookmarks. + Adjust for Man-default-bookmark-title renaming. + (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload. + + * man.el: Add bookmark declarations to silence the compiler. + (Man-name-local-regexp): Make it match NAME as well. + (Man-getpage-in-background): Return the buffer. + (Man-notify-when-ready): Use `case'. + (man-set-default-bookmark-title): Rename to Man-default-bookmark-title. + Don't hardcode "NAME". Simplify. + (Man-bookmark-make-record): Use Man-arguments rather than buffer-name. + Rename from Man-bookmark-make-record. + (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that + we have the actual man-args. Use Man-getpage-in-background rather + than `man' since the arg is already processed. Let bookmark.el do the + window handling. Only wait for the relevant process. + Don't forget to autoload. + + * bookmark.el (bookmark-default-file): Use locate-user-emacs-file. + +2010-04-12 Thierry Volpiatto <[email protected]> + + * woman.el (woman-bookmark-make-record, woman-bookmark-jump): + New functions. + (woman-mode): Setup bookmark support. + + * man.el (man-set-default-bookmark-title, man-bookmark-make-record) + (man-bookmark-jump): New functions. + (Man-mode): Setup bookmark support. + +2010-04-10 Jari Aalto <[email protected]> + + * comint.el (comint-password-prompt-regexp): Use regexp-opt, and + recognize ssh-keygen prompt (Bug#2817). + +2010-04-10 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter. + +2010-04-10 Michael Albinus <[email protected]> + + Synchronize with Tramp repository. + + * net/tramp.el (tramp-completion-function-alist) + (tramp-file-name-regexp, tramp-chunksize) + (tramp-local-coding-commands, tramp-remote-coding-commands): + Fix docstring. + (tramp-remote-process-environment): Use `format' instead of `concat'. + (tramp-handle-directory-files-and-attributes) + (tramp-get-remote-path): Use `copy-tree'. + (tramp-handle-file-name-all-completions): Backward/ XEmacs + compatibility: Use `completion-ignore-case' if + `read-file-name-completion-ignore-case' does not exist. + (tramp-do-copy-or-rename-file-directly): Do not use + `tramp-handle-file-remote-p'. + (tramp-do-copy-or-rename-file-out-of-band): + Use `tramp-compat-delete-directory'. + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-compute-multi-hops, tramp-maybe-open-connection): + Use `format-spec-make'. + (tramp-find-foreign-file-name-handler) + (tramp-advice-make-auto-save-file-name) + (tramp-set-auto-save-file-modes): Remove superfluous check for + `stringp'. This is done inside `tramp-tramp-file-p'. + (tramp-debug-outline-regexp): New defconst. + (tramp-get-debug-buffer): Use it. + (tramp-check-for-regexp): Use (forward-line 1). + (tramp-set-auto-save-file-modes): Adapt version check. + + * net/tramp-compat.el (tramp-advice-file-expand-wildcards): + Wrap call of `featurep' for 2nd argument. + (tramp-compat-make-temp-file): Simplify fallback implementation. + (tramp-compat-copy-tree): Remove function. + (tramp-compat-delete-directory): Provide implementation for older + Emacsen. + + * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes): + Do not use `tramp-fish-handle-file-attributes. + + * net/trampver.el: Update release number. + +2010-04-10 Glenn Morris <[email protected]> + + * progmodes/compile.el (compilation-save-buffers-predicate): + Add missing :version tag. + +2010-04-09 Sam Steingold <[email protected]> + + * progmodes/compile.el (compilation-save-buffers-predicate): + Remove the "autoload" cookie. + + * progmodes/bug-reference.el (turn-on-bug-reference-mode) + (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode' + and `bug-reference-prog-mode' can be used in hooks directly. + +2010-04-09 Dan Nicolaescu <[email protected]> + + Add --author support to git commit. + * vc-git.el (vc-git-checkin): Pass extra-args to the commit command. + (vc-git-log-edit-mode): New minor mode. + (log-edit-mode, log-edit-extra-flags, log-edit-mode): + New declarations. + +2010-04-09 Eric Raymond <[email protected]> + + * vc-hooks.el, vc-git.el: Improve documentation comments. + +2010-04-08 Stefan Monnier <[email protected]> + + Fix some of the problems in defsubst* (bug#5728). + * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args. + (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728). + +2010-04-07 Sam Steingold <[email protected]> + + * progmodes/compile.el (compilation-save-buffers-predicate): + New custom variable. + (compile, recompile): Pass it to `save-some-buffers'. + +2010-04-07 Jan Djärv <[email protected]> + + * wid-edit.el (widget-choose): Move cursor to the second line of + the buffer (Bug#5695). + +2010-04-07 Dan Nicolaescu <[email protected]> + + Add new VC methods: vc-log-incoming and vc-log-outgoing. + * vc.el (vc-print-log-setup-buttons): New function split out from + vc-print-log-internal. + (vc-log-internal-common): New function, a parametrized version of + vc-print-log-internal. + (vc-print-log-internal): Just call vc-log-internal-common with the + right arguments. + (vc-incoming-outgoing-internal): + (vc-log-incoming, vc-log-outgoing): New functions. + (vc-log-view-type): New permanent local variable. + + * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing. + + * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead + of the dynamic bound vc-short-log. + (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions. + + * vc-git.el (vc-git-log-outgoing): New function. + (vc-git-log-view-mode): Use vc-log-view-type instead + of the dynamic bound vc-short-log. + + * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead + of the dynamic bound vc-short-log. Highlight the tag. + (vc-hg-log-incoming, vc-hg-log-outgoing): New functions. + (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode): + (vc-hg-incoming-mode): Remove. + (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing. + +2010-04-07 Dan Nicolaescu <[email protected]> + + Fix default-directory for vc-root-diff. + * vc.el (vc-root-diff): Bind default-directory to the root + directory for the diff command. + +2010-04-07 Michael McNamara <[email protected]> + + * progmodes/verilog-mode.el (verilog-forward-sexp): + (verilog-calc-1): Support "disable fork" and "fork wait" multi + word keywords, suggested by Steve Pearlmutter. + (verilog-pretty-declarations): Support lineup of declarations in + port lists. + (verilog-skip-backward-comments, verilog-skip-forward-comment-p): + fix bug for /* / comments. + (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws): + Speed up and simplfy as this is never called with a bound. + (verilog-pretty-declarations): Enhance to line up declarations + inside a parameter list, suggested by Alan Morgan. + (verilog-pretty-expr): Tune assignment regular expression match + string for corner cases; also use markers instead of character + number as indent changes the later. + +2010-04-07 Wilson Snyder <[email protected]> + + * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown + as missing keyword. + (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE + causing truncation of AUTOWIRE signals. Reported by Bruce Tennant. + (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for + AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce + Tennant. + (verilog-keywords): + (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE + 1800-2009 keywords, including "global.". + +2010-04-06 John Wiegley <[email protected]> + + * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names + appearing in buffer list (if a live buffer name matched a recentf + file basename). Should use uniquify to offer a real solution. + +2010-04-06 John Wiegley <[email protected]> + + * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog + comment to code, and add a :version tag. + (ido-virtual-buffers): Move defvar to fix byte-compiler warning. + +2010-04-06 Juanma Barranquero <[email protected]> + + Enable recentf-mode if using virtual buffers. + * ido.el (recentf-list): Declare for byte-compiler. + (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring. + (ido-make-buffer-list): Simplify. + (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode. + +2010-04-05 Juri Linkov <[email protected]> + + Scrolling commands which scroll a line instead of full screen. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html + + * simple.el (scroll-up-line, scroll-down-line): New commands. + Put property isearch-scroll=t on them. + + * emulation/ws-mode.el (scroll-down-line, scroll-up-line): + Remove commands. + +2010-04-05 Juri Linkov <[email protected]> + + Scrolling commands which do not signal errors at top/bottom. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html + + * simple.el (scroll-up-command, scroll-down-command): New commands. + Put property isearch-scroll=t on them. + + * bindings.el (global-map): Rebind [prior] from `scroll-down' to + `scroll-down-command' and [next] from `scroll-up' to + `scroll-up-command'. + + * emulation/cua-base.el: Put property CUA=move on + `scroll-up-command' and `scroll-down-command'. + (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up' + and `scroll-down-command' to `cua-scroll-down'. + +2010-04-05 Juanma Barranquero <[email protected]> + + * help.el (describe-mode): Return nil. + +2010-04-04 John Wiegley <[email protected]> + + * ido.el (ido-use-virtual-buffers): New variable to indicate + whether "virtual buffer" support is enabled for IDO. + (ido-virtual): Face used to indicate virtual buffers in the list. + (ido-buffer-internal): If a buffer is chosen, and no such buffer + exists, but a virtual buffer of that name does (which would be why + it was in the list), recreate the buffer by reopening the file. + (ido-make-buffer-list): If virtual buffers are being used, call + `ido-add-virtual-buffers-to-list' before the make list hook. + (ido-virtual-buffers): New variable which contains a copy of the + current contents of the `recentf-list', albeit pared down for the + sake of speed, and with proper faces applied. + (ido-add-virtual-buffers-to-list): Using the `recentf-list', + create a list of "virtual buffers" to present to the user in + addition to the currently open set. Note that this logic could + get rather slow if that list is too large. With the default + `recentf-max-saved-items' of 200, there is little speed penalty. + +2010-04-03 Stefan Monnier <[email protected]> + + * font-lock.el: Require CL when compiling. + (font-lock-turn-on-thing-lock): Use `case'. + +2010-04-03 Eli Zaretskii <[email protected]> + + * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli + Zaretskii. + +2010-04-02 Juanma Barranquero <[email protected]> + + * cedet/semantic/imenu.el (semantic-imenu-bucketize-type-members) + (semantic-create-imenu-directory-index): Fix typos in docstrings. + (semantic-imenu-goto-function): Reflow docstring. + +2010-04-02 Juri Linkov <[email protected]> + + * ehelp.el (electric-help-orig-major-mode): + New buffer-local variable. + (electric-help-mode): Set it to original major-mode. Doc fix. + (with-electric-help): Use `electric-help-orig-major-mode' instead + of (default-value 'major-mode). Doc fix. + http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html + +2010-04-02 Sam Steingold <[email protected]> + + * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling + `vc-hg-command' with a list of flags. + + * progmodes/bug-reference.el (bug-reference-bug-regexp): + Also accept "patch" and "RFE". + (bug-reference-fontify): `bug-reference-url-format' can also be a + function to be able to handle the bug kind. + (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add. + +2010-04-02 Jan Djärv <[email protected]> + + * tmm.el (tmm-get-keymap): Check with symbolp before passing + value to fboundp, it may not be a symbol. + +2010-03-31 Chong Yidong <[email protected]> + + * cus-edit.el (custom-buffer-sort-alphabetically): Update :version. + +2010-03-31 Juri Linkov <[email protected]> + + * simple.el (next-line, previous-line): Re-throw a signal + with `signal' instead of using `ding'. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html + +2010-03-31 Juri Linkov <[email protected]> + + * simple.el (keyboard-escape-quit): Raise deselecting the active + region higher than exiting the minibuffer. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html + +2010-03-31 Juri Linkov <[email protected]> + + * image.el (image-animated-p): Use `image-metadata' instead of + `image-extension-data'. Get GIF extenstion data from metadata + property `extension-data'. + +2010-03-31 Stefan Monnier <[email protected]> + + * simple.el (append-to-buffer): Simplify. + +2010-03-31 Tomas Abrahamsson <[email protected]> + + * textmodes/artist.el (artist-mode): Fix typo in docstring. + Reported by Alex Schröder <[email protected]>. (Bug#5807) + +2010-03-31 Kenichi Handa <[email protected]> + + * language/sinhala.el (composition-function-table): Fix regexp for + the new Unicode specification. + + * language/indian.el (devanagari-composable-pattern) + (tamil-composable-pattern, kannada-composable-pattern) + (malayalam-composable-pattern): Adjust for the new Unicode + specification. + (bengali-composable-pattern, gurmukhi-composable-pattern) + (gujarati-composable-pattern, oriya-composable-pattern) + (telugu-composable-pattern): New variables to cope with the new + Unicode specification. Use them in composition-function-table. + +2010-03-31 Stefan Monnier <[email protected]> + + Make tmm-menubar work for the Buffers menu again (bug#5726). + * tmm.el (tmm-prompt): Also handle keymap entries in the form of + vectors rather than cons cells, as used in menu-bar-update-buffers. + +2010-03-31 Chong Yidong <[email protected]> + + * progmodes/js.el (js-auto-indent-flag, js-mode-map) + (js-insert-and-indent): Revert 2009-08-15 change, restoring + electric punctuation for "{}();,:" (Bug#5586). + + * mail/sendmail.el (mail-default-directory): Doc fix. + +2010-03-31 Chong Yidong <[email protected]> + + * mail/sendmail.el (mail-default-directory): Doc fix. + +2010-03-31 Eli Zaretskii <[email protected]> + + * subr.el (version-regexp-alist, version-to-list) + (version-list-<, version-list-=, version-list-<=) + (version-list-not-zero, version<, version<=, version=): Doc fix. + (Bug#5744). + +2010-02-31 Dan Nicolaescu <[email protected]> + + * vc.el (vc-root-diff): Doc fix. + +2010-03-31 Chong Yidong <[email protected]> + + * vc.el (vc-print-log, vc-print-root-log): Doc fix. + + * simple.el (append-to-buffer): Fix last change. + +2010-03-31 Chong Yidong <[email protected]> + + * simple.el (append-to-buffer): Ensure that point is preserved if + BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu. + (Bug#5749) + +2010-03-31 Stefan Monnier <[email protected]> + + * files.el (auto-mode-case-fold): Change default to t. + +2010-03-30 Juri Linkov <[email protected]> + + * dired-x.el (dired-omit-mode): Doc fix. + +2010-03-30 Juri Linkov <[email protected]> + + * replace.el (occur-accumulate-lines): Move occur-engine related + functions `occur-accumulate-lines' and `occur-engine-add-prefix' + to be located after `occur-engine'. + +2010-03-30 Juri Linkov <[email protected]> + + Make occur handle multi-line matches cleanly with context. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html + + * replace.el (occur-accumulate-lines): Add optional arg `pt'. + (occur-engine): Add local variables `ret', `prev-after-lines', + `prev-lines'. Use more arguments for `occur-context-lines'. + Set first elem of its returned list to `data', and the second elem + to `prev-after-lines'. Don't print the separator line. + In the end, print remaining context after-lines. + (occur-context-lines): Add new arguments `begpt', `endpt', + `lines', `prev-lines', `prev-after-lines'. Rewrite to combine + after-lines of the previous match with before-lines of the + current match and not overlap them. Return a list with two + values: the output line and the list of context after-lines. + +2010-03-30 Juri Linkov <[email protected]> + + * replace.el (occur-accumulate-lines): Fix a bug where the first + context line at the beginning of the buffer was missing. + +2010-03-30 Eli Zaretskii <[email protected]> + + * files.el: Make bidi-display-reordering safe variable for boolean + values. + +2010-03-29 Phil Hagelberg <[email protected]> + Chong Yidong <[email protected]> + + * subr.el: Extend progress reporters to perform "spinning". + (progress-reporter-update, progress-reporter-do-update): + Handle non-numeric value arguments. + (progress-reporter--pulse-characters): New var. + +2010-03-28 Chong Yidong <[email protected]> + + * progmodes/compile.el (compilation-start): Fix regexp detection + of initial cd command (Bug#5771). + +2010-03-28 Stefan Guath <[email protected]> (tiny change) + + * find-dired.el (find-dired): Use read-directory-name (Bug#5777). + +2010-03-27 Nick Roberts <[email protected]> + + Restore GDB/MI fuctionality removed by 2009-12-29T07:15:[email protected]. + * lisp/progmodes/gdb-mi.el: Restore. + * lisp/progmodes/gdb-ui.el: Remove. + * lisp/progmodes/gud.el: Re-accommodate for gdb-mi.el. + +2010-03-25 Glenn Morris <[email protected]> + + * desktop.el (desktop-save-buffer-p): Don't mistakenly include + all dired buffers, even tramp ones. (Bug#5755) + +2010-03-25 Stefan Monnier <[email protected]> + + Add "union tags" in mpc.el. + * mpc.el: Remove backward compatibility code. + (mpc-browser-tags): Change default. + (mpc--find-memoize-union-tags): New var. + (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun. + (mpc-cmd-find): Handle the case where the playlist does not exist. + Handle union-tags. + (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags. + (mpc-cmd-add): Use mpc-cmd-flush. + (mpc-tagbrowser-tag-name): New fun. + (mpc-tagbrowser-buf): Use it. + (mpc-songs-refresh): Use cond. Move to point-min as a fallback. + +2010-03-24 Stefan Monnier <[email protected]> + + Misc cleanup. + * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex): + Use replace-regexp-in-string. + (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table. + (makefile-imake-mode-syntax-table): Move init into defvar. + (makefile-mode): Use define-derived-mode. + + * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less. + (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may + not be present any more. + +2010-03-24 Juanma Barranquero <[email protected]> + + * faces.el (set-face-attribute): Fix typo in docstring. + (face-valid-attribute-values): Reflow docstring. + + * cedet/srecode/table.el (srecode-template-table): Fix docstring typo. + +2010-03-24 Glenn Morris <[email protected]> + + * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752). + +2010-03-24 Chong Yidong <[email protected]> + + * indent.el (indent-for-tab-command): Doc fix. + +2010-03-24 Alan Mackenzie <[email protected]> + + * progmodes/cc-engine.el (c-remove-stale-state-cache): + Fix off-by-one error. Fixes bug #5747. + +2010-03-24 Juanma Barranquero <[email protected]> + + * image-dired.el (image-dired-display-thumbs): Fix typo in docstring. + (image-dired-read-comment): Doc fix. + + * json.el (json-object-type, json-array-type, json-key-type) + (json-false, json-null, json-read-number): + * minibuffer.el (completion-in-region-functions): + * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks) + (cal-tex-cursor-week): + * emacs-lisp/trace.el (trace-function): + * eshell/em-basic.el (eshell/printnl): + * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter) + (eshell-read-last-dir-ring, eshell-write-last-dir-ring): + * obsolete/levents.el (allocate-event, event-key, event-object) + (event-point, event-process, event-timestamp, event-to-character) + (event-window, event-x, event-x-pixel, event-y, event-y-pixel): + * textmodes/reftex-vars.el (reftex-index-macros-builtin) + (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook) + (reftex-cite-punctuation, reftex-search-unrecursed-path-first) + (reftex-highlight-selection): Fix typos in docstrings. + +2010-03-24 Juanma Barranquero <[email protected]> + + * minibuffer.el (completion-in-region-functions): Fix docstring typos. + +2010-03-24 Glenn Morris <[email protected]> + + * mail/rmail.el (rmail-highlight-face): Restore option deleted + 2008-02-13 without comment; mark it obsolete. + (rmail-highlight-headers): Use rmail-highlight-face once more. + +2010-03-24 Chong Yidong <[email protected]> + + * woman.el (woman2-process-escapes): Only consume the newline if + the filler character is on a line by itself (Bug#5729). + +2010-03-24 Kenichi Handa <[email protected]> + + * language/indian.el (devanagari-composable-pattern): Add more + consonants. + +2010-03-24 Michael Albinus <[email protected]> + + * net/trampver.el: Update release number. + +2010-03-24 Glenn Morris <[email protected]> + + * Makefile.in (ELCFILES): Add cedet/semantic/imenu.el. + +2010-03-24 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-find-executable): + Use `tramp-get-connection-buffer'. Make the regexp for checking + output of "wc -l" more robust. + (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris. + (tramp-open-connection-setup-interactive-shell): Remove workaround + for OpenSolaris bug, it is not needed anymore. + +2010-03-24 Eric M. Ludlam <[email protected]> + + * cedet/semantic/imenu.el: New file, from the CEDET repository + (Bug#5412). + +2010-03-24 Glenn Morris <[email protected]> + + * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427) + +2010-03-24 Wilson Snyder <[email protected]> + + * files.el (auto-mode-alist): Accept more verilog file patterns. + +2010-03-24 Stefan Monnier <[email protected]> + + * vc-dir.el (vc-dir-headers): Abbreviate the working dir. + +2010-03-24 Glenn Morris <[email protected]> + + * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to + log-edit-before-checkin-process. + + * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry. + + * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare. + + * vc-dispatcher.el (vc-start-logentry): Doc fix. + (log-view-process-buffer, log-edit-extra-flags): Declare. + + * log-edit.el (log-edit-before-checkin-process): Doc fix. + + * cedet/semantic/bovine/c.el (semantic-c-describe-environment): + Consistently check ede-object is bound throughout. + + * cedet/ede/project-am.el (ede-shell-run-something): Declare. + +2010-03-23 Sam Steingold <[email protected]> + + Fix bug#5620: recalculate all markers on compilation buffer + modifications, not on file modifications. + * progmodes/compile.el (buffer-modtime): New buffer-local variable: + the buffer modification time, for buffers not associated with files. + (compilation-mode): Create it. + (compilation-filter): Update it. + (compilation-next-error-function): Use it instead of + `visited-file-modtime' for timestamp. + +2010-03-23 Juri Linkov <[email protected]> + + Implement Occur multi-line matches. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html + + * replace.el (occur): Doc fix. + (occur-engine): Set `begpt' to the beginning of the first line. + Set `endpt' to the end of the last match line. At first, count + line numbers between `origpt' and `begpt'. Split out code from + `out-line' variable to new let-bindings `match-prefix' and + `match-str'. In `out-line' add non-numeric prefix to all + non-first lines of multi-line matches. Finally, count lines + between `begpt' and `endpt' and add to `lines'. + +2010-03-23 Juri Linkov <[email protected]> + + * replace.el (occur-accumulate-lines, occur-engine): + Use `occur-engine-line' instead of duplicate code. + (occur-engine-line): New function created from duplicate code + in `occur-accumulate-lines' and `occur-engine'. + + * replace.el (occur-engine-line): Add optional arg `keep-props'. + (occur-accumulate-lines, occur-engine): Add arg `keep-props'. + +2010-03-23 Juri Linkov <[email protected]> + + * finder.el: Remove TODO tasks. + + * info.el (Info-finder-find-node): Add node "all" + with all package info. Handle a list of multiple keywords + separated by comma. + (info-finder): In interactive use with a prefix argument, + use `completing-read-multiple' to read a list of keywords + separated by comma. + +2010-03-23 Stefan Monnier <[email protected]> + + Add a new completion style `substring'. + * minibuffer.el (completion-basic--pattern): New function. + (completion-basic-try-completion, completion-basic-all-completions): + Use it. + (completion-substring--all-completions) + (completion-substring-try-completion) + (completion-substring-all-completions): New functions. + (completion-styles-alist): New style `substring'. + +2010-03-22 Stefan Monnier <[email protected]> + + Get rid of .elc files after removal of the corresponding .el. + * Makefile.in (compile-clean): New target. + (compile-main): Use it. + +2010-03-22 Jan Djärv <[email protected]> + + * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we + don't do make there. When compiling with separate object dir, there + is no Makefile there. + +2010-03-22 Stefan Monnier <[email protected]> + + Get rid of the ELCFILES abomination, again. + * Makefile.in (update-elclist, ELCFILES, compile-last): Remove. + (all, compile): Don't call compile-last. + (compile-main): Build the "elcfiles" list dynamically. + (compile-targets): New (internal) target. + +2010-03-21 Andreas Schwab <[email protected]> + + * Makefile.in (top_srcdir): Define. + (abs_top_builddir): Define. + (srcdir): Don't append `/..'. + (EMACS): Use ${abs_top_builddir}. + (all, compile, compile-always, compile-last): Don't set emacswd. + (update-subdirs, update-authors): Use $(top_srcdir) instead of + $(srcdir). + (lisp): Use $(srcdir) instead of @srcdir@. + +2010-03-21 Juri Linkov <[email protected]> + + Fix message of multi-line occur regexps and multi-buffer header lines. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html + + * replace.el (occur-1): Don't display regexp if it is longer + than window-width. Use `query-replace-descr' to display regexp. + (occur-engine): Don't display regexp in the buffer header for + multi-buffer occur. Display a separate header line with total + match count and regexp for multi-buffer occur. + Use `query-replace-descr' to display regexp. + +2010-03-20 Teodor Zlatanov <[email protected]> + + * net/secrets.el: Fix parenthesis. + (secrets-enabled): Fix parenthesis. + +2010-03-20 Stefan Monnier <[email protected]> + + Use more relative file and directory names. + * Makefile.in (EMACS): Arrange for it to work when we chdir. + (setwins, setwins_almost, setwins_for_subdirs): + Don't `cd'; output relative names. + (all, compile, compile-always, compile-last): Set emacswd. + (custom-deps, finder-data, autoloads, update-subdirs, compile-last): + Just cd to the lisp source dir so we can use relative file names. + + * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738). + +2010-03-20 Glenn Morris <[email protected]> + + * textmodes/rst.el: Use faces for font-lock customization, and make the + old -face variables obsolete. + (rst-block, rst-external, rst-definition, rst-directive, rst-comment) + (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces. + (rst-block-face, rst-external-face, rst-definition-face) + (rst-directive-face, rst-comment-face, rst-emphasis1-face) + (rst-emphasis2-face, rst-literal-face, rst-reference-face): + Make obsolete. + (rst-font-lock-keywords-function): Update for above changes. + +2010-03-20 Juri Linkov <[email protected]> + + * s-region.el: + * obsolete/s-region.el: Move to obsolete. + +2010-03-19 Juanma Barranquero <[email protected]> + + * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'. + +2010-03-19 Dan Nicolaescu <[email protected]> + + * vc-hooks.el (vc-path): Remove variable and obsolete declaration. + +2010-03-19 Dan Nicolaescu <[email protected]> + + Add special markup processing for commit logs. + * log-edit.el (log-edit-extra-flags): New variable. + (log-edit): Add new argument MODE. Use that mode when non-nil + instead of the log-view-mode. + (log-view-process-buffer): New function. + + * vc.el: Document that the checkin method takes optional + arguments. Document new backend specific method: log-view-mode. + (vc-default-log-edit-mode): New function. + (vc-checkin): Use a backend specific log-view-mode. + Pass extra arguments to the checkin method. + (vc-modify-change-comment): Pass a dummy extra argument. + + * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to + log-edit. + (vc-start-logentry): Add a mode argument, pass it to vc-log-edit. + (vc-finish-logentry): Process the log buffer before passing it + down. Pass log-edit-extra-flags. + + * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit + command. + (log-edit-extra-flags, log-edit-before-checkin-process): + New declarations. + + * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit + command. + (log-edit-extra-flags, log-edit-before-checkin-process): + New declarations. + (vc-hg-log-edit-mode): New derived mode. + + * vc-arch.el (vc-arch-checkin): + * vc-cvs.el (vc-cvs-checkin): + * vc-git.el (vc-git-checkin): + * vc-mtn.el (vc-mtn-checkin): + * vc-rcs.el (vc-rcs-checkin): + * vc-sccs.el (vc-sccs-checkin): + * vc-svn.el (vc-svn-checkin): Add an optional ignored argument. + +2010-03-19 Stefan Monnier <[email protected]> + + * outline.el (hide-sublevels): Don't hide trailing newline (and fix + parent typo). + +2010-03-19 Glenn Morris <[email protected]> + + * password-cache.el (password-cache, password-cache-expiry): Autoload. + +2010-03-18 Glenn Morris <[email protected]> + + * emacs-lisp/autoload.el (autoload-rubric): Doc fix. + + * replace.el (query-replace-history): Give it a doc string. + (map-query-replace-regexp): Use query-replace-from-history-variable + and query-replace-to-history-variable. + + * mail/hashcash.el (declare-function): Remove duplicate definition. + + * mail/emacsbug.el (report-emacs-bug-pretest-address): + Make it an obsolete alias for report-emacs-bug-address. + (message-strip-special-text-properties): Declare. + (report-emacs-bug): Remove test for a pretest bug address. + Combine message-mode-specific code. + + * mail/supercite.el: Don't require sendmail. + (mh-in-header-p): Declare rather than using with-no-warnings. + (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than + mail-header-end. Don't bind mysterious variable `kill-lines-magic'. + + * calendar/cal-french.el: Convert to utf-8. + + * files.el (interpreter-mode-alist): Use emacs-lisp-mode for + Emacs scripts. + +2010-03-16 Michael Albinus <[email protected]> + + * net/secrets.el (secrets-enabled): New variable. Use it instead + of a subfeature. + +2010-03-15 Michael Albinus <[email protected]> + + * net/secrets.el (top): Register the D-Bus signals only when the + service "org.freedesktop.secrets" can be pinged. + Provide subfeature `enabled'. + +2010-03-14 Juri Linkov <[email protected]> + + Add finder unknown keywords. + + * finder.el (finder-unknown-keywords): New function. + + * info.el (Info-finder-find-node): Use `finder-unknown-keywords' + to create a Finder node with unknown keywords. + +2010-03-14 Juri Linkov <[email protected]> + + * finder.el (finder-compile-keywords): Replace `princ' with + `prin1' on a list of symbols interned from keyword strings. + + * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains + a comma, then split keywords using a comma and optional whitespace. + Otherwise, split by whitespace. + + * complete.el: + * face-remap.el: + * log-view.el: + * net/hmac-def.el: + * net/hmac-md5.el: + * net/netrc.el: + * progmodes/mixal-mode.el: Fix keywords. + +2010-03-13 Michael Albinus <[email protected]> + + * Makefile.in (ELCFILES): Add net/secrets.elc. + + * net/secrets.el: New file. + +2010-03-12 Chong Yidong <[email protected]> + + * facemenu.el (list-colors-display, list-colors-print): New arg + callback. Use it to allow selecting colors. + + * wid-edit.el (widget-image-insert): Insert image prop even if the + current display is non-graphic. + (widget-field-value-set): New fun. + (editable-field): Use it. + (widget-field-value-get): Clean up unused var. + (widget-color-value-create, widget-color--choose-action): + New funs. Allow using list-colors-display to choose color. + +2010-03-12 Chong Yidong <[email protected]> + + * cus-edit.el: Resort topmost custom groups. + (custom-buffer-sort-alphabetically): Default to t. + (customize-apropos): Use apropos-parse-pattern. + (custom-search-field): New var. + (custom-buffer-create-internal): Add custom-apropos search field. + (custom-add-parent-links): Don't display parent doc. + (custom-group-value-create): Don't sort top-level custom group. + (custom-magic-value-create): Show visibility button before option name. + + (custom-variable-state): New fun, from custom-variable-state-set. + (custom-variable-state-set): Use it. + (custom-group-value-create): Hide options with standard values + using the :hidden-states property. Use progress reporter. + + (custom-show): Simplify. + (custom-visibility): Disable images by default. + (custom-variable): New property :hidden-states. + (custom-variable-value-create): Enable images for + custom-visibility widgets. Use :hidden-states property to + determine initial visibility. + + * wid-edit.el (widget-image-find): Give images center ascent. + (visibility): Add :on-image and :off-image properties. + (widget-visibility-value-create): Use them. + +2010-03-12 Chong Yidong <[email protected]> + + * cus-edit.el (processes): Remove from development group. + (oop, hypermedia): Delete group. + (comm): Promote to top-level group. + + * net/browse-url.el (browse-url): + * net/xesam.el (xesam): + * net/tramp.el (tramp): + * net/goto-addr.el (goto-address): + * net/ange-ftp.el (ange-ftp): Put in comm group. + + * view.el (view): Remove from editing group. + + * uniquify.el (uniquify): Put in files group. + + * net/browse-url.el (browse-url): + * ps-print.el (postscript): Put in external group. + + * cus-edit.el (outlines): + * textmodes/text-mode.el (text-mode-hook): + * textmodes/table.el (table): + * textmodes/picture.el (picture): + * outline.el (outlines): Put in wp group. + + * nxml/nxml-mode.el (nxml): Remove from wp group. + + * net/tramp-imap.el (tramp-imap): Put in tramp group. + + * mail/metamail.el (metamail): Remove from hypermedia group. + + * cus-edit.el (abbrev): + * whitespace.el (whitespace): + * vcursor.el (vcursor): + * reveal.el (reveal): + * hl-line.el (hl-line): Put in convenience group. + + * epg-config.el (epg): Put in data group. + + * emulation/pc-select.el (pc-select): Put in emulations group. + + * calculator.el (calculator): Put in applications group. + +2010-03-12 Dan Nicolaescu <[email protected]> + + Add .dir-locals.el support for file-less buffers. + * files.el (hack-local-variables): Split out code to apply local + variable settings ... + (hack-local-variables-apply): ... here. New function. + (hack-dir-local-variables): Use the default directory for when the + buffer does not have an associated file. + (hack-dir-local-variables-non-file-buffer): New function. + * diff-mode.el (diff-mode): + * vc-annotate.el (vc-annotate-mode): + * vc-dir.el (vc-dir-mode): + * log-edit.el (log-edit-mode): + * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer. + +2010-03-12 Dan Nicolaescu <[email protected]> + + Add support for shelving snapshots and for showing shelves. + * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point) + (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot): + New functions. + (vc-bzr-shelve-map, vc-bzr-shelve-menu-map) + (vc-bzr-extra-menu-map): Map them. + +2010-03-11 Glenn Morris <[email protected]> + + * cus-edit.el (customize-changed-options-previous-release): + Bump to 23.1. + + * image.el (image-animate-max-time): Fix :version tag. + +2010-03-10 Chong Yidong <[email protected]> + + * Branch for 23.2. + +2010-03-10 Stefan Monnier <[email protected]> + + * vc-git.el (vc-git-revision-table): Include remote branches. + +2010-03-10 Kim F. Storm <[email protected]> + + Animated image API. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html + + * image.el (image-animate-max-time): New defcustom. + (image-animated-types): New defconst. + (create-animated-image, image-animate-timer) + (image-animate-start, image-animate-stop, image-animate-timeout) + (image-animated-p): New functions. + + * image-mode.el (image-toggle-display-image): + Replace `create-image' with `create-animated-image'. + +2010-03-09 Miles Bader <[email protected]> + + * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog, + instead of "format:"; this ensures that the output is + newline-terminated. + +2010-03-08 Chong Yidong <[email protected]> + + * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure + that all errors are caught, and that the return value is always a + list (Bug#5692). + +2010-03-08 Kenichi Handa <[email protected]> + + * language/misc-lang.el (windows-1256): New coding system. + (cp1256): New alias of windows-1256 (bug#5690). + +2010-03-07 Andreas Schwab <[email protected]> + + * mail/rfc822.el (rfc822-addresses): Move catch clause down around + call to rfc822-bad-address. (Bug#5692) + +2010-03-07 Štěpán Němec <[email protected]> (tiny change) + + * vc-git.el (vc-git-annotate-extract-revision-at-line): + Use vc-git-root as default directory for revision path (Bug#5657). + +2010-03-06 Chong Yidong <[email protected]> + + * calculator.el (calculator): Don't bind split-window-keep-point + (Bug#5674). + +2010-03-06 Stefan Monnier <[email protected]> + + * vc-git.el: Re-flow to fit into 80 columns. + (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage): + Remove spurious `quote' element in each case alternative. + (vc-git-show-log-entry): Use prog1. + (vc-git-after-dir-status-stage): Remove unused var `remaining'. + +2010-03-06 Glenn Morris <[email protected]> + + * cedet/semantic/grammar.el (semantic-grammar-header-template): + Update template copyright to GPLv3+. + +2010-03-05 Stefan Monnier <[email protected]> + + * man.el (Man-files-regexp): Tighten up the regexp (bug#5686). + +2010-03-03 Chong Yidong <[email protected]> + + * macros.el (insert-kbd-macro): Look up keyboard macro using the + definition, not the name (Bug#5481). + +2010-03-03 Štěpán Němec <[email protected]> (tiny change) + + * subr.el (momentary-string-display): Don't overwrite the MESSAGE + argument with a local variable. (Bug#5670) + +2010-03-02 Juri Linkov <[email protected]> + + * info.el (Info-index-next): Decrement line number by 2. (Bug#5652) + +2010-03-02 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an + error when FILENAME and NEWNAME are existing remote directories. + + * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional + parameter DIR-FLAG. + +2010-03-02 Glenn Morris <[email protected]> + + * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date + of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004). + +2010-03-01 Kenichi Handa <[email protected]> + + * language/burmese.el (burmese-composable-pattern): Rename from + myanmar-composable-pattern. + + * international/characters.el (script-list): + * international/fontset.el (script-representative-chars): + Change myanmar to burmese. + (otf-script-alist): Likewise. + (setup-default-fontset): Likewise. Re-fix :otf spec. + +2010-02-28 Katsumi Yamaoka <[email protected]> + + * menu-bar.el (menu-bar-manuals-menu): Fix typo. + +2010-02-28 Jan Djärv <[email protected]> + + * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654. + +2010-02-28 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-write-region): START can be a string. + Take care in the checks. Reported by Dan Davison + <[email protected]>. + +2010-02-28 Michael Albinus <[email protected]> + + * net/dbus.el (dbus-introspect, dbus-get-property) + (dbus-set-property, dbus-get-all-properties): + Use `dbus-call-method' when noninteractive. (Bug#5645) + +2010-02-28 Chong Yidong <[email protected]> + + * textmodes/reftex-toc.el (reftex-toc-promote-prepare): + * emacs-lisp/elint.el (elint-add-required-env): + * cedet/semantic/db-find.el + (semanticdb-find-translate-path-brutish-default): + * cedet/ede/make.el (ede-make-check-version): + * calendar/icalendar.el (icalendar--add-diary-entry): + * calc/calcalg2.el (math-tracing-integral): + * files.el (recover-session-finish): Use with-current-buffer + instead of save-excursion. + +2010-02-27 Stefan Monnier <[email protected]> + + Fix in-buffer completion when after-change-functions modify the buffer. + * minibuffer.el (completion--replace): New function. + (completion--do-completion): Use it and use relative movement. + +2010-02-27 Chong Yidong <[email protected]> + + * international/fontset.el (setup-default-fontset): Fix :otf spec. + +2010-02-27 Jeremy Whitlock <[email protected]> (tiny change) + + * progmodes/python.el (python-pdbtrack-stack-entry-regexp): + Allow the characters _<> in the stack entry (Bug#5653). + +2010-02-26 Kenichi Handa <[email protected]> + + * language/burmese.el: Fix entries in composition-function-table. + (myanmar-composable-pattern): New variable. + + * international/fontset.el (setup-default-fontset): Add an entry + for myanmar. + + * international/characters.el (script-list): Add Myanmar + Extended-A. + +2010-02-26 Glenn Morris <[email protected]> + + * custom.el (custom-initialize-delay): Doc fix. + + * mail/sendmail.el (send-mail-function): Autoload the call + to custom-initialize-delay, not otherwise preserved in loaddefs.el. + +2010-02-24 Chong Yidong <[email protected]> + + * files.el (hack-local-variables-filter): For eval forms, also + check safe-local-variable-p (Bug#5636). + +2010-02-24 Eduard Wiebe <[email protected]> + + * javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr + and use c(ad)r of cddr (Bug#5640). + +2010-02-22 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect + setting the modes by `ignore-errors'. It might fail, for example + if the file is not owned by the user but the group. + (tramp-handle-write-region): Ensure, that `tmpfile' is always readable. + +2010-02-21 Chong Yidong <[email protected]> + + * files.el (directory-listing-before-filename-regexp): Use + stricter matching for iso-style dates, to avoid false matches with + date-like filenames (Bug#5597). + + * htmlfontify.el (htmlfontify): Doc fix. + + * eshell/eshell.el (eshell): Doc fix. + + * startup.el (fancy-about-screen): In mode-line, apply + mode-line-buffer-id face only to the buffer name (Bug#5613). + +2010-02-20 Kevin Ryde <[email protected]> + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + In `watcom' anchor regexp to start of line, to avoid slowness + (Bug#5599). + +2010-02-20 Eli Zaretskii <[email protected]> + + * subr.el (remove-yank-excluded-properties): Explain in a comment + why `category' property is removed. + +2010-02-19 Chong Yidong <[email protected]> + + * isearch.el (isearch-update-post-hook, isearch-update): Revert + 2010-02-17 change. + +2010-02-19 Ulf Jasper <[email protected]> + + * calendar/icalendar.el (icalendar--convert-ordinary-to-ical) + (icalendar--convert-weekly-to-ical) + (icalendar--convert-yearly-to-ical) + (icalendar--convert-block-to-ical) + (icalendar--convert-cyclic-to-ical) + (icalendar--convert-anniversary-to-ical): Take care of time + specifications where hour has 1-digit only (Bug#5549). + +2010-02-19 Nick Roberts <[email protected]> + + * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change + of disassemble output in GDB 7.1. + +2010-02-19 Glenn Morris <[email protected]> + + * progmodes/f90.el (f90-electric-insert): Give it a delete-selection + property. (Bug#5593) + +2010-02-18 Sam Steingold <[email protected]> + + * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing. + +2010-02-18 Stefan Monnier <[email protected]> + + Use abbreviated file names in bookmarks (bug#5591). + * bookmark.el (bookmark-maybe-load-default-file): Remove redundant + calls to expand-file-name. + (bookmark-relocate): Use abbreviated file names in bookmarks. + (bookmark-load): Use abbreviated file names in messages. + +2010-02-18 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-directory-files): When FULL, do not + expand "." and "..". Reported by Thierry Volpiatto + <[email protected]>. + +2010-02-18 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-insert-file-contents): Set always the + permissions of the temporary file to "0600". In case the remote + file has no read permissions for the owner, there might be + problems otherwise. Reported by Ole Laursen <[email protected]>. + +22010-02-18 Glenn Morris <[email protected]> + + * emacs-lisp/authors.el (authors-renamed-files-alist): + Add entries for INSTALL.CVS. + +2010-02-17 Mark A. Hershberger <[email protected]> + + * vc-bzr.el: Fix typo in Known Bugs section. + + * isearch.el (isearch-update-post-hook): New hook. + (isearch-update): Use the new hook. + +2010-02-16 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): + Fix errors in copying directories. + (tramp-handle-add-name-to-file, tramp-handle-copy-directory) + (tramp-do-copy-or-rename-file, tramp-handle-delete-directory) + (tramp-handle-delete-file) + (tramp-handle-dired-recursive-delete-directory) + (tramp-handle-write-region): Flush also the cache for the upper + directory. + +2010-02-16 Chong Yidong <[email protected]> + + * simple.el (save-interprogram-paste-before-kill): Doc fix. + + * cus-edit.el (hardware): Doc fix. + + * man.el (man): Add to external custom group. + + * delim-col.el (columns): Move to wp custom group. + + * doc-view.el (doc-view): Add to data custom group. + + * cedet/data-debug.el (data-debug): Move to extensions group. + + * cedet/ede.el (ede): + * cedet/srecode.el (srecode): + * cedet/semantic.el (semantic): Put in tools and extensions group. + + * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group. + + * textmodes/flyspell.el (flyspell-word): Obey the offset specified + by ispell-parse-output (Bug#5575). + +2010-02-16 Kenichi Handa <[email protected]> + + * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it. + (skkdic-convert-okuri-ari): Ignore lines starting with '>'. + (skkdic-convert): Use `euc-japan' coding system for writing. + +2010-02-16 Glenn Morris <[email protected]> + + * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of + tex-main-file before using it. (Bug#5562) + +2010-02-15 Stefan Monnier <[email protected]> + + * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler + warnings, since it is annoying for the user to see them each time he + runs the code. + +2010-02-15 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-process-actions, tramp-read-passwd): + * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC + instead of PROC for caching "first-password-request". Otherwise, + new processes would not profit from passwords already entered. + + * net/tramp-cache.el (tramp-dump-connection-properties): + Don't save "first-password-request" property. + +2010-02-14 Juanma Barranquero <[email protected]> + + * outline.el (outline-head-from-level): + * simple.el (with-wrapper-hook): + * cedet/ede.el (ede-run-target, project-delete-target) + (project-dist-files, ede-name, ede-documentation, ede-parent-project) + (ede-adebug-project, ede-adebug-project-parent) + (ede-adebug-project-root): + * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer) + (elint-defun, elint-buffer-env, elint-top-form-logged) + (elint-unbound-variable): + * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist): + Fix typos in docstrings. + +2010-02-14 Michael Albinus <[email protected]> + + * files.el (insert-directory): When WILDCARD-REGEXP and + FULL-DIRECTORY-P are nil, insert the file entry instead of the + whole directory. (Bug#5551) + + * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for + dired's alignment sanity. (Bug#5516) + +2010-02-14 Juri Linkov <[email protected]> + + * man.el (Man-fontify-manpage, Man-cleanup-manpage): + Remove remaining ^H with their preceding chars. (Bug#5566) + +2010-02-13 Glenn Morris <[email protected]> + + * simple.el (transpose-subr): Give it a doc-string. + + * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences): + Doc fixes. + +2010-02-12 Juri Linkov <[email protected]> + + * arc-mode.el (archive-unique-fname): Make directories for nested + archives. (Bug#5540) + +2010-02-12 Juri Linkov <[email protected]> + + * ffap.el (dired-at-point): Fix docstring. (Bug#5565) + +2010-02-11 Stefan Monnier <[email protected]> + + * subr.el (copy-overlay): Handle deleted overlays. + + * man.el (Man-completion-table): Don't signal an error if we can't run + manual-program (bug#4056). + +2010-02-10 Juanma Barranquero <[email protected]> + + * textmodes/artist.el (artist-mt): Fix typos in docstring. + +2010-02-10 Thierry Volpiatto <[email protected]> + + * info.el (Info-bookmark-jump): Simplify. + + * bookmark.el (bookmark-handle-bookmark): Catch the right error. + (bookmark-default-handler): Accept new bookmark field `buffer'. + +2010-02-10 Chong Yidong <[email protected]> + + * iswitchb.el (iswitchb-completions): Revert last change. + +2010-02-10 Michael Albinus <[email protected]> + + * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and + FULL-DIRECTORY-P are nil, and FILE is absolute, expand it. + This prevents file names like "~/" being listed literally. + +2010-02-10 Dan Nicolaescu <[email protected]> + + * term/xterm.el (xterm-maybe-set-dark-background-mode): + Remove dead code. (Bug#5546) + +2010-02-09 Chong Yidong <[email protected]> + + * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes + correctly (Bug#5548). + +2010-02-08 Jose E. Marchesi <[email protected]> + + * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function. + (ada-adjust-case): Don't adjust case in hexadecimal number literals. + +2010-02-08 Kenichi Handa <[email protected]> + + * international/mule-util.el (with-coding-priority): Add autoload + cookie for putting `lisp-indent-function'. + +2010-02-07 Glenn Morris <[email protected]> + + * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2): + Move F2003 named interfaces from keywords-2 to keywords-1, and + use function-name-face rather than constant-face. + Simplify "abstract interface" regexp. + +2010-02-07 Chong Yidong <[email protected]> + + * eshell/esh-util.el (eshell-file-attributes): New optional arg + ID-FORMAT. Pass it to `file-attributes'. + + * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528). + +2010-02-07 sj <[email protected]> (tiny change) + + * faces.el (set-face-attribute): Allow calling + internal-set-lisp-face-attribute with 'unspecified family and + foundry argument (Bug#5536). + +2010-02-07 Glenn Morris <[email protected]> + + * progmodes/f90.el (f90-font-lock-keywords-2) + (f90-looking-at-type-like, f90-looking-at-program-block-end): + Handle F2003 named interfaces. + +2010-02-06 Chong Yidong <[email protected]> + + * progmodes/cc-mode.el (c-common-init): Bind temporary variables + beg and end before calling c-get-state-before-change-functions. + +2010-02-06 Dan Nicolaescu <[email protected]> + + * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header. + +2010-02-05 Juri Linkov <[email protected]> + + * doc-view.el (doc-view-mode): + * image-mode.el (image-mode): Put property mode-class=special. + (Bug#4896) + +2010-02-05 Mark A. Hershberger <[email protected]> + + * vc-svn.el (vc-svn-revision-table): New function. + +2010-02-05 Michael Albinus <[email protected]> + + * net/ange-ftp.el (ange-ftp-insert-directory): + * net/tramp-imap.el (tramp-imap-handle-insert-directory): + * net/tramp-smb.el (tramp-smb-handle-insert-directory): + Handle also directories. (Bug#5478) + +2010-02-05 Glenn Morris <[email protected]> + + * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'. + +2010-02-05 Chong Yidong <[email protected]> + + * startup.el (command-line-1): Convert options beginning with a + single dash as well (Bug#5519). + +2010-02-05 Stefan Monnier <[email protected]> + + Make `initials' completion work for /hh -> /home/horn again (bug#5524). + * minibuffer.el (completion-initials-expand): Only check the presence + of delims *within* the boundaries, since otherwise the / delim is + always found for files. + + Fix up various corner case problems. + * doc-view.el (doc-view-last-page-number): New function. + (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it. + (doc-view-goto-page): Avoid inf-loops when the conversion fails. + (doc-view-kill-proc): Avoid inf-loop in freak cases. + (doc-view-reconvert-doc): Use the new recursive delete-directory. + (doc-view-convert-current-doc): Don't create the resolution.el file + here any more. + (doc-view-pdf/ps->png): Do it here instead. + (doc-view-already-converted-p): Check that resolution.el is present. + (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few + windows that are not yet showing images. + +2010-02-04 Michael Albinus <[email protected]> + + * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call + `dired-uncache' for every elemnt which is an absolute file name. + + * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a + directory, handle its directory component. + (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this + function is called permanently and creates noise, otherwise. + + * net/tramp-imap.el (tramp-imap-handle-insert-directory): + * net/tramp-smb.el (tramp-smb-handle-insert-directory): + Handle the case, FILENAME is not in `default-directory'. (Bug#5478) + +2010-02-04 David Burger <[email protected]> (tiny change) + + * macros.el (apply-macro-to-region-lines): + Minor simplification. (Bug#5485) + +2010-02-04 Glenn Morris <[email protected]> + + * mail/rmail.el (rmail-show-message-1): Handle malformed + quoted-printable text. (Bug#5441) + + * mail/mail-utils.el (mail-unquote-printable-region): Doc fix. + + * simple.el (visual-line-mode): Capitalize lighter. + +2010-02-03 John Wiegley <[email protected]> + + * iswitchb.el (iswitchb-completions): Add bookmark files to the + list of files considered for "virtual buffer" completions. + +2010-02-03 Michael Albinus <[email protected]> + + * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory + also in case of (and (not full) (not wildcard)). This is needed + when dired is called with a list of files, which are not in + `default-directory'. (Bug#5478) + +2010-02-03 Stefan Monnier <[email protected]> + + * vc-hooks.el (vc-path): Make it an obsolete var, rather than function. + +2010-02-02 Juri Linkov <[email protected]> + + * textmodes/ispell.el (ispell-message-text-end): Remove final newline + from unidiff to allow function-line after @@. + +2010-02-02 Juri Linkov <[email protected]> + + * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by + '(RCS SCCS) with inverted condition. + +2010-02-02 Michael Albinus <[email protected]> + + * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH" + messages. + +2010-02-01 Juri Linkov <[email protected]> + + * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to + compare with "pkunzip" and "pkzip" instead of only "pkzip". + In the `archive-extract-by-stdout' branch use `shell-quote-argument' + only when (car archive-zip-extract) is "unzip". (Bug#5475) + +2010-02-01 Stefan Monnier <[email protected]> + + * doc-view.el (doc-view-new-window-function): Be a bit more defensive. + (doc-view-revert-buffer): New command. + (doc-view-mode-map): Use it. + +2010-02-01 Dan Nicolaescu <[email protected]> + + * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a + pending merge is detected. + +2010-01-31 Juri Linkov <[email protected]> + + * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the + beginning of interactive spec like all other grep commands do. + Put "all" in front of "gz". (Bug#5260) + +2010-01-29 Dan Nicolaescu <[email protected]> + + * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator. + +2010-01-29 Chong Yidong <[email protected]> + + * dirtrack.el (dirtrack): Warn instead of signalling error if the + regexp is incorrect (Bug#5476). + +2010-01-29 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-insert-directory): Handle also + symlinks, when FILENAME is not in `default-directory'. + +2010-01-28 Michael Albinus <[email protected]> + + * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case, + FILE is not in `default-directory'. (Bug#5478) + + * net/tramp.el (tramp-handle-insert-directory): Simplify handling + of SWITCHES. Handle the case, FILENAME is not in + `default-directory'. (Bug#5478) + (tramp-register-file-name-handlers): Add safe-magic property. + +2010-01-28 Chong Yidong <[email protected]> + + * arc-mode.el (archive-zip-extract): Quote the argument passed to + unzip (Bug#5475). + +2010-01-28 Nil Geisweiller <[email protected]> (tiny change) + + * progmodes/flymake.el (flymake-allowed-file-name-masks) + (flymake-master-make-header-init): Add other C++ filename masks. + (flymake-find-possible-master-files) + (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488). + +2010-01-28 Michael Albinus <[email protected]> + + Fix some busybox annoyances. + + * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server + not responding." string. + (tramp-open-connection-setup-interactive-shell): Dump stty + settings. Enable "neveropen" arg for all `tramp-send-command' + calls. Handle "=" in variable values properly. + (tramp-find-inline-encoding): Raise an error, when no encoding is + found. + (tramp-wait-for-output): Check, whether PROC buffer is available. + Remove spurious " ^H" sequences, sent by busybox. + (tramp-get-ls-command): Suppress coloring, if possible. + +2010-01-28 Glenn Morris <[email protected]> + + * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280) + + * log-edit.el (log-edit-strip-single-file-name): Add missing + :safe, :group, and :version tags. + +2010-01-27 Stephen Berman <[email protected]> + + * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed + buffers. (Bug#5477) + +2010-01-27 David De La Harpe Golden <[email protected]> + + * files.el (delete-directory): Handle moving to trash without + first doing recursion (Bug#5436). + +2010-01-26 Dan Nicolaescu <[email protected]> + + * vc-hooks.el (vc-path): Mark as obsolete. + +2010-01-25 Dan Nicolaescu <[email protected]> + + * vc-annotate.el (vc-annotate-revision-at-line): Compare file + names too. + + * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option + for the short log. + (vc-bzr-log-view-mode): Adjust regexp for the above change. + +2010-01-25 Mark A. Hershberger <[email protected]> + + * progmodes/python.el: Replace reference to obsolete c-subword-mode. + + * vc-bzr.el (vc-bzr-revision-table): New function. + +2010-01-25 Eric Hanchrow <[email protected]> (tiny change) + + * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the + diff-index command. This requires at least git-1.5.5. (Bug#1589). + +2010-01-24 Dan Nicolaescu <[email protected]> + + Remove support for adding --signoff on commit. + Future support will use an incompatible generic mechanism. + * vc-git.el (vc-git-add-signoff): Remove variable. + (vc-git-toggle-signoff): Remove function. + (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff. + + * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename + from xterm-set-background-mode. Return t if the background mode + was set. + (terminal-init-xterm): Move tty-set-up-initial-frame-faces + earlier, call it again in case the background mode has changed. + +2010-01-23 Dmitri Paduchikh <[email protected]> (tiny change) + + * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo + (Bug#3541). + +2010-01-23 Chong Yidong <[email protected]> + + * emacs-lisp/assoc.el (aelement): Doc fix. + (aput, adelete, amake): Use lexical-let (Bug#5450). + +2010-01-23 Stephen Leake <[email protected]> + + * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax + is the same as subprogram call, not declaration. (Bug#5435). + +2010-01-23 Michael Albinus <[email protected]> + + * net/tramp-smb.el (tramp-smb-conf): New defcustom. + (tramp-smb-maybe-open-connection): Use it. + +2010-01-22 Michael Albinus <[email protected]> + + * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448) + +2010-01-22 Stefan Monnier <[email protected]> + + * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte + just because we see "encoding: 8bit". + * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes. + +2010-01-22 Chong Yidong <[email protected]> + + * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446). + +2010-01-22 Eli Zaretskii <[email protected]> + + * jka-compr.el (jka-compr-load): If load-file is not in + load-history, try its file-truename version. (bug#5447) + +2010-01-21 Alan Mackenzie <[email protected]> + + Fix a situation where deletion of a cpp construct throws an error. + * progmodes/cc-engine.el (c-invalidate-state-cache): + Before invoking c-with-all-but-one-cpps-commented-out, check that the + special cpp construct is still in the buffer. + (c-parse-state): Record the special cpp with markers, not numbers. + +2010-01-21 Kenichi Handa <[email protected]> + + * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to + process last-command-event, as it is now decoded first (Bug#5380). + +2010-01-20 Chong Yidong <[email protected]> + + * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330). + +2010-01-20 Glenn Morris <[email protected]> + + * indent.el (tab-always-indent): Fix custom-type. + +2010-01-19 Alan Mackenzie <[email protected]> + + * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty + buffer throws "args out of range". + (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB + playing the role of delimiter. + +2010-01-18 Stephen Leake <[email protected]> + + * progmodes/ada-mode.el: Fix bug#5400. + (ada-matching-decl-start-re): Move into ada-goto-decl-start. + (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers + changed. Delete RECURSIVE parameter; never used. Improve doc string. + Improve comments in "is" portion. Handle null procedure declaration. + (ada-move-to-end): Improve doc string. + +2010-01-18 Óscar Fuentes <[email protected]> + + * ido.el (ido-cur-list): Initialize to nil. + Remove obsolete information from commentary. + (ido-choice-list): Initialize to nil. + (ido-get-bufname): Reject minibuffers. + (ido-make-buffer-list): If "default" is a nonexistent + buffer, ignore it, as per the function's comment. + (ido-kill-buffer-internal): New function. + (ido-kill-buffer-at-head): Use it. + (ido-visit-buffer): Likewise. + +2010-01-18 Chong Yidong <[email protected]> + + * calendar/time-date.el (date-to-time): Doc fix (Bug#5408). + +2010-01-18 Juanma Barranquero <[email protected]> + + * cedet/ede/locate.el (ede-locate-file-in-project) + (ede-locate-file-in-project-impl): Fix typos in docstrings. + (ede-enable-locate-on-project): Fix typos in error messages. + + * cedet/semantic/util-modes.el (semantic-unmatched-syntax-face) + (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format) + (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup) + (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings. + (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu): + Fix typos in menu help. + + * emacs-lisp/chart.el (chart-file-count, chart-rmail-from): + Fix typos in chart titles. + + * whitespace.el (whitespace-style, global-whitespace-newline-mode): + * cedet/semantic.el (semantic-require-version, semantic--buffer-cache) + (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook) + (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run) + (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time) + (semantic-parse-stream, semantic-parse-region) + (semantic-parse-region-default, semantic--set-buffer-cache) + (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe) + (semantic-bovinate-toplevel, semantic-load-system-cache-loaded) + (semantic-default-submodes): + * cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse) + (semanticdb-create-ebrowse-database) + (semanticdb-find-tags-for-completion-method) + (semanticdb-find-tags-by-class-method) + (semanticdb-deep-find-tags-by-name-method) + (semanticdb-deep-find-tags-for-completion-method): + * cedet/semantic/db-el.el (semanticdb-elisp-mapatom-collector) + (semanticdb-find-tags-by-name-method, emacs-lisp-mode) + (semanticdb-find-tags-for-completion-method) + (semanticdb-find-tags-by-class-method) + (semanticdb-deep-find-tags-for-completion-method): + * cedet/semantic/db-find.el (semanticdb-find-translate-path) + (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p) + (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector) + (semanticdb-find-tags-by-name-method) + (semanticdb-find-tags-by-name-regexp-method) + (semanticdb-find-tags-for-completion-method) + (semanticdb-find-tags-by-class-method) + (semanticdb-find-tags-external-children-of-type-method) + (semanticdb-find-tags-subclasses-of-type-method) + (semanticdb-deep-find-tags-by-name-method) + (semanticdb-deep-find-tags-by-name-regexp-method) + (semanticdb-deep-find-tags-for-completion-method): + * cedet/semantic/db-global.el (semanticdb-enable-gnu-global-hook) + (semanticdb-enable-gnu-global-in-buffer) + (semanticdb-find-tags-for-completion-method) + (semanticdb-deep-find-tags-by-name-method) + (semanticdb-deep-find-tags-for-completion-method): + * cedet/semantic/db-javascript.el (semanticdb-javascript-tags) + (javascript-mode, semanticdb-find-translate-path) + (semanticdb-find-tags-for-completion-method) + (semanticdb-find-tags-by-class-method) + (semanticdb-deep-find-tags-by-name-method) + (semanticdb-deep-find-tags-for-completion-method) + (semanticdb-find-tags-external-children-of-type-method): + * cedet/semantic/idle.el (semantic-idle-work-core-handler) + (define-semantic-idle-service, semantic-idle-summary-useful-context-p) + (global-semantic-idle-scheduler-mode): + * cedet/srecode/dictionary.el (srecode-field-value) + (srecode-dictionary-add-section-dictionary): + * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags) + (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse) + (describe-class, eieio-describe-generic, describe-generic): + * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click) + (eieio-speedbar-expand): + * emulation/viper-cmd.el (viper-exec-form-in-vi) + (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC) + (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style) + (viper-del-backward-char-in-replace, viper-backward-indent) + (viper-brac-function, viper-register-to-point, viper-submit-report): + * net/tramp.el (tramp-remote-coding-commands): + * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list): + Fix typos in docstrings. + +2010-01-17 Chong Yidong <[email protected]> + + * mail/sendmail.el (mail-yank-original): Set the mark if the + specified function for yanking does not do it. + +2010-01-17 Dan Nicolaescu <[email protected]> + + * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298) + + * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when + resyncing a directory. + +2010-01-17 Stephen Leake <[email protected]> + + * progmodes/ada-mode.el: Fix bug#1920. + (ada-ident-re): Delete ., allow multibyte characters. + (ada-goto-label-re): New; matches goto labels. + (ada-block-label-re): New; matches block labels. + (ada-label-re): New; matches both. + (ada-named-block-re): Deleted; callers changed to use + `ada-block-label-re' instead. + (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop): + Use `ada-block-label-re'. + (ada-indent-on-previous-lines): Improve handling of goto labels. + (ada-get-indent-block-start): Special-case block label. + (ada-get-indent-label): Split into `ada-indent-block-label' and + `ada-indent-goto-label'. + (ada-goto-stmt-start, ada-goto-next-non-ws): + Optionally ignore goto labels. + (ada-goto-next-word): Simplify. + (ada-indent-newline-indent-conditional): Insert newline before + trying to fix indentation; doc fix. + +2010-01-17 Jay Belanger <[email protected]> + + * calc/calc.el (calc-command-flags): Give it an initial value. + +2010-01-17 Glenn Morris <[email protected]> + + * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix. + +2010-01-17 Juanma Barranquero <[email protected]> + + * cedet/semantic.el (semantic-mode): + * files.el (minibuffer-with-setup-hook): + * textmodes/artist.el (artist-mt, artist-key-undraw-continously) + (artist-key-draw-continously, artist-key-do-continously-continously) + (artist-key-set-point-continously, artist-mouse-draw-continously): + Fix typos in docstrings. + +2010-01-16 Lennart Borgman <[email protected]> + + * nxml/nxml-mode.el (nxml-extend-after-change-region): Never + return t (Bug#3898). + +2010-01-16 Frédéric Perrin <[email protected]> (tiny change) + + * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we + can parse the output of the external commands (Bug#5279). + +2010-01-16 Jari Aalto <[email protected]> + + * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix. + +2010-01-16 Chong Yidong <[email protected]> + + * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274) + + * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267). + + * startup.el (command-line): Remove unused --icon-type arg. + Handle --display arg, passing it to command-line-1 (Bug#5392). + +2010-01-16 Mario Lang <[email protected]> + + * cedet/ede/cpp-root.el (ede-cpp-root-project): + * cedet/ede/files.el (ede-expand-filename): + * cedet/ede/simple.el (ede-simple-project): + * cedet/semantic/complete.el (semantic-complete-read-tag-engine) + (semantic-complete-inline-tag-engine): + * cedet/semantic/db-el.el (semanticdb-equivalent-mode): + * cedet/semantic/db-global.el (semanticdb-equivalent-mode): + * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode): + * cedet/semantic/db.el (semanticdb-equivalent-mode): + * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe): + * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): + * emacs-lisp/chart.el (chart-translate-namezone): + * textmodes/artist.el (artist-compute-popup-menu-table): + Remove duplicated words in doc-strings. + +2010-01-15 David Abrahams <[email protected]> (tiny change) + + * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil + to mairix-search to suppress threading (Bug#5342). + +2010-01-15 Kenichi Handa <[email protected]> + + * international/mule-cmds.el (canonicalize-coding-system-name): + Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387). + +2010-01-15 Glenn Morris <[email protected]> + + * log-view.el (top-level): Require 'wid-edit. (Bug#5311) + + * wid-edit.el (widget-keymap): Doc fix. + + * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the + former seems to be more widely accepted by various svn versions. + +2010-01-14 Juanma Barranquero <[email protected]> + + * find-cmd.el (find-constituents): + * vc-arch.el (vc-arch-root): + * window.el (window-body-height, pop-up-frames): + * cedet/semantic/edit.el (semantic-reparse-needed-change-hook) + (semantic-no-reparse-needed-change-hook): + * cedet/srecode/insert.el (srecode-resolve-argument-list) + (srecode-template-inserter-blank, srecode-template-inserter-variable) + (srecode-template-inserter-ask, srecode-template-inserter-width) + (srecode-template-inserter-section-start) + (srecode-template-inserter-section-end, srecode-insert-method): + * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing): + * progmodes/ada-stmt.el (ada-if): + * progmodes/gdb-ui.el (gdb-jsonify-buffer): + * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist) + (ispell-encoding8-command, ispell-aspell-supports-utf8) + (ispell-last-program-name, ispell-help): Fix typos in docstrings. + + * progmodes/flymake.el (flymake-post-syntax-check): + Fix typo in error message. + +2010-01-14 Juanma Barranquero <[email protected]> + + * hexl.el (hexl-printable-character): Fix check of `hexl-iso', + which is always a string. (Bug#5313) + +2010-01-14 Juanma Barranquero <[email protected]> + + * progmodes/ada-xref.el (ada-default-prj-properties): + Simplify previous change. + +2010-01-14 Stephen Leake <[email protected]> + + * progmodes/ada-xref.el (ada-default-prj-properties): + Default ada_project_path to $ADA_PROJECT_PATH. + +2010-01-14 Stephen Leake <[email protected]> + + * progmodes/ada-mode.el (ada-create-keymap): + Override `narrow-to-defun' with `ada-narrow-to-defun'. + +2010-01-14 Stephen Leake <[email protected]> + + * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword. + (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword. + (ada-get-current-indent, ada-imenu-generic-expression) + (ada-which-function): Check for it. + +2010-01-14 Stephen Leake <[email protected]> + + * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete. + (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore. + +2010-01-14 Glenn Morris <[email protected]> + + * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312) + +2010-01-14 Kenichi Handa <[email protected]> + + * composite.el (auto-composition-mode): Make it a buffer local + variable (permanent-local). + (auto-composition-function): Set the default value to + auto-compose-chars. + (auto-composition-mode): Make it a simple function, not a minor mode. + (global-auto-composition-mode): Likewise. + (turn-on-auto-composition-if-enabled): Delete it. + +2010-01-13 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276). + +2010-01-12 Michael Albinus <[email protected]> + + * files.el (copy-directory): Compute target for recursive + directories with identical names. (Bug#5343) + +2010-01-12 Glenn Morris <[email protected]> + + * mail/emacsbug.el (report-emacs-bug-pretest-address): Set + it to bug-gnu-emacs rather than emacs-pretest-bug. + +2010-01-12 Juanma Barranquero <[email protected]> + + * cedet/data-debug.el (data-debug): Fix customization group reference. + +2010-01-12 Juanma Barranquero <[email protected]> + + * cedet/semantic/analyze.el (semantic-analyze-push-error) + (semantic-analyze-context, semantic-analyze-context-assignment) + (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag): + * cedet/semantic/java.el (java-mode, semantic-tag-include-filename) + (semantic-java-doc-keywords-map): + * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast) + (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region) + (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch) + (semantic-c-classname, semantic-format-tag-uml-prototype) + (semantic-c-dereference-namespace, semantic-analyze-type-constants): + * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string) + (semantic-emacs-lisp-obsoleted-doc, semantic-up-context) + (semantic-get-local-variables, semantic-end-of-command) + (semantic-beginning-of-command, semantic-ctxt-current-class-list) + (lisp-mode): + * cedet/semantic/bovine/make.el (makefile-mode): + * cedet/semantic/wisent/python.el (wisent-python-string-re) + (wisent-python-implicit-line-joining-p, wisent-python-forward-string) + (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line) + (semantic-lex, semantic-get-local-variables, python-mode): + * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table): + * cedet/srecode/extract.el (srecode-extract-state-set) + (srecode-extract-method): Fix typos in docstrings. + +2010-01-11 Sam Steingold <[email protected]> + + * imenu.el (imenu-default-create-index-function): Detect infinite + loops caused by imenu-prev-index-position-function. + +2010-01-11 Juanma Barranquero <[email protected]> + + * htmlfontify.el (htmlfontify-load-rgb-file) + (htmlfontify-unload-rgb-file, hfy-fallback-colour-values) + (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer) + (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn) + (hfy-link-style-fun, hfy-index-file, hfy-instance-file) + (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks) + (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map) + (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties) + (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class) + (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap) + (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq) + (hfy-colour-vals, hfy-default-header, hfy-link-style-string) + (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec) + (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int) + (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name) + (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at) + (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer) + (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer) + (hfy-force-fontification, htmlfontify-buffer, hfy-dirname) + (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub) + (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i) + (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps) + (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous + backslash-quoting from parentheses, etc. + +2010-01-11 Chong Yidong <[email protected]> + + * progmodes/js.el: Autoload javascript-mode alias. + +2010-01-11 Juanma Barranquero <[email protected]> + + * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p) + (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp) + (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url) + (ffap-read-url-internal, ffap-menu, ffap-at-mouse): + Fix typos in docstrings. + (ffap-url-regexp): Doc fix. + (ffap-at-mouse): Fix typo in message. + +2010-01-11 Glenn Morris <[email protected]> + + * version.el (emacs-copyright): Set copyright year to 2010. + +2010-01-10 Stefan Monnier <[email protected]> + + * format.el (format-annotate-function): Only set + write-region-post-annotation-function after running to-fn so as not to + affect nested write-region calls (bug#5273). + +2010-01-10 Chong Yidong <[email protected]> + + * cedet/semantic.el (semantic-new-buffer-setup-functions): + Add python parser. + + * Makefile.in (ELCFILES): Add wisent/python-wy.el and + wisent/python.el. + +2010-01-10 Richard Kim <[email protected]> + + * cedet/semantic/wisent/python-wy.el: + * cedet/semantic/wisent/python.el: New files. + +2010-01-09 Chong Yidong <[email protected]> + + * man.el (Man-goto-section): Signal error if the section is not + found (Bug#5317). + +2010-01-09 Juanma Barranquero <[email protected]> + + * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept + URLs with a leading triple slash in the file: scheme. (Bug#5345) + +2010-01-09 Chong Yidong <[email protected]> + + * progmodes/compile.el: Don't treat compile-command as safe if + compilation-read-command might be nil (Bug#4218). + +2010-01-09 Jan Djärv <[email protected]> + + * startup.el (command-line-1): Use orig-argi to check for ignored X and + NS options. + +2010-01-08 Kenichi Handa <[email protected]> + + * international/fontset.el (build-default-fontset-data): + Exclude characters in scripts kana, hangul, han, or cjk-misc. + +2010-01-07 Juanma Barranquero <[email protected]> + + * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename + to `create-file-buffer' as it expects, not just a buffer name. + (vc-dir-mode): Include the buffer name in `list-buffers-directory', + to help uniquify. (Bug#3224) + +2010-01-06 Jan Djärv <[email protected]> + + * font-setting.el (font-setting-change-default-font): Use user-spec + instead of name. + +2010-01-06 Dan Nicolaescu <[email protected]> + + * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges. + +2010-01-05 Tom Tromey <[email protected]> + + * progmodes/python.el (python-font-lock-keywords): + Handle qualified decorators (Bug#881). + +2010-01-05 Dan Nicolaescu <[email protected]> + + * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision + in a lightweight checkout. + +2010-01-05 Kenichi Handa <[email protected]> + + * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ. + +2010-01-05 Dan Nicolaescu <[email protected]> + + * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff. + +2010-01-04 Dan Nicolaescu <[email protected]> + + * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight + checkouts. (Bug#618) + (vc-bzr-log-view-mode): Also highlight the author. + (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point. + (vc-bzr-shelve-menu-map): + (vc-bzr-dir-extra-headers): Improve menu and tooltip text. + (vc-bzr-shelve-apply): Make prompt more explicit. + +2010-01-02 Chong Yidong <[email protected]> + + * net/browse-url.el (browse-url-encode-url): Don't escape commas. + They are valid characters in URL paths (rfc3986), and at least + Firefox does not understand the encoded version (Bug#3166). + +2010-01-02 Daniel Elliott <[email protected]> (tiny change) + + * progmodes/octave-mod.el (octave-end-keywords) + (octave-block-begin-or-end-regexp, octave-block-match-alist): + Add "end" keyword (Bug#3061). + (octave-end-as-array-index-p): New function. + (calculate-octave-indent): Use it. + +2010-01-02 Karl Fogel <[email protected]> + + * bookmark.el: Consistently put the text property on the bookmark name. + (bookmark-bmenu-marks-width): Bump back to 2, to include + annotation marks. + (bookmark-bmenu-hide-filenames): Adjust for above, and put the text + property on the bookmark name, instead of not putting it at all. + (bookmark-bmenu-list): Fix where we put the text property. + +2010-01-02 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-bmenu-save): Just depend on the new logic + for showing buffer modified state (as added in the previous change). + +2010-01-02 Karl Fogel <[email protected]> + + * bookmark.el: Show modified state of bookmark buffer more accurately. + (bookmark-bmenu-list): Initialize buffer-modified-p properly. + (bookmark-send-edited-annotation): Mark bookmark-alist as modified. + (with-buffer-modified-unmodified): New macro. + (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames) + (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete): + Use new macro to preserve the buffer modified state. + +2010-01-02 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window) + (bookmark-bmenu-2-window, bookmark-bmenu-this-window) + (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window) + (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation) + (bookmark-bmenu-rename, bookmark-bmenu-locate) + (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark): + Remove unnecessary calls to `bookmark-bmenu-ensure-position'. + +2010-01-02 Eli Zaretskii <[email protected]> + + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): + Make the lines in the generated doc string shorter. (Bug#4668) + +2010-01-02 Ryan Yeske <[email protected]> + + * net/rcirc.el: Add follow-link binding (Bug#4738). + +2010-01-02 Eli Zaretskii <[email protected]> + + * Makefile.in (bzr-update): Rename from cvs-update. + (cvs-update): New target for backward compatibility. + + * makefile.w32-in (bzr-update): Rename from cvs-update. + (cvs-update): New target for backward compatibility. + +2010-01-02 Karl Fogel <[email protected]> + + * bookmark.el: Remove gratuitous gratitude. + +2010-01-02 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-bmenu-any-marks): New function. + (bookmark-bmenu-save): Clear buffer modification if no marks. + +2010-01-02 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2. + (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property + positions by using `bookmark-bmenu-marks-width', instead of hardcoding. + This fixes the `bookmark-bmenu-execute-deletions' bug reported here: + + http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html + From: Sun Yijiang <sunyijiang {_AT_} gmail.com> + To: emacs-devel {_AT_} gnu.org + Subject: bookmark.el bug report + Date: Mon, 28 Dec 2009 14:19:16 +0800 + Message-ID: [email protected] + +2010-01-02 Karl Fogel <[email protected]> + + * bookmark.el: Improvements suggested by Drew Adams: + (bookmark-bmenu-ensure-position): New name for + `bookmark-bmenu-check-position'. Just ensure the position, + don't return any meaningful value. + (bookmark-bmenu-header-height, bookmark-bmenu-marks-width): + New constants. + +2010-01-02 Juanma Barranquero <[email protected]> + + * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff'). + (bookmark-yank-point, bookmark-bmenu-check-position): + Fix typos in docstrings. + (bookmark-save-flag, bookmark-bmenu-toggle-filenames) + (bookmark-name-from-full-record, bookmark-get-position) + (bookmark-set-position, bookmark-set, bookmark-handle-bookmark) + (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode): + Remove useless quoting of parenthesis, etc. in docstrings. + + * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message. + (ediff-append-custom-diff): Fix typo in error message. + (ediff-meta-mark-equal-files): Fix typos in messages. + + * mpc.el (mpc-playlist-delete): Fix typo in error messages. + + * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default): + Fix typo in docstring. + + * net/imap-hash.el (imap-hash-make): Doc fix. + (imap-hash-test): Fix typo in error message; reflow docstring. + (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message) + (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl) + (imap-hash-mailbox, imap-hash-user, imap-hash-password): + Fix typos in docstrings. + (imap-hash-open-connection): Fix typo in error message. + + * play/gomoku.el (gomoku): Fix typos in docstring. + + * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring. + (gdb-jsonify-buffer): Fix typos in docstring. + (gdb-goto-breakpoint): Fix typo in error message. + ("Display Other Windows"): Fix typo in help message. + (gdb-speedbar-expand-node): Fix typo in question. + + * progmodes/idlw-help.el (idlwave-help-browse-url-available) + (idlwave-html-system-help-location, idlwave-html-help-location) + (idlwave-help-browser-function, idlwave-help-browser-generic-program) + (idlwave-help-browser-generic-args, idlwave-help-directory) + (idlwave-html-help-is-available, idlwave-help-mode-line-indicator) + (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help) + (idlwave-online-help, idlwave-help-html-link) + (idlwave-help-show-help-frame, idlwave-help-assistant-command): + Fix typos in docstrings. + (idlwave-help-with-source, idlwave-help-find-routine-definition): + Reflow docstrings. + (idlwave-help-assistant-start): Fix typo in error message. + + * progmodes/octave-mod.el (octave-mode, octave-electric-semi) + (octave-electric-space): Fix typos in docstrings. + +2010-01-01 Chong Yidong <[email protected]> + + * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149). + +2010-01-01 Juri Linkov <[email protected]> + + * comint.el (comint-input-ring-size): Make it a defcustom and + increase the default to 500 (Bug#5148). + +2009-12-31 Nick Roberts <[email protected]> + + Further changes from EMACS_23_1_RC branch (2009-12-29 contd). + * term/x-win.el (x-gtk-stock-map): Map some GUD buttons. + * progmodes/gud.el (gud-menu-map): Add reverse-execution commands. + +2009-12-30 Nick Roberts <[email protected]> + + Show working revision correctly for mercurial. + * vc-hg.el (vc-hg-working-revision): Use hg parent instead of + hg log as suggested by Alex Harsanyi <[email protected]>. + +2009-12-29 Juanma Barranquero <[email protected]> + + Declare some functions for the byte-compiler. + * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list) + (speedbar-timer-fn, speedbar-change-expand-button-char) + (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare. + +2009-12-29 Nick Roberts <[email protected]> + + This changeset reverts GDB Graphical Interface to use annotations. + * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC. + +2009-12-29 Dan Nicolaescu <[email protected]> + + Make vc-dir work on subdirectories of the bzr root. + * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return + file names relative to it. + (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root + relative directory to vc-bzr-after-dir-status. + +2009-12-28 Tassilo Horn <[email protected]> + + * font-lock.el (font-lock-refresh-defaults): New function, which + can be used to let font-lock react to external changes in + variables like font-lock-defaults and keywords. + See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802 + +2009-12-28 Dan Nicolaescu <[email protected]> + + * vc-rcs.el (vc-rcs-register): Fix registering a specific version. + + * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp. + +2009-12-28 Juanma Barranquero <[email protected]> + + Supersede color.diff settings in git log (bug#5211). + + * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid + escape chars in its output when the user has color.diff set to `always'. + This fix works on git 1.4.2 and newer (released on 2006-08-13). + +2009-12-26 Kevin Ryde <[email protected]> + + * info-look.el (sh-mode): Look for coreutils new "Concept Index" + node. Keep previous "Index" name to work with past coreutils too. + + * man.el (man): Revise docstring a bit to show -a and -l as + examples. Add -k description since support for it has otherwise + been a secret. (Further to bug#3717.) + (Man-bgproc-sentinel): When "-k foo" produces no output show error + "no matches" rather than "Can't find manpage", as the latter reads + like -k was interpreted as a page name, which is not so. (Bug#5431) + +2009-12-26 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the + switches. Check also for //SUBDIRED// line. + +2009-12-25 Kenichi Handa <[email protected]> + + * language/indian.el (devanagari-composable-pattern): Fixed to + handle ZWNJ and ZWJ. Use it in composition-function-table for + Devanagari. + (malayalam-composable-pattern): Fix previous change. + +2009-12-23 Vinicius Jose Latorre <[email protected]> + + * ps-print.el (ps-face-attributes): It was not returning the + attribute face for faces specified as string. Reported by harven + <[email protected]>. (Bug#5254) + (ps-print-version): New version 7.3.5. + +2009-12-18 Ulf Jasper <[email protected]> + + * calendar/icalendar.el (icalendar--convert-tz-offset): + Fix timezone names. + (icalendar--convert-tz-offset): Fix the "last-day-problem". + (icalendar--add-diary-entry): Remove the trailing blank that + diary-make-entry inserts. + +2009-12-17 Michael Albinus <[email protected]> + + Make `file-expand-wildcards' work for remote files. + + * files.el (file-expand-wildcards): In case of remote files, check + only local file name part for wildcards. Provide feature 'files + and subfeature 'remote-wildcards. (Bug#5198) + + * net/tramp.el (tramp-handle-file-remote-p): Expand file name only + if there is already an established connection. + (tramp-advice-file-expand-wildcards): Remove it. + + * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'. + (tramp-advice-file-expand-wildcards): Move from tramp.el. + Activate advice for older GNU Emacs versions. (Bug#5237) + +2009-12-17 Juanma Barranquero <[email protected]> + + Some doc fixes (more needed). + + * find-cmd.el (find-constituents): Reflow docstring. + (find-cmd, find-prune, find-command): Fix typos in docstrings. + (find-generic): Doc fix. + +2009-12-17 Juri Linkov <[email protected]> + + Fix regression from 23.1 to allow multiple modes in Local Variables. + + * files.el (hack-local-variables-filter): While ignoring duplicates, + don't take `mode' into account. + (hack-local-variables-filter, hack-dir-local-variables): + Don't remove duplicate `mode' from local-variables-alist (like `eval'). + +2009-12-17 Juri Linkov <[email protected]> + + Make `dired-diff' safer. (Bug#5225) + + * dired-aux.el (dired-diff): Signal an error when `file' equals to + `current' or when `file' is a directory of the `current' file. + +2009-12-17 Andreas Schwab <[email protected]> + + * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude + unconditionally preloaded files. + +2009-12-16 Juri Linkov <[email protected]> + + Revert to old 23.1 logic of using the file at the mark as default. + * dired-aux.el (dired-diff): Use the file at the mark as default + if it's not the same as the current file, and the target dir is + the current dir or the mark is active. Add the current file + as the arg of `dired-dwim-target-defaults'. Use the default file + in the prompt. (Bug#5225) + +2009-12-15 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-echo-mark-marker-length): New defconst. + (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it. + (tramp-check-for-regexp): Check also, when an echoing shell stops + to echo sent commands. + +2009-12-14 Chong Yidong <[email protected]> + + * Makefile.in: Revert last change (Bug#5191). + +2009-12-14 Dan Nicolaescu <[email protected]> + + * vc-hg.el (vc-hg-print-log): Fix argument order. + (vc-hg-working-revision): Make sure the command is executed in a + known environment so that we can parse the output. (Bug#4417) + +2009-12-14 Chong Yidong <[email protected]> + + * progmodes/python.el (python-symbol-completions): Remove text + properties from symbol string before calling python-send-receive. + +2009-12-14 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame + when there are values for both file and line. (Bug#5060) + +2009-12-14 Juri Linkov <[email protected]> + + * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match + whitespace after the file name of the first line of unified format, + because git-diff doesn't output whitespace and file modification time + after the file name. + +2009-12-14 David Kastrup <[email protected]> + + * info.el (Info-hide-cookies-node): Before hiding a cookie, + check if it already has the `display' property added by + `Info-display-images-node', and not put the `invisible' property + in this case. + +2009-12-14 Chong Yidong <[email protected]> + + * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode) + (semantic-mru-bookmark-mode): Doc fixes. + + * cedet/semantic/db.el (semanticdb-cache-get): Use error instead + of assert. + +2009-12-13 Glenn Morris <[email protected]> + + * mail/emacsbug.el (message-sort-headers): Define for compiler. + (report-emacs-bug): In message-mode, sort manually before storing + original report text. (Bug#5178) + Remove superfluous save-excursion. + +2009-12-12 Michael Albinus <[email protected]> + + * net/dbus.el (dbus-property-handler): Filter lambda forms out + when responding to "GetAll" properties. + +2009-12-12 Chong Yidong <[email protected]> + + * simple.el (compose-mail): Remove mail-setup-with-from from + customization checks. + +2009-12-12 Eli Zaretskii <[email protected]> + + * arc-mode.el (archive-rar-summarize): Support Attribute fields in + RAR archives created on Unix systems. + +2009-12-12 Stefan Monnier <[email protected]> + + * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate + the varalias that was accidentally removed by the 2009-11-19 change + (bug#5186). + +2009-12-12 Kenichi Handa <[email protected]> + + * language/indian.el (indian-compose-regexp): New function. + (malayalam-composable-pattern): Fix the pattern. + (composition-function-table): Set malayalam-composable-pattern for + Malayalam characters. + +2009-12-11 Chong Yidong <[email protected]> + + * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2 + rather than down-mouse-1, based on follow-link conventions. + + * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories + are compiled. + +2009-12-11 Michael McNamara <[email protected]> + + * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re) + (verilog-vmm-statement-re, verilog-ovm-statement-re) + (verilog-defun-level-not-generate-re, verilog-calculate-indent) + (verilog-leap-to-head, verilog-backward-token): + Fix indenting VMM macros. Reported by Jonathan Ashbrook. + +2009-12-11 Wilson Snyder <[email protected]> + + * progmodes/verilog-mode.el (verilog-auto-lineup) + (verilog-nameable-item-re): Cleanup user-visible spelling and + documentation errors. One reported by Gary Delp. + (verilog-submit-bug-report): Mention bug tracking and CC co-author. + (verilog-read-decls): Fix AUTOWIRE with types declared in a + package, bug195. Reported by Pierre-David Pfister. + +2009-12-11 Glenn Morris <[email protected]> + + * progmodes/cc-engine.el (safe-pos-list): Define for compiler. + + * mail/emacsbug.el: No longer require sendmail. + Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174) + (report-emacs-bug-orig-text): Doc fix. + (report-emacs-bug-send-command, report-emacs-bug-send-hook): + New local variables, to adapt to different mail-user-agents. + (report-emacs-bug): Fix test for a gnu.org address. + Use overlays for emphasis, since font-lock defeats 'face property. + Pretest bugs also end up at the newsgroup these days. + Stop message-mode stripping text properties. + Set and use the new buffer-local variables. + (report-emacs-bug-hook): Add doc-string. + Remove some unnecessary save-excursions and simplify. + Use the appropriate hook and send-command. + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the + capitalization of some menu entries. + +2009-12-10 Vinicius Jose Latorre <[email protected]> + + * whitespace.el (whitespace-display-char-on): + Ensure `buffer-display-table' is unique when two or more windows are + visible. Reported by Martin Pohlack <[email protected]>. + New version 12.1. + +2009-12-10 Eli Zaretskii <[email protected]> + + * arc-mode.el (archive-rar-summarize): Allow between 6 and 7 + characters in the Attribute field. + +2009-12-10 Dan Nicolaescu <[email protected]> + + * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741) + +2009-12-10 Stefan Monnier <[email protected]> + + Let loaddefs.el adjust to changes in autoload-excludes (bug#5162). + * emacs-lisp/autoload.el (autoload-generate-file-autoloads): + Disregard autoload-excludes. + (update-directory-autoloads): Obey autoload-excludes here instead. + But don't store its contents in no-autoloads and remove entries that + refer to excludes files. + +2009-12-10 Glenn Morris <[email protected]> + + * mail/feedmail.el (top-level): Move require 'mail-utils to start. + (expand-mail-aliases): Define for compiler. + + * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset): + Define for compiler. + + * mail/emacsbug.el (report-emacs-bug): Use whichever send command is + appropriate for the mail-user-agent in use. + +2009-12-09 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-insert-directory): Suppress error messages. + +2009-12-09 Dan Nicolaescu <[email protected]> + + Fix short log parsing and fontification. + * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number. + Fix fontification for the [merge] label. + +2009-12-09 Vivek Dasmohapatra <[email protected]> + + Drop some properties to avoid surprises (bug#5002). + * htmlfontify.el (hfy-ignored-properties): New defcustom. + (hfy-fontify-buffer): Use it. + +2009-12-09 Stefan Monnier <[email protected]> + + Minor cleanup. + * ffap.el (ffap-symbol-value): Replace ffap-soft-value. + Adjust all callers. + (ffap-locate-file): Remove unused arg `dir-ok' and make other + args compulsory. Adjust callers. + (ffap-gopher-at-point): Remove unused var `name'. + + Get rid of the ELCFILES abomination. + * Makefile.in (update-elclist, ELCFILES, compile-last): Remove. + (compile-elcfiles): New phony target. + (compile-main): Compute ELCFILES dynamically. + (compile-clean): New target to remove left-over elc files. + (compile, all): Use it. + +2009-12-09 Kenichi Handa <handa@etlken> + + * international/mule-diag.el: Require help-mode instead of help-fns. + +2009-12-09 Kenichi Handa <[email protected]> + + * international/mule-cmds.el (ucs-names): Supply sufficiently + fine ranges instead of pre-calculating accurate ranges. + Iterate with bigger gc-cons-threshold. + +2009-12-08 Dan Nicolaescu <[email protected]> + + Add support for stashing a snapshot of the current tree. + * vc-git.el (vc-git-stash-snapshot): New function. + (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it. + +2009-12-08 Jose E. Marchesi <[email protected]> + + * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line' + instead of `(beginning|end)-of-line'. + +2009-12-08 Glenn Morris <[email protected]> + + * vc-mtn.el (vc-mtn-print-log): Fix typo in previous. + + * Makefile.in (ELCFILES): Regenerate. + +2009-12-07 Juri Linkov <[email protected]> + + Don't lazy-highlight the comint output in history Isearch mode. + + * comint.el (comint-history-isearch-search): Instead of + `comint-line-beginning-position', use `comint-after-pmark-p' + to check if point if before the process mark, and go to + `process-mark' in this case. + +2009-12-07 Stefan Monnier <[email protected]> + + * textmodes/tex-mode.el (latex-complete) + (latex-indent-or-complete): Remove. + (latex-mode): Set completion-at-point-functions instead. + + Provide a standard completion command and hook it into TAB. + * minibuffer.el (completion-at-point-functions): New var. + (completion-at-point): New command. + * indent.el (indent-for-tab-command): Handle the `complete' behavior. + * progmodes/python.el (python-mode-map): Use completion-at-point. + (python-completion-at-point): Rename from python-partial-symbol and + adjust for use in completion-at-point-functions. + (python-mode): Setup completion-at-point for Python completion. + * emacs-lisp/lisp.el (lisp-completion-at-point): New function + extracted from lisp-complete-symbol. + (lisp-complete-symbol): Use it. + * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode, + setup completion-at-point for Elisp completion. + (emacs-lisp-mode-map, lisp-interaction-mode-map): + Use completion-at-point. + * ielm.el (ielm-map): Use completion-at-point. + (inferior-emacs-lisp-mode): Setup completion-at-point-functions. + * progmodes/sym-comp.el: Move to... + * obsolete/sym-comp.el: Move from progmodes. + +2009-12-07 Eli Zaretskii <[email protected]> + + Prevent save-buffer in Rmail buffers from using the coding-system + of the current message, and from clobbering the encoding mnemonics + in the mode line (Bug#4623). + + * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified + flag, too. + (rmail-message-encoding): New variable. + (rmail-write-region-annotate): Record the encoding of the current + message in rmail-message-encoding. + (rmail-after-save-hook): New function, restores the encoding of + the current message after the message collection is saved. + +2009-12-07 Juri Linkov <[email protected]> + + * progmodes/grep.el (grep-read-files): Use `completing-read' + instead of `read-string'. Set its `collection' arg to + `read-file-name-internal'. (Bug#4301) + +2009-12-07 Juri Linkov <[email protected]> + + Correctly restore original Isearch point. (Bug#4994) + + * isearch.el (isearch-mode): Move `isearch-push-state' after + `(run-hooks 'isearch-mode-hook)'. + (isearch-cancel): When `isearch-push-state-function' is defined, + let-bind `isearch-cmds' to the first state (the last element of + `isearch-cmds') and call `isearch-top-state' (it calls pop-state + function and restores the original point). Otherwise, move point + to `isearch-opoint'. + +2009-12-07 Stefan Monnier <[email protected]> + + * international/mule-cmds.el (ucs-names): Weed out at compile-time the + chars that don't have names, so the table can be built much faster at + run-time. + +2009-12-07 Chong Yidong <[email protected]> + + * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last + change. Suggested by David Kastrup. + + * simple.el (compose-mail): Check for incompatibilities and warn. + (compose-mail-user-agent-warnings): New option. + +2009-12-07 Dan Nicolaescu <[email protected]> + + Support showing a single log entry from vc-annotate. + * vc.el (print-log): Add a new argument: START-REVISION. + (vc-print-log-internal): Add a new optional argument and + pass it to the backend. + (vc-print-log, vc-print-root-log): Adjust callers. + * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a + buffer already displays the requested log entry, use it. + Otherwise display only the log entry in question. + * vc-svn.el (vc-svn-print-log): + * vc-mtn.el (vc-mtn-print-log): + * vc-hg.el (vc-hg-state): + * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION. + (vc-git-show-log-entry): Return t on success. + * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION. + (vc-bzr-show-log-entry): Return t on success. + * vc-rcs.el (vc-rcs-print-log): + * vc-sccs.el (vc-sccs-print-log): + * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it. + +2009-12-07 Dan Nicolaescu <[email protected]> + + * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer): + Add menus to the meta mode. (Bug#5043) + +2009-12-07 Michael Kifer <[email protected]> + + * ediff-init.el (ediff-event-key): Use event-to-character instead of + event-key. + + * ediff.el (ediff-buffers-internal): Add unwind-protect. + +2009-12-07 Michael Albinus <[email protected]> + + Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël + Berbain <[email protected]>. + + * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$' + characters. + (tramp-initial-end-of-output): New defconst. + (tramp-methods, tramp-find-shell) + (tramp-open-connection-setup-interactive-shell) + (tramp-maybe-open-connection): Use it. + (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle + existence of `#' and `$'. + + * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use + `tramp-initial-end-of-output'. + +2009-12-07 Dan Nicolaescu <[email protected]> + + Get the background mode from the terminal for xterm, and set + faces accordingly. + * term/xterm.el (xterm-set-background-mode): New function. + (terminal-init-xterm): Use it in case xterm supports background + color queries. Recompute faces after getting the background + color. + +2009-12-07 Ulrich Mueller <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version + number comment back on its own line, for easier parsing. + +2009-12-07 Stefan Monnier <[email protected]> + + Make it work for non-file buffers (bug#5102). + * doc-view.el (doc-view-current-cache-dir): + Use doc-view-buffer-file-name rather than buffer-file-name. + (doc-view-mode): Use buffer-name when buffer-file-name is nil. + +2009-12-06 Óscar Fuentes <[email protected]> + + * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the + author field is too short. + +2009-12-06 Dan Nicolaescu <[email protected]> + + * vc-git.el (vc-git-print-log): Handle a limit argument. + Display the short log in graph form and with labels. + (vc-git-log-view-mode): Handle labels. + + Make vc-revert change VC state from 'added to 'unregistered. + * vc-git.el (vc-git-revert): Call git reset first. + +2009-12-06 Ulf Jasper <[email protected]> + + * net/newst-backend.el, net/newst-plainview.el: + * net/newst-reader.el, net/newst-ticker.el: + * net/newst-treeview.el, net/newsticker.el: + Require/provide newst-... (instead of newsticker-...). (Bug#5096) + +2009-12-06 Chong Yidong <[email protected]> + + * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too. + + * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation. + Handle empty author field (Bug#4144). Suggested by Óscar Fuentes. + (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line): + Update annotation regexp. + + * simple.el (beginning-of-visual-line): Constrain to field + boundaries (Bug#5106). + +2009-12-06 Ulf Jasper <[email protected]> + + * xml.el (xml-substitute-numeric-entities): Move + newsticker--decode-numeric-entities in newst-backend.el to + xml-substitute-numeric-entities in xml.el. (Bug#5008) + * net/newst-backend.el (newsticker--parse-generic-feed) + (newsticker--parse-generic-items) + (newsticker--decode-numeric-entities): Move + newsticker--decode-numeric-entities in newst-backend.el to + xml-substitute-numeric-entities in xml.el. (Bug#5008) + +2009-12-06 Daniel Colascione <[email protected]> + + * progmodes/js.el (js--js-not): Add null to the list of values. + +2009-12-06 Chong Yidong <[email protected]> + + * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword. + +2009-12-06 Roland Winkler <[email protected]> + + * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry + delimiter if it is at the end of the current line. + (bibtex-generate-url-list): Fix docstring. + +2009-12-06 Stefan Monnier <[email protected]> + + * minibuffer.el (minibuffer-complete-and-exit): Don't replace the + minibuffer's content with itself. + Fold the confirm-after-completion case into the `confirm' case. + (completion-pcm-word-delimiters): Add : and / to the delimiters. + +2009-12-06 Kevin Ryde <[email protected]> + + * ffap.el (ffap-rfc-path): Make this a defcustom since + `ffap-rfc-directories' is also a defcustom. (Bug#4514.) + + * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode + manuals, similar to existing setup for help-mode. (Bug#3913.) + +2009-12-05 Juri Linkov <[email protected]> + + Save and restore dired buffer's point positions too. (Bug#4880) + + * dired.el (dired-save-positions): Return in the first element + buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT). + Doc fix. + (dired-restore-positions): First restore buffer's position. + While restoring window's positions, check if window still displays + the original buffer. + +2009-12-05 Chong Yidong <[email protected]> + + * bindings.el (complete-symbol): Call semantic-ia-complete-symbol + if possible. + + * cedet/semantic/ia.el (semantic-ia-complete-symbol): + Make argument optional. + + * shell.el (shell): Require ansi-color (Bug#5113). + + * ansi-color.el (ansi-color-for-comint-mode): Default to t. + + * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925). + +2009-12-05 Alan Mackenzie <[email protected]> + + * progmodes/cc-mode.el (c-before-hack-hook) + (c-postprocess-file-styles): Revert change 2009-07-18T21:03:[email protected] to permit + `c-file-style' to work again. This reversion restores the current + software to its state in Emacs 23.1. (Bug#4146) + +2009-12-05 Kevin Ryde <[email protected]> + + * textmodes/sgml-mode.el (sgml-lexical-context): Recognise + comment-start-skip to comment-end-skip as comment (Bug#4781). + +2009-12-05 Juri Linkov <[email protected]> + + * info.el (Info-find-node-2): Set `Info-current-subfile' to nil + for virtual nodes. (Bug#4147) + (Info-find-node-2): Set `Info-current-node-virtual' to nil + when moving from a virtual node. + (Info-mode-menu): Add `Info-virtual-index' to the menu. + (Info-mode): Add `Info-virtual-index' to the docstring. + +2009-12-05 Eric Ludlam <[email protected]> + + * cedet/semantic/bovine/c.el (semantic-c-describe-environment): + Describe project macro symbols. + + * cedet/semantic/complete.el (semantic-complete-do-completion): + Don't call semantic-collector-current-exact-match. + + * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of + ede-objects as targets. + + * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output + a target's object list even if compiler vars are already in the + Makefile. + + * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the + list of headers producing necessary macros. + +2009-12-05 Roland Winkler <[email protected]> + + * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep + track of the buffer position of the end of a BibTeX entry as this + position may change during reformatting. + (bibtex-format-entry): Remove whitespace before processing + numerical fields so that we recognize the latter properly. + (bibtex-reformat): Do not use push which changes the global value + of bibtex-entry-format. + (bibtex-field-braces-alist, bibtex-field-strings-alist) + (bibtex-field-re-init): Replace only space characters by regexp + for whitespace. + (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring. + (bibtex-initialize): Also update bibtex-strings. + (bibtex-kill-field): Preserve white space at end of entry. + (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill): + Update bibtex-reference-keys. + +2009-12-05 Stefan Monnier <[email protected]> + + * minibuffer.el (completion-pcm--merge-try): Also consider placing + point after a star, if that's the only place where modifications can + make progress. + +2009-12-05 Dan Nicolaescu <[email protected]> + + * vc-dir.el (vc-dir): Use the correct markup for showing keymaps + in docstrings. + +2009-12-04 Juri Linkov <[email protected]> + + * proced.el (proced): Call `(proced-update t)' to update process + information instead of only running proced-post-display-hook. + (proced-send-signal): Add a leading space to the buffer name + " *Marked Processes*" to make this buffer ephemeral. + +2009-12-04 Juri Linkov <[email protected]> + + * dired.el (dired-auto-revert-buffer): New defcustom. + (dired-internal-noselect): Use it. + +2009-12-04 Juri Linkov <[email protected]> + + Change roles of modes and functions in image-mode.el (Bug#5062). + + * image-mode.el: Replace `image-mode-maybe' with `image-mode' + in `auto-mode-alist'. + (image-mode-previous-major-mode): New variable. + (image-minor-mode-map): Rename from `image-mode-text-map'. + (image-mode): Move graceful error-handling code from + `image-minor-mode' to here. On errors call `image-mode-as-text'. + (image-minor-mode): Remove all image-handling code. + Replace `image-mode-text-map' with `image-minor-mode-map'. + Check for `image-type' in mode-line format string. + (image-mode-maybe): Make obsolete with an alias to `image-mode'. + (image-mode-as-text): New function with most code from + `image-mode-maybe'. + (image-toggle-display-text): Move code that removes image + properties from `image-toggle-display' to here. + (image-toggle-display-image): New function with code that adds + image properties copied from `image-toggle-display'. + (image-toggle-display): Remove most code with leaving only code + that toggles between `image-mode-as-text' and `image-mode'. + +2009-12-04 Ulf Jasper <[email protected]> + + * net/newst-treeview.el + (newsticker--treeview-list-highlight-start): Restored call to + save-excursion: Selected item was stuck. + (newsticker--treeview-list-select): New. + (newsticker--treeview-item-show-text) + (newsticker--treeview-item-show) + (newsticker--treeview-item-update): Use new + newsticker-treeview-item-mode. + (newsticker-treeview-update): Keep current item. + (newsticker-treeview-next-new-or-immortal-item): Doc change. + (newsticker--treeview-first-feed): Doc change. + (newsticker-treeview-list-menu) + (newsticker-treeview-item-menu): Added menu entries. + (newsticker-treeview-item-mode): New. + + * net/newst-backend.el (newsticker-customize): Delete other + windows. + +2009-12-04 Sam Steingold <[email protected]> + + * log-view.el (log-view-mode-map): "q" calls quit-window, + like in all the other non-self-insert buffers. + +2009-12-04 Stefan Monnier <[email protected]> + + Minor cleanup. + * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's + key decoding rather than do it manually via last-input-event + + ascii-character. + (term-exec): Use delete-and-extract-region. + (term-handle-ansi-terminal-messages): Remove unused var `end'. + (term-process-pager): Remove unused var `i'. + (term-dynamic-simple-complete): Make obsolete. + (serial-update-config-menu): Remove unused vars `y' and `str'. + (term-update-mode-line): Remove unused var `temp'. + +2009-12-03 Dan Nicolaescu <[email protected]> + + Limit the number of log entries displayed by default. + * vc.el (vc-print-log-internal): Fix check for limit-unsupported. + (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not + using a prefix argument. + +2009-12-03 Glenn Morris <[email protected]> + + * progmodes/idlwave.el (class): Restore still useful declaration. + +2009-12-03 Alan Mackenzie <[email protected]> + + Enhance `c-parse-state' to run efficiently in "brace deserts". + + * progmodes/cc-mode.el (c-basic-common-init): + Call c-state-cache-init. + (c-neutralize-syntax-in-and-mark-CPP): Rename from + c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by + placing `category' properties value 'c-cpp-delimiter at its boundaries. + + * progmodes/cc-langs.el (c-before-font-lock-function): + c-extend-and-neutralize-syntax-in-CPP has been renamed + c-neutralize-syntax-in-and-mark-CPP. + + * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets + with `category' properties now, not `syntax-table' ones. + + * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new + enhanced (but slower) version of c-end-of-macro that won't land + inside a literal or on another awkward character. + (c-state-cache-too-far, c-state-cache-start) + (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache) + (c-state-nonlit-pos-cache-limit, c-state-point-min) + (c-state-point-min-lit-type, c-state-point-min-lit-start) + (c-state-min-scan-pos, c-state-brace-pair-desert) + (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and + buffer local variables. + (c-state-literal-at, c-state-lit-beg) + (c-state-cache-non-literal-place, c-state-get-min-scan-pos) + (c-state-mark-point-min-literal, c-state-cache-top-lparen) + (c-state-cache-top-paren, c-state-cache-after-top-paren) + (c-get-cache-scan-pos, c-get-fallback-scan-pos) + (c-state-balance-parens-backwards, c-parse-state-get-strategy) + (c-renarrow-state-cache) + (c-append-lower-brace-pair-to-state-cache) + (c-state-push-any-brace-pair, c-append-to-state-cache) + (c-remove-stale-state-cache) + (c-remove-stale-state-cache-backwards, c-state-cache-init) + (c-invalidate-state-cache-1, c-parse-state-1) + (c-invalidate-state-cache): New defuns/defmacros/defsubsts. + (c-parse-state): Enhance and refactor. + (c-debug-parse-state): Amend to deal with all the new variables. + + * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren) + (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren): + modify to use category text properties rather than syntax-table ones. + (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts + to switch off/on the syntactic paren property of C++ template + delimiters using the category property. + (c-with-<->-as-parens-suppressed): Macro to invoke code with + template delims suppressed. + (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters): + New constant/macros which apply category properties to the start + and end of preprocessor constructs. + (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which + "comment out" the syntactic value of characters in preprocessor + constructs. + (c-with-cpps-commented-out) + (c-with-all-but-one-cpps-commented-out): Macros to invoke code + with characters in all or all but one preprocessor constructs + "commented out". + +2009-12-03 Roland Winkler <[email protected]> + + * proced.el (proced-filter-alist): Use regexp-quote. + +2009-12-03 Michael Albinus <[email protected]> + + Cleanup. + * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete. + (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading + arguments. Expand `default-directory'. + + * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for + the benefit of returning an expanded localname. + (tramp-tramp-file-p): Handle the case NAME is not a string. + +2009-12-03 Dan Nicolaescu <[email protected]> + + Add support for bzr shelve/unshelve. + * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map) + (vc-bzr-extra-menu-map): New variables. + (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve) + (vc-bzr-shelve-apply, vc-bzr-shelve-list) + (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point) + (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions. + (vc-bzr-dir-extra-headers): Display shelves. + + * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better. + +2009-12-03 Stefan Monnier <[email protected]> + + * textmodes/bibtex.el (bibtex-complete-internal): + Use completion-in-region. + (bibtex-text-in-field-bounds): Remove unused var `opoint'. + +2009-12-03 Dan Nicolaescu <[email protected]> + + Support applying stashes. Improve UI. + * vc-git.el (vc-git-dir-extra-headers): Add tooltips. + (vc-git-stash-apply, vc-git-stash-pop) + (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point) + (vc-git-stash-menu): New functions. + (vc-git-stash-menu-map): New variable. + (vc-git-stash-map): Add bindings to popup a menu and to apply stashes. + +2009-12-03 Glenn Morris <[email protected]> + + * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare. + (vc-print-log-internal): Fix previous change. + (vc-revert): Correct pluralization. + +2009-12-03 Stefan Monnier <[email protected]> + + * progmodes/make-mode.el (makefile-special-targets-list): No need for + it to be an alist any more. + (makefile-complete): Use completion-in-region. + + * progmodes/octave-mod.el (octave-complete-symbol): + Use completion-in-region. + + Misc cleanup. + * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'. + (idlwave-code-abbrev, idlwave-display-user-catalog-widget) + (idlwave-complete-class): Don't quote lambda. + (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table) + (idlwave-mode-map): Move initialization into declaration. + (idlwave-action-and-binding): Use backquotes. + (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer): + Simplify. + (idlwave-is-pointer-dereference): Remove unused var `pos'. + (idlwave-xml-create-rinfo-list): Remove unused var `entry'. + (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new', + `parts', and `all-parts'. + (idlwave-xml-create-sysvar-alist): Remove unused var `fields'. + (idlwave-convert-xml-system-routine-info): Remove unused string + `version-string'. + (idlwave-display-user-catalog-widget): Use dolist. + (idlwave-scanning-lib): Declare dynamically-scoped var. + (idlwave-scan-library-catalogs): Remove unused var `flags'. + (completion-highlight-first-word-only): Declare to silence bytecomp. + (idlwave-popup-select): Tighten scope of `resp'. + (idlwave-find-struct-tag): Remove unused var `beg'. + (idlwave-after-load-rinfo-hook): Declare. + (idlwave-sintern-class-info): Remove unused var `taglist'. + (idlwave-find-class-definition): Remove unused var `list'. + (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'. + (idlwave-what-module-find-class): Remove unused var `classes'. + +2009-12-03 Juanma Barranquero <[email protected]> + + * progmodes/pascal.el: Require CL when compiling (for lexical-let). + +2009-12-03 Stefan Monnier <[email protected]> + + * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the + buffers visited. Remove redundant current-buffer-saving. + +2009-12-02 Stefan Monnier <[email protected]> + + Use completion-in-buffer and remove uses of dynamic scoping. + * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred) + (pascal-buffer-to-use, pascal-flag): Don't declare. + (pascal-func-completion, pascal-type-completion, pascal-var-completion) + (pascal-get-completion-decl, pascal-keyword-completion): + Add `pascal-str' argument, save-excursion, + return the found completions, and don't filter with pascal-pred. + (pascal-completion-cache): New var. + (pascal-completion): Don't switch buffer any more (it was never + necessary). Don't save-excursion any more (it's done by the called + subroutines). Use a cache to avoid redundant computations. + Use complete-with-action rather than pascal-completion-response and + let it apply the predicate as well. + (pascal-complete-word): Use completion-in-buffer when + pascal-toggle-completions is nil. + (pascal-show-completions): Don't bind pascal-buffer-to-use since it's + not used any more. + (pascal-comp-defun): Don't change buffer any more. + Use complete-with-action rather than pascal-completion-response and + let it apply the predicate as well. + (pascal-goto-defun): Change buffer before calling pascal-comp-defun + when neded. + +2009-12-02 Kenichi Handa <[email protected]> + + * language/indian.el: Include ZWJ and ZWNJ in the patterns to + shape for all Indic scripts. + +2009-12-02 Stefan Monnier <[email protected]> + + Use completion-in-buffer. + * wid-edit.el (widget-field-text-end): New function. + (widget-field-value-get): Use it. + (widget-string-complete, widget-file-complete) + (widget-color-complete): Use it and completion-in-region. + (widget-complete): Don't narrow the buffer. + +2009-12-02 Glenn Morris <[email protected]> + + * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282) + (rmail-select-summary): Use rmail-pop-to-buffer. + * mail/rmailsum.el: Replace all pop-to-buffer calls with + rmail-pop-to-buffer, to prevent horizontal splits. + + * calendar/diary-lib.el (diary-list-entries): Replace superfluous + save-excursion with save-current-buffer. + Widen before searching. (Bug#5093) + (diary-list-sexp-entries): Remove superfluous save-excursion. + +2009-12-02 Michael Welsh Duggan <[email protected]> + + * woman.el (woman-make-bufname): Handle man-pages with "." in the + name. (Bug#5038) + +2009-12-02 Andreas Politz <[email protected]> (tiny change) + + * ido.el (ido-file-internal): Handle filenames at point that do + not have a directory part. (Bug#5049) + +2009-12-02 Juanma Barranquero <[email protected]> + + * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist) + (mpc-songs-jump-to, mpc-resume): Doc fixes. + +2009-12-01 Rob Riepel <[email protected]> + + * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message. + (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message + any more. + +2009-12-01 Stefan Monnier <[email protected]> + + * comint.el (comint-insert-input): Ignore clicks to the right of + the field. Reported by Bob Nnamtrop <[email protected]>. + + * vc.el (vc-print-log-internal): Don't wait for the process to + terminate before setting up the major mode. + + * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just + in case. + + * pcomplete.el (pcomplete-std-complete): Don't try to complete past + the last element. + + * simple.el (normal-erase-is-backspace-mode): Fix thinko in message. + +2009-12-01 Glenn Morris <[email protected]> + + * window.el (window--display-buffer-2): Fix previous changes. + +2009-12-01 Chong Yidong <[email protected]> + + * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes. + +2009-12-01 Glenn Morris <[email protected]> + + * Makefile.in (ELCFILES): Add mpc.elc. + +2009-12-01 Stefan Monnier <[email protected]> + + * mpc.el: New file. + +2009-12-01 Glenn Morris <[email protected]> + + * window.el (window-to-use): Define for compiler. + + * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message + consistent with others (no final period). + + * mail/rmailmm.el (rmail-mime-handle): Doc fix. + (rmail-mime-show): Downcase the encoding. (Bug#5070) + +2009-12-01 Dan Nicolaescu <[email protected]> + + Make vc-print-log buttons work. + * log-view.el (log-view-mode-map): Inherit from widget-keymap. + +2009-11-30 Ryan C. Thompson <[email protected]> (tiny change) + + * savehist.el (savehist-autosave-interval): Allow setting to nil + through customize. (Bug#5056) + +2009-11-30 Juanma Barranquero <[email protected]> + + Fix references to jit-lock properties. + * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): + Refer to jit-lock-defer-multiline, not jit-lock-multiline. + (perl-font-lock-special-syntactic-constructs): + Quote jit-lock-defer-multiline property. + +2009-11-30 Dan Nicolaescu <[email protected]> + + * vc-git.el (vc-git-registered): Call vc-git-root only once. + +2009-11-30 Juri Linkov <[email protected]> + + * misearch.el (multi-isearch-search-fun): Always provide a non-nil + value `buffer' of `multi-isearch-next-buffer-current-function'. + Use `(current-buffer)' when `buffer' is nil. + (multi-isearch-next-buffer-from-list): Don't fallback to + `(current-buffer)' when `buffer' is nil. (Bug#4947) + +2009-11-30 Juri Linkov <[email protected]> + + * misearch.el (multi-isearch-read-buffers): Move canonicalization + of buffers with `get-buffer' to `multi-isearch-buffers'. + (multi-isearch-buffers, multi-isearch-buffers-regexp): + Canonicalize BUFFERS with `get-buffer'. Doc fix. + (multi-isearch-files, multi-isearch-files-regexp): Canonicalize + FILES with `expand-file-name' converting relative file names + to absolute. Doc fix. (Bug#4727) + +2009-11-30 Juri Linkov <[email protected]> + + * misearch.el (multi-isearch-read-buffers) + (multi-isearch-read-matching-buffers): New functions. + (multi-isearch-buffers, multi-isearch-buffers-regexp): + Use them in the `interactive' spec. Doc fix. + (multi-isearch-read-files, multi-isearch-read-matching-files): + New functions. + (multi-isearch-files, multi-isearch-files-regexp): + Use them in the `interactive' spec. Doc fix. (Bug#4725) + +2009-11-30 Juri Linkov <[email protected]> + + * doc-view.el (doc-view-continuous): + Rename from `doc-view-continuous-mode'. + (doc-view-menu): Move "Toggle display" to the top. + Add submenu "Continuous" with radio buttons "Off"/"On" + and "Save as Default". + (doc-view-scroll-up-or-next-page) + (doc-view-scroll-down-or-previous-page) + (doc-view-next-line-or-next-page) + (doc-view-previous-line-or-previous-page): Rename + `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896) + +2009-11-30 Juri Linkov <[email protected]> + + * comint.el (comint-mode-map): Rebind `M-r' from + `comint-previous-matching-input' to + `comint-history-isearch-backward-regexp'. + Unbind `M-s' to allow global key binding `M-s'. + Add menu items for `comint-history-isearch-backward' and + `comint-history-isearch-backward-regexp'. (Bug#3746) + +2009-11-30 Juri Linkov <[email protected]> + + * replace.el (perform-replace): Let-bind recenter-last-op to nil. + For def=recenter, replace `recenter' with `recenter-top-bottom' + that is called with `this-command' and `last-command' let-bound + to `recenter-top-bottom'. When the last `def' was not `recenter', + set `recenter-last-op' to nil. (Bug#4981) + +2009-11-30 Stefan Monnier <[email protected]> + + Minor cleanup and simplification. + * filecache.el (file-cache-add-directory) + (file-cache-add-directory-recursively) + (file-cache-add-from-file-cache-buffer) + (file-cache-delete-file-regexp, file-cache-delete-directory) + (file-cache-files-matching-internal, file-cache-display): Use dolist. + (file-cache-temp-minibuffer-message): Delete function. + (file-cache-minibuffer-complete): Use minibuffer-message instead. + + * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs): + Don't signal an error when bumping into EOB in tr, s, or y. + +2009-11-29 Juri Linkov <[email protected]> + + * startup.el (fancy-about-text): Fix wording of Guided Tour. + (Bug#4960) + + * descr-text.el (describe-char-unidata-list): Use lowercase name + for "Unicode name" like in other tags. + +2009-11-29 Juri Linkov <[email protected]> + + * ediff-util.el (ediff-minibuffer-with-setup-hook): + New compatibility macro. + (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'. + +2009-11-29 Juri Linkov <[email protected]> + + Add defcustom to define the cycling order of `recenter-top-bottom'. + (Bug#4981) + + * window.el (recenter-last-op): Doc fix. + (recenter-positions): New defcustom. + (recenter-top-bottom): Rewrite to use `recenter-positions'. + (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'. + +2009-11-29 Michael Albinus <[email protected]> + + Improve integration of Tramp and ange-ftp in eshell. + + * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias. + (eshell/su): Flatten args. Apply better args parsing. Use "cd". + (eshell/sudo): Flatten args. Let-bind `default-directory'. + + * eshell/esh-util.el (top): Require also Tramp when compiling. + (eshell-directory-files-and-attributes): Check for FTP remote + connection. + (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format', + `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'. + (eshell-file-attributes): Handle ".". Return `entry'. + + * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'. + (ange-ftp-directory-files-and-attributes) + (ange-ftp-real-directory-files-and-attributes): New defuns. + + * net/tramp.el (tramp-maybe-open-connection): Open the remote + shell with "exec" when possible. This prevents trailing prompts + in `start-file-process'. + +2009-11-28 Stefan Monnier <[email protected]> + + Try and remove assumptions about point-min==1. + * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1. + (rng-compute-mode-line-string): Show the validation percentage in + terms of the narrowed text, not the widened text. + (rng-do-some-validation): Don't catch internal errors when debugging. + (rng-first-error): Simplify. + (rng-after-change-function): Remove work around. AFAIK the bug has + been fixed a while ago. + + * image-mode.el (image-minor-mode): Exit more gracefully when the image + cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET). + + * man.el (Man-completion-table): Make it easier to enter "<sec> <name>". + + * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since + `cd' doesn't always do it for us (bug#5067). + + * pcomplete.el (pcomplete-entries): Revert change installed mistakenly + on 2009-10-25 as part of some other change (bug#5067). + +2009-11-27 Stefan Monnier <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type + `suspicious'. + (byte-compile-warnings): Use byte-compile-warning-types. + (byte-compile-save-excursion): Warn about use of set-buffer right + after save-excursion. + + * progmodes/gud.el (gud-basic-call): Don't only save the buffer but + the excursion as well. + +2009-11-27 Michael Albinus <[email protected]> + + * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns, + providing a Tramp related implementation of "su" and "sudo". + (eshell-unix-initialize): Add "su" and "sudo". + +2009-11-27 Daiki Ueno <[email protected]> + + * net/socks.el (socks-send-command): Convert binary request to + unibyte before sending. This fixes mishandling of some port + numbers such as 129. + +2009-11-27 Stefan Monnier <[email protected]> + + * help.el (describe-bindings-internal): Remove `interactive'. + + * man.el (Man-completion-table): Trim a terminating "(". + Remove the space between name page a section. + Add the command's description on the `help-echo' property. + Remove `process-connection-type' binding since it's unused by + call-process. + Provide completion for the "<section> <name>" format as well. + (Man-default-man-entry): Remove spurious var shadowing the argument. + +2009-11-26 Kevin Ryde <[email protected]> + + * log-view.el: Add "Keywords: tools", since its other keywords + aren't in finder-known-keywords, and following vc.el. + + * sha1.el (sha1-string-external): default-directory "/" in case + otherwise non-existent. process-connection-type pipe for touch of + efficiency recommended by elisp manual. (An aside in Bug#3911.) + +2009-11-26 Stefan Monnier <[email protected]> + + Misc coding convention cleanups. + * htmlfontify.el (hfy-init-kludge-hook): Rename from + hfy-init-kludge-hooks. + (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at) + (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps) + (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist + and push. + (hfy-slant, hfy-weight): Use tables rather than code. + (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor) + (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'. + (hfy-face-attr-for-class): Initialize `face-spec' directly. + (hfy-face-to-css): Remove `nconc' with single arg. + (hfy-p-to-face-lennart): Use `or'. + (hfy-face-at): Hoist common code. Remove spurious quotes in `case'. + (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce. + (hfy-compile-stylesheet, hfy-merge-adjacent-spans) + (hfy-compile-face-map, hfy-parse-tags-buffer): Use push. + (hfy-force-fontification): Use run-hooks. + +2009-11-26 Vivek Dasmohapatra <[email protected]> + + Various minor fixes. + * htmlfontify.el (hfy-default-header): Add toggle_invis since + Javascript belongs in the header, not the body. + (hfy-javascript): Remove. + (hfy-fontify-buffer): Don't insert it any more. + (hfy-face-at): Handle (face0 face1 face2) style face properties. + Fix bug in invis handling when there were no invis props in a chunk. + +2009-11-26 Stefan Monnier <[email protected]> + + * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous. + +2009-11-26 Dan Nicolaescu <[email protected]> + + * finder.el (finder-mode-map): Add a menu. + +2009-11-26 Michael McNamara <[email protected]> + + * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and + "unsigned" structs. + + (verilog-leap-to-head, verilog-backward-token): Handle "disable + fork" statement better. + +2009-11-26 Wilson Snyder <[email protected]> + + * progmodes/verilog-mode.el (verilog-auto-insert-lisp) + (verilog-delete-auto, verilog-delete-empty-auto-pair) + (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file. + Reported by Clay Douglass. + + (verilog-auto-inst, verilog-auto-star-safe) + (verilog-delete-auto-star-implicit, verilog-read-sub-decls): + Fix removing "// Interfaces" when saving .* expansions. Reported by + Pierre-David Pfister. + +2009-11-26 Glenn Morris <[email protected]> + + * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside + the scope. + +2009-11-25 Johan Bockgård <[email protected]> + + * vc-annotate.el (vc-annotate-revision-previous-to-line): + Really use previous revision. + +2009-11-25 Kevin Ryde <[email protected]> + + * man.el (Man-completion-table): default-directory "/" in case + doesn't otherwise exist. process-environment COLUMNS=999 so as + not to truncate long names. process-connection-type pipe to avoid + any chance of hitting the pseudo-tty TIOCGWINSZ. + (man): completion-ignore-case t for friendliness and since man + itself is case-insensitive on the command line. + Further to Bug#3717. + + * arc-mode.el: Add "Keywords: files", so the details in its + commentary can be reached from finder-by-keyword. + * textmodes/dns-mode.el: Add "Keywords: comm". It's only an + editing mode, but it's comms related and sgml-mode.el has "comm" + on that basis too. + * textmodes/bibtex-style.el: Add "Keywords: tex". + * international/isearch-x.el, international/ja-dic-cnv.el: + * international/ja-dic-utl.el, international/kkc.el: + Add "Keywords: i18n", so they can be reached from finder-by-keyword. + +2009-11-25 Juri Linkov <[email protected]> + + * man.el (Man-completion-table): Modify regexp to include + section names to completion strings. (Bug#3717) + +2009-11-25 Juri Linkov <[email protected]> + + Search recursively in gzipped files. (Bug#4982) + + * progmodes/grep.el (grep-highlight-matches): Add new options + `always' and `auto'. Doc fix. + (grep-process-setup): Check `grep-highlight-matches' for + `auto-detect' to determine the need to compute grep defaults. + Move Windows/DOS specific --colors settings handling + to `grep-compute-defaults'. Check `grep-highlight-matches' + to get the value of "--color=". + (grep-compute-defaults): Compute `grep-highlight-matches' when it + has the value `auto-detect'. Move Windows/DOS specific settings + from `grep-process-setup'. + (zrgrep): New command with alias `rzgrep'. + +2009-11-25 Juri Linkov <[email protected]> + + * doc-view.el (doc-view-mode): Set buffer-local `view-read-only' + to nil instead of switching off view-mode. (Bug#4896) + +2009-11-25 Juri Linkov <[email protected]> + + Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896) + + * mwheel.el (mwheel-scroll-up-function) + (mwheel-scroll-down-function): New defvars. + (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of + `scroll-up', and `mwheel-scroll-down-function' instead of + `scroll-down'. + + * doc-view.el (doc-view-scroll-up-or-next-page) + (doc-view-scroll-down-or-previous-page): Add optional ARG. + Use this ARG in the call to image-scroll-up/image-scroll-down. + Change `interactive' spec to "P". Goto next/previous page only + when `doc-view-continuous-mode' is non-nil or ARG is nil (for the + SPC/DEL case). Doc fix. + (doc-view-next-line-or-next-page) + (doc-view-previous-line-or-previous-page): Rename arg to ARG + for consistency. + (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to + `doc-view-scroll-up-or-next-page', and buffer-local + `mwheel-scroll-down-function' to + `doc-view-scroll-down-or-previous-page'. + +2009-11-25 Juri Linkov <[email protected]> + + Provide additional default values (directories at other Dired + windows) via M-n in the minibuffer of some Dired commands. + + * dired-aux.el (dired-diff, dired-compare-directories) + (dired-do-create-files): Use `dired-dwim-target-defaults' to set + `minibuffer-default' in `minibuffer-with-setup-hook'. + (dired-dwim-target-directory): Find a window that displays Dired + buffer instead of failing when the next window is not Dired. + Use `get-window-with-predicate' to find for the next Dired window. + (dired-dwim-target-defaults): New function. + + * ediff-util.el (ediff-read-file-name): + Use `dired-dwim-target-defaults' to set `minibuffer-default' + in `minibuffer-with-setup-hook'. + +2009-11-25 Juri Linkov <[email protected]> + + Provide additional default values (file name at point or at the + current Dired line) via M-n for file reading minibuffers. (Bug#5010) + + * minibuffer.el (read-file-name-defaults): New function. + (read-file-name): Reset `minibuffer-default' to nil when + it duplicates initial input `insdef'. + Bind `minibuffer-default-add-function' to lambda that + calls `read-file-name-defaults' in `minibuffer-selected-window'. + (minibuffer-insert-file-name-at-point): New command. + + * files.el (file-name-at-point-functions): New defcustom. + (find-file-default): Remove defvar. + (find-file-read-args): Don't use `find-file-default'. + Move `minibuffer-with-setup-hook' that sets `minibuffer-default' + to `read-file-name'. + (find-file-literally): Use `read-file-name' with + `confirm-nonexistent-file-or-buffer'. + + * ffap.el (ffap-guess-file-name-at-point): New autoloaded function. + + * dired.el (dired-read-dir-and-switches): + Move `minibuffer-with-setup-hook' that sets `minibuffer-default' + to `read-file-name'. + (dired-file-name-at-point): New function. + (dired-mode): Add hook `dired-file-name-at-point' to + `file-name-at-point-functions'. + +2009-11-25 Stefan Monnier <[email protected]> + + Really make the *Completions* window soft-dedicated (bug#5030). + * window.el (window--display-buffer-2): Add `dedicated' argument. + (display-buffer): Pass it when needed so the dedicated flag is set + after calling set-window-buffer, which would otherwise reset it. + +2009-11-25 Stefan Monnier <[email protected]> + + * progmodes/meta-mode.el (meta-complete-symbol): + * progmodes/etags.el (complete-tag): + * mail/mailabbrev.el (mail-abbrev-complete-alias): + Use completion-in-region. + + * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window. + (dabbrev-completion): Use completion-in-region. + (dabbrev--abbrev-at-point): Simplify regexp. + + * abbrev.el (abbrev--before-point): Use word-motion functions + if :regexp is not specified (bug#5031). + + * subr.el (string-prefix-p): New function. + + * man.el (Man-completion-cache): New var. + (Man-completion-table): Use it. + + * vc.el (vc-print-log-internal): Make `limit' optional for better + compatibility (e.g. with vc-annotate.el). + +2009-11-24 Kevin Ryde <[email protected]> + + * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): + Build value with regexp-opt instead of explicit joining loop. (Bug#4927) + + * emacs-lisp/elint.el (elint-add-required-env): Better error message + when .el source file not found or other error. + +2009-11-24 Markus Triska <[email protected]> + + * linum.el (linum-update-window): Ignore intangible (bug#4996). + +2009-11-24 Stefan Monnier <[email protected]> + + Handle the [back] button properly (bug#4979). + * descr-text.el (describe-text-properties): Add a `buffer' argument. + Use help-setup-xref, help-buffer, and with-help-window. + (describe-char): Add `buffer' argument. + Pass proper command to help-setup-xref. Don't meddle with + help-xref-stack-item directly. + (describe-text-category): Use with-help-window and help-buffer. + + * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode + for the displayed buffer (bug#4887). + + * man.el (Man-completion-table): New function. + (man): Use it. + +2009-11-24 David Reitter <[email protected]> + + * vc-git.el (vc-git-registered): Use checkout directory (where + .git is) rather than the file's directory and a relative path spec + to work around a bug in git. + +2009-11-24 Michael Albinus <[email protected]> + + Improve handling of processes on remote hosts. + + * eshell/esh-util.el (eshell-path-env): New defvar. + (eshell-parse-colon-path): New defun. + (eshell-file-attributes): Use `eshell-parse-colon-path'. + + * eshell/esh-ext.el (eshell-search-path): + Use `eshell-parse-colon-path'. + (eshell-remote-command): Remove argument HANDLER. + (eshell-external-command): Check for FTP remote connection. + + * eshell/esh-proc.el (eshell-gather-process-output): + Use `file-truename', in order to start also symlinked files. + Apply `start-file-process' instead of `start-process'. + Shorten `command' to the local file name part. + + * eshell/em-cmpl.el (eshell-complete-commands-list): + Use `eshell-parse-colon-path'. + + * eshell/em-unix.el (eshell/du): Check for FTP remote connection. + + * net/tramp.el (tramp-eshell-directory-change): New defun. Add it + to `eshell-directory-change-hook'. + +2009-11-24 Tassilo Horn <[email protected]> + + * doc-view.el (doc-view-mode): Switch off view-mode explicitly, + because it could be enabled automatically if view-read-only is non-nil. + +2009-11-24 Michael Kifer <[email protected]> + + * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change + made on 2009-11-22. + +2009-11-24 Glenn Morris <[email protected]> + + * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to + deleted variable bookmark-bmenu-bookmark-column. + + * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode): + Move after definition of global-semantic-idle-tag-highlight-mode. + +2009-11-24 Stefan Monnier <[email protected]> + + * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting. + +2009-11-23 Ken Brown <[email protected]> (tiny change) + + * net/browse-url.el (browse-url-filename-alist): On Windows, add + two slashes to the "file:" prefix. + (browse-url-file-url): De-munge Cygwin filenames before passing + them to Windows browser. + (browse-url-default-windows-browser): Use call-process. + +2009-11-23 Juri Linkov <[email protected]> + + Implement DocView Continuous mode. (Bug#4896) + * doc-view.el (doc-view-continuous-mode): New defcustom. + (doc-view-mode-map): Bind C-n/<down> to + `doc-view-next-line-or-next-page', C-p/<up> to + `doc-view-previous-line-or-previous-page'. + (doc-view-next-line-or-next-page) + (doc-view-previous-line-or-previous-page): New commands. + +2009-11-23 Juri Linkov <[email protected]> + + Implement Isearch in comint input history. (Bug#3746) + * comint.el (comint-mode): Add `comint-history-isearch-setup' to + `isearch-mode-hook'. + (comint-history-isearch): New defcustom. + (comint-history-isearch-backward) + (comint-history-isearch-backward-regexp): New commands. + (comint-history-isearch-message-overlay): New buffer-local variable. + (comint-history-isearch-setup, comint-history-isearch-end) + (comint-goto-input, comint-history-isearch-search) + (comint-history-isearch-message, comint-history-isearch-wrap) + (comint-history-isearch-push-state) + (comint-history-isearch-pop-state): New functions. + +2009-11-23 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage + return. + (tramp-handle-make-symbolic-link) + (tramp-handle-dired-compress-file, tramp-handle-expand-file-name): + Quote file names. + (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR. + (tramp-handle-process-file): Use it. + +2009-11-23 Stefan Monnier <[email protected]> + + * window.el (move-to-window-line-last-op): Remove. + (move-to-window-line-top-bottom): Reuse recenter-last-op instead. + +2009-11-23 Deniz Dogan <[email protected]> (tiny change) + + Make M-r mirror the new cycling behavior of C-l. + * window.el (move-to-window-line-last-op): New var. + (move-to-window-line-top-bottom): New command. + (global-map): Bind M-r move-to-window-line-top-bottom. + +2009-11-23 Sven Joachim <[email protected]> + + * dired-x.el (dired-guess-shell-alist-default): + Support xz format. (Bug#4953) + +2009-11-22 Chong Yidong <[email protected]> + + * cedet/srecode/map.el (srecode-get-maps): + * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag): + * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag): + * cedet/semantic/decorate/mode.el (semantic-decoration-mode) + (semantic-toggle-decoration-style): + * cedet/semantic/decorate/include.el + (semantic-decoration-include-describe) + (semantic-decoration-unknown-include-describe) + (semantic-decoration-unparsed-include-describe) + (semantic-decoration-all-include-summary): + * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init): + * cedet/semantic/analyze/complete.el + (semantic-analyze-possible-completions): + * cedet/semantic/util-modes.el (semantic-highlight-edits-mode) + (semantic-show-unmatched-syntax-mode) + (semantic-show-parser-state-mode, semantic-stickyfunc-mode) + (semantic-highlight-func-mode): + * cedet/semantic/util.el (semantic-describe-buffer): + * cedet/semantic/symref.el (semantic-symref-find-references-by-name) + (semantic-symref-find-tags-by-name) + (semantic-symref-find-tags-by-regexp) + (semantic-symref-find-tags-by-completion) + (semantic-symref-find-file-references-by-name) + (semantic-symref-find-text): + * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag) + (senator-yank-tag): + * cedet/semantic/scope.el (semantic-calculate-scope): + * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode): + * cedet/semantic/idle.el (semantic-idle-scheduler-mode) + (define-semantic-idle-service): + * cedet/semantic/complete.el (semantic-complete-analyze-inline) + (semantic-complete-analyze-inline-idle): + * cedet/semantic/analyze.el (semantic-analyze-current-context): + * cedet/mode-local.el (describe-mode-local-bindings) + (describe-mode-local-bindings-in-mode): + * cedet/ede/make.el (ede-make-check-version): + * cedet/ede/locate.el (ede-enable-locate-on-project): + * cedet/cedet-idutils.el (cedet-idutils-expand-filename) + (cedet-idutils-version-check): + * cedet/cedet-global.el (cedet-gnu-global-expand-filename) + (cedet-gnu-global-version-check): + * cedet/cedet-cscope.el (cedet-cscope-expand-filename) + (cedet-cscope-version-check): Use called-interactively-p instead + of interactive-p. + + * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function): + Use semantic-format-tag-prototype. + +2009-11-22 Michael Kifer <[email protected]> + + * emulation/viper-cmd.el: Use viper-last-command-char instead of + last-command-char/last-command-event. + (viper-prefix-arg-value): Do correct conversion of event-char for + XEmacs. + + * emulation/viper-util.el, emulation/viper.el: + Use viper-last-command-char instead of + last-command-char/last-command-event. + + * ediff-init.el, ediff-mult.el, ediff-util.el: + Replace last-command-char and last-command-event + with (ediff-last-command-char) everywhere. + + * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is + created in fundamental mode. + + * ediff.el (ediff-version): Revert the change of interactive-p to + called-interactively-p. + +2009-11-22 Tassilo Horn <[email protected]> + + * progmodes/subword.el (subword-mode-map): Fix subword-mode-map + generation from word-movement command names. + +2009-11-21 Chong Yidong <[email protected]> + + * cedet/semantic/complete.el (semantic-complete-read-tag-engine) + (semantic-complete-jump-local, semantic-complete-jump): + Improve prompt string. + +2009-11-21 Jan Djärv <[email protected]> + + * cus-start.el (all): Add native condition for font-use-system-font. + +2009-11-21 Nathaniel Flath <[email protected]> + + * progmodes/cc-menus.el (cc-imenu-java-generic-expression): + Correct the patch from 2009-11-18. (Bug#3910) + +2009-11-21 Tassilo Horn <[email protected]> + + * progmodes/subword.el: Rename from lisp/subword.el. + + * subword.el: Rename to progmodes/subword.el. + + * Makefile.in (ELCFILES): Adapt to subword.el move. + +2009-11-21 Thierry Volpiatto <[email protected]> + Stefan Monnier <[email protected]> + + * bookmark.el (bookmark-bmenu-bookmark-column): Remove var. + (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop. + (bookmark-bmenu-show-filenames): Use push. + (bookmark-bmenu-hide-filenames): Use local var instead of + bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion. + (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop. + (bookmark-bmenu-execute-deletions): Don't bother adding/removing the + filenames now that the bookmark names are always available. + +2009-11-21 Stefan Monnier <[email protected]> + + * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove. + (bookmark-search-pattern): Move and leave unbound. + (bookmark-bmenu-mode-map): Change binding. + (bookmark-read-search-input): Simplify. + Don't use text-char-description. Don't error on non-char events. + (bookmark-filtered-alist-by-regexp-only): Remove by folding into the + only caller (i.e. bookmark-bmenu-filter-alist-by-regexp). + (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer. + Use a local var for the timer. + (bookmark-bmenu-cancel-search): Remove by folding into the only caller + (i.e. bookmark-bmenu-search). + +2009-11-21 Glenn Morris <[email protected]> + + * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993) + +2009-11-20 Ken Brown <[email protected]> (tiny change) + + * net/browse-url.el (browse-url-default-windows-browser): + Use cygstart for cygwin. + +2009-11-20 Karl Fogel <[email protected]> + + * bookmark.el: Formatting and doc fixes only: + (bookmark-search-delay): Shorten doc string to fit in 80 columns. + (bookmark-bmenu-search): Wrap to fit within 80 columns. + Minor grammar and punctuation fixes in doc string. + (bookmark-read-search-input): Adjust to fit within 80 columns. + +2009-11-20 Tassilo Horn <[email protected]> + + * progmodes/cc-cmds.el (c-forward-into-nomenclature) + (c-backward-into-nomenclature): Adapt to subword renaming. + + * subword.el (subword-forward, subword-backward, subword-mark) + (subword-kill, subword-backward-kill, subword-transpose) + (subword-downcase, subword-upcase, subword-capitalize) + (subword-forward-internal, subword-backward-internal): + Rename from forward-subword, backward-subword, mark-subword, + kill-subword, backward-kill-subword, transpose-subwords, + downcase-subword, upcase-subword, capitalize-subword, + forward-subword-internal, backward-subword-internal. + +2009-11-20 Thierry Volpiatto <[email protected]> + + * bookmark.el (bookmark-search-delay, bookmark-search-prompt): + New options. + (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag): + New vars. + (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only) + (bookmark-bmenu-filter-alist-by-regexp) + (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs. + (bookmark-bmenu-search): New command. + (bookmark-bmenu-mode-map): Bind it. + +2009-11-20 Chong Yidong <[email protected]> + + * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix. + + * cedet/semantic/idle.el (define-semantic-idle-service) + (semantic-idle-summary-mode, semantic-idle-completions): Doc fix. + +2009-11-20 Tassilo Horn <[email protected]> + + * progmodes/cc-cmds.el: declare-functioned forward-subword and + backward-subword to quit the byte-compiler. + + * makefile.w32-in: Don't refer cc-subword.elc but subword.elc. + + * Makefile.in: Don't refer cc-subword.elc but subword.elc. + + * progmodes/cc-cmds.el (c-update-modeline) + (c-forward-into-nomenclature, c-backward-into-nomenclature): + Refer to subword.el functions instead of cc-subword.el. + + * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to + subword.el functions instead of cc-subword.el. + + * progmodes/cc-subword.el: Rename to subword.el. + * subword.el: Rename from progmodes/cc-subword.el. + (subword-mode-map): Rename from c-subword-mode-map. + (subword-mode): Rename from c-subword-mode. + (global-subword-mode): New global minor mode. + (forward-subword): Rename from c-forward-subword. + (backward-subword): Rename from c-backward-subword. + (mark-subword): Rename from c-mark-subword. + (kill-subword): Rename from c-kill-subword. + (backward-kill-subword): Rename from c-backward-kill-subword. + (transpose-subwords): Rename from c-tranpose-subword. + (downcase-subword): Rename from c-downcase-subword. + (capitalize-subword): Rename from c-capitalize-subword. + (forward-subword-internal): Rename from c-forward-subword-internal. + (backward-subword-internal): Rename from c-backward-subword-internal. + +2009-11-20 Dan Nicolaescu <[email protected]> + + * vc.el (vc-deduce-fileset): Allow non-state changing operations + from a dired buffer. + (vc-dired-deduce-fileset): New function. + (vc-root-diff, vc-print-root-log): Use it. + + * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a + nil LIMIT argument to vc-print-log-internal. + +2009-11-20 Glenn Morris <[email protected]> + + * Makefile.in (ELCFILES): Regenerate. + +2009-11-20 Chong Yidong <[email protected]> + + * cedet/cedet.el (cedet-menu-map): Re-order menu items. + + * cedet/semantic.el: Enable idle-mode menu items only if + global-semantic-idle-scheduler-mode is enabled. + (semantic-default-submodes): Doc fix. + + * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode): + When turning off, disable other idle modes. + +2009-11-20 Jay Belanger <[email protected]> + + * calc/calc.el (calc-set-mode-line): + Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'. + (math-format-number): Rename `math-format-complement-signed' to + `math-format-twos-complement'. + + * calc/calc-bin.el (math-format-twos-complement): Rename from + math-format-complement-signed. + (calc-radix): Rename `calc-complement-signed-mode' to + `calc-twos-complement-mode'. + (calc-octal-radix, calc-hex-radix): Add an argument for + two's complement. + + * calc/calc-embed.el (calc-embedded-mode-vars): + Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'. + + * calc/calc-ext.el (calc-init-extensions): + Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'. + (math-format-number-fancy): Let `calc-twos-complement-mode' be nil. + + * calc/calc-units.el (math-build-units-table-buffer): + Let `calc-twos-complement-mode' be nil. + + * calc/calc-menu.el (calc-modes-menu): Clean up two's complement + entries. + + * calc/calc-vec.el (calcFunc-vunpack): + * calc/calc-aent.el (calc-do-calc-eval): + * calc/calc-forms.el (math-format-date): + * calc/calc-graph.el (calc-graph-plot): + * calc/calc-math.el (math-use-emacs-fn): + * calc/calccomp.el (math-compose-expr): + Let `calc-twos-complement-mode' be nil. + +2009-11-19 Stefan Monnier <[email protected]> + + * abbrev.el (abbrev-with-wrapper-hook): (re)move... + * simple.el (with-wrapper-hook): ...to here. Add argument `args'. + * minibuffer.el (completion-in-region-functions): New hook. + (completion-in-region): New function. + * emacs-lisp/lisp.el (lisp-complete-symbol): + * pcomplete.el (pcomplete-std-complete): Use it. + +2009-11-19 Stefan Monnier <[email protected]> + + * textmodes/tex-mode.el (latex-complete-bibtex-cache) + (latex-complete-alist): New vars. + (latex-string-prefix-p, latex-complete-bibtex-keys) + (latex-complete-envnames, latex-complete-refkeys) + (latex-complete-data): New functions. + (latex-complete, latex-indent-or-complete): New commands. + + * window.el (display-buffer-mark-dedicated): New var. + (display-buffer): Obey it. + * minibuffer.el (minibuffer-completion-help): Use it. + + * progmodes/sym-comp.el (symbol-complete): Use completion-in-region. + + * filecache.el (file-cache-add-file): Use push and cons. + (file-cache-delete-file-regexp): Use push. + (file-cache-complete): Use completion-in-region. + + * simple.el (with-wrapper-hook): Fix thinko. + + * hfy-cmap.el (hfy-rgb-file): Use locate-file. + (htmlfontify-load-rgb-file): Remove unnused var `ff'. + Use with-current-buffer and string-to-number. + (hfy-fallback-colour-values): Use assoc-string. + * htmlfontify.el (hfy-face-to-css): Remove unused var `style'. + (hfy-face-at): Remove unused var `found-face'. + (hfy-compile-stylesheet): Remove unused var `css'. + (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button', + and `orig-buffer'. + (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer): + Use with-current-buffer. + (hfy-text-p): Use expand-file-name and fewer setq. + +2009-11-19 Vivek Dasmohapatra <[email protected]> + + * htmlfontify.el, hfy-cmap.el: New files. + +2009-11-19 Juri Linkov <[email protected]> + + * minibuffer.el (completions-format): New defcustom. + (completion--insert-strings): Implement vertical format. + + * simple.el (switch-to-completions): Move point to the first + completion when point was at the beginning of the buffer. + +2009-11-19 Juri Linkov <[email protected]> + + * find-dired.el (find-name-arg): Remove autoload. (Bug#4387) + + * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'. + +2009-11-19 Chong Yidong <[email protected]> + + * mail/sendmail.el (mail-yank-prefix): Change default to "> ". + (mail-signature): Change default to t. + (mail-from-style): Deprecate `system-default' value. + (mail-insert-from-field): For default value of mail-from-style, + default to `angles' unless `angles' needs quoting and `parens' + does not. + (mail-citation-prefix-regexp): Use citation regexp from + message-mode. + +2009-11-19 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): + Set variables for computing the prompt for reading password. + +2009-11-19 Glenn Morris <[email protected]> + + * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953) + + * textmodes/flyspell.el (sgml-lexical-context): Declare. + + * net/newst-treeview.el (newsticker-treeview-treewindow-width) + (newsticker-treeview-listwindow-height): Fix custom type. + +2009-11-19 Kenichi Handa <[email protected]> + + * descr-text.el (describe-char-padded-string): Compose with TAB + only if there's a font for CH. + (describe-char): Fix the condition for detecting a trivial composition. + +2009-11-18 Nathaniel Flath <[email protected]> + + * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new, + more accurate version of the regexp. (Bug#3910) + +2009-11-18 Bernhard Herzog <[email protected]> (tiny change) + + * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory. + +2009-11-18 Juanma Barranquero <[email protected]> + + * font-setting.el (font-use-system-font): Declare for byte-compiler. + (font-setting-change-default-font): Fix typo in docstring. + +2009-11-18 Alan Mackenzie <[email protected]> + + * progmodes/cc-defs.el (c-version): Bump to 5.31.8. + +2009-11-17 Jan Djärv <[email protected]> + + * font-setting.el (font-use-system-font): Move ... + + * cus-start.el (all): ... to here. + +2009-11-17 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify. + Don't set `ad-return-value' if `ad-do-it' doesn't. + + * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file + modification time. + +2009-11-17 Jan Djärv <[email protected]> + + * menu-bar.el: Put "Use system font" in Option-menu. + (menu-bar-options-save): Add font-use-system-font. + + * loadup.el: If feature system-font-setting or font-render-setting is + there, load font-setting. + + * Makefile.in (ELCFILES): Add font-settings.el. + * font-setting.el: New file. + +2009-11-17 Glenn Morris <[email protected]> + + * vc-svn.el (vc-svn-print-log): Fix typo in previous. + + * net/newst-treeview.el (newsticker--treeview-list-update-faces): + Preserve point in the list buffer. (Bug#4939) + Use point-at-eol. + (newsticker--treeview-list-update-highlight) + (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol. + +2009-11-16 Jay Belanger <[email protected]> + + * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip): + Remove. + + * calc/calc-ext.el (calc-init-extensions): Remove references to + symclip. + + * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'. + + * calc/calc-map.el (calc-get-operator, calc-b-oper-keys): + * calc/calc-help.el (calc-b-prefix-help): Remove references to + `calc-symclip'. + +2009-11-16 Kevin Ryde <[email protected]> + + * textmodes/flyspell.el (sgml-mode-flyspell-verify): + Use `sgml-lexical-context' instead of own parse for tag (Bug#4511). + + * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords. + (lm-keywords-list): Allow comma-only separator like "foo,bar". + Ignore trailing spaces by omit-nulls to split-string (fixing + regression from Emacs 21 due to the incompatible split-string + change). (Bug #4928.) + +2009-11-16 Dan Nicolaescu <[email protected]> + + * vc.el (vc-log-show-limit): Default to 2000. + (vc-print-log-internal): Insert buttons to request more entries + when limiting the output. + + * vc-sccs.el (vc-sccs-print-log): + * vc-rcs.el (vc-rcs-print-log): + * vc-cvs.el (vc-cvs-print-log): + * vc-git.el (vc-git-print-log): Return 'limit-unsupported when + LIMIT is non-nil. + +2009-11-16 Michael Albinus <[email protected]> + + * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an + error when `tramp-gvfs-dbus-event-vector' is set. + (tramp-gvfs-maybe-open-connection): Loop over `read-event'. + +2009-11-16 Stefan Monnier <[email protected]> + + * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion. + +2009-11-16 Michael Albinus <[email protected]> + + * net/dbus.el (dbus-unregister-service): New defun. + (dbus-register-property): Register the handlers of + "org.freedesktop.DBus.Properties" for SERVICE. + (dbus-property-handler): Fix docstring. + +2009-11-16 YAMAMOTO Mitsuharu <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-output-file-form): + Quote doc string reference in defvaralias as it is not in special form. + (byte-compile-output-docform): Doc fix. + +2009-11-16 Jay Belanger <[email protected]> + + * calc/calc.el (math-2-word-size, math-half-2-word-size) + (calc-complement-signed-mode): New variables. + (calc-set-mode-line): Add indicator for twos-complements. + (math-format-number): Format twos-complement notation. + + * calc/calc-bin.el (calc-word-size): Reset the variables + `math-2-word-size' and `math-half-2-word-size'. + (math-format-complement-signed, math-symclip, calcFunc-symclip) + (calc-symclip): New functions. + + * calc/calc-aent.el (math-read-token): Read complement signed numbers. + + * calc/calc-embed.el (calc-embedded-mode-vars): + Add `calc-complement-signed-mode' to the list of modes. + + * calc/calc-map.el (calc-get-operator): Add `calc-symclip'. + (calc-b-oper-keys): Add `calc-symclip' to list. + + * calc/calc-ext.el (math-read-number-fancy): Read complement + signed numbers. + (calc-init-extensions): Add binding for `calc-symclip'. + Add autoload for `calcFunc-symclip' and `calc-symclip'. + + * calc/calc-menu.el (calc-arithmetic-menu): Add item for + `calc-symclip'. + (calc-modes-menu): Add item for twos complement mode. + + * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'. + +2009-11-15 Chong Yidong <[email protected]> + + * register.el (jump-to-register, insert-register): Handle Semantic + tags. From commented-out advice in semantic/senator.el. + +2009-11-15 Dan Nicolaescu <[email protected]> + + * vc.el (vc-log-show-limit): New variable. + (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it + when using a prefix argument. + (vc-print-log-internal): Add new argument LIMIT. + + * vc-svn.el (vc-svn-print-log): + * vc-mtn.el (vc-mtn-print-log): + * vc-hg.el (vc-hg-print-log): + * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT, + pass it to the log command when set. Make the BUFFER argument + non-optional. + + * vc-sccs.el (vc-sccs-print-log): + * vc-rcs.el (vc-rcs-print-log): + * vc-git.el (vc-git-print-log): + * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT, + ignore it. Make the BUFFER argument non-optional + + * bindings.el (mode-line-buffer-identification): Do not purecopy. + +2009-11-15 Chong Yidong <[email protected]> + + * dired.el (dired-mode-map): Move encryption items to "Operate" + menu (Bug#4703). + + * strokes.el (strokes-update-window-configuration): Make strokes + buffer current before erasing (Bug#4906). + + * cedet/semantic/idle.el (semantic-idle-summary-mode) + (semantic-idle-summary-mode): Define using define-minor-mode + instead of define-semantic-idle-service. + (semantic-idle-summary-mode): New function. + (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure + that mouse motion does not reset the echo area. + +2009-11-15 Juri Linkov <[email protected]> + + * simple.el (set-mark-default-inactive): Add :type, :group + and :version. (Bug#4876) + +2009-11-15 Michael Albinus <[email protected]> + + * arc-mode.el (archive-maybe-copy): Move creation of directory ... + (archive-unique-fname): ... here. (Bug#4929) + +2009-11-15 Stefan Monnier <[email protected]> + + * help-mode.el (help-make-xrefs): Undo the last revert, and replace it + with a real fix. + + * novice.el (disabled-command-function): Add useful args. + Setup the help buffer so that [back] works. + Remove redundant call to help-mode. + (disabled-command-function): Use `case'. + (en/disable-command): New function extracted from enable-command. + (enable-command, disable-command): Use it. + +2009-11-14 Glenn Morris <[email protected]> + + * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not + constants. (Bug#4913) + + * emacs-lisp/elint.el (elint-standard-variables): Doc fix. + +2009-11-14 Shigeru Fukaya <[email protected]> + + * emacs-lisp/elint.el (elint-standard-variables): Add some variables + defined in C that have no doc-strings. (Bug#1063) + +2009-11-14 Francis Wright <[email protected]> + + * cus-edit.el (data, files): + * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327) + +2009-11-14 Chong Yidong <[email protected]> + + * simple.el (shell-command): Doc fix (Bug#4891). + + * help-mode.el (help-make-xrefs): Revert 2009-11-13 change. + +2009-11-14 Glenn Morris <[email protected]> + + * emulation/viper.el (viper-set-hooks): Remove duplicate advice + statements for vc-diff, emerge-quit, and rmail-cease-edit. + If they are already loaded, eval-after-load will do the right thing. + + * speedbar.el (top-level): Remove unnecessary load of ange-ftp when + compiling. + + * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused. + + * simple.el (x-selection-owner-p): Declare. + (read-mail-command): Use custom radio type rather than choice. + (completion-no-auto-exit): Doc fix. + + * custom.el (defgroup): + * epg-config.el (epg): Doc fixes. + +2009-11-14 Dan Nicolaescu <[email protected]> + + * bindings.el (mode-line-buffer-identification): Purecopy only the string. + * international/ccl.el (define-ccl-program): Do not purecopy the + docstring, defconst does it anyway. + +2009-11-13 Stefan Monnier <[email protected]> + + * add-log.el (add-change-log-entry): Avoid displaying the changelog + a second time. + + * x-dnd.el (x-dnd-maybe-call-test-function): + * window.el (split-window-vertically): + * whitespace.el (whitespace-help-on): + * vc-rcs.el (vc-rcs-consult-headers): + * userlock.el (ask-user-about-lock-help) + (ask-user-about-supersession-help): + * type-break.el (type-break-force-mode-line-update): + * time-stamp.el (time-stamp-conv-warn): + * terminal.el (te-set-output-log, te-more-break, te-filter) + (te-sentinel, terminal-emulator): + * term.el (make-term, term-exec, term-sentinel, term-read-input-ring) + (term-write-input-ring, term-check-source, term-start-output-log): + (term-display-buffer-line, term-dynamic-list-completions): + (term-ansi-make-term, serial-term): + * subr.el (selective-display): + * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer) + (strokes-encode-buffer, strokes-xpm-for-compressed-string): + * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info) + (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support) + (speedbar-remove-localized-speedbar-support) + (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy) + (speedbar-update-special-contents, speedbar-buffer-buttons-engine) + (speedbar-buffers-line-directory): + * simple.el (shell-command-on-region, append-to-buffer) + (prepend-to-buffer): + * shadowfile.el (shadow-save-todo-file): + * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1) + (scroll-bar-maybe-set-window-start): + * sb-image.el (speedbar-image-dump): + * saveplace.el (save-place-alist-to-file, save-places-to-alist) + (load-save-place-alist-from-file): + * ps-samp.el (ps-print-message-from-summary): + * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox) + (ps-background-image, ps-begin-job, ps-do-despool): + * ps-bdf.el (bdf-find-file, bdf-read-font-info): + * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting) + (pr-ps-message-from-summary, pr-lpr-message-from-summary): + (pr-call-process, pr-file-list, pr-interface-save): + * novice.el (disabled-command-function) + (enable-command, disable-command): + * mouse.el (mouse-buffer-menu-alist): + * mouse-copy.el (mouse-kill-preserving-secondary): + * macros.el (kbd-macro-query): + * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt): + * informat.el (batch-info-validate): + * ido.el (ido-copy-current-word, ido-initiate-auto-merge): + * hippie-exp.el (try-expand-dabbrev-visible): + * help-mode.el (help-make-xrefs): + * help-fns.el (describe-variable): + * generic-x.el (bat-generic-mode-run-as-comint): + * finder.el (finder-mouse-select): + * find-dired.el (find-dired-sentinel): + * filesets.el (filesets-file-close): + * files.el (list-directory): + * faces.el (list-faces-display, describe-face): + * facemenu.el (list-colors-display): + * ezimage.el (ezimage-image-association-dump, ezimage-image-dump): + * epg.el (epg--process-filter, epg-cancel): + * epa.el (epa--marked-keys, epa--select-keys, epa-display-info) + (epa--read-signature-type): + * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B) + (emerge-file-names): + * ehelp.el (electric-helpify): + * ediff.el (ediff-regions-wordwise, ediff-regions-linewise): + * ediff-vers.el (rcs-ediff-view-revision): + * ediff-util.el (ediff-setup): + * ediff-mult.el (ediff-append-custom-diff): + * ediff-diff.el (ediff-exec-process, ediff-process-sentinel) + (ediff-wordify): + * echistory.el (Electric-command-history-redo-expression): + * dos-w32.el (find-file-not-found-set-buffer-file-coding-system): + * disp-table.el (describe-display-table): + * dired.el (dired-find-buffer-nocreate): + * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory): + * dabbrev.el (dabbrev--same-major-mode-p): + * chistory.el (list-command-history): + * apropos.el (apropos-documentation): + * allout.el (allout-obtain-passphrase): + (allout-copy-exposed-to-buffer): + (allout-verify-passphrase): Use with-current-buffer. + +2009-11-13 Glenn Morris <[email protected]> + + * Makefile.in (ELCFILES): Regenerate. + +2009-11-13 Michael Albinus <[email protected]> + + * net/dbus.el (dbus-registered-objects-table): Rename from + `dbus-registered-functions-table', because it contains also properties. + (dbus-unregister-object): Unregister also properties. + (dbus-get-property, dbus-set-property, dbus-get-all-properties): + Use a timeout of 500 msec, in order to not block. + (dbus-register-property, dbus-property-handler): New defuns. + +2009-11-13 Stefan Monnier <[email protected]> + + * simple.el (minibuffer-default-add-completions): Drop deprecated + 4th arg. + +2009-11-13 Tomas Abrahamsson <[email protected]> + + * textmodes/artist.el (artist-mouse-choose-operation): + Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup + menus. Bug noticed by Eli Zaretskii <[email protected]>. + (artist-compute-up-event-key): New function. + (artist-mouse-choose-operation, artist-down-mouse-1): Call it. + +2009-11-13 Kenichi Handa <[email protected]> + + * language/japan-util.el: Make sure that the value of jisx0208 + property is jisx0208 character. + +2009-11-13 Dan Nicolaescu <[email protected]> + + * international/mule.el (auto-coding-regexp-alist): Only purecopy + car or each item, not the whole list. + +2009-11-12 Stefan Monnier <[email protected]> + + * minibuffer.el (minibuffer-completion-help): + Use minibuffer-hide-completions. + +2009-11-12 Per Starbäck <[email protected]> (tiny change) + + * dired.el (dired-save-positions, dired-restore-positions): New funs. + (dired-revert): Use them (bug#4880). + +2009-11-12 Dan Nicolaescu <[email protected]> + + * tooltip.el (tooltip-frame-parameters): Undo previous change. + +2009-11-12 Juri Linkov <[email protected]> + + * ffap.el (ffap-alternate-file-other-window, ffap-literally): + New functions. + (find-file-literally-at-point): Alias of `ffap-literally'. + +2009-11-12 Dan Nicolaescu <[email protected]> + + * textmodes/ispell.el (ispell-skip-region-alist): + * textmodes/css-mode.el (auto-mode-alist): + * progmodes/compile.el (auto-mode-alist): + * international/mule.el (ctext-non-standard-encodings-alist) + (ctext-non-standard-encodings-regexp): + * simple.el (shell-command-switch, text-read-only): + * replace.el (occur-mode-map): + * paths.el (rmail-file-name): + * jka-cmpr-hook.el (jka-compr-build-file-regexp): + * find-file.el (ff-special-constructs): + * files.el (file-name-handler-alist): + * composite.el: Purecopy strings. + + * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name. + +2009-11-11 Dan Nicolaescu <[email protected]> + + * widget.el (define-widget): Purecopy the docstring. + * international/mule-cmds.el (charset): Do not purecopy the + docstring here, define-widget does it. + + * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote): + * textmodes/bibtex-style.el (auto-mode-alist): + * progmodes/inf-lisp.el (inferior-lisp-prompt): + * progmodes/compile.el (compile-command): + * language/korea-util.el (default-korean-keyboard): + * international/mule-conf.el (file-coding-system-alist): + * emacs-lisp/eldoc.el (eldoc-minor-mode-string): + * tooltip.el (tooltip-frame-parameters): + * newcomment.el (comment-end, comment-padding): + * dired.el (dired-trivial-filenames): + * comint.el (comint-file-name-prefix): Purecopy initial values. + +2009-11-11 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-advice-minibuffer-electric-separator) + (tramp-advice-minibuffer-electric-tilde): Unload advices via + `tramp-unload'. + (tramp-advice-make-auto-save-file-name) + (tramp-advice-file-expand-wildcards): Apply also `ad-activate' + after removing the advice. + +2009-11-11 Dan Nicolaescu <[email protected]> + + * progmodes/grep.el (grep-regexp-alist): + * international/mule-cmds.el (iso-2022-control-alist): + * emacs-lisp/timer.el (timer-duration-words): + * subr.el (version-separator, version-regexp-alist): + * minibuffer.el (completion-styles-alist): + * faces.el (face-attribute-name-alist, list-faces-sample-text): + Change defvars to defconsts. + + * Makefile.in (ELCFILES): Add international/mule-conf.elc. + * loadup.el ("international/mule-conf"): Load the byte compiled version. + * international/mule-conf.el: Allow to be byte compiled. + + * international/mule.el (define-charset): Purecopy props. + (load-with-code-conversion): Purecopy doc string and file name. + (put-charset-property): Purecopy strings. + (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value. + + * international/mule-cmds.el (register-input-method): Purecopy arguments. + (define-char-code-property): Correctly purecopy the table. + + * international/ccl.el (define-ccl-program): Purecopy the docstring. + + * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter. + + * subr.el (add-hook): Purecopy strings. + (eval-after-load): Purecopy load-history-regexp and the form. + + * custom.el (custom-declare-group): Purecopy load-file-name. + + * subr.el (menu-bar-separator): New defconst. + * net/eudc.el (eudc-tools-menu): + * international/mule-cmds.el (set-coding-system-map) + (mule-menu-keymap): + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): + * vc-hooks.el (vc-menu-map): + * replace.el (occur-mode-map): + * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu) + (menu-bar-edit-menu, menu-bar-goto-menu) + (menu-bar-custom-menu, menu-bar-showhide-menu) + (menu-bar-options-menu, menu-bar-tools-menu) + (menu-bar-encryption-decryption-menu, menu-bar-describe-menu) + (menu-bar-search-documentation-menu, menu-bar-manuals-menu) + (menu-bar-help-menu): + * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu): + * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator. + + * term/x-win.el (x-gtk-stock-map): + * progmodes/vera-mode.el (auto-mode-alist): + * progmodes/inf-lisp.el (inferior-lisp-filter-regexp) + (inferior-lisp-program, inferior-lisp-load-command): + * progmodes/hideshow.el (hs-special-modes-alist): + * progmodes/gud.el (same-window-regexps): + * progmodes/grep.el (grep-program, find-program, xargs-program): + * net/telnet.el (same-window-regexps): + * net/rlogin.el (same-window-regexps): + * language/ethiopic.el (font-ccl-encoder-alist): + * vc-sccs.el (vc-sccs-master-templates): + * vc-rcs.el (vc-rcs-master-templates): + * subr.el (cl-assertion-failed): + * simple.el (next-error-overlay-arrow-position): + * lpr.el (lpr-command): + * locate.el (locate-ls-subdir-switches): + * info.el (same-window-regexps, info) + (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node): + * image-mode.el (image-mode, auto-mode-alist): + * hippie-exp.el (hippie-expand-ignore-buffers): + * format.el (format-alist): + * find-dired.el (find-ls-subdir-switches, find-grep-options) + (find-name-arg): + * facemenu.el (facemenu-keybindings): + * dired.el (dired-listing-switches, dired-chown-program): + * diff.el (diff-switches, diff-command): + * cus-edit.el (same-window-regexps): + * bindings.el (mode-line-mule-info) + (mode-line-buffer-identification): Purecopy strings. + +2009-11-11 Juri Linkov <[email protected]> + + * simple.el (dired-get-filename) <declare-function>: + Tell the byte-compiler about dired-get-filename. + (shell-command): In Dired mode, get filename from the current line + as the default value. + +2009-11-10 Glenn Morris <[email protected]> + + * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el: + * calendar/holidays.el, progmodes/cperl-mode.el: + Update x-popup-menu declarations. + + * emacs-lisp/shadow.el (find-emacs-lisp-shadows) + (list-load-path-shadows): Use dolist. + (list-load-path-shadows): Use with-current-buffer. + +2009-11-10 Juri Linkov <[email protected]> + + * minibuffer.el (read-file-name): Support a list of default values + in `default-filename'. Use the first file name where only one + element is required. Doc fix. + +2009-11-09 Michael Albinus <[email protected]> + + * net/dbus.el (dbus-unregister-object): Release service, if no + other method is registered for it. + +2009-11-08 Markus Rost <[email protected]> + + * bookmark.el (bookmark-completing-read): Sort bookmark names if + bookmark-sort-flag is non-nil (Bug#4653). + +2009-11-08 Chong Yidong <[email protected]> + + * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable + the progress reporter entirely. + + * emulation/cua-base.el: Add CUA property to some CC mode commands + (Bug#4100). + +2009-11-08 Kevin Ryde <[email protected]> + + * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun + at end of sentence (Bug#4818). + +2009-11-08 Jared Finder <[email protected]> + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Handle "see declaration of" MSFT statements (Bug#4100). + +2009-11-08 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-advice-make-auto-save-file-name) + (tramp-advice-file-expand-wildcards): Unload via + `ad-remove-advice'. + + * net/trampver.el: Update release number. + +2009-11-08 Kevin Ryde <[email protected]> + + * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on + `ad-do-it'. + +2009-11-08 Andr <[email protected]> (tiny change) + + * net/tramp.el (tramp-handle-write-region): Copy but rename temp file, + in order to keep context in SELinux. + +2009-11-08 Chong Yidong <[email protected]> + + * dired-aux.el (dired-query): Place cursor in echo area and allow + C-g. + + * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir + menu item if not on a directory (Bug#4701). + +2009-11-07 Michael Albinus <[email protected]> + + Sync with Tramp 2.1.17. + + * net/tramp.el (tramp-handle-copy-directory): Don't use + `file-remote-p' (due to compatibility). + + * net/tramp-compat.el (tramp-compat-copy-directory) + (tramp-compat-delete-directory): New defuns. + + * net/tramp-fish.el (tramp-fish-handle-delete-directory): + * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use + `tramp-compat-delete-directory'. + + * net/tramp-smb.el (tramp-smb-handle-copy-directory) + (tramp-smb-handle-delete-directory): Use + `tramp-compat-copy-directory' and `tramp-compat-delete-directory'. + + * net/trampver.el: Update release number. + +2009-11-07 Chong Yidong <[email protected]> + + * tar-mode.el (tar-copy): Call write-region on the right buffer + (Bug#4857). + + * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update + by hand, if necessary (Bug#4878). + +2009-11-06 Chong Yidong <[email protected]> + + * buff-menu.el (Buffer-menu-buffer+size): Use display property to + align size column (Bug#4839). + + * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide + statement. + +2009-11-05 Dan Nicolaescu <[email protected]> + + * progmodes/ld-script.el (auto-mode-alist): + * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings. + + * cus-face.el (custom-declare-face): Purecopy face spec. + +2009-11-06 Kenichi Handa <[email protected]> + + * international/uni-bidi.el: Re-generated. + * international/uni-category.el: Re-generated. + * international/uni-combining.el: Re-generated. + * international/uni-mirrored.el: Re-generated. + +2009-11-05 Dan Nicolaescu <[email protected]> + + * textmodes/tex-mode.el (tex-alt-dvi-print-command) + (tex-dvi-print-command, tex-bibtex-command, tex-start-commands) + (tex-start-options, slitex-run-command, latex-run-command) + (tex-run-command, tex-directory): + * textmodes/ispell.el (ispell-html-skip-alists) + (ispell-tex-skip-alists, ispell-tex-skip-alists): + * textmodes/fill.el (adaptive-fill-first-line-regexp): + (adaptive-fill-regexp): + * textmodes/dns-mode.el (auto-mode-alist): + * progmodes/python.el (interpreter-mode-alist): + * progmodes/etags.el (tags-compression-info-list): + * progmodes/etags.el (tags-file-name): + * net/browse-url.el (browse-url-galeon-program) + (browse-url-firefox-program): + * mail/sendmail.el (mail-signature-file) + (mail-citation-prefix-regexp): + * international/mule-conf.el (eight-bit): + * international/latexenc.el (latex-inputenc-coding-alist): + * international/fontset.el (x-pixel-size-width-font-regexp): + * emacs-lisp/warnings.el (warning-type-format): + * emacs-lisp/trace.el (trace-buffer): + * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map) + (emacs-lisp-mode-map): + * calendar/holidays.el (holiday-solar-holidays) + (holiday-bahai-holidays, holiday-islamic-holidays) + (holiday-christian-holidays, holiday-hebrew-holidays) + (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2) + (hebrew-holidays-1, holiday-oriental-holidays) + (holiday-general-holidays): + * x-dnd.el (x-dnd-known-types): + * tool-bar.el (tool-bar): + * startup.el (site-run-file): + * shell.el (shell-dumb-shell-regexp): + * rfn-eshadow.el (file-name-shadow-tty-properties) + (file-name-shadow-properties): + * paths.el (remote-shell-program, news-directory): + * mouse.el ([C-down-mouse-3]): + * menu-bar.el (menu-bar-tools-menu): + * jka-cmpr-hook.el (jka-compr-load-suffixes) + (jka-compr-mode-alist-additions, jka-compr-compression-info-list) + (jka-compr-compression-info-list): + * isearch.el (search-whitespace-regexp): + * image-file.el (image-file-name-extensions): + * find-dired.el (find-ls-option): + * files.el (directory-listing-before-filename-regexp) + (directory-free-space-args, insert-directory-program) + (list-directory-brief-switches, magic-fallback-mode-alist) + (magic-fallback-mode-alist, auto-mode-interpreter-regexp) + (automount-dir-prefix): + * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head) + (x-font-regexp-slant, x-font-regexp-weight, face-x-resources) + (face-font-registry-alternatives, face-font-registry-alternatives) + (face-font-family-alternatives): + * facemenu.el (facemenu-add-new-face, facemenu-background-menu) + (facemenu-foreground-menu, facemenu-face-menu): + * epa-hook.el (epa-file-name-regexp): + * dnd.el (dnd-protocol-alist): + * textmodes/rst.el (auto-mode-alist): + * button.el (default-button): Purecopy strings. + +2009-11-06 Glenn Morris <[email protected]> + + * Makefile.in (ELCFILES): Update. + +2009-11-05 Stefan Monnier <[email protected]> + + * emacs-lisp/lucid.el: Move to obsolete/lucid.el. + * emacs-lisp/levents.el: Move to obsolete/levents.el. + + * nxml/xsd-regexp.el (xsdre-gen-categories): + * nxml/xmltok.el (xmltok-parse-entity): + * nxml/rng-parse.el (rng-parse-validate-file): + * nxml/rng-maint.el (rng-format-manual) + (rng-manual-output-force-new-line): + * nxml/rng-loc.el (rng-save-schema-location-1): + * nxml/rng-cmpct.el (rng-c-parse-file): + * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set): + * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer. + +2009-11-05 Wilson Snyder <[email protected]> + + * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define): + Remove extra save-excursions and make-variable-buffer-local's. + Suggested by Stefan Monnier. + + (verilog-getopt-file, verilog-module-inside-filename-p) + (verilog-set-define): Merge GNU 1.35 and repair changes from + switching to using with-current-buffer. + + (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c" + being treated as a number and confusing AUTORESET. + Reported by Dan Dever. + + (verilog-auto-ignore-concat, verilog-read-sub-decls-expr): + Add verilog-auto-ignore-concat to fix backward compatibility with + older verilog-modes. Reported by Dan Katz. + + (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps + containing closing anchors "...$". + + (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}". + Reported by Wade Smith. + + (verilog-batch-execute-func): Comment on function usage. + +2009-11-05 Michael McNamara <[email protected]> + + * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression + for labels. + + (verilog-label-re, verilog-calc-1): Support proper indent of named + asserts. + + (verilog-backward-token, verilog-basic-complete-re) + (verilog-beg-of-statement, verilog-indent-re): Support proper + indent of the assert statement at the beginning of a block of text. + + (verilog-beg-block-re, verilog-ovm-begin-re): Support the + `ovm_object_param_utils_begin and `ovm_component_param_utils_begin + tokens as begins. + +2009-11-05 Glenn Morris <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for + Emacs 19. (Bug#1531) + (byte-compile-fix-header): Update for the above change. + Drop test for epoch::version. + + * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg. + * cus-dep.el (custom-make-dependencies): + * finder.el (finder-compile-keywords): + Use autoload-rubric's feature argument. + + * calendar/diary-lib.el (top-level): Make load behave more like require. + + * vc-git.el (vc-git-stash-map): Move definition before use. + +2009-11-04 Dan Nicolaescu <[email protected]> + + * custom.el (custom-declare-group): Purecopy standard-value. + (custom-declare-group): Purecopy custom-prefix. + + * international/mule.el (load-with-code-conversion): + Call do-after-load-evaluation unconditionally. + + * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias. + +2009-11-04 Stefan Monnier <[email protected]> + + * descr-text.el: Require help-mode rather than help-fns (bug#4861). + +2009-11-04 Glenn Morris <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro. + (byte-compile-compatibility): Remove option. + (byte-compile-close-variables, byte-compile-fix-header) + (byte-compile-insert-header, byte-compile-output-docform) + (byte-compile-file-form-defmumble, byte-compile-byte-code-maker) + (byte-compile-lambda, byte-compile-form, byte-defop-compiler19) + (byte-compile-list, byte-compile-concat, byte-compile-function-form) + (byte-compile-insert, byte-compile-defun): + Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571) + (byte-defop-compiler19): Remove. + Without byte-compile-compatibility, the 'emacs19-opcode property is not + used by anything. Replace all calls with byte-defop-compiler. + +2009-11-04 Juri Linkov <[email protected]> + + * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'. + (menu-bar-options-menu): Don't quote the `prop' arg of + `menu-bar-make-mm-toggle'. + +2009-11-04 Juanma Barranquero <[email protected]> + + * calendar/calendar.el (cal-loaddefs): + * calendar/diary-lib.el (diary-loaddefs): + * calendar/holidays.el (hol-loaddefs): + * eshell/esh-module.el (esh-groups): Load rather than require. + +2009-11-03 Stefan Monnier <[email protected]> + + * calendar/todo-mode.el (todo-add-category): Don't hardcode + point-min==1. + (todo-top-priorities): Only display-buffer when called interactively. + (todo-item-start): Don't save excursion point. + (todo-item-end): Be slightly more careful. Add `include-sep' arg. + (todo-insert-item-here, todo-file-item, todo-remove-item): + Adjust uses of todo-item-start and todo-item-end. + + * emacs-lisp/autoload.el (generated-autoload-feature): Remove. + (autoload-rubric): Don't use any more. + * cedet/semantic/fw.el (semantic/loaddefs): + * cedet/srecode.el (srecode/loaddefs): + * cedet/ede.el (ede/loaddefs): Load rather than require. + * cedet/ede/cpp-root.el: + * cedet/ede/emacs.el: + * cedet/ede/files.el: + * cedet/ede/linux.el: + * cedet/ede/locate.el: + * cedet/ede/make.el: + * cedet/ede/shell.el: + * cedet/ede/speedbar.el: + * cedet/ede/system.el: + * cedet/ede/util.el: + * cedet/semantic/analyze.el: + * cedet/semantic/bovine.el: + * cedet/semantic/complete.el: + * cedet/semantic/ctxt.el: + * cedet/semantic/db-file.el: + * cedet/semantic/db-find.el: + * cedet/semantic/db-global.el: + * cedet/semantic/db-mode.el: + * cedet/semantic/db-typecache.el: + * cedet/semantic/db.el: + * cedet/semantic/debug.el: + * cedet/semantic/dep.el: + * cedet/semantic/doc.el: + * cedet/semantic/edit.el: + * cedet/semantic/find.el: + * cedet/semantic/format.el: + * cedet/semantic/html.el: + * cedet/semantic/ia-sb.el: + * cedet/semantic/ia.el: + * cedet/semantic/idle.el: + * cedet/semantic/lex-spp.el: + * cedet/semantic/lex.el: + * cedet/semantic/mru-bookmark.el: + * cedet/semantic/scope.el: + * cedet/semantic/senator.el: + * cedet/semantic/sort.el: + * cedet/semantic/symref.el: + * cedet/semantic/tag-file.el: + * cedet/semantic/tag-ls.el: + * cedet/semantic/tag-write.el: + * cedet/semantic/tag.el: + * cedet/semantic/util-modes.el: + * cedet/semantic/analyze/complete.el: + * cedet/semantic/analyze/refs.el: + * cedet/semantic/bovine/c.el: + * cedet/semantic/bovine/gcc.el: + * cedet/semantic/bovine/make.el: + * cedet/semantic/bovine/scm.el: + * cedet/semantic/decorate/include.el: + * cedet/semantic/decorate/mode.el: + * cedet/semantic/symref/cscope.el: + * cedet/semantic/symref/global.el: + * cedet/semantic/symref/grep.el: + * cedet/semantic/symref/idutils.el: + * cedet/semantic/symref/list.el: + * cedet/semantic/wisent/java-tags.el: + * cedet/semantic/wisent/javascript.el: + * cedet/srecode/compile.el: + * cedet/srecode/cpp.el: + * cedet/srecode/document.el: + * cedet/srecode/el.el: + * cedet/srecode/expandproto.el: + * cedet/srecode/getset.el: + * cedet/srecode/insert.el: + * cedet/srecode/java.el: + * cedet/srecode/map.el: + * cedet/srecode/mode.el: + * cedet/srecode/template.el: + * cedet/srecode/texi.el: Remove the file-local setting of + generated-autoload-feature. + + * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist, + and only put a prop if it is non-nil. + +2009-11-03 Juri Linkov <[email protected]> + + * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle) + (menu-bar-options-menu): Fix list quoting (Bug#4429). + + * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer" + and "Menu" to make top-level menu item visually one unit (like + it's done for "Lisp-Interaction", "Emacs-Lisp" and other + multi-word menu items). Fix :help string for quit-window. + +2009-11-03 Glenn Morris <[email protected]> + + * cedet/mode-local.el (with-mode-local): Doc fix. + + * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar) + (byte-compile-file-form-define-abbrev-table) + (byte-compile-file-form-custom-declare-variable) + (byte-compile-variable-ref, byte-compile-defvar): + Whether or not a warning is enabled should only affect whether we issue + the warning, not whether or not we collect the relevant data. + Eg warnings can be turned on and off throughout the course of a file. + + * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it... + (eshell-handle-ansi-color): ... Rather than requiring ansi-color. + +2009-11-03 Stefan Monnier <[email protected]> + + * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos): + * play/mpuz.el (mpuz-create-buffer): + * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell) + (lm-print-y,s,noise, lm-print-w0, lm-init): + * play/gomoku.el (gomoku-prompt-for-move): + * play/fortune.el (fortune-in-buffer): + * play/dissociate.el (dissociated-press): + * play/decipher.el (decipher-adjacency-list, decipher-display-regexp) + (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer): + * mail/supercite.el (sc-eref-show): + * mail/smtpmail.el (smtpmail-send-it): + * mail/rmailsum.el (rmail-summary-next-labeled-message) + (rmail-summary-previous-labeled-message, rmail-summary-wipe) + (rmail-summary-undelete-many, rmail-summary-rmail-update) + (rmail-summary-goto-msg, rmail-summary-expunge) + (rmail-summary-get-new-mail, rmail-summary-search-backward) + (rmail-summary-add-label, rmail-summary-output-menu) + (rmail-summary-output-body): + * mail/rfc822.el (rfc822-addresses): + * mail/reporter.el (reporter-dump-variable, reporter-dump-state): + * mail/mailpost.el (post-mail-send-it): + * mail/hashcash.el (hashcash-generate-payment): + * mail/feedmail.el (feedmail-run-the-queue) + (feedmail-queue-send-edit-prompt-help-first) + (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater) + (feedmail-deduce-address-list): + * eshell/esh-ext.el (eshell-remote-command): + * eshell/em-unix.el (eshell-occur-mode-mouse-goto): + * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting) + (viper-wildcard-to-regexp, viper-glob-mswindows-files) + (viper-save-string-in-file, viper-valid-marker): + * emulation/viper-keym.el (viper-toggle-key): + * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file) + (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit) + (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile): + * emulation/viper-cmd.el (viper-exec-form-in-vi) + (viper-exec-form-in-emacs, viper-brac-function): + * emulation/viper.el (viper-delocalize-var): + * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat) + (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer) + (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark) + (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command): + * emulation/vi.el (vi-switch-mode, vi-ex-cmd): + * emulation/edt.el (edt-electric-helpify): + * emulation/cua-rect.el (cua--rectangle-aux-replace): + * emulation/cua-gmrk.el (cua--insert-at-global-mark) + (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark) + (cua-indent-to-global-mark-column): + * calendar/diary-lib.el (calendar-mark-1): + * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern): + Use with-current-buffer. + * emulation/viper.el (viper-delocalize-var): Use dolist. + +2009-11-03 Chong Yidong <[email protected]> + + * comint.el (comint-replace-by-expanded-history-before-point): + Replace !! with the previous input string literally (Bug#1795). + +2009-11-02 Jay Belanger <[email protected]> + + * calc/calc-forms.el (calc-date-notation): Allow a "blank string" + to be made up of whitespace. + +2009-11-02 Chong Yidong <[email protected]> + + * minibuffer.el (read-file-name): Don't use file dialogs for + remote directories (Bug#99). + +2009-11-01 Chong Yidong <[email protected]> + + * progmodes/sh-script.el (sh-font-lock-paren): Fix last change. + +2009-11-01 Andreas Schwab <[email protected]> + + * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer + instead of deleting the window or frame. + +2009-10-31 Chong Yidong <[email protected]> + + * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function): + Support face colors. + + * textmodes/tex-mode.el (tex-facemenu-add-face-function): + New function. Support face colors (Bug#1168). + (tex-common-initialization): Use it. + + * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the + mode allows it (Bug#1168). + +2009-10-31 Juri Linkov <[email protected]> + + * facemenu.el (list-colors-display): Don't mark buffer as + modified (Bug#3948). + +2009-10-31 Chong Yidong <[email protected]> + + * international/mule-diag.el (list-character-sets-1): Minor + message fix (Bug#3526). + + * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix + face property (Bug#4834). + (etags-list-tags, etags-tags-apropos-additional) + (etags-tags-apropos, tags-select-tags-table): Add follow-link + property. + + * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu + items. + + * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu + items. + + * cedet/ede.el (ede-minor-mode): + * cedet/semantic.el (semantic-mode): Toggle menu separators. + +2009-10-31 Stefan Monnier <[email protected]> + + * textmodes/two-column.el (2C-split): + * textmodes/texnfo-upd.el (texinfo-multi-file-included-list): + * textmodes/tex-mode.el (tex-set-buffer-directory): + * textmodes/spell.el (spell-region, spell-string): + * textmodes/reftex.el (reftex-erase-buffer): + (reftex-get-file-buffer-force, reftex-kill-temporary-buffers): + * textmodes/reftex-toc.el (reftex-toc-promote-action): + * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct) + (reftex-select-item): + * textmodes/reftex-ref.el (reftex-label-info-update) + (reftex-offer-label-menu): + * textmodes/reftex-index.el (reftex-index-change-entry) + (reftex-index-phrases-info): + * textmodes/reftex-global.el (reftex-create-tags-file) + (reftex-save-all-document-buffers, reftex-ensure-write-access): + * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite) + (reftex-view-crossref-from-bibtex): + * textmodes/reftex-cite.el (reftex-bibtex-selection-callback) + (reftex-extract-bib-entries-from-thebibliography) + (reftex-all-used-citation-keys, reftex-create-bibtex-file): + * textmodes/refbib.el (r2b-capitalize-title): + (r2b-convert-buffer, r2b-help): + * textmodes/page-ext.el (pages-directory) + (pages-directory-goto-with-mouse): + * textmodes/bibtex.el (bibtex-validate-globally): + * textmodes/bib-mode.el (bib-capitalize-title): + * textmodes/artist.el (artist-clear-buffer, artist-system): + * progmodes/xscheme.el (global-set-scheme-interaction-buffer): + (local-set-scheme-interaction-buffer, xscheme-process-filter) + (verify-xscheme-buffer, xscheme-enter-interaction-mode) + (xscheme-enter-debugger-mode, xscheme-debugger-mode-p) + (xscheme-send-control-g-interrupt, xscheme-start-process) + (xscheme-process-sentinel, xscheme-cd): + * progmodes/verilog-mode.el (verilog-read-always-signals) + (verilog-set-define, verilog-getopt-file) + (verilog-module-inside-filename-p): + * progmodes/sh-script.el: + * progmodes/python.el (python-pdbtrack-get-source-buffer) + (python-pdbtrack-grub-for-buffer, python-execute-file): + * progmodes/octave-inf.el (inferior-octave): + * progmodes/idlwave.el (idlwave-scan-user-lib-files) + (idlwave-shell-compile-helper-routines, idlwave-set-local) + (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs) + (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows) + (idlwave-completion-fontify-classes, idlwave-display-calling-sequence): + * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear) + (idlwave-shell-filter, idlwave-shell-examine-highlight) + (idlwave-shell-sentinel, idlwave-shell-filter-directory) + (idlwave-shell-display-line, idlwave-shell-set-bp-in-module) + (idlwave-shell-examine-display, idlwave-shell-run-region) + (idlwave-shell-filter-bp, idlwave-shell-save-and-action) + (idlwave-shell-sources-filter, idlwave-shell-goto-next-error): + * progmodes/idlw-help.el (idlwave-help-get-special-help) + (idlwave-help-get-help-buffer): + * progmodes/gud.el (gud-basic-call, gud-find-class) + (gud-tooltip-activate-mouse-motions-if-enabled): + * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe): + * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as) + (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file) + (ebrowse-tags-next-file): + * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps) + (ebnf-eps-production-list, ebnf-begin-file, ebnf-log) + (ebnf-eps-finish-and-write): + * progmodes/cpp.el (cpp-edit-save): + * progmodes/cperl-mode.el (cperl-pod-to-manpage): + * progmodes/cc-defs.el (c-emacs-features): + * progmodes/antlr-mode.el (antlr-invalidate-context-cache) + (antlr-directory-dependencies): + * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name) + (ada-run-application, ada-find-in-src-path, ada-goto-parent) + (ada-find-any-references, ada-make-filename-from-adaname) + (ada-make-body-gnatstub): + * obsolete/rnews.el (news-list-news-groups): + * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file): + * obsolete/iso-acc.el (iso-acc-minibuf-setup): + * net/rcirc.el (rcirc-debug): + * net/newst-treeview.el (newsticker--treeview-list-add-item) + (newsticker--treeview-list-clear, newsticker-treeview-browse-url) + (newsticker--treeview-list-update-faces, newsticker-treeview-save) + (newsticker--treeview-item-show-text, newsticker--treeview-item-show) + (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init) + (newsticker-treeview-show-item, newsticker--treeview-unfold-node) + (newsticker--treeview-list-clear-highlight) + (newsticker--treeview-list-update-highlight) + (newsticker--treeview-list-highlight-start) + (newsticker--treeview-tree-update-highlight) + (newsticker--treeview-get-selected-item) + (newsticker-treeview-mark-list-items-old) + (newsticker--treeview-set-current-node): + * net/newst-plainview.el (newsticker--buffer-set-uptodate): + * net/newst-backend.el (newsticker--get-news-by-funcall) + (newsticker--get-news-by-wget, newsticker--image-get) + (newsticker--image-sentinel): + * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field): + * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session): + (eudc-ph-close-session): + * net/eudc.el (eudc-save-options): + * language/thai-word.el (thai-update-word-table): + * language/japan-util.el (japanese-string-conversion): + * international/titdic-cnv.el (tsang-quick-converter) + (ziranma-converter, ctlau-converter): + * international/mule-cmds.el (describe-language-environment): + * international/ja-dic-cnv.el (skkdic-convert-okuri-ari) + (skkdic-convert-postfix, skkdic-convert-prefix): + (skkdic-convert-okuri-nasi, skkdic-convert): + * emacs-lisp/re-builder.el (reb-update-overlays): + * emacs-lisp/pp.el (pp-to-string, pp-display-expression): + * emacs-lisp/gulp.el (gulp-send-requests): + * emacs-lisp/find-gc.el (trace-call-tree): + * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class) + (eieio-describe-generic): + * emacs-lisp/eieio-base.el (eieio-persistent-read): + * emacs-lisp/edebug.el (edebug-outside-excursion): + * emacs-lisp/debug.el (debugger-make-xrefs): + * emacs-lisp/cust-print.el (custom-prin1-to-string): + * emacs-lisp/chart.el (chart-new-buffer): + * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log): + Use with-current-buffer. + * textmodes/artist.el (artist-system): Don't call + copy-sequence on a fresh string. + * progmodes/idlw-shell.el (easymenu setup): Use dolist. + +2009-10-31 Stephen Berman <[email protected]> + + * calendar/todo-mode.el (todo-edit-item): Signal an error if there + is no item to edit. (Bug#4820) + (todo-top-priorities): Restore point and restore narrowing in Todo + buffer. (Bug#4820) + +2009-10-31 Glenn Morris <[email protected]> + + * net/ange-ftp.el (top-level): Don't require dired when compiling. + (comint-last-output-start, comint-last-input-start) + (comint-last-input-end): Don't defvar when compiling. + (ange-ftp-process-file): Use bound-and-true-p. + + * pcmpl-rpm.el (top-level): Move provide statement to end. + (pcmpl-rpm): Remove unused custom group. + + * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler. + + * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes. + + * emacs-lisp/bytecomp.el (byte-compile-warning-types) + (byte-compile-warnings): Add `constants' as an option. + (byte-compile-callargs-warn, byte-compile-arglist-warn) + (display-call-tree): Update for byte-compile-fdefinition possibly + returning `(macro lambda ...)'. (Bug#4778) + (byte-compile-variable-ref, byte-compile-setq-default): + Respect `constants' member of byte-compile-warnings. + + * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer): + Use mapc rather than mapcar because the return value is never used. + + * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el: + * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el: + * cedet/semantic/html.el: + Suppress harmless warnings about setting up semantic-imenu (not + part of Emacs) variables. + +2009-10-30 Stefan Monnier <[email protected]> + + * vc-bzr.el (vc-bzr-revision-keywords): New var. + (vc-bzr-revision-completion-table): Use it to fix completion of "s:" + to "submit:". + + * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions): + * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag): + * cedet/semantic/symref/grep.el (semantic-symref-perform-search): + * cedet/semantic/bovine/gcc.el (semantic-gcc-query): + * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token): + * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons) + (semantic-analyzer-debug-global-symbol) + (semantic-analyzer-debug-missing-innertype) + (semantic-analyzer-debug-insert-include-summary): + * cedet/semantic/util.el (semantic-file-tag-table): + (semantic-describe-buffer-var-helper, semantic-something-to-tag-table) + (semantic-recursive-find-nonterminal-by-name): + * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default): + * cedet/semantic/tag-file.el (semantic-prototype-file): + * cedet/semantic/symref.el (semantic-symref-parse-tool-output): + * cedet/semantic/sb.el (semantic-sb-fetch-tag-table): + * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string): + * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): + (semantic-idle-summary-maybe-highlight): + * cedet/semantic/ia-sb.el (semantic-ia-speedbar) + (semantic-ia-sb-tag-info): + * cedet/semantic/grammar.el (semantic-analyze-possible-completions): + * cedet/semantic/find.el (semantic-brute-find-tag-by-position): + * cedet/semantic/ede-grammar.el (project-compile-target): + (ede-proj-makefile-insert-variables): + * cedet/semantic/debug.el (semantic-debug-set-parser-location): + (semantic-debug-set-source-location, semantic-debug-interface-layout) + (semantic-debug-mode, semantic-debug): + * cedet/semantic/db.el (semanticdb-needs-refresh-p): + * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer): + * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode): + * cedet/semantic/db-find.el (semanticdb-find-log-new-search) + (semanticdb-find-translate-path-includes--internal) + (semanticdb-reset-log, semanticdb-find-log-activity): + * cedet/semantic/db-file.el (object-write): + * cedet/semantic/db-el.el (semanticdb-equivalent-mode): + * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p) + (semanticdb-create-ebrowse-database): + * cedet/semantic/db-debug.el (semanticdb-table-sanity-check): + * cedet/semantic/complete.el (semantic-displayor-focus-request) + (semantic-collector-calculate-completions-raw) + (semantic-complete-read-tag-analyzer): + * cedet/semantic/analyze.el (semantic-analyze-pulse): + * cedet/ede/util.el (ede-update-version-in-source): + * cedet/ede/proj.el (project-delete-target): + * cedet/ede/proj-elisp.el (ede-update-version-in-source) + (ede-proj-flush-autoconf): + * cedet/ede/pconf.el (ede-proj-configure-synchronize) + (ede-proj-configure-synchronize): + * cedet/ede/locate.el (ede-locate-file-in-project-impl): + * cedet/ede/linux.el (ede-linux-version): + * cedet/ede/emacs.el (ede-emacs-version): + * cedet/ede/dired.el (ede-dired-add-to-target): + * cedet/ede.el (ede-buffer-header-file, ede-find-target) + (ede-buffer-documentation-files, ede-project-buffers, ede-set) + (ede-target-buffers, ede-buffers, ede-make-project-local-variable): + * cedet/cedet-idutils.el (cedet-idutils-fnid-call): + (cedet-idutils-lid-call, cedet-idutils-expand-filename) + (cedet-idutils-version-check): + * cedet/cedet-global.el (cedet-gnu-global-call): + (cedet-gnu-global-expand-filename, cedet-gnu-global-root) + (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits): + * cedet/cedet-cscope.el (cedet-cscope-call) + (cedet-cscope-expand-filename, cedet-cscope-version-check): + Use with-current-buffer. + * cedet/ede.el (ede-make-project-local-variable) + (ede-set-project-variables, ede-set): Use dolist. + +2009-10-30 Dan Nicolaescu <[email protected]> + + * textmodes/ispell.el (ispell-skip-region-alist): + * international/mule-conf.el (eight-bit): + * international/fontset.el (font-encoding-alist): + * startup.el (pure-space-overflow-message): + * simple.el (overwrite-mode-textual, overwrite-mode-binary): + * paths.el (gnus-nntp-service, rmail-spool-directory) + (term-file-prefix): + * files.el (save-some-buffers-action-alist): + * cmuscheme.el (same-window-buffer-names): + * ielm.el (same-window-buffer-names): + * shell.el (same-window-buffer-names): + * mail/sendmail.el (same-window-buffer-names): + * progmodes/inf-lisp.el (same-window-buffer-names): + * bindings.el (mode-line-client) + (mode-line-column-line-number-mode-map): + * language/tibetan.el (tibetan-precomposition-rule-regexp) + (tibetan-precomposed-regexp): Purecopy string arguments. + +2009-10-28 Stefan Monnier <[email protected]> + + * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record) + (calcDigit-nondigit): + * calc/calc-yank.el (calc-copy-to-buffer): + * calc/calc-units.el (calc-invalidate-units-table): + * calc/calc-trail.el (calc-trail-yank): + * calc/calc-store.el (calc-insert-variables): + * calc/calc-rewr.el (math-rewrite, math-rewrite-phase): + * calc/calc-prog.el (calc-read-parse-table): + * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click): + * calc/calc-help.el (calc-describe-bindings, calc-describe-key): + * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve) + (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot) + (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles) + (calc-graph-name, calc-graph-find-command, calc-graph-view) + (calc-graph-view, calc-gnuplot-command, calc-graph-init): + * calc/calc-ext.el (calc-realign): + * calc/calc-embed.el (calc-do-embedded, calc-do-embedded) + (calc-embedded-finish-edit, calc-embedded-make-info) + (calc-embedded-finish-command, calc-embedded-stack-change): + * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer. + + * cedet/mode-local.el (make-obsolete-overload): Add `when' argument. + (overload-docstring-extension): Use that info. + * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info. + * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info): + * cedet/semantic/tag-ls.el (semantic-nonterminal-protection) + (semantic-nonterminal-abstract, semantic-nonterminal-leaf) + (semantic-nonterminal-full-name): Add the new `when' info. + * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for + `assert'. + + * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace + shell-dynamic-complete-filename in preference to + comint-dynamic-complete-filename. + + * bookmark.el (bookmark-insert-location, bookmark-bmenu-list) + (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames): + Don't consider whether the display supports colors. + (bookmark-import-new-list): Use dolist. + (bookmark-bmenu-mode-map): Move initialization into declaration. + (bookmark-bmenu-list): Use dolist, simplify. + (bookmark-show-all-annotations): Use save-selected-window and dolist. + (menu-bar-final-items): Use push. + +2009-10-28 Bernhard Herzog <[email protected]> (tiny change) + + * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so + it works on remote files. + (vc-hg-diff): Don't pass any `--cwd' argument. + +2009-10-27 Kevin Ryde <[email protected]> + + * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine): + Use help-xref-info-regexp and help-xref-url-regexp to identify links. + (Further to Bug#3921). + +2009-10-27 Michael Albinus <[email protected]> + + * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'. + (tramp-imap-do-copy-or-rename-file): Don't use the inode, when + calling `tramp-imap-put-file'. Add file size to the call. + (tramp-imap-get-file-entries): Compute also user name, file size, + and date. + (tramp-imap-handle-insert-directory): Insert uid and gid. + (tramp-imap-handle-file-attributes): Transform uid and gid + according to `id-format'. + (tramp-imap-put-file): New optional parameter SIZE. Encode file + size in header X-Size. + +2009-10-26 Juanma Barranquero <[email protected]> + + * simple.el (transpose-subr): Give clearer error when the mark + is not set. (Bug#4807) + +2009-10-26 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-perl-file-truename): New defconst. + Perl code contributed by yary <[email protected]> (tiny change). + (tramp-handle-file-truename, tramp-get-remote-perl): Use it. + Check also for "perl-file-spec" and "perl-cwd-realpath" properties. + (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name. + + * net/tramp-imap.el (tramp-imap-file-name-handler-alist): + Ignore `dired-call-process'. + (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'. + +2009-10-26 Julian Scheid <[email protected]> + + * net/tramp.el (tramp-perl-file-name-all-completions): New defconst. + (tramp-get-remote-readlink): New defun. + (tramp-handle-file-truename): Use it. + (tramp-handle-file-exists-p): Check file-attributes cache, assume + file exists if cache value present. + (tramp-check-cached-permissions): New defun. + (tramp-handle-file-readable-p): Use it. + (tramp-handle-file-writable-p): Likewise. + (tramp-handle-file-executable-p): Likewise. + (tramp-handle-file-name-all-completions): Try using Perl to get + partial completions. When perl not available, combine `cd' and + `ls' into single remote operation and use shell expansion to get + partial remote directory contents. Set `file-exists-p' cache for + directory and any files returned by ls. Change cache handling to + support partial directory contents. Use error message emitted by + remote `cd' or Perl code for local tramp-error. + (tramp-do-copy-or-rename-file-directly): Avoid separate + tramp-send-command-and-check call. + (tramp-handle-process-file): Merge three remote ops into one. + Do not flush all caches when `process-file-side-effects' is set. + (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if + file-attributes shows uid/gid to be set already. + +2009-10-26 Dan Nicolaescu <[email protected]> + + * textmodes/tex-mode.el (tex-dvi-view-command) + (tex-show-queue-command, tex-open-quote): + * progmodes/ruby-mode.el (auto-mode-alist) + (interpreter-mode-alist): Purecopy strings. + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names. + + * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc + string for the hook, keymap and abbrev table. + + * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name. + + * x-dnd.el (x-dnd-xdnd-to-action): + * startup.el (fancy-startup-text, fancy-about-text): Change to + defconst from defvar. + + * ps-print.el (ps-page-dimensions-database): Purecopy initial value. + + * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist): + Purecopy initialization strings. + + * mail/sendmail.el (mail-header-separator) + (mail-personal-alias-file): + * mail/rmail.el (rmail-default-dont-reply-to-names) + (rmail-ignored-headers, rmail-retry-ignored-headers) + (rmail-highlighted-headers, rmail-secondary-file-directory) + (rmail-secondary-file-regexp): + * files.el (null-device, file-name-invalid-regexp) + (locate-dominating-stop-dir-regexp) + (inhibit-first-line-modes-regexps): Purecopy initialization strings. + (interpreter-mode-alist): Use mapcar instead of mapc. + + * buff-menu.el (Buffer-menu-mode-map): Purecopy name. + + * bindings.el (mode-line-major-mode-keymap): Purecopy name. + (completion-ignored-extensions): + (debug-ignored-errors): Purecopy strings. + +2009-10-26 Stefan Monnier <[email protected]> + + * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring. + (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt) + (pcomplete--here): Use push. + + * subr.el (all-completions): Declare the 4th arg obsolete. + +2009-10-25 Stefan Monnier <[email protected]> + + * pcomplete.el (pcomplete-unquote-argument-function): New var. + (pcomplete-unquote-argument): New function. + (pcomplete--common-suffix): Always pay attention to case. + (pcomplete--table-subvert): Quote and unquote the text. + (pcomplete--common-quoted-suffix): New function. + (pcomplete-std-complete): Use it and pcomplete-begin. + + * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if + we're inside a dedicated or minibuffer window. + +2009-10-25 Stefan Monnier <[email protected]> + + * cedet/semantic/fw.el (semantic-alias-obsolete) + (semantic-varalias-obsolete): Make the `when' arg mandatory. + (define-mode-overload-implementation): + * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks): + * cedet/semantic/wisent.el (wisent-lex-make-token-table): + * cedet/semantic/util.el (semantic-file-token-stream) + (semantic-something-to-stream): + * cedet/semantic/tag.el (semantic-tag-make-assoc-list) + (semantic-expand-nonterminal): + * cedet/semantic/tag-file.el (semantic-find-nonterminal) + (semantic-find-dependency, semantic-find-nonterminal) + (semantic-find-dependency): + * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end) + (semantic-flex-text, semantic-flex-make-keyword-table) + (semantic-flex-keyword-p, semantic-flex-keyword-put) + (semantic-flex-keyword-get, semantic-flex-map-keywords) + (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list): + * cedet/semantic/java.el (semantic-java-prototype-nonterminal): + * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks) + (semantic-after-idle-scheduler-reparse-hooks): + * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks): + * cedet/semantic/db-mode.el (semanticdb-mode-hooks): + * cedet/semantic.el (semantic-toplevel-bovine-table) + (semantic-toplevel-bovine-cache) + (semantic-before-toplevel-bovination-hook, semantic-init-hooks) + (semantic-init-mode-hooks, semantic-init-db-hooks) + (semantic-bovination-working-type): Provide the `when' arg. + +2009-10-24 Karl Fogel <[email protected]> + + * bookmark.el: Update documentation, especially documentation + of `bookmark-alist' and of the bookmark file format. + Patch by Drew Adams, with minor tweaks from me. (Bug#4195) + +2009-10-24 Chong Yidong <[email protected]> + + * mail/emacsbug.el (report-emacs-bug): Clarify that the + keybindings apply to the mail buffer (Bug#4003). Shrink help + window to buffer. + + * whitespace.el (whitespace-mode, whitespace-newline-mode) + (global-whitespace-mode, global-whitespace-newline-mode) + (whitespace-toggle-options, global-whitespace-toggle-options): + Doc fix (Bug#3660). + + * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value + of xmltok-start before the end tag was inserted (Bug#2840). + + * progmodes/sh-script.el (sh-font-lock-paren): Handle case + patterns that are preceded by an open-paren (Bug#1320). + +2009-10-24 Sven Joachim <[email protected]> + + * files.el (delete-directory): Delete symlinks to directories with + delete-file (Bug#4739). + +2009-10-24 Chong Yidong <[email protected]> + + * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name): + * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN + argument to make-obsolete. + + * cedet/semantic/fw.el (semantic-alias-obsolete) + (semantic-varalias-obsolete): Add optional WHEN argument. + +2009-10-24 Dan Nicolaescu <[email protected]> + + * vc.el (vc-backend-for-registration): Rename from + vc-get-backend-for-registration. Update callers. + + * international/mule-cmds.el (set-language-info-alist): + Purecopy lang-env. + (leim-list-header, leim-list-entry-regexp): Change defvars to defconst. + (charset): Purecopy the name. + (define-char-code-property): Purecopy string arguments. + + * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable): + Purecopy string arguments. + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): + * ediff-hook.el (menu-bar-ediff-menu): + * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips. + * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name. + +2009-10-24 Glenn Morris <[email protected]> + + * comint.el (comint-dynamic-list-completions): + * term.el (term-dynamic-list-completions): Use choose-completion rather + than obsolete alias mouse-choose-completion. + + * filecache.el (file-cache-completions-keymap): Bind mouse-2 to + file-cache-choose-completion. + (file-cache-choose-completion): Handle an optional event argument. + (file-cache-mouse-choose-completion): Make it an obsolete alias. + + * progmodes/octave-mod.el (octave-complete-symbol): + Use choose-completion if mouse-choose-completion is ever removed. + + * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before + use. + + * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for + compiler. + + * vc-hooks.el (vc-responsible-backend): Fix declaration. + +2009-10-24 Stefan Monnier <[email protected]> + + * minibuffer.el (completion--embedded-envvar-table): Fix last change. + Ignore `pred' now that we receive one. + Handle test-completion specially. + +2009-10-23 Dan Nicolaescu <[email protected]> + + * vc.el (vc-responsible-backend): Throw an error if not backend is + found. Remove the REGISTER argument. Move the code dealing with + REGISTER ... + (vc-get-backend-for-registration): ... here. New function. + (vc-deduce-fileset): Call vc-get-backend-for-registration instead + of vc-responsible-backend, pass the file name instead of the + directory name. + +2009-10-23 Stefan Monnier <[email protected]> + + * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert): + New funs. + (pcomplete-std-complete): Use them. Obey pcomplete-termination-string. + (pcomplete-comint-setup): Don't modify a global var via + accidental side-effects. + (pcomplete-shell-setup): Adjust call accordingly. + (pcomplete-parse-comint-arguments): Use push. + +2009-10-23 Chong Yidong <[email protected]> + + * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine): + Allow uncapitalized info node names (Bug#3921). + + * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing + to the DEBUG file (Bug#3781). + +2009-10-23 Jari Aalto <[email protected]> + + * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish + dictionary entry (Bug#4579). + +2009-10-23 Michael Albinus <[email protected]> + + * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay' + from `rfn-eshadow-update-overlay-hook' when unloading. + (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and + "rsyncc". Adjust doc string. + (tramp-temp-buffer-file-name): New buffer-local defvar. + (tramp-handle-insert-file-contents, tramp-handle-write-region): + Keep temporary file when indicated by method ("rsync" and + "rsyncc"). + (tramp-handle-write-region): Handle APPEND. + (tramp-delete-temp-file-function): New defun. Added to + `kill-buffer-hook'. + +2009-10-23 Juanma Barranquero <[email protected]> + + * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler. + +2009-10-23 Dan Nicolaescu <[email protected]> + + * term/tty-colors.el (msdos-color-values): Remove declaration, unused. + (color-name-rgb-alist, tty-standard-colors) + (tty-color-mode-alist): Change to defconst. + + * simple.el (mark-inactive): Purecopy message. + + * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro. + (global-map, yank-menu): + * textmodes/ispell.el (ispell-menu-map): + * net/eudc.el (eudc-tools-menu): + * international/mule-cmds.el (describe-language-environment-map) + (setup-language-environment-map, set-coding-system-map) + (mule-menu-keymap): + * vc-hooks.el (vc-menu-entry, vc-menu-map): + * replace.el (occur-mode-map): + * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips. + +2009-10-23 Jay Belanger <[email protected]> + + * calc/calc.el (math-read-number, math-read-number-simple): Use + `save-match-data'. + +2009-10-22 Stefan Monnier <[email protected]> + + * simple.el (normal-erase-is-backspace-mode): Use input-decode-map + rather than fiddling with global-map bindings, since it should only + affect per-terminal settings. + See http://bugs.gentoo.org/show_bug.cgi?id=289709. + + * minibuffer.el (completion-table-with-terminator): Allow to specify + the terminator-regexp. + + * simple.el (switch-to-completions): Look for *Completions* in other + frames as well. + + * pcomplete.el: Allow the use of completion-tables. + (pcomplete-std-complete): New command. + (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries. + (pcomplete--here): Use a function for `form' rather than an expression, + so it can be byte-compiled. + (pcomplete-here, pcomplete-here*): Adjust accordingly. + Add edebug declaration. + (pcomplete-show-completions): Remove unused var `curbuf'. + (pcomplete-do-complete, pcomplete-stub): + Don't assume `completions' is a list of strings any more. + +2009-10-22 Juanma Barranquero <[email protected]> + + * find-dired.el (find-name-arg): Fix typo in docstring. + +2009-10-22 Stefan Monnier <[email protected]> + + * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries. + (pcmpl-linux-fs-types): Same, and update to new modules layout. + + * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to + pcomplete-entries. + + * comint.el (comint-read-input-ring, comint-write-input-ring) + (comint-substitute-in-file-name) + (comint-dynamic-complete-as-filename) + (comint-dynamic-simple-complete) + (comint-dynamic-list-filename-completions) + (comint-dynamic-list-completions) + (comint-redirect-results-list-from-process): Minor simplifications. + +2009-10-21 Kevin Ryde <[email protected]> + + * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): + When inserting ";;; Code" put it before any ";;;###autoload" cookie on + the first form. And insert a blank line after ";;; Code" since + that's usual style. (Bug#4612) + + * net/dns.el: Add "Keywords: comm", as per net/net-utils.el. + +2009-10-21 Stefan Monnier <[email protected]> + + * minibuffer.el (completion-table-with-terminator): Properly implement + boundaries, in case `terminator' appears in the suffix. + (completion--embedded-envvar-table): Don't return boundaries if + there's no valid completion. Simplify. + (completion-file-name-table): New completion table extracted from + completion--file-name-table. + (completion--file-name-table): Use it. + (read-file-name-predicate): Declare obsolete. + (read-file-name): Use the pred arg i.s.o read-file-name-predicate. + * vc-bzr.el (vc-bzr-revision-completion-table): Use the new + completion-file-name-table, and use the `pred' argument. + * files.el (locate-file-completion-table): Use the `pred' arg rather + than read-file-name-predicate. + (abbreviate-file-name): Use \` rather than ^ for BOS. + +2009-10-21 Dan Nicolaescu <[email protected]> + + * vc.el (vc-deduce-fileset): Undo previous change, do not tell + vc-responsible-backend to register, it causes problems. + +2009-10-21 Stefan Monnier <[email protected]> + + * help-fns.el: Don't require help-mode (to avoid bootstrap issues). + +2009-10-21 Eric Ludlam <[email protected]> + + * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init) + (semantic-c-debug-mode-init-pch): New functions. + (semantic-c-debug-mode-init-last-mode): New var. + (semantic-c-parse-lexical-token): Use them. + + * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace): + When extracting the argument list, limit only by point-max. + +2009-10-21 Michael Albinus <[email protected]> + + * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun. + (tramp-smb-handle-file-attributes): Use it. + (tramp-smb-do-file-attributes-with-stat): Don't raise an error. + (tramp-smb-handle-insert-directory): Use `mapc' rather than + `mapcar'. Use `tramp-smb-get-stat-capability'. + Add `dired-filename' text properties. + (tramp-smb-get-cifs-capabilities): Apply `save-match-data'. + (tramp-smb-maybe-open-connection): Simplify check for smbclient + version. + +2009-10-20 Stefan Monnier <[email protected]> + + * subr.el (read-key-delay): Reduce to 0.01. + (read-key): Use read-key-sequence-vector to avoid turning M-t into 244 + (bug#4751). + +2009-10-19 Stefan Monnier <[email protected]> + + * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound. + + * info.el (Info-complete-menu-item): Handle `boundaries' explicitly. + (Info-menu): Remove unused vars `last' and `completions'. + (Info-index-nodes): Remove unused var `node'. + + * info.el (Info-complete-menu-item): Use complete-with-action. + +2009-10-19 Dan Nicolaescu <[email protected]> + + Make vc-annotate work through copies and renames. + * vc-annotate.el (vc-annotate-extract-revision-at-line): + Return the file name too. + (vc-annotate-revision-at-line) + (vc-annotate-find-revision-at-line) + (vc-annotate-revision-previous-to-line) + (vc-annotate-show-log-revision-at-line): Update to get the file + name from vc-annotate-extract-revision-at-line. + (vc-annotate-show-diff-revision-at-line-internal): Change the + argument to mean whether to show a file diff or not. Get the file + name from vc-annotate-extract-revision-at-line. + (vc-annotate-show-diff-revision-at-line): + Update vc-annotate-show-diff-revision-at-line call. + (vc-annotate-warp-revision): Add an optional file argument. + + * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command. + (vc-git-annotate-extract-revision-at-line): Also return the file + name if found. + + * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate + command. Remove unused code. + (vc-hg-annotate-re): Update to match --follow output. + (vc-hg-annotate-extract-revision-at-line): Also return the file + name if found. + + * vc.el: Update annotate-extract-revision-at-line documentation. + +2009-10-18 Kevin Ryde <[email protected]> + + * ibuffer.el (ibuffer-confirm-operation-on): Correction to error + re-throw, `err' is a pair not a list so can't use apply (Bug#4740). + + * net/browse-url.el (browse-url): Identify alist with "consp and + not functionp" and let all other things go down the `apply' leg, + as suggested by Stefan. (Further to bug#4531.) + +2009-10-18 Chong Yidong <[email protected]> + + * minibuffer.el (read-file-name): Check for repeat before putting + a default argument in file-name-history (Bug#4657). + + * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table + read syntax (Bug#4737). + + * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at. + +2009-10-18 Aaron S. Hawley <[email protected]> + + * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag. + (html-tag-alist, html-tag-help): Add descriptions for undocumented + entries and make note of obsolete tags. + +2009-10-18 Stefan Monnier <[email protected]> + + * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect. + +2009-10-18 Glenn Morris <[email protected]> + + * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling + grep, so that binary files (eg international/uni-bidi.el) can match. + Remove test for "UnicodeData" files, since it is hopefully unnecessary + now, and in any case the file header format has changed. + +2009-10-17 Glenn Morris <[email protected]> + + * textmodes/flyspell.el (flyspell-large-region, flyspell-word) + (flyspell-get-word, flyspell-large-region) + (flyspell-auto-correct-previous-word): Doc/error message fixes. + +2009-10-17 Chong Yidong <[email protected]> + + * Makefile.in (ELCFILES): Add ede/shell. + +2009-10-17 Dan Nicolaescu <[email protected]> + + * term/common-win.el (x-colors): Purecopy it. + +2009-10-17 Stefan Monnier <[email protected]> + + * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more + permissive for when the buffer is empty. + (tar-header-block-tokenize): Decode the username and groupname. + (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730). + +2009-10-17 Chong Yidong <[email protected]> + + * cedet/srecode/srt.el: + * cedet/srecode/compile.el: + * cedet/semantic/mru-bookmark.el: + * cedet/semantic/debug.el: + * cedet/semantic/complete.el: + * cedet/semantic/analyze.el: Require CL when compiling. + +2009-10-17 Eric Ludlam <[email protected]> + + * cedet/semantic/scope.el + (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of + tmpscope so that the regular scope will continue to work. + + * cedet/semantic/idle.el (semantic-idle-tag-highlight): + Use semantic-idle-summary-highlight-face as the highlighting. + + * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer + contains multibyte characters, choose first applicable coding + system automatically. + + * cedet/ede/project-am.el (project-run-target): New method. + (project-run-target): New method. + + * cedet/ede.el (ede-target): Add run target menu item. + (ede-project, ede-minor-keymap): Add ede-run-target binding. + (ede-run-target): New function. + (ede-target::project-run-target): New method. + + * cedet/ede/proj.el (project-run-target): New method. + + * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler) + (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS. + Add :rules. + (ede-proj-target-makefile-shared-object): Only libtool compilers + now available. Add linkers for libtool. + (ede-cc-linker-libtool, ede-g++-linker-libtool): New. + (ede-proj-makefile-target-name): Always use .la extension. + + * cedet/ede/proj-prog.el (project-run-target): New method. + + * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker. + (ede-g++-linker): Change Change link lines. + + * cedet/ede/pmake.el (ede-pmake-insert-variable-shared): + When searching for old variables, go to the end of the buffer and + search backward from there. + (ede-proj-makefile-automake-insert-subdirs) + (ede-proj-makefile-automake-insert-extradist): New methods. + (ede-proj-makefile-create): Use them. + + * cedet/ede/pconf.el (ede-proj-configure-test-required-file): + Force FILE to expand to the current target. Use file-exists-p to + check that it exists. + + * cedet/ede/linux.el (ede-linux-version): Don't call "head". + (ede-linux-load): Wrap dir in file-name-as-directory. + Set :version slot. + + * cedet/ede/files.el (ede-get-locator-object): When enabling + locate, do so on "top". + + * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in + file-name-as-directory during compare. + (ede-emacs-version): Return Emacs/XEmacs differentiator. + Get version number from different places. Don't call egrep. + (ede-emacs-load): Set :version slot. Call file-name-as-directory + to set the directory. + + * cedet/ede/shell.el: New file. + + * cedet/inversion.el (inversion-decoders): Allow for stray . in + alpha/beta variants. + +2009-10-17 Stefan Monnier <[email protected]> + + * international/mule-cmds.el (select-safe-coding-system): If the file + has a coding cookie, use it regardless of any other setting (bug#4712). + +2009-10-17 Glenn Morris <[email protected]> + + * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec): + All errors should have messages. + + * foldout.el (foldout-mouse-swallow-events): + * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for. + + * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename) + (dired-keep-marker-copy, dired-keep-marker-hardlink) + (dired-keep-marker-symlink, dired-dwim-target) + (dired-copy-preserve-time): Do not autoload these defcustoms. + + * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different + messages from messing up the file coding. (Bug#4623) + +2009-10-17 Jari Aalto <[email protected]> + + * textmodes/ispell.el (ispell-get-decoded-string): Give an error + if no match is found for the current dictionary. (Bug#4578) + + * textmodes/flyspell.el (flyspell-get-word): Make `following' argument + optional, since that is how it is documented, and this is often called + with a nil argument. (Bug#4577) + (flyspell-external-point-words, flyspell-auto-correct-word) + (flyspell-correct-word-before-point, flyspell-word-search-forward) + (flyspell-word-search-backward): Remove nil argument in calls to + flyspell-get-word, since it is not needed now. + +2009-10-17 Ulrich Mueller <[email protected]> + + * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565) + +2009-10-16 Glenn Morris <[email protected]> + + * net/rcirc.el (rcirc-authenticate): Simplify previous change. + +2009-10-16 Toru TSUNEYOSHI <[email protected]> + + * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'. + (ange-ftp-file-size): New function. + (ange-ftp-file-attributes): Use it. + +2009-10-16 Michael Albinus <[email protected]> + + * net/tramp-smb.el (tramp-smb-version): New defvar. + (tramp-smb-maybe-open-connection): Use it, in order to avoid + repeated checks. + +2009-10-16 Glenn Morris <[email protected]> + + * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix. + Maybe copy some custom properties from old to new name. (Bug#4706) + +2009-10-16 Juanma Barranquero <[email protected]> + + * subr.el (error, sit-for, start-process-shell-command) + (start-file-process-shell-command): Set the calling convention + after the function definition. + +2009-10-16 Stefan Monnier <[email protected]> + + * subr.el (error, sit-for, start-process-shell-command) + (start-file-process-shell-command): Use the new + set-advertised-calling-convention feature. + +2009-10-16 Taichi Kawabata <[email protected]> + + * international/ucs-normalize.el (ucs-normalize-version): + Change to 1.2. + (check-range): Adjust for Unicode 5.2. + +2009-10-15 Juri Linkov <[email protected]> + + * menu-bar.el (menu-bar-file-menu): Convert `separator-exit' + to the `menu-item' format. + +2009-10-15 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-replace-environment-variables): Do not fail + if the environment variable does not exist. + + * net/tramp-smb.el (tramp-smb-errors): Add error messages. + (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as + parameter. + (tramp-smb-handle-add-name-to-file) + (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file) + (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file) + (tramp-smb-handle-file-attributes) + (tramp-smb-do-file-attributes-with-stat) + (tramp-smb-handle-file-local-copy) + (tramp-smb-handle-insert-directory) + (tramp-smb-handle-make-directory) + (tramp-smb-handle-make-directory-internal) + (tramp-smb-handle-make-symbolic-link) + (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes) + (tramp-smb-handle-write-region, tramp-smb-get-file-entries) + (tramp-smb-maybe-open-connection): Apply the changed parameters. + (tramp-smb-read-file-entry): Read Disk names in compressed format. + Handle long file names. + (tramp-smb-get-cifs-capabilities): Check, whether the connection + process is running. + (tramp-smb-maybe-open-connection): Trace "smbclient -V" command. + Read share names with "-g" option. + +2009-10-15 Ryan Yeske <[email protected]> + + * net/rcirc.el (rcirc-view-log-file): New command. + (rcirc-track-minor-mode-map): Remove C-c ` binding. + (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be + specified. + +2009-10-15 Glenn Morris <[email protected]> + + * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program + from the second command-line argument. + * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el) + ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el) + ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to + w32-batch-update-autoloads. + * emacs-lisp/autoload.el (autoload-make-program): New variable. + (batch-update-autoloads): Handle autoload-excludes on windows-nt. + + * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of + the headers cannot be located. Simplify, subtracting superflous + save-excursions. + +2009-10-15 Stefan Monnier <[email protected]> + + Replace completion-base-size by completion-base-position to fix bugs + such as (bug#4699). + * simple.el (completion-base-position): New var. + (completion-base-size): Mark as obsolete. + (choose-completion): Make it work for mouse events as well. + Pass the new base-position to choose-completion-string. + (choose-completion-guess-base-position): New function, extracted from + choose-completion-delete-max-match. + (choose-completion-delete-max-match): Use it. Make obsolete. + (choose-completion-string): Use the new base-position info. + (completion-root-regexp): Delete. + (completion-setup-function): Preserve completion-base-position. + Eliminate obsolete base-size manipulation. + * minibuffer.el (display-completion-list): Don't mess with base-size. + (minibuffer-completion-help): Set completion-base-position instead. + * mouse.el (mouse-choose-completion): Redefine as a mere alias to + choose-completion. + * textmodes/bibtex.el (bibtex-complete): + * emacs-lisp/crm.el (crm--choose-completion-string): + Adjust to new calling convention. + * complete.el (partial-completion-mode): Use minibufferp to avoid + bumping into incompatible change to choose-completion-string-functions. + * ido.el (ido-choose-completion-string): Make its calling convention + more permissive. + * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete + base-size manipulation. + (comint-dynamic-list-input-ring): Use dotimes and push. + * iswitchb.el (iswitchb-completion-help): Remove dead-code call to + fundamental-mode. Use `or'. + +2009-10-14 Juri Linkov <[email protected]> + + * misearch.el (multi-isearch-next-buffer-from-list) + (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723) + +2009-10-14 Stefan Monnier <[email protected]> + + * Makefile.in (compile-onefile): Load `bytecomp' rather than + `bytecomp.el'. + + * minibuffer.el (completion-pcm--merge-completions): Make sure the + string we return is all made up of text from the completions rather + than part from the completions and part from the input (bug#4219). + + * ido.el (ido-everywhere): Use define-minor-mode. + + * buff-menu.el (list-buffers, ctl-x-map): + Mark the entry points with ;;;###autoload cookies. + +2009-10-14 Dan Nicolaescu <[email protected]> + + * vc-git.el (vc-git-dir-extra-headers): Set the branch name + correctly in the detached head case. + (vc-git-print-log): Remove unused binding. + + * vc.el (vc-responsible-backend): When a directory is passed for + for registration create a VC repository if no backend is + responsible for the directory argument. + (vc-deduce-fileset): Tell vc-responsible-backend to register. + + * vc.el: Move comments about RCS and SCCS ... + * vc-rcs.el: + * vc-sccs.el: ... here, respectively. + +2009-10-14 Stefan Monnier <[email protected]> + + * minibuffer.el (completion--file-name-table): Return nil if there's + no file completion, even if substitute-in-file-name changed + the string (bug#4708). + +2009-10-13 Juri Linkov <[email protected]> + + * files-x.el (read-file-local-variable-value): Don't filter out + minor modes from mode name completion (bug#4664). + +2009-10-13 Juanma Barranquero <[email protected]> + + * international/mule-cmds.el (ucs-names): Remove exclusion of + "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF). + +2009-10-13 Kenichi Handa <[email protected]> + + * international/uni-name.el: Regenerated. + +2009-10-13 Juanma Barranquero <[email protected]> + + * bs.el (bs-mode): Fix last change. (`revert-buffer-function' + should be automatically buffer-local, but isn't.) + +2009-10-12 Sam Steingold <[email protected]> + + * progmodes/compile.el (compilation-next-error-function): Fix the + timestamps if the buffer has been visited before. + (compilation-mode-font-lock-keywords): Do not prepend "^ *" to + non-anchored patterns, like the perl one (bug#3928). + +2009-10-12 Glenn Morris <[email protected]> + + * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat): + Let-bind `size'. + +2009-10-12 Juanma Barranquero <[email protected]> + + * proced.el (proced-unload-function): New function. + + * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'. + (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility. + Doc fix. + + * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item. + +2009-10-11 Juri Linkov <[email protected]> + + * files-x.el (read-file-local-variable-value): + Provide default value only for bound variables (bug#4664). + +2009-10-11 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-local-host-p): Function shall return nil for + connection methods like smb. + + * net/tramp-cache.el (tramp-flush-connection-property): The hash + can be empty. + + * net/tramp-smb.el (tramp-smb-errors): Add error messages. + (tramp-smb-file-name-handler-alist): Add handlers for + `add-name-to-file', `make-symbolic-link'. + (tramp-smb-handle-add-name-to-file) + (tramp-smb-do-file-attributes-with-stat) + (tramp-smb-handle-make-symbolic-link) + (tramp-smb-get-cifs-capabilities): New defuns. + (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file) + (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file) + (tramp-smb-handle-file-local-copy) + (tramp-smb-handle-make-directory-internal) + (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): + The file name syntax depends on cifs capabilities. + (tramp-smb-handle-file-attributes): + Call `tramp-smb-do-file-attributes-with-stat' if possible. + (tramp-smb-handle-insert-directory): Use posix attributes if possible. + (tramp-smb-handle-set-file-modes): It is applicable for posix only. + +2009-10-11 Chong Yidong <[email protected]> + + * emacs-lisp/eieio.el: Avoid requiring cl at runtime. + (eieio-defclass): Apply deftype handler and setf-method properties + directly. + (eieio-add-new-slot): Avoid union function from cl library. + (eieio--typep): New function. + (eieio-perform-slot-validation): Use it. + +2009-10-10 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark): + Update documentation to refer to the variables documented in r1.135. + (Bug#4188) + +2009-10-10 Karl Fogel <[email protected]> + + * bookmark.el (Info-suffix-list): Remove this unused variable. + (bookmark-current-point): Remove this obsolete variable. + (bookmark-set, bookmark-rename, bookmark-send-edited-annotation): + Adjust for removal of bookmark-current-point. + + (bookmarks-already-loaded, bookmark-current-buffer) + (bookmark-yank-point): Document. (Bug#4188) + +2009-10-10 Glenn Morris <[email protected]> + + * frame.el (frame-height): Doc fix. + + * calendar/calendar.el (calendar-split-width-threshold): New option. + (calendar-basic-setup): Use calendar-split-width-threshold. + +2009-10-10 Sascha Wilde <[email protected]> + + * cedet/ede/proj-shared.el (ede-proj-makefile-target-name): + Use .la for Automake. + +2009-10-09 Chong Yidong <[email protected]> + + * cedet/ede/pconf.el (ede-proj-configure-synchronize): + Use "autoreconf -i". Suggested by Andreas Schwab. + +2009-10-09 Juanma Barranquero <[email protected]> + + * international/mule-cmds.el (ucs-names): Exclude new "Enclosed + Ideographic Supplement" range (U+1F200..U+1F2FF). + +2009-10-09 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list, + since the list will have been rebuilt anyway. (Bug#4349) + +2009-10-09 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-delete): Don't let batch arg prevent saving. + (bookmark-bmenu-execute-deletions): Don't save here, as + bookmark-delete will now do so if necessary. + Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>. + (Bug#4348) + +2009-10-09 Glenn Morris <[email protected]> + + * mail/emacsbug.el (report-emacs-bug): Also print `features'. + +2009-10-09 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-jump): Add new `display-func' parameter. + (bookmark-jump-other-window): Just invoke bookmark-jump with new + argument now, so the two function's behaviors will match. (Bug#3645) + +2009-10-08 Chong Yidong <[email protected]> + + * cedet/ede/proj.el (project-make-dist, project-compile-project): + Fix filename test. + (ede-proj-dist-makefile): Use expand-file-name instead of concat + to expand file names. + +2009-10-08 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain) + (tramp-file-name-real-host, tramp-file-name-port): + Apply `save-match-data'. + + * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the + case both directories are remote. + (tramp-smb-handle-expand-file-name): Implement "~" expansion. + (tramp-smb-maybe-open-connection): Flush the cache only if necessary. + +2009-10-08 Chong Yidong <[email protected]> + + * cedet/ede/proj-obj.el (ede-gcc-linker): New var. + (ede-proj-target-makefile-objectcode): Use it. + + * cedet/ede/source.el (ede-want-any-source-files-p) + (ede-want-any-auxiliary-files-p, ede-want-any-files-p): + Return search result. This error was introduced while merging. + +2009-10-07 Juanma Barranquero <[email protected]> + + * makefile.w32-in (WINS_UPDATES): Fix typo in previous change. + +2009-10-07 Glenn Morris <[email protected]> + + * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use + of concat. + +2009-10-07 Stefan Monnier <[email protected]> + + * files-x.el (read-file-local-variable): Include some + non-user-variables in the completion table (bug#4664). + +2009-10-07 Michael Albinus <[email protected]> + + * net/tramp-cache.el (tramp-flush-connection-property): Add trace + message. + + * net/tramp-smb.el (tramp-smb-errors): Add error messages. + (tramp-smb-file-name-handler-alist): Add handler for + `copy-directory', `expand-file-name', `set-file-modes'. + (tramp-smb-handle-copy-directory) + (tramp-smb-handle-expand-file-name) + (tramp-smb-handle-set-file-modes): New defuns. + (tramp-smb-handle-copy-file): Handle KEEP-DATE. + (tramp-smb-handle-file-attributes): Simplify check for retrieving + entry. + (tramp-smb-handle-insert-directory): Don't flush the cache. + (tramp-smb-maybe-open-connection): Check for samba client and + server versions. + +2009-10-07 Eli Zaretskii <[email protected]> + + * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change + to not error out of search for "^lisp=" fails. + +2009-10-07 Juanma Barranquero <[email protected]> + + * makefile.w32-in (WINS_UPDATES): New macro. + (custom-deps, finder-data, autoloads): Use it. + +2009-10-07 Glenn Morris <[email protected]> + + * Makefile.in (autoloads): Revert previous change. + * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having + the list of preloaded files passed on the command-line, get + it from src/Makefile. + + * calendar/calendar.el (calendar-basic-setup): In the wide frame case, + show the original buffer rather than a random one. + +2009-10-07 Markus Rost <[email protected]> + + * help.el (describe-no-warranty): Place point in a slightly better + position in the GPLv3 text. + +2009-10-06 Sam Steingold <[email protected]> + + * net/tramp-compat.el (tramp-compat-process-running-p): Check that + the comm attribute is present before calling regexp-quote. + +2009-10-06 Juanma Barranquero <[email protected]> + + * play/animate.el (animate-string): For good effect, make sure + `indent-tabs-mode' and `show-trailing-whitespace' are nil. + + * play/animate.el (animate-sequence, animate-birthday-present): + * misc.el (butterfly): Don't set `indent-tabs-mode'. + +2009-10-06 Glenn Morris <[email protected]> + + * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix. + + * emacs-lisp/autoload.el (autoload-excludes): New variable. + (autoload-generate-file-autoloads): Skip files in autoload-excludes. + (batch-update-autoloads): Process a string value of autoload-excludes, + set during the build process. + * Makefile.in (autoloads): Skip preloaded files. (Bug#4446) + + * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call + inside with-parsed... macro so that `v' is defined. + + * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block): + * progmodes/fortran.el (fortran-end-of-block) + (fortran-beginning-of-block): + Also push mark in the macro case. + + * emerge.el (emerge-show-file-name): + * calc/calc.el (calc-quit): + * calc/calc-misc.el (calc-big-or-small): + * calc/calc-graph.el (calc-graph-view): + * calc/calc-ext.el (calc-reset): + * calendar/calendar.el (calendar-basic-setup): + Use window-full-height-p. + + * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type + header we don't understand, don't insert another. (Bug#4624) + If changing mime charset, insert the new one in the right place. + +2009-10-06 Matthew Junker <[email protected]> (tiny change) + + * calendar/cal-tex.el (cal-tex-cursor-month-landscape) + (cal-tex-cursor-month): Correctly increment the end date for diary and + holiday listing. (Bug#4626) + +2009-10-05 Stefan Monnier <[email protected]> + + * help-fns.el (describe-function-1): Don't burp if the function is not + a symbol. + +2009-10-05 Juanma Barranquero <[email protected]> + + * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart) + (chart-axis-range, chart-axis-names, chart-sequece, chart-bar) + (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist) + (chart-draw-line, chart-bar-quickie): Fix typos in docstrings. + + * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form) + (eieio-default-superclass): Reflow docstrings. + (this, class-option-assoc, defclass, eieio-class-un-autoload) + (eieio-unbind-method-implementations, defmethod) + (eieio-validate-slot-value, eieio-validate-class-slot-value) + (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default) + (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list) + (eieio-slot-originating-class-p, eieio-slot-name-index) + (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute) + (constructor, initialize-instance, no-next-method, object-print) + (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string): + Fix typos in docstrings. + (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric) + (child-of-class-p, object-slots, slot-boundp, slot-exists-p) + (next-method-p): Doc fixes. + (eieio-add-new-slot, call-next-method, eieiomt-add, change-class): + Fix typos in error messages. + (eieio-defmethod): Fix typo in description of generic method. + + * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound) + (eieio-persistent-save-interactive, slot-missing): + Fix typos in docstrings. + (eieio-instance-inheritor-slot-boundp): Doc fix. + + * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod) + (byte-compile-defmethod-param-convert): Fix typos in docstrings. + + * emacs-lisp/eieio-custom.el (eieio-done-customizing) + (eieio-custom-object-apply-reset): + Fix typos in docstrings and error messages. + + * emacs-lisp/eieio-datadebug.el (data-debug-show): + Fix typo in docstring. + + * emacs-lisp/eieio-opt.el (top): Fix typo in error message. + (eieio-browse-tree): Doc fix. + (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings. + (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map): + Fix typos in docstrings. + + * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix. + (eieio-speedbar-key-map, eieio-speedbar-create-engine) + (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children) + (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand): + Reflow docstrings. + +2009-10-05 Dan Nicolaescu <[email protected]> + + * vc-hg.el (log-view-vc-backend): Declare for compiler. + (vc-hg-outgoing-mode, vc-hg-incoming-mode): + Set log-view-vc-backend so that diff can work. + + * log-view.el (log-view-diff): Use vc-diff-internal instead of + vc-version-diff. + (vc-diff-internal): Autoload this instead of vc-version-diff. + +2009-10-05 Eli Zaretskii <[email protected]> + + * simple.el (eval-expression): Doc fix. + + * progmodes/cwarn.el (cwarn-mode): Doc fix. + +2009-10-05 Michael Albinus <[email protected]> + + * files.el (directory-files-no-dot-files-regexp): New defconst. + (delete-directory): Use it. + (copy-directory): Use it. Remove parameter PRESERVE-UID-GID. + + * net/tramp.el (tramp-verbose): Fix docstring. + (tramp-methods): Add recursive option to `tramp-copy-args'. + Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2", + "scp1_old", "scp2_old", "rsync", "rsyncc". + (tramp-default-method): Check also for `auth-source-user-or-password'. + (tramp-file-name-handler-alist, tramp-file-name-for-operation): + Add handler for `copy-directory'. + (tramp-handle-copy-directory): New defun. + (tramp-do-copy-or-rename-file-out-of-band): Handle directory case. + (tramp-handle-start-file-process): Raise an error when PROGRAM is nil. + Optimize sent command. + +2009-10-05 Stefan Monnier <[email protected]> + + * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar + window if necessary. + + * calendar/calendar.el (calendar-basic-setup): Don't call + switch-to-buffer in a dedicated window. + +2009-10-05 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-handle-bookmark): If bookmark has no file, + don't do anything related to relocating, just return nil. + (bookmark-error-no-filename): New error. + (bookmark-default-handler): Signal `bookmark-error-no-filename' if + bookmark has no file. Don't even attempt to handle things that + are not files; the whole point of custom handlers is to keep that + knowledge elsewhere anyway. Tighten some comments. + (bookmark-file-or-variation-thereof): Remove now-unused function. + (bookmark-location): Doc string fix. + (Bug#4250) + +2009-10-04 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark, + don't use a file dialog, because they usually don't know how to read + a directory target from the user. (Bug#4230) + Also, make sure the prompt can display directories as well as files. + +2009-10-04 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-set, bookmark-buffer-name): + Improve doc strings. (Bug#1193) + +2009-10-04 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record) + (bookmark-set-name, bookmark-prop-get, bookmark-prop-set) + (bookmark-get-annotation, bookmark-set-annotation) + (bookmark-get-filename, bookmark-set-filename, bookmark-get-position) + (bookmark-set-position, bookmark-get-front-context-string) + (bookmark-set-front-context-string, bookmark-get-rear-context-string) + (bookmark-set-rear-context-string, bookmark-location, bookmark-jump) + (bookmark-jump-other-window, bookmark-handle-bookmark) + (bookmark-relocate, bookmark-insert-location, bookmark-rename) + (bookmark-insert, bookmark-delete, bookmark-time-to-save-p) + (bookmark-edit-annotation-mode, bookmark-edit-annotation): + Improve doc strings to say whether bookmark can be a string or + a record or both, and make other consistency and clarity fixes. + (bookmark-get-handler, bookmark--jump-via, bookmark-write-file) + (bookmark-default-annotation-text, bookmark-yank-word) + (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist) + (bookmark-import-new-list, bookmark-maybe-rename) + (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames) + (bookmark-bmenu-bookmark): Give these doc strings. + (bookmark-bmenu-check-position): Give this a doc string, but also + add a FIXME comment about how the function may be pointless. + (bookmark-default-handler): Rework doc string and change a + parameter name, to clarify that this takes a bookmark record + not a bookmark name. + (bookmark-set): Change a parameter name to indicate its meaning, + and improve the doc string a bit. + (Bug#4188) + +2009-10-04 Karl Fogel <[email protected]> + + * bookmark.el (bookmark-alist): Document the new `handler' element + in the param alist. + (bookmark-make-record-function): Adjust documentation for above. + (Bug#4193) + +2009-10-04 Karl Fogel <[email protected]> + + * info.el (Info-bookmark-make-record): Document this function. + (Info-bookmark-jump): Document with a doc string, not just a comment. + (Bug#4203) + +2009-10-04 Chong Yidong <[email protected]> + + * cedet/semantic.el (semantic-new-buffer-setup-functions): New option. + (semantic-new-buffer-fcn): Call parser setup functions here. + (semantic-mode): Don't call parser setup functions here, it's done + in semantic-new-buffer-fcn now. + (semantic-mode): Parse all existing buffers when enabled. + + * cedet/srecode/compile.el (srecode-compile-file): + Call semantic-new-buffer-fcn if the buffer has not been parsed. + +2009-10-04 Chong Yidong <[email protected]> + + * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete. + + * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel. + (proj-comp-insert-variable-once): New macro, renamed from + ede-pmake-insert-variable-once in ede/pmake.edl. + (ede-proj-makefile-insert-variables): Use it. + +2009-10-04 Michael Albinus <[email protected]> + + * files.el (copy-directory): New defun. + + * dired-aux.el (dired-copy-file-recursive): Use it. + +2009-10-04 Juanma Barranquero <[email protected]> + + * cedet/ede/makefile-edit.el (makefile-beginning-of-command) + (makefile-end-of-command): + * cedet/srecode/srt-mode.el (semantic-beginning-of-context) + (semantic-end-of-context): Fix previous change. Doc fixes. + +2009-10-04 Juanma Barranquero <[email protected]> + + * files-x.el (modify-dir-local-variable) + (copy-dir-locals-to-file-locals-prop-line): + * cedet/ede/makefile-edit.el (makefile-beginning-of-command) + (makefile-end-of-command): + * cedet/semantic/lex.el (semantic-lex-token): + * cedet/semantic/analyze/fcn.el + (semantic-analyze-dereference-metatype-1): + * cedet/semantic/bovine/c.el (semantic-lex-cpp-define) + (semantic-lex-cpp-undef): + * cedet/semantic/wisent/wisent.el (wisent-skip-block): + * cedet/srecode/srt-mode.el (semantic-beginning-of-context) + (semantic-end-of-context): Fix typos in docstrings. + + * recentf.el (recentf-unload-function): New function. + +2009-10-04 Chong Yidong <[email protected]> + + * cedet/ede.el (ede-project-placeholder-cache-file): + * cedet/semantic/db-file.el (semanticdb-default-save-directory): + * cedet/srecode/map.el (srecode-map-save-file): + Use locate-user-emacs-file. Suggested by Juanma Barranquero. + +2009-10-04 Glenn Morris <[email protected]> + + * window.el (window-full-height-p): Add doc string. + +2009-10-04 Martin Rudalics <[email protected]> + + * window.el (window-full-height-p): New function. (Bug#4543) + +2009-10-03 Chong Yidong <[email protected]> + + * cedet/srecode/insert.el: Require srecode/args. + + * cedet/srecode/args.el: Require srecode/dictionary instead of + srecode/insert. + + * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix. + + * files.el (auto-mode-alist): Add .srt and Project.ede. + + * cedet/semantic.el (semantic-mode): + Handle srecode-template-mode-hook as well. + (semantic-mode): Use js-mode-hook for Javascript hook. + + * cedet/srecode/template.el: Remove hook variable. + + * cedet/ede/proj-comp.el: Require ede/pmake when compiling. + + * cedet/ede.el (ede-target-forms-menu): Don't enable if no + projects exist. + (ede-project-placeholder-cache-file): Default to a file in + user-emacs-directory. + + * cedet/srecode/map.el (srecode-map-base-template-dir): Look for + templates in data-directory. + (srecode-map-save-file): Default to a file in user-emacs-directory. + + * cedet/ede/srecode.el (ede-srecode-setup): Use default templates + directory. + +2009-09-30 Eric Ludlam <[email protected]> + + * cedet/semantic/util-modes.el (semantic-highlight-func-mode): + Doc fix. + + * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables): + Only insert each variable once. + + * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro. + (ede-pmake-insert-variable-shared): Use it. + + * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table + for lexical table iff table is nil. + +2009-10-03 Dan Nicolaescu <[email protected]> + + * vc.el: Remove commented out code. + (vc-derived-from-dir-mode): Remove, unused. + (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset. + +2009-10-03 Michael Albinus <[email protected]> + + * net/tramp-ftp.el (tramp-ftp-file-name-handler): + Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise, + there could be recursive loading when `default-directory' is a + remote file name. (Bug#4614) + +2009-10-03 Glenn Morris <[email protected]> + + * calendar/calendar.el (calendar-basic-setup): Handle the case where + the frame is wide. + (calendar-generate-window): Test for shrinkability rather than width. + + * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out + declaration, currently false. + + * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about + reusing existing buffers, in case we happen to visit two files with the + same basename. (Bug#4593) + +2009-10-02 Eli Zaretskii <[email protected]> + + * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR). + (WINS_CEDET_SUBDIRS): List of subdirectories of cedet. + (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in + subdirs of cedet as well. + (AUTOGENEL): Add loaddefs.el files in cedet subdirectories. + +2009-10-02 Stefan Monnier <[email protected]> + + * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): + Obey advertised-signature-table. + + * help-fns.el (help-function-arglist): Don't check + advertised-signature-table. + (describe-function-1): Do it here instead so it also applies to subrs. + +2009-10-02 Michael Albinus <[email protected]> + + * simple.el (start-file-process): Say in the doc-string, that file + handlers might not support pty association, if PROGRAM is nil. + + * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether + HOST and USER are strings. They are nil, when there are + incomplete entries in ~/.netrc, for example. + (ange-ftp-delete-directory): Implement RECURSIVE case. Change to + root directory ("device busy" error otherwise). + + * net/tramp-smb.el (tramp-smb-handle-make-directory-internal): + Flush file properties of created directory. + +2009-10-02 Eli Zaretskii <[email protected]> + + * makefile.w32-in (WINS_BASIC): Remove cedet. + (WINS_CEDET): Add cedet. + (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS). + +2009-10-02 Kevin Ryde <[email protected]> + + * net/browse-url.el (browse-url): Pass any symbol in + browse-url-browser-function to `apply', since if you've mistakenly put + an unbound symbol then the error is clearer. (Bug#4531) + +2009-10-02 Juanma Barranquero <[email protected]> + + * allout.el (allout-init, allout-back-to-current-heading) + (allout-beginning-of-current-entry, allout-ascend-to-depth) + (allout-ascend, allout-up-current-level, allout-end-of-level) + (allout-previous-visible-heading, allout-forward-current-level) + (allout-backward-current-level, allout-show-children): + * apropos.el (apropos-describe-plist): + * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list): + * comint.el (comint-strip-ctrl-m, comint-goto-process-mark): + * completion.el (add-completion, add-permanent-completion): + * descr-text.el (describe-text-category, describe-char): + * desktop.el (desktop-lazy-abort): + * dired-x.el (dired-omit-expunge, dired-x-bind-find-file): + * dired.el (dired-build-subdir-alist): + * ediff.el (ediff-version): + * elide-head.el (elide-head, elide-head-show): + * emerge.el (emerge-version): + * env.el (getenv): + * face-remap.el (variable-pitch-mode): + * faces.el (describe-face): + * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse) + (dired-at-point): + * files.el (find-file-existing, auto-save-mode): + * font-lock.el (font-lock-fontify-buffer): + * help-fns.el (describe-function, describe-variable) + (describe-syntax, describe-categories): + * help.el (view-lossage, describe-bindings, describe-key) + (describe-mode): + * hexl.el (hexl-current-address): + * hi-lock.el (hi-lock-mode, hi-lock-find-patterns): + * info.el (Info-goto-emacs-key-command-node): + * log-edit.el (log-edit-insert-cvs-template) + (log-edit-insert-cvs-rcstemplate): + * menu-bar.el (menu-bar-mode): + * mouse.el (mouse-appearance-menu): + * newcomment.el (comment-indent-new-line): + * pgg.el (pgg-save-coding-system, pgg-encrypt-region) + (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric) + (pgg-encrypt, pgg-decrypt-region, pgg-decrypt) + (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify): + * recentf.el (recentf-mode): + * savehist.el (savehist-mode, savehist-save): + * shadowfile.el (shadow-copy-files): + * simple.el (kill-ring-save, next-line, previous-line) + (normal-erase-is-backspace-mode): + * strokes.el (strokes-update-window-configuration) + (strokes-load-user-strokes, strokes-prompt-user-save-strokes) + (strokes-xpm-for-stroke): + * time.el (emacs-uptime, emacs-init-time): + * tutorial.el (tutorial--describe-nonstandard-key) + (tutorial--detailed-help): + * type-break.el (type-break-mode) + (type-break-mode-line-message-mode, type-break-query-mode) + (type-break-guesstimate-keystroke-threshold): + * vc.el (vc-version-diff, vc-diff, vc-root-diff): + * version.el (emacs-version): + * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock): + * winner.el (winner-mode): + * calendar/timeclock.el (timeclock-in, timeclock-out) + (timeclock-status-string, timeclock-change) + (timeclock-workday-remaining-string) + (timeclock-workday-elapsed-string) + (timeclock-when-to-leave-string): + * calendar/todo-mode.el (todo-add-category): + * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp): + * emacs-lisp/autoload.el (update-file-autoloads): + * emacs-lisp/checkdoc.el (checkdoc-current-buffer) + (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces) + (checkdoc-message-text, checkdoc-defun): + * emacs-lisp/debug.el (debugger-list-functions): + * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): + * emacs-lisp/eieio-opt.el (eieio-describe-class) + (eieio-describe-generic): + * emacs-lisp/lisp-mnt.el (lm-synopsis): + * emacs-lisp/shadow.el (list-load-path-shadows): + * emulation/cua-base.el (cua-mode): + * emulation/edt.el (edt-set-scroll-margins): + * emulation/tpu-edt.el (tpu-toggle-newline-and-indent) + (tpu-toggle-regexp, tpu-toggle-search-direction) + (tpu-toggle-rectangle, tpu-toggle-control-keys): + * emulation/tpu-extras.el (tpu-set-scroll-margins): + * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros) + (viper-set-parsing-style-toggling-macro) + (viper-set-emacs-state-searchstyle-macros): + * emulation/viper.el (viper-set-hooks): + * eshell/esh-mode.el (eshell-truncate-buffer): + * international/mule-cmds.el (prefer-coding-system) + (describe-input-method, describe-language-environment): + * international/mule-diag.el (list-character-sets) + (describe-character-set, describe-coding-system) + (describe-fontset, list-fontsets, list-input-methods): + * mail/sendmail.el (mail-signature): + * net/ange-ftp.el (ange-ftp-copy-file): + * net/browse-url.el (browse-url): + * net/eudc.el (eudc-set-server, eudc-get-attribute-list): + * net/quickurl.el (quickurl-add-url): + * net/rcirc.el (names, topic): + * net/xesam.el (xesam-mode): + * play/5x5.el (5x5-new-game): + * play/yow.el (apropos-zippy): + * progmodes/ada-mode.el (ada-mode-version): + * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram) + (f90-end-of-block) + (f90-beginning-of-block): + * progmodes/fortran.el (fortran-end-of-block) + (fortran-beginning-of-block): + * progmodes/js.el (js-syntactic-context, js-gc, js-eval): + * progmodes/python.el (python-describe-symbol, python-shell): + * term/ns-win.el (ns-print-buffer): + * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url): + * textmodes/flyspell.el (flyspell-mode-on): + * textmodes/page-ext.el (set-page-delimiter, pages-directory) + (pages-directory-for-addresses): + * textmodes/table.el (table-recognize-cell) + (table-query-dimension, table-generate-source) + (table-insert-sequence, table--warn-incompatibility): + * textmodes/tex-mode.el (tex-validate-buffer): + * textmodes/texinfmt.el (texinfmt-version) + (texinfo-format-buffer): + Use `called-interactively-p' instead of `interactive-p'. + +2009-10-02 Juanma Barranquero <[email protected]> + + * image-mode.el (image-toggle-display): + * emacs-lisp/elp.el (elp-instrument-function): + * emacs-lisp/advice.el (ad-make-advised-definition): + * emacs-lisp/easy-mmode.el (define-minor-mode): + * net/browse-url.el (browse-url-maybe-new-window): + * progmodes/sh-script.el (sh-learn-buffer-indent): + Pass new argument 'any to `called-interactively-p'. + +2009-10-01 Juanma Barranquero <[email protected]> + + * international/uni-bidi.el: + * international/uni-category.el: + * international/uni-combining.el: + * international/uni-comment.el: + * international/uni-decimal.el: + * international/uni-decomposition.el: + * international/uni-digit.el: + * international/uni-lowercase.el: + * international/uni-mirrored.el: + * international/uni-name.el: + * international/uni-numeric.el: + * international/uni-old-name.el: + * international/uni-titlecase.el: + * international/uni-uppercase.el: + Regenerate from Unicode 5.2.0 data. + +2009-10-01 Glenn Morris <[email protected]> + + * Makefile.in (ELCFILES): Regenerate. + +2009-10-01 Stefan Monnier <[email protected]> + + * subr.el (interactive-p): Mark obsolete. + (called-interactively-p): Make the optional-ness of `kind' obsolete. + * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey + advertised-signature-table for subroutines as well. + + * emacs-lisp/byte-run.el (advertised-signature-table): New var. + (set-advertised-calling-convention): New function. + (make-obsolete, define-obsolete-function-alias) + (make-obsolete-variable, define-obsolete-variable-alias): + Make the optional-ness of `when' obsolete. + (define-obsolete-face-alias): Make `when' non-optional. + * help-fns.el (help-function-arglist): + * emacs-lisp/bytecomp.el (byte-compile-fdefinition): + Use advertised-signature-table. + +2009-10-01 Michael Albinus <[email protected]> + + * files.el (delete-directory): New defun. The original function + in fileio.c has been renamed to `delete-directory-internal'. + + * dired.el (dired-delete-file): Call `delete-directory' with + RECURSIVE parameter. + + * net/ange-ftp.el (ange-ftp-delete-directory): Add optional + parameter RECURSIVE. Implementation is missing. + + * net/tramp.el (tramp-handle-make-directory): Flush upper + directory's file properties. + (tramp-handle-delete-directory): Handle optional parameter RECURSIVE. + (tramp-handle-dired-recursive-delete-directory): Flush directory + properties after the remove command only. + + * net/tramp-fish.el (tramp-fish-handle-delete-directory): + Handle optional parameter RECURSIVE. + + * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): + Handle optional parameter RECURSIVE. + + * net/tramp-smb.el (tramp-smb-errors): Add error message for + connection timeout. + (tramp-smb-handle-delete-directory): Handle optional parameter + RECURSIVE. + +2009-10-01 Stefan Monnier <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun. + (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it. + (byte-compile-defmacro): Use backquotes. + + * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599). + + * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which + has no associated file. + (vc-resynch-buffer): Use vc-dir-buffers. + +2009-10-01 Glenn Morris <[email protected]> + + * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie) + (chart-file-count): + * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert): + * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button): + * emacs-lisp/eieio-opt.el (eieio-describe-class): + * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create): + * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload) + (eieio-copy-parents-into-subclass, make-instance, class-children) + (eieio-generic-form): + * cedet/cedet-files.el (cedet-directory-name-to-file-name): + * cedet/cedet-idutils.el (cedet-idutils-search) + (cedet-idutils-expand-filename, cedet-idutils-support-for-directory) + (cedet-idutils-version-check): + * cedet/cedet.el (cedet-version): + * cedet/data-debug.el (data-debug-insert-overlay-button) + (data-debug-insert-overlay-list-button) + (data-debug-insert-buffer-button) + (data-debug-insert-buffer-list-button) + (data-debug-insert-process-button, data-debug-insert-ring-button) + (data-debug-insert-widget, data-debug-insert-stuff-list-button) + (data-debug-insert-stuff-vector-button) + (data-debug-insert-symbol-button, data-debug-insert-string) + (data-debug-insert-number, data-debug-insert-lambda-expression) + (data-debug-insert-nil, data-debug-insert-simple-thing) + (data-debug-insert-custom, data-debug-edebug-expr): + * cedet/ede.el (ede-auto-add-method, ede-project-class-files) + (global-ede-mode-map, ede-new, ede-debug-target) + (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set): + * cedet/semantic.el (semantic-minimum-working-buffer-size) + (semantic-fetch-tags, semantic-submode-list) + (semantic-default-submodes): + * cedet/ede/source.el (ede-source-match): + * cedet/ede/project-am.el (project-am-type-alist, project-add-file) + (project-am-package-info): + * cedet/ede/proj.el (ede-proj-target, project-new-target): + * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf): + * cedet/ede/proj-comp.el (ede-current-build-list): + * cedet/ede/makefile-edit.el (makefile-move-to-macro): + * cedet/ede/files.el (ede-toplevel-project-or-nil): + * cedet/ede/cpp-root.el (initialize-instance): + * cedet/ede/autoconf-edit.el (autoconf-find-last-macro) + (autoconf-parameter-strip, autoconf-insert-new-macro): + * cedet/semantic/wisent.el (wisent-lex-eoi): + * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode) + (semantic-show-parser-state-mode): + * cedet/semantic/texi.el (semantic-texi-environment-regexp): + * cedet/semantic/tag.el (semantic-tag-new-variable) + (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy) + (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value) + (semantic--tag-deep-copy-tag-list) + (semantic-tag-components-with-overlays-default): + * cedet/semantic/symref.el (semantic-symref-find-text): + * cedet/semantic/senator.el (senator-yank-tag) + (senator-transpose-tags-up): + * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default) + (semantic-analyze-scoped-inherited-tags, semantic-scope-find): + * cedet/semantic/sb.el (semantic-sb-autoexpand-length): + * cedet/semantic/lex.el (semantic-lex-comment-regex) + (semantic-lex-maximum-depth, define-lex, semantic-lex-token) + (semantic-lex-unterminated-syntax-protection, define-lex-analyzer): + * cedet/semantic/lex-spp.el + (semantic-lex-spp-dynamic-macro-symbol-obarray-stack) + (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt): + * cedet/semantic/idle.el + (semantic-idle-summary-current-symbol-info-brutish) + (semantic-idle-summary-current-symbol-info-default): + * cedet/semantic/grammar.el (semantic-grammar-recreate-package) + (semantic--grammar-macro-compl-dict): + * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table): + * cedet/semantic/format.el (semantic-format-tag-custom-list) + (semantic-format-tag-canonical-name-default): + * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region) + (semantic-find-tags-for-completion) + (semantic-find-tags-by-scope-protection-default) + (semantic-deep-find-tags-for-completion): + * cedet/semantic/edit.el + (semantic-edits-incremental-reparse-failed-hook) + (semantic-edits-verbose-flag, semantic-edits-assert-valid-region) + (semantic-edits-splice-remove, semantic-edits-splice-replace): + * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag): + * cedet/semantic/dep.el (semantic-dependency-include-path): + * cedet/semantic/db.el (semanticdb-default-find-index-class) + (semanticdb-match-any-mode, semanticdb-with-match-any-mode) + (semanticdb-project-roots): + * cedet/semantic/db-find.el (semanticdb-implied-include-tags) + (semanticdb-find-adebug-insert-scanned-tag-cons) + (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc) + (semanticdb-brute-deep-find-tags-for-completion): + * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table): + * cedet/semantic/ctxt.el (semantic-beginning-of-context-default) + (semantic-end-of-context-default) + (semantic-ctxt-current-function-default) + (semantic-ctxt-scoped-types-default): + * cedet/semantic/complete.el (semantic-complete-read-tag-engine) + (semantic-complete-inline-tag-engine) + (semantic-complete-inline-custom-type) + (semantic-complete-read-tag-analyzer): + * cedet/semantic/chart.el (semantic-chart-tags-by-class) + (semantic-chart-database-size): + * cedet/semantic/analyze.el (semantic-analyze-current-symbol) + (semantic-analyze-current-context): + * cedet/semantic/symref/list.el (semantic-symref) + (semantic-symref-hide-buffer, semantic-symref-symbol): + * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template): + * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region): + * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string): + * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map) + (semantic-c-parse-token-hack-depth, semantic-c--template-name-1) + (semantic-c-dereference-template): + * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup) + (semantic--analyze-refs-full-lookup-with-parents) + (semantic--analyze-refs-full-lookup-simple): + * cedet/semantic/analyze/complete.el + (semantic-analyze-possible-completions): + * cedet/srecode/table.el (srecode-mode-table-new): + * cedet/srecode/srt.el (srecode-read-variable-name): + * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p): + * cedet/srecode/semantic.el (srecode-semantic-handle-:tag) + (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag): + * cedet/srecode/map.el (srecode-current-map): + * cedet/srecode/insert.el (srecode-insert) + (srecode-insert-variable-secondname-handler, srecode-insert-method) + (srecode-template-inserter-point-override) + (srecode-insert-include-lookup): + * cedet/srecode/getset.el (srecode-auto-choose-class): + * cedet/srecode/extract.el (srecode-inserter-extract): + * cedet/srecode/document.el + (srecode-document-autocomment-return-last-alist) + (srecode-document-autocomment-param-type-alist) + (srecode-document-insert-function-comment) + (srecode-document-insert-variable-one-line-comment) + (srecode-document-function-name-comment): + * cedet/srecode/dictionary.el (srecode-create-dictionary) + (srecode-compound-toString): + * cedet/srecode/compile.el (srecode-flush-active-templates): + * cedet/srecode/args.el (srecode-semantic-handle-:blank): + Doc/message fixes. + + * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the + match-data. (Bug#4555). + + * cedet/semantic/bovine/gcc.el + (semantic-c-reset-preprocessor-symbol-map): Fix declaration. + (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes. + + * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration + rather than parsing it as a regexp. This relaxes the layout + requirements and makes errors easier to detect. + (check-declare-verify): Check file is regular. + (check-declare-directory): Doc fix. + * subr.el (declare-function): Doc fix. + + * ibuffer.el (ibuffer-format-qualifier): + * isearch.el (hi-lock-regexp-okay): + * calc/calc.el (math-zerop): + * mail/uce.el (rmail-msgbeg, rmail-msgend): + * term/w32-win.el (setup-default-fontset, set-fontset-font): + Remove unused declarations. + +2009-10-01 Juanma Barranquero <[email protected]> + + * cedet/semantic/wisent/javat-wy.el + (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@. + +2009-09-30 Juanma Barranquero <[email protected]> + + * cedet/srecode/expandproto.el: Fix provide statement. + +2009-09-30 Eric Ludlam <[email protected]> + + * emacs-lisp/eieio.el (boolean-p): Delete. + +2009-09-30 Sascha Wilde <[email protected]> + + * cedet/ede/srecode.el: Fix provide statement. + +2009-09-30 Glenn Morris <[email protected]> + + * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous): + * cedet/ede/proj-aux.el (ede-aux-source): + * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous) + (ede-misc-source): + * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read) + (semantic-mrub-switch-tags): Fix doc typos. + + * cedet/semantic/db-global.el (data-debug-new-buffer) + (data-debug-insert-thing): Remove unneeded declarations (one broken). + (semanticdb-enable-gnu-global-databases): Fix prompt typo. + + * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration. + + * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime + use of CL function `remove-if-not'. + + * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el". + + * emacs-lisp/elint.el (elint-init-form): Report declarations where the + filename is not a string. + +2009-09-29 Chong Yidong <[email protected]> + + * files.el (safe-local-eval-forms): Fix typo. + +2009-09-29 Stefan Monnier <[email protected]> + + * vc-hooks.el (vc-dir-buffers): New var. + (vc-state-refresh): New function. + (vc-state): Use it. + (vc-after-save): Always ask the backend to recompute the new state. + Always call vc-dir if necessary, using vc-dir-buffers. + * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file): + Use vc-dir-buffers. + (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook. + (vc-dir-prepare-status-buffer, vc-dir-update) + (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode): + Don't call expand-file-name on default-directory. + +2009-09-29 Juanma Barranquero <[email protected]> + + * speedbar.el (speedbar-item-delete): + * calc/calc-prog.el (calc-kbd-if): + * language/hanja-util.el (hanja-init-load): Fix typos in messages. + + * epa.el (epa-key-list-mode-map): + * hi-lock.el (hi-lock-menu): Fix typos in menus. + + * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring. + (hs-show-hook): Fix typo in docstring. + +2009-09-29 Glenn Morris <[email protected]> + + * cedet/semantic/symref/idutils.el: + * cedet/semantic/symref/list.el: Relicense under GPLv3+. + + * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration. + + * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p): + * cedet/semantic/tag-file.el (semanticdb-table-child-p): + * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p): + Mark declarations not understood by check-declare. + + * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless + file-name-nondirectory call preventing location of cedet files. + (check-declare-verify): Use literal search rather than re-search. + Add basic defmethod and defclass, and define-overloadable-function. + + * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes): + Use tramp-compat-file-attributes rather than nonexistent + tramp-compat-handle-file-attributes. + + * Makefile.in (lisptagsfiles4): New. + (AUTOGENEL): Add cedet loaddefs files. + (TAGS, TAGS-LISP): Use $lisptagsfiles4. + (update-elclist, compile-always, backup-compiled-files) + (bootstrap-clean): Add yet another directory level. + (update-elclist): Use LC_COLLATE rather than COLLATE. + (ELCFILES): Update, via `make update-elclist'. + +2009-09-29 Juanma Barranquero <[email protected]> + + * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros. + (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET. + (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST. + +2009-09-28 Andreas Schwab <[email protected]> + + * Makefile.in (lisptagsfiles3): Define. + (TAGS, TAGS-LISP): Use it. + (update-elclist): Add third directory level to look for elc files. + (compile-always): Likewise. + (backup-compiled-files): Likewise. + (bootstrap-clean): Likewise. + (ELCFILES): Update. + +2009-09-28 Chong Yidong <[email protected]> + + * Makefile.in (ELCFILES): Add CEDET files. + +2009-09-28 Eric Ludlam <[email protected]> + + CEDET (development tools) package merged. + + * cedet/*.el: + * cedet/ede/*.el: + * cedet/semantic/*.el: + * cedet/srecode/*.el: New files. + +2009-09-28 Michael Albinus <[email protected]> + + * Makefile.in (ELCFILES): Add net/tramp-imap.elc. + + * net/tramp.el (top): Require tramp-imap. + + * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes): + Use `tramp-compat-handle-file-attributes'. + +2009-09-28 Teodor Zlatanov <[email protected]> + + * net/tramp-imap.el: New package. + +2009-09-28 Eric Ludlam <[email protected]> + + * emacs-lisp/chart.el: + * emacs-lisp/eieio-base.el: + * emacs-lisp/eieio-comp.el: + * emacs-lisp/eieio-custom.el: + * emacs-lisp/eieio-datadebug.el: + * emacs-lisp/eieio-opt.el: + * emacs-lisp/eieio-speedbar.el: + * emacs-lisp/eieio.el: New files. + + * cedet/cedet-cscope.el: + * cedet/cedet-files.el: + * cedet/cedet-global.el: + * cedet/cedet-idutils.el: + * cedet/data-debug.el: + * cedet/inversion.el: + * cedet/mode-local.el: + * cedet/pulse.el: New files. + +2009-09-27 Vinicius Jose Latorre <[email protected]> + + * whitespace.el (whitespace-trailing-regexp) + (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp): + Fix doc string. + +2009-09-27 Chong Yidong <[email protected]> + + * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools + menu. + + * ediff-hook.el: Move menu-bar-ediff-misc-menu into + menu-bar-ediff-menu. + + * emacs-lisp/lisp-mode.el: Add doc-string-elt property to + define-overloadable-function. + + * progmodes/autoconf.el: Provide autoconf as well, so that this + file can be `require'd. + + * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs. + + * emacs-lisp/autoload.el (generated-autoload-feature) + (generated-autoload-load-name): New vars. + (autoload-rubric, autoload-generate-file-autoloads): Use them. + (make-autoload): Recognize define-overloadable-function and + defclass forms (for EIEIO). + + * Makefile.in (update-subdirs): Exclude cedet directory. + +2009-09-27 Adrian Robert <[email protected]> + + * term/ns-win.el: Don't set the region face background. (Bug#4381) + + * faces.el: Default light-background background for region face to + ns_selection_color under NS. + +2009-09-27 Teodor Zlatanov <[email protected]> + + * net/imap-hash.el: New library, see NEWS. + + * Makefile.in (ELCFILES): Add imap-hash.el. + +2009-09-27 Stefan Monnier <[email protected]> + + * help.el (help-for-help-internal): Don't purecopy the text (bug#4560). + * isearch.el (isearch-help-for-help-internal): Purecopy the second arg. + * help-macro.el (make-help-screen): Avoid using an ambiguous function + definition where the docstring could be taken for the return value. + +2009-09-26 Glenn Morris <[email protected]> + + * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler): + Add option to only show images below a certain size. + (rmail-mime-multipart-handler): Remove unnecessary save-match-data and + save-excursion calls. + +2009-09-26 Eli Zaretskii <[email protected]> + + * makefile.w32-in (WINS_ALMOST): Add cedet (with its + subdirectories) and eieio. + +2009-09-26 Alan Mackenzie <[email protected]> + + * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct + buggy bracketing. (Bug#4289) + + * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted + character constants (as case labels). (Bug#4289) + +2009-09-25 Juri Linkov <[email protected]> + + * files.el (safe-local-eval-forms): Allow time-stamp in + before-save-hook (Bug#4554). + +2009-09-25 Drew Adams <[email protected]> + + * menu-bar.el (list-buffers-directory): Doc fix. + +2009-09-25 Stefan Monnier <[email protected]> + + * log-edit.el (log-edit-changelog-entries): Avoid inf-loops. + Try and avoid copying twice the same paragraph. + (log-edit-changelog-paragraph, log-edit-changelog-subparagraph): + Remove save-excursion. + (log-edit-changelog-entry): Do it here instead. + +2009-09-25 Juanma Barranquero <[email protected]> + + * bs.el (bs--get-file-name): Use `list-buffers-directory' + when available, instead of hardcoding mode names. Doc fix. + + * menu-bar.el (list-buffers-directory): Add docstring. + Make automatically buffer-local. + + * dired.el (dired-mode): + * files.el (cd-absolute): + * pcvs.el (cvs-temp-buffer): + * pcvs-util.el (cvs-get-buffer-create): + * shell.el (shell-mode): + * vc-dir.el (vc-dir-mode): + Don't make `list-buffers-directory' buffer local. + +2009-09-25 Devon Sean McCullough <[email protected]> + + * comint.el (comint-exec, comint-run, make-comint): + Doc fixes (Bug#4542). + +2009-09-25 Glenn Morris <[email protected]> + + * mail/rmailmm.el (rmail-mime): New custom group. + Move all defcustoms in this file into this group. + (rmail-mime-media-type-handlers-alist): Revert previous change. + (rmail-mime-show-images): New option. + (rmail-mime-total-number-of-bulk-attachments): Remove variable and all + references to it, since it wasn't actually used for anything. + (rmail-mime-insert-image): New function. + (rmail-mime-image): Use rmail-mime-insert-image. + (rmail-mime-bulk-handler): Remove optional `image' argument, instead + obey the value of `rmail-mime-show-images' option. Print the size of + attachments. + +2009-09-25 David Engster <[email protected]> + + * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548) + +2009-09-24 Vinicius Jose Latorre <[email protected]> + + * whitespace.el: Does not highlight trailing spaces While point is + at end of line. Does not highligt spaces at beginning of buffer + while point is at beginning of buffer. Does not highlight spaces + at end of buffer while point is at end of buffer. (Bug#4177) + New version 12.0. + (whitespace-display-mappings): Adjust initialization. + (whitespace-point, whitespace-font-lock-refontify): New vars. + (whitespace-color-on, whitespace-color-off): Adjust code. + (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp) + (whitespace-empty-at-eob-regexp, whitespace-space-regexp) + (whitespace-tab-regexp, whitespace-post-command-hook): New funs. + +2009-09-24 Chong Yidong <[email protected]> + + * nxml/nxml-mode.el: Alias xml-mode to nxml-mode. + + * textmodes/sgml-mode.el: Remove xml-mode alias. + + * files.el (auto-mode-alist, conf-mode-maybe) + (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes. + +2009-09-24 Alan Mackenzie <[email protected]> + + * progmodes/cc-cmds.el (c-scan-conditionals): A new function like + c-forward-conditionals, but it doesn't move point and doesn't set + the mark. + (c-up-conditional, c-up-conditional-with-else, c-down-conditional) + (c-down-conditional-with-else, c-backward-conditional) + (c-forward-conditional): Refactor to use c-scan-conditionals. + +2009-09-24 Juanma Barranquero <[email protected]> + + * help-fns.el (help-downcase-arguments): New option, defaulting to nil. + (help-default-arg-highlight): Remove. + (help-highlight-arg): New function. + (help-do-arg-highlight): Use it. + Suggested by Drew Adams <[email protected]>. (Bug#4510, bug#4520) + +2009-09-24 Stefan Monnier <[email protected]> + + * term.el (term-set-scroll-region, term-handle-ansi-escape): + Undo last change, which didn't fix the problem and introduced others. + +2009-09-24 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el: Don't require speedbar. + (gdb-jsonify-buffer): Handle case where "=" is part of value string. + +2009-09-24 Glenn Morris <[email protected]> + + * calendar/diary-lib.el (diary-fancy-display): Always run the hook. + + * term/ns-win.el (ns-reg-to-script): Define for compiler. + + * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where + there is no newline after the final mime boundary. (Bug#4539) + Move markers on insertion so that any buttons inserted don't end up in + the next part of a multipart message. + (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler. + (rmail-mime-bulk-handler): Optionally handle images. + (rmail-mime-image): New button action. + (rmail-mime-image-handler): New function. + (rmail-mime-mode): New mode. + (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock). + +2009-09-24 Stefan Monnier <[email protected]> + + * minibuffer.el (minibuffer-force-complete): Cycle the list, rather + than just dropping elements from it (bug#4504). + + * term.el (term-set-scroll-region): Don't move cursor any more. + (term-handle-ansi-escape): Call term-goto here instead. + Suggested by Ivan Kanis <[email protected]>. + + * term.el: Require CL. + (term-ansi-reset): New function. + (term-mode, term-emulate-terminal, term-handle-colors-array): Use it. + (term-handle-colors-array): Simplify. + +2009-09-24 Juanma Barranquero <[email protected]> + + * allout.el (allout-overlay-interior-modification-handler) + (allout-obtain-passphrase): + * epa-file.el (epa-file-write-region): + * ps-print.el (ps-begin-job): + * vc-hooks.el (vc-toggle-read-only): + * vc-rcs.el (vc-rcs-rollback): + * vc-sccs.el (vc-sccs-rollback): + * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with) + (vc-version-diff, vc-revert, vc-rollback): + * wdired.el (wdired-check-kill-buffer): + * emacs-lisp/authors.el (authors): + * net/socks.el (socks-open-connection): + * net/zeroconf.el (zeroconf-service-add-hook): + * obsolete/vc-mcvs.el (vc-mcvs-register): + * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command) + (gdb-select-frame): + * progmodes/grep.el (lgrep, rgrep): + * progmodes/idlw-help.el (idlwave-help-check-locations) + (idlwave-help-html-link, idlwave-help-assistant-open-link): + * textmodes/ispell.el (ispell-find-aspell-dictionaries): + * textmodes/reftex-toc.el (reftex-toc-promote-prepare) + (reftex-toc-rename-label): Fix typos in error messages. + + * dired-aux.el (dired-do-shell-command): Reflow docstring. + (dired-copy-how-to-fn): Doc fix. + (dired-files-attributes, dired-read-shell-command): + Fix typos in docstrings. + + * dired-x.el (dired-enable-local-variables, dired-filename-at-point) + (dired-x-find-file-other-window): Reflow docstrings. + (dired-omit-marker-char, dired-read-shell-command) + (dired-x-submit-report): Fix typos in docstrings. + + * shell.el (shell-mode-hook): + * view.el (View-scroll-line-forward): + * progmodes/inf-lisp.el (inferior-lisp-mode-hook): + Fix typos in docstrings. + + * net/dig.el (dig-invoke): Fix typo in docstring. + (query-dig): Reflow docstring. + + * progmodes/idlwave.el (idlwave-create-user-catalog-file) + (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes. + (idlwave-abbrev-move, idlwave-auto-routine-info-updates) + (idlwave-begin-block-reg, idlwave-begin-unit-reg) + (idlwave-beginning-of-subprogram, idlwave-block-jump-out) + (idlwave-block-match-regexp, idlwave-calculate-paren-indent) + (idlwave-check-abbrev, idlwave-class-file-or-buffer) + (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer) + (idlwave-completion-map, idlwave-current-indent) + (idlwave-custom-ampersand-surround, idlwave-customize) + (idlwave-default-font-lock-items, idlwave-default-insert-timestamp) + (idlwave-define-abbrev, idlwave-determine-class-special) + (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification) + (idlwave-end-block-reg, idlwave-end-of-statement) + (idlwave-end-of-statement0, idlwave-end-of-subprogram) + (idlwave-end-unit-reg, idlwave-entry-find-keyword) + (idlwave-explicit-class-listed, idlwave-file-header) + (idlwave-fill-paragraph, idlwave-find-class-definition) + (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab) + (idlwave-idlwave_routine_info-compiled, idlwave-in-comment) + (idlwave-in-quote, idlwave-indent-action-table) + (idlwave-indent-expand-table, idlwave-indent-line) + (idlwave-indent-subprogram, idlwave-indent-to-open-paren) + (idlwave-is-comment-line, idlwave-is-comment-or-empty-line) + (idlwave-is-continuation-line, idlwave-is-pointer-dereference) + (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at) + (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table) + (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment) + (idlwave-outlawed-buffers, idlwave-popup-select) + (idlwave-previous-statement, idlwave-rescan-catalog-directories) + (idlwave-routine-entry-compare, idlwave-routine-info.pro) + (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info) + (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name) + (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target) + (idlwave-statement-type, idlwave-struct-skip) + (idlwave-substitute-link-target, idlwave-toggle-comment-region) + (idlwave-update-current-buffer-info, idlwave-use-library-catalogs) + (idlwave-what-module-find-class): Fix typos in docstrings. + (idlwave-all-method-classes, idlwave-calc-hanging-indent) + (idlwave-calculate-cont-indent, idlwave-expand-equal) + (idlwave-find-module, idlwave-find-structure-definition) + (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location) + (idlwave-list-load-path-shadows, idlwave-next-statement) + (idlwave-routine-entry-compare-twins, idlwave-routine-info) + (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match) + (idlwave-template): Reflow docstrings. + + * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix. + (idlwave-shell-batch-command, idlwave-shell-bp-alist) + (idlwave-shell-bp-get, idlwave-shell-bp-overlays) + (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer) + (idlwave-shell-display-line, idlwave-shell-display-wframe) + (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select) + (idlwave-shell-file-name-chars, idlwave-shell-filter-bp) + (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re) + (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe) + (idlwave-shell-mode-hook, idlwave-shell-mode-line-info) + (idlwave-shell-mode-map, idlwave-shell-module-source-filter) + (idlwave-shell-mouse-help, idlwave-shell-mouse-print) + (idlwave-shell-pc-frame, idlwave-shell-pending-commands) + (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay) + (idlwave-shell-scan-for-state, idlwave-shell-send-command) + (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output) + (idlwave-shell-shell-command, idlwave-shell-sources-alist) + (idlwave-shell-sources-bp, idlwave-shell-sources-filter) + (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph) + (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle): + Fix typos in docstrings. + (idlwave-shell-bp, idlwave-shell-clear-current-bp) + (idlwave-shell-hide-output, idlwave-shell-mode) + (idlwave-shell-run-region, idlwave-shell-set-bp-in-module): + Reflow docstrings. + + * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name. + +2009-09-24 Ivan Kanis <[email protected]> + + * term.el (term-bold-attribute): New var. + (term-handle-colors-array): Use it. + +2009-09-23 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-version): New variable. + (gdb-non-stop-handler): Set gdb-version. + (gdb-gud-context-command, gdb-current-context-command, gdb-stopped): + Condition "--thread" option on gdb-version. + (gdb-invalidate-threads): Remove unused argument. + +2009-09-23 Stefan Monnier <[email protected]> + + * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args + to looking-back to avoid ridiculous slow down in large files (bug#4511). + +2009-09-23 Glenn Morris <[email protected]> + + * mail/rmail.el (rmail-reply): Don't try to add a References header when + replying to mail without References or Message-Id. (Bug#4525) + +2009-09-23 Adrian Robert <[email protected]> + + * term/ns-win.el (ns-reg-to-script): New variable. + +2009-09-23 Daiki Ueno <[email protected]> + + * epg.el (epg-wait-for-status): Preserve existing 'error results. + +2009-09-22 Sam Steingold <[email protected]> + + * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing. + (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command' + to 1 because hg returns status 1 when nothing is found. + Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'. + +2009-09-22 Stefan Monnier <[email protected]> + + * textmodes/fill.el: Convert to utf-8 encoding. + (fill-french-nobreak-p): Remove redundant » and « inherited from our + pre-Unicode days. + + * add-log.el (change-log-fill-forward-paragraph): New function. + (change-log-mode): Use it so fill-region DTRT. + Set fill-indent-according-to-mode here rather than in + change-log-fill-paragraph. + (change-log-fill-paragraph): Remove. + +2009-09-22 Juanma Barranquero <[email protected]> + + * info.el (Info-try-follow-nearest-node): Use the URL extracted by + `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508) + +2009-09-22 Glenn Morris <[email protected]> + + * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on + the scroll-bar scroll the calendar window rather than the buffer. + + * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with + commands that move point (as opposed to scrolling). + + * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler. + + * emacs-lisp/elint.el (elint): New custom group. + (elint-log-buffer): Make it a defcustom. + (elint-scan-preloaded, elint-ignored-warnings) + (elint-directory-skip-re): New options. + (elint-builtin-variables): Doc fix. + (elint-preloaded-env): New variable. + (elint-unknown-builtin-args): Add an entry for encode-time. + (elint-extra-errors): Make it a variable rather than a constant. + (elint-preloaded-skip-re): New constant. + (elint-directory): Skip files matching elint-directory-skip-re. + (elint-features): New variable, local to linted buffers. + (elint-update-env): Initialize elint-features. Possibly add + elint-preloaded-env to the buffer's environment. + (elint-get-top-forms): Bind elint-current-pos, for log messages. + Skip quoted forms. + (elint-init-form): New function, extracted from elint-init-env. + Make non-list forms a warning rather than an error. + Add the mode-map for define-derived-mode. Handle define-minor-mode, + easy-menu-define, put that adds an error-condition, and provide. + When requiring cl, also require cl-macs. Really require cl, to handle + some cl macros. Store required libraries in the list elint-features, + so as not to re-load them. Treat cc-require like require. + (elint-init-env): Call elint-init-form to do the work. + Handle eval-and-compile and such like. + (elint-add-required-env): Do not clear messages. + (elint-special-forms): Add handlers for function, defalias, if, when, + unless, and, or. + (elint-form): Add optional argument to ignore elint-special-forms, + useful to prevent recursive calls from handlers. Doc fix. + Respect elint-ignored-warnings. + (elint-form): Respect elint-ignored-warnings. + (elint-bound-variable, elint-bound-function): New variables. + (elint-unbound-variable): Respect elint-bound-variable. + (elint-get-args): Respect elint-bound-function. + (elint-check-cond-form): Add some simple handling for (f)boundp and + featurep tests. + (elint-check-defalias-form): New handler. + (elint-check-let-form): Make an empty let a warning rather than an + error. + (elint-check-setq-form): Make an empty setq a warning rather than an + error. Respect elint-ignored-warnings. + (elint-check-defvar-form): Accept null doc-strings. + (elint-check-conditional-form): New handler. Does some simple-minded + checking of featurep and (f)boundp tests. + (elint-put-function-args): New function. + (elint-initialize): Use elint-scan-doc-file rather than + elint-find-builtin-variables. Use elint-put-function-args. + Possibly scan preloaded-file-list. + (elint-scan-doc-file): Rename from elint-find-builtin-variables and + extend to handle functions as well. + +2009-09-22 Lennart Borgman <[email protected]> + + * linum.el (linum-delete-overlays, linum-update-window): + Do not modify the right margin. (Bug#3971) + +2009-09-21 Chong Yidong <[email protected]> + + * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use + nxml-mode instead of xml-mode. + +2009-09-21 Kevin Ryde <[email protected]> + + * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501) + +2009-09-21 Stefan Monnier <[email protected]> + + * net/dig.el (dig-mode): Use define-derived-mode. + +2009-09-20 Dan Nicolaescu <[email protected]> + + * vc-dispatcher.el (vc-do-command): Return the process object in + the asynchronous case. Use when instead of if. Do not run + vc-exec-after to display a message if not enabled. (Bug#4463) + + * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face + properties to the stash strings. + (vc-git-stash-list): Return a list of strings. + (vc-git-stash-get-at-point, vc-git-stash-delete-at-point) + (vc-git-stash-show-at-point): New functions. + (vc-git-stash-map): New keymap. + + * register.el (ctl-x-r-map): Define the keys here instead of + using autoload. + +2009-09-20 Thierry Volpiatto <[email protected]> (tiny change) + + * bookmark.el (bookmark-write-file): Avoid calling `pp' with large + list, to workaround performance problem (bug#4485). + +2009-09-20 Nick Roberts <[email protected]> + + * progmodes/gud.el (gud-sentinel): Revert indavertant change. + +2009-09-20 Daiki Ueno <[email protected]> + + * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption): + Document that this option is not recommended to use. + +2009-09-19 Glenn Morris <[email protected]> + + * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free + variable `var'. + + * calc/calc-alg.el (var): + * calc/calcalg2.el (var): Define for compiler. + +2009-09-19 Chong Yidong <[email protected]> + + * emacs-lisp/advice.el (ad-get-argument, ad-set-argument): + Doc fix (Bug#3932). + + * subr.el (baud-rate): Remove long-obsolete function (Bug#4372). + + * time-stamp.el (time-stamp-month-dd-yyyy) + (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy) + (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd) + (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd) + (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm): + Remove functions that have been obsolete since 1995 (Bug#4436). + + * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the + indent buffer only if called interactively (Bug#4452). + +2009-09-19 Juanma Barranquero <[email protected]> + Eli Zaretskii <[email protected]> + + This fixes bug#4197 (merged to bug#865, though not identical). + * server.el (server-auth-dir): Add docstring note about FAT32. + (server-ensure-safe-dir): Accept FAT32 directories as "safe", + but warn against using them. + +2009-09-19 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of + older GDB where there is no has_more field. + +2009-09-19 Glenn Morris <[email protected]> + + * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator. + +2009-09-18 Chong Yidong <[email protected]> + + * files.el (auto-mode-alist): Change default for XML files to nXML + mode (Bug#4169). + +2009-09-18 Juanma Barranquero <[email protected]> + + * server.el (server-ensure-safe-dir): Pass 'integer + to `file-attributes', as suggested. + +2009-09-18 Stefan Monnier <[email protected]> + + * dired-aux.el (dired-query-alist): Remove spurious backslash. + (dired-query): Use read-key. + +2009-09-18 Adrian Robert <[email protected]> + + * cus-start.el (ns-use-qd-smoothing): Remove. + +2009-09-18 Glenn Morris <[email protected]> + + * allout.el (top-level): Remove unnecessary progn. + + * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let. + + * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in + definition of abbrev table. + + * speedbar.el (speedbar-track-mouse): + * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program): + * net/eudc.el (eudc-expand-inline): + * net/newst-backend.el (newsticker--cache-read-feed): + * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in + condition-case handlers. + +2009-09-18 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-frame-address): New variable. + (gdb-var-list): Add an element for has_more field. + (gdb-non-stop-handler): Enable pretty printing for STL containers. + (gdb-var-create-handler, gdb-var-list-children-handler-1) + (gdb-var-update-handler-1): Parse output of dynamic variable + objects (STL containers). + (gdb-var-delete-1): Pass var1 as an explicit second argument. + (gdb-get-field): Delete alias. Use bindat-get-field directly. + + * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to + gdb-var-list. + (gud-speedbar-buttons): Make node expandable if expression "has more" + children. + +2009-09-17 Juanma Barranquero <[email protected]> + + * startup.el (emacs-quick-startup): Remove variable and all uses. + (command-line): Set `inhibit-x-resources' instead. + (command-line-1): Use `inhibit-x-resources' instead. + +2009-09-17 Chong Yidong <[email protected]> + + * subr.el: Fix last change to avoid using the `unless' macro, + which breaks bootstrapping. + +2009-09-17 Stefan Monnier <[email protected]> + + * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's + extended definitions, in case we reload subr.el after having + loaded CL. + (eval-next-after-load): Mark as obsolete. + +2009-09-17 Juri Linkov <[email protected]> + + * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu) + (menu-bar-options-menu, menu-bar-showhide-fringe-menu) + (menu-bar-showhide-menu, menu-bar-tools-menu) + (menu-bar-describe-menu, menu-bar-help-menu) + (minibuffer-local-completion-map, minibuffer-local-map): + Fix list quoting. + +2009-09-17 Glenn Morris <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function + arguments, whether or not it has a handler. + + * ansi-color.el (ansi-color-get-face-1): Fix typo in handler. + + * simple.el (hard-newline): Give it a doc-string. + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): + (lisp-mode-syntax-table): Give them doc-strings. + +2009-09-17 Dan Nicolaescu <[email protected]> + + * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu) + (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu) + (menu-bar-options-menu, menu-bar-showhide-menu) + (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu) + (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu) + (menu-bar-options-menu, menu-bar-line-wrapping-menu) + (menu-bar-options-menu, menu-bar-tools-menu) + (menu-bar-describe-menu, menu-bar-search-documentation-menu) + (menu-bar-help-menu): + (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the + string arguments. + + * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu) + (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy + calls for the menu names and :help. + +2009-09-17 Stefan Monnier <[email protected]> + + * mouse.el (minor-mode-menu-from-indicator): Pay attention + to :minor-mode-function (bug#4455). + +2009-09-16 Stefan Monnier <[email protected]> + + * startup.el (command-line): Initialize the window-system after + processing the command-line. + + * textmodes/page.el (what-page): Make sure we don't inf-loop if + page-delimiter matches the empty string. + +2009-09-16 Glenn Morris <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from + byte-compile-not-obsolete-var. It's a list now. + (byte-compile-not-obsolete-funcs): New variable. + (byte-compile-warn-obsolete): Don't warn about functions if they are in + byte-compile-not-obsolete-funcs. + (byte-compile-variable-ref, byte-compile-defvar): Update for + byte-compile-not-obsolete-vars name-change and list nature. + (byte-compile-maybe-guarded): Suppress warnings about obsolete functions + and variables behind (f)boundp tests. + * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound. + +2009-09-15 Dan Nicolaescu <[email protected]> + + * vc-git.el (vc-git-log-view-mode): Undo inadvertent change. + +2009-09-15 Stefan Monnier <[email protected]> + + * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded. + * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): + Don't autoload. + +2009-09-15 Stephen Eglen <[email protected]> + + * iswitchb.el (iswitchb-read-buffer): When selecting a match from + the virtual-buffers, use the name of the buffer specified by + find-file-noselect, as the match may be a symlink. (This was a + problem if the target and the symlink had different names.) + +2009-09-15 Stefan Monnier <[email protected]> + + * custom.el (custom-initialize-default, custom-initialize-set): CSE. + + * desktop.el (desktop-path): Check user-emacs-directory. + + * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function. + + * loadup.el: Use after-load-functions to GC after loading each file. + Remove the explicit GC calls that used to be sprinkled around. + + * subr.el (after-load-functions): New hook. + (do-after-load-evaluation): Run it. Use string-match-p to detect + `obsolete' packages, rather than painfully extracting the relevant + directory name. + +2009-09-15 Glenn Morris <[email protected]> + + * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to + free variable `doc'. + + * dired.el (dired-mode-map): Add menu entry for async shell command. + + * help-fns.el (find-lisp-object-file-name): When looking for autoloaded + variables, also consider the .elc files, since the .el files are + normally gzipped (subsequent code locates the .el.gz from the .elc). + + * calc/calc-prog.el (arglist): Define for compiler. + + * calendar/diary-lib.el (diary-display-function): Change the default to + fancy display. + (body): Define for compiler. + + * emacs-lisp/bytecomp.el (byte-compile-keep-pending) + (byte-compile-file-form, byte-compile-lambda) + (byte-compile-top-level-body, byte-compile-form) + (byte-compile-variable-ref, byte-compile-setq) + (byte-compile-setq-default, byte-compile-body) + (byte-compile-body-do-effect, byte-compile-and, byte-compile-or) + (batch-byte-compile): Give some more local variables with common names + a "bytecomp-" prefix to avoid masking warnings about free variables. + + * startup.el (command-line-1): Give local variables with common names a + distinguishing prefix, so as not to hide free variable warnings during + bootstrap. + + * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be + clever and add a suffix to make a unique name, just let the user decide + whether or not to overwrite it. If the input is a directory, write the + default filename to that directory. (Bug#4388) + (rmail-mime-bulk-handler): Ensure the save button's 'directory property + is a filename-as-a-directory. + +2009-09-15 Stefan Monnier <[email protected]> + + * textmodes/page.el (what-page): Don't move to beginning of line. + See <[email protected]> in emacs-devel. + +2009-09-15 Dan Nicolaescu <[email protected]> + + * vc-git.el (vc-git-dir-extra-headers): Show the remote location. + +2009-09-14 Dan Nicolaescu <[email protected]> + + * bindings.el (mode-line-mode-menu): Add purecopy calls for :help. + * help.el (help-for-help-internal): Add purecopy calls for text. + + * vc.el (top): print-log method now takes an optional SHORTLOG + argument. Add a new method: root. + (vc-root-diff, vc-print-root-log): New functions. + (vc-log-short-style): New variable. + (vc-print-log-internal): Add support for showing short logs. + + * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for + vc-print-root-log and vc-print-root-diff. + + * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log): + * vc-git.el (vc-git-print-log, vc-git-log-view-mode): + * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for + short logs. + + * vc-cvs.el (vc-cvs-print-log): + * vc-mtn.el (vc-mtn-print-log): + * vc-rcs.el (vc-rcs-print-log): + * vc-sccs.el (vc-sccs-print-log): + * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog + that is ignored for now. + + * vc-mtn.el (vc-mtn-annotate-command): + * vc-svn.el (vc-svn-annotate-command): Run asynchronously. + +2009-09-14 Stefan Monnier <[email protected]> + + * simple.el: Add mapping for backspace/delete/clear/tab/escape/return + to function-key-map, and give them ascii-character property. + * term/x-win.el (x-alternatives-map): + * term/ns-win.el (ns-alternatives-map): + * term/internal.el (msdos-key-remapping-map): + * w32-fns.el (x-alternatives-map): Remove redundant mappings. + +2009-09-14 Glenn Morris <[email protected]> + + * emacs-lisp/elint.el (elint-add-required-env): Revert to not using + temp-buffers (2009-09-12). + +2009-09-13 Stefan Monnier <[email protected]> + + * textmodes/ispell.el (ispell-command-loop): Improve last fix, using + the new read-key function. + +2009-09-13 Chong Yidong <[email protected]> + + * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it + is defined (Bug#4405). + +2009-09-13 Vincent Belaïche <[email protected]> + + * recentf.el (recentf-cleanup): Use a hash table to find + duplicates (Bug#4407). + +2009-09-13 Per Starbäck <[email protected]> (tiny change) + + * textmodes/ispell.el (ispell-command-loop): Convert keys such as + kp-0 to ascii equivalents (Bug#4325). + +2009-09-13 Chong Yidong <[email protected]> + + * progmodes/cperl-mode.el (cperl-init-faces): Revert last change. + + * eshell/em-hist.el: + * eshell/em-dirs.el (eshell-complete-user-reference): + Declare pcomplete functions and variables to avoid compiler warnings. + +2009-09-13 Leo <[email protected]> (tiny change) + + * eshell/em-script.el (eshell-login-script, eshell-rc-script): + * eshell/em-dirs.el (eshell-last-dir-ring-file-name): + * eshell/em-alias.el (eshell-aliases-file): + * eshell/em-hist.el (eshell-history-file-name): + Use expand-file-name instead of concat to make file names (Bug#4308). + +2009-09-13 Glenn Morris <[email protected]> + + * ediff-merg.el (ediff-do-merge): + * filesets.el (filesets-run-cmd): + * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block) + (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3) + (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7) + (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin) + (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block): + Replace empty `let's with `progn'. + +2009-09-13 Stefan Monnier <[email protected]> + + * mail/sendmail.el (send-mail-function): + * tooltip.el (tooltip-mode): + * simple.el (transient-mark-mode): + * rfn-eshadow.el (file-name-shadow-mode): + * frame.el (blink-cursor-mode): + * font-core.el (global-font-lock-mode): + * files.el (temporary-file-directory) + (small-temporary-file-directory, auto-save-file-name-transforms): + * epa-hook.el (auto-encryption-mode): + * composite.el (global-auto-composition-mode): + Use custom-initialize-delay. + * startup.el (command-line): Don't explicitly call + custom-reevaluate-setting for all the above vars. + * custom.el (custom-initialize-safe-set) + (custom-initialize-safe-default): Delete. + +2009-09-12 Stefan Monnier <[email protected]> + + * term/x-win.el (x-initialize-window-system): + * term/w32-win.el (w32-initialize-window-system): + * term/ns-win.el (ns-initialize-window-system): Don't call + mouse-wheel-mode since it's enabled globally by default already. + + * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't + actually define the variable, but only silences the byte-compiler. + (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound + before looking it up. + (mouse-wheel-scroll-amount): Also reset the bindings if this value + is changed. + +2009-09-12 Glenn Morris <[email protected]> + + * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least + 1000. + (elint-add-required-env): Don't beep on error. + (elint-forms): In case of error, return ENV unchanged. + (elint-init-env): Skip non-list forms. + (elint-log): Handle unknown file positions. + +2009-09-12 Daiki Ueno <[email protected]> + + * epg.el (epg-make-context): Add autoload cookie. + (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file) + (epg-decrypt-string, epg-start-verify, epg-verify-file) + (epg-verify-string, epg-start-sign, epg-sign-file) + (epg-sign-string, epg-start-encrypt, epg-encrypt-file) + (epg-encrypt-string, epg-start-export-keys) + (epg-export-keys-to-file, epg-export-keys-to-string) + (epg-start-import-keys, epg-import-keys-from-file) + (epg-import-keys-from-string, epg-start-receive-keys) + (epg-receive-keys, epg-import-keys-from-server) + (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys) + (epg-sign-keys, epg-start-generate-key) + (epg-generate-key-from-file, epg-generate-key-from-string): + Remove autoload cookie. + +2009-09-12 Eli Zaretskii <[email protected]> + + * dos-fns.el (dos-reevaluate-defcustoms): Comment out the + reevaluation of trash-directory. + + * mwheel.el: Fix last change. + (mouse-wheel-mode): New defvar. + (mouse-wheel-mode): Remove autoload cookie. + +2009-09-12 Stefan Monnier <[email protected]> + + * mwheel.el (mwheel-installed-bindings): New var. + (mouse-wheel-mode): Use it, so as to make sure we really remove all + the bindings we set last time. Use custom-initialize-delay. + * loadup.el: Load mwheel after term/*-win.el. + * startup.el (command-line): Don't reevaluate mouse-wheel-down-event + and mouse-wheel-up-event now that their first evaluation is done + sufficiently late to be correct. + + * startup.el (tutorial-directory): Make it a defcustom. + Use custom-initialize-delay rather than eval-at-startup to set it. + * image.el (image-load-path): Make it a defcustom. + Use custom-initialize-delay rather than eval-at-startup to set it. + * subr.el (eval-at-startup): Remove. + * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup. + + * subr.el (do-after-load-evaluation): Warn the user after loading an + obsolete package. + +2009-09-12 Glenn Morris <[email protected]> + + * proced.el (proced-mark-alt): Remove alias. + (proced-mode-map): Remove proced-mark-alt. + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to + Elint file and directory. Remove initialization entry. + + * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded + commands. + (elint-current-buffer): Set mode-line-process. + (elint-init-env): Handle define-derived-mode. + Fix declare-function with unspecified arglist. Guard against odd + defalias statements (eg iso-insert's 8859-1-map). + (elint-add-required-env): Use a temp buffer. + (elint-form): Just print the function/macro name, not the whole form. + Return env unchanged if we fail to parse a macro. + (elint-forms): Guard against parse errors. + (elint-output): New function, to handle batch mode. + (elint-log-message): Add optional argument. Use elint-output. + (elint-set-mode-line): New function. + +2009-09-12 Andreas Politz <[email protected]> (tiny change) + + * emacs-lisp/elp.el (elp-not-profilable): Add more + functions (Bug#4233). + +2009-09-12 Chong Yidong <[email protected]> + + * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark) + (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190). + +2009-09-11 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete. + (gdb-var-list-children): Use json parsing. + +2009-09-11 Daniel Colascione <[email protected]> + + * progmodes/js.el (js--proper-indentation): Handle the case where + char-before is null. Reported by Deniz Dogan. + +2009-09-11 Juanma Barranquero <[email protected]> + + * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare. + +2009-09-11 Daiki Ueno <[email protected]> + + * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA. + (epg-digest-algorithm-alist): Add SHA224. + (epg-context-set-passphrase-callback) + (epg-context-set-progress-callback): Add description about + callback function. + +2009-09-11 Stefan Monnier <[email protected]> + + * custom.el (custom-delayed-init-variables): New var. + (custom-initialize-delay): New function. + * startup.el (command-line): "Re"evaluate all vars in + custom-delayed-init-variables. Don't reevaluate abbrev-file-name + explicitly any more. + * abbrev.el (abbrev-file-name): Use custom-initialize-delay + to avoid creating a ~/.emacs.d at build-time (bug#4347). + + * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362). + +2009-09-11 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete. + (gdb-var-update-handler): Use json parsing. + +2009-09-11 Juanma Barranquero <[email protected]> + + * vc-annotate.el (vc-annotate): Use the main file's coding-system to + decode annotated text, regardless of language environment. (Bug#2741) + +2009-09-11 Stefan Monnier <[email protected]> + + * Makefile.in (autoloads): Make rmail.el writable as well. + +2009-09-11 Glenn Morris <[email protected]> + + * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than + loaddefs.el. + * dired.el: Regenerate with extracted autoloads. + * Makefile.in (autoloads): Make dired.el writable. + + * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el. + * ibuffer.el: Regenerate with extracted autoloads. + * Makefile.in (autoloads): Make ibuffer.el writable. + + * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name): + * version.el (emacs-copyright, emacs-major-version) + (emacs-minor-version): Reformat doc-strings for make-docfile. + + * apropos.el (apropos-documentation-check-doc-file): Exclude unbound + functions and variables, since they must be stuff specific to some other + platform. + (apropos-print): Make mouse-click message less specific about button. + + * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property + that records where a macro was defined. + * help-fns.el (describe-function-1): Mention if a function has a + compiler-macro. + * help-mode.el (help-function-cmacro): New button. + + * locate.el (top-level): Always require dired. + (locate-mode-map): Initialize inside the defvar. + + * net/ange-ftp.el (dired-compress-file): Declare. + (ange-ftp-dired-compress-file): Add doc string. + + * term/ns-win.el (x-display-name, x-setup-function-keys): + Unify doc-strings with X versions. + +2009-09-11 Stefan Monnier <[email protected]> + + * emulation/crisp.el (crisp-mode-map): Move initialization + into declaration. + (crisp-mode): Use define-minor-mode. + + * progmodes/xscheme.el (xscheme-evaluation-commands): + Put a :advertised-binding property rather than using + advertised-xscheme-send-previous-expression. + (advertised-xscheme-send-previous-expression): Declare obsolete. + * emulation/crisp.el (crisp-mode-map): Use `undo' rather than + `advertised-undo'. + (crisp-mode): Add corresponding bindings to + undo's :advertised-binding instead. + * dired.el (dired-mode-map): Put a :advertised-binding property rather + than using dired-advertised-find-file. + (dired-advertised-find-file): + * simple.el (advertised-undo): + * wid-edit.el (advertised-widget-backward): Declare obsolete. + (widget-keymap): Put a :advertised-binding property rather + than using advertised-widget-backward. + * bindings.el (ctl-x-map): Put a :advertised-binding property rather + than using advertised-undo. + * tutorial.el (tutorial--default-keys): Adjust accordingly. + +2009-09-10 Simon South <[email protected]> + + * progmodes/delphi.el (delphi-tab): Indent region when Transient + Mark mode is enabled and region is active; otherwise indent or + insert TAB as usual. + (delphi-mode): Update description of TAB-key binding. + +2009-09-10 Stefan Monnier <[email protected]> + + * subr.el (define-key-rebound-commands): Mark obsolete. + * startup.el (precompute-menubar-bindings): Remove. + (normal-top-level): Remove obsolete code that tried to precompute + menubar bindings. + * loadup.el (define-key-rebound-commands): Don't bother fiddling with + define-key-rebound-commands and precompute-menubar-bindings. + +2009-09-10 Teodor Zlatanov <[email protected]> + + * net/imap.el (imap-interactive-login): Better messages. + (imap-open): Fix bug with renamed buffer on reconnect. + (imap-authenticate): Add buffer-local imap-last-authenticator variable + for easier debugging and cleaner code. On successful (guessed based on + server capabilities) secondary authentication, set imap-state + correctly. + (imap-last-authenticator): Define imap-last-authenticator as a variable + to avoid warnings. + +2009-09-10 Glenn Morris <[email protected]> + + * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line. + + * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix. + (byte-compile-file-form-autoload): Don't warn about unknown functions + where the autoload statement comes after the use. + (with-no-warnings): Give it a byte-hunk-handler like than of progn, so + that any handlers inside the body (eg require) are in turn respected. + + * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side + effects. + + * emacs-lisp/derived.el (define-derived-mode): Give the mode's map, + and syntax and abbrev tables basic docs, if they don't have any. + + * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string. + + * international/mule-cmds.el (top-level): Require cl when compiling. + (view-hello-file): Use default-value rather than + default-enable-multibyte-characters. + + * progmodes/fortran.el: Move all safe and risky properties into the + defcustoms. + + * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el: + * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el: + * mail/undigest.el: + Put autoloads in rmail.el rather than loaddefs.el. + * mail/rmail.el: Regenerate with extracted autoloads. + + * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el. + * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el. + +2009-09-10 Nick Roberts <[email protected]> + + Reported in thread for Bug#4375. + * progmodes/gud.el (gud-tooltip-print-command): Use MI command + "-data-evaluate-expression" instead of print. + * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto. + (gdb-tooltip-print): Parse output from above MI command. + (gdb): Revert 2009-08-11 change. User should detach inferior + manually. + + Remove the word "separate" from IO functions as inferior + output is now never displayed in the GUD buffer. + +2009-09-10 Juanma Barranquero <[email protected]> + + * startup.el (command-line-normalize-file-name): On Windows and + MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/. + +2009-09-10 Juri Linkov <[email protected]> + + * isearch.el (isearch-text-char-description): Propertize escape + character sequences with the `escape-glyph' face. (Bug#4344) + + * simple.el (shell-command): Set asynchronous process filter to + `comint-output-filter'. (Bug#4343) + + * progmodes/grep.el (grep-template): Add "<X>" to docstring. + (grep-files-aliases): Add "all". Move "el" and "ch" to the top of + the list. Move "asm" to the bottom. + (grep-find-ignored-directories): Add `choice' with nil value + to empty the list easily. + (grep-find-ignored-files): New option. + (grep-files-history): Set to nil by default instead of '("ch" "el"). + (grep-compute-defaults): Add "<X>" to `grep-template'. + (grep-read-files): Bind new local variables `default-alias' and + `default-extension'. Use a list of default values for the file prompt. + (lgrep): Add `--exclude=' command line options composed from + `grep-find-ignored-files'. + (rgrep): Add `-name' command line options composed from + `grep-find-ignored-files'. (Bug#4301) + +2009-09-09 Stefan Monnier <[email protected]> + + * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk + (bug#4368). + +2009-09-09 Katsumi Yamaoka <[email protected]> + + * calendar/time-date.el (autoload): + Expand define-obsolete-function-alias into defalias and make-obsolete + for old Emacsen that Gnus supports. + (with-no-warnings): Define it for old Emacsen. + (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time + is available. + (time-to-number-of-days): Don't use (featurep 'xemacs) to check if + float-time is available; suppress compile warning for time-to-seconds. + +2009-09-09 Teodor Zlatanov <[email protected]> + + * net/imap.el (imap-message-map): Docstring fix. + +2009-09-09 Glenn Morris <[email protected]> + + * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with + line numbers too. (Bug#4374) + +2009-09-08 Stefan Monnier <[email protected]> + + * smerge-mode.el (smerge-remove-props, smerge-refine): + Use with-silent-modifications (bug#4342). + + * subr.el (with-silent-modifications): New macro. + +2009-09-07 Juanma Barranquero <[email protected]> + + * files.el (top-level): Require `cl' when compiling. + +2009-09-07 Glenn Morris <[email protected]> + + * files.el (auto-mode-alist): Use delphi-mode for .dpr files. + + * proced.el (proced-mode-map): Bind "d" to proced-mark-alt. + (proced-mark-alt): New alias, to control the advertised key. (Bug#4362) + +2009-09-06 Nick Roberts <[email protected]> + + * vc-git.el (vc-git-annotate-command): Use separator to parse + arguments correctly. + +2009-09-06 Eli Zaretskii <[email protected]> + + * proced.el (proced-mode): Doc fix. + +2009-09-06 Julian Scheid <[email protected]> (tiny change) + + * net/tramp.el (tramp-perl-file-attributes): Print "nil" when + lstat fails. + (tramp-do-file-attributes-with-ls): Check for file existence at + remote end. + (tramp-do-file-attributes-with-stat): Likewise. + (tramp-convert-file-attributes): Return nil when attr is nil. + +2009-09-05 Glenn Morris <[email protected]> + + * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link + properties to this button. + (diary-fancy-display): Don't extend the button to the final newline. + (diary-fancy-display-mode): Continue to define "q" as a local key. + + * calendar/cal-china.el (holiday-chinese): Make it slightly more + efficient. + + * font-lock.el (lisp-font-lock-keywords-2): Add letf. + + * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix. + (byte-compile-dest-file-function): New option. + (byte-compile-dest-file): Doc fix. + Obey byte-compile-dest-file-function. + (byte-compile-cl-file-p): New function. + (byte-compile-eval): Only suppress noruntime warnings about cl functions + if the cl-functions warning is enabled. Use byte-compile-cl-file-p. + (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather + than for file being previously loaded. + (byte-compile-find-cl-functions): Use byte-compile-cl-file-p. + (byte-compile-file-form-require): Handle the case where requiring a file + indirectly causes CL to be loaded. + +2009-09-05 Karl Fogel <[email protected]> + + * files.el (find-alternate-file): Run `kill-buffer-hook' manually + before killing the old buffer, since by the time `kill-buffer' is + run so many buffer variables have been set to nil that it may not + behave as expected. (Bug#4061) + +2009-09-05 Karl Fogel <[email protected]> + + * files.el (find-alternate-file): If the old buffer is modified + and visiting a file, behave similarly to `kill-buffer' when + killing it, thus reverting to the pre-1.878 behavior; see + http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html + for discussion. Also, consult `buffer-file-name' as a variable + not as a function, for consistency with the rest of the code. + +2009-09-04 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-insert-directory): Handle "--dired" + also when adding a new directory. + + * net/tramp-compat.el (tramp-compat-line-beginning-position): New + defun. + +2009-09-04 Stefan Monnier <[email protected]> + + * files.el (locate-file-completion-table): Make it provide boundary + information, so partial-completion works better. + +2009-09-04 Leo <[email protected]> (tiny change) + + * mail/footnote.el (Footnote-text-under-cursor): + Check footnote-text-marker-alist before using it (bug#4324). + +2009-09-04 Glenn Morris <[email protected]> + + * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el: + * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el: + * play/solitaire.el, play/tetris.el: + Remove leading * from defcustom and defface docs. + + * calendar/diary-lib.el (diary-fancy-display): Only switch modes if + necessary. + (diary-fancy-overriding-map): New variable. + (diary-fancy-display-mode): Set minor-mode-overriding-map-alist. + Use view-mode. + + * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than + goto-line. + +2009-09-03 Glenn Morris <[email protected]> + + * arc-mode.el (archive-mode): + * dos-fns.el (set-default-process-coding-system): + * man.el (Man-getpage-in-background): + * menu-bar.el (menu-bar-describe-menu): + * server.el (server-process-filter): + * startup.el (command-line): + * tar-mode.el (tar-header-block-tokenize, tar-extract): + * w32-fns.el (set-default-process-coding-system): + * x-dnd.el (x-dnd-handle-file-name): + * international/mule-cmds.el (mule-menu-keymap) + (set-default-coding-systems, language-info-alist, set-language-info) + (set-language-environment, standard-display-european-internal) + (set-locale-environment): + * international/mule-diag.el (mule-diag): + * mail/emacsbug.el (report-emacs-bug): + * mail/rmail.el (rmail-mode): + * mail/sendmail.el (mail-setup): + Use default-value rather than default-enable-multibyte-characters. + + * progmodes/f90.el: Move all safe properties into the defcustoms. + (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq. + + * calendar/appt.el (appt-check): + * calendar/diary-lib.el (diary-set-header, diary-live-p) + (diary-check-diary-file, diary-list-entries) + (diary-include-other-diary-files, diary-simple-display) + (diary-fancy-display, diary-print-entries) + (diary-mark-included-diary-files, diary-make-entry): + Don't call substitute-in-file-name on diary-file. + +2009-09-03 Eduard Wiebe <[email protected]> + Stefan Monnier <[email protected]> + + * mail/footnote.el (footnote-prefix): Make it a defcustom. + (footnote-mode-map): Move initialization into the declaration. + (footnote-minor-mode-map): Define it rather than changing global-map. + (footnote-mode): Use define-minor-mode. + +2009-09-02 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-file-attributes-with-ls) + (tramp-do-file-attributes-with-perl) + (tramp-do-file-attributes-with-stat): Rename from + `tramp-handle-file-attributes-with-*'. + (tramp-handle-file-attributes): Use them. + (tramp-do-directory-files-and-attributes-with-perl) + (tramp-do-directory-files-and-attributes-with-stat): Rename from + `tramp-handle-directory-files-and-attributes-with-*'. + (tramp-handle-directory-files-and-attributes): Use them. + (tramp-method-out-of-band-p): Additional parameter SIZE. + (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy) + (tramp-handle-write-region): Use it. + (tramp-handle-insert-directory): Use "?\ " for compatibility reasons. + (tramp-handle-vc-registered): Check, whether the first run did + return files to be tested. + (tramp-advice-make-auto-save-file-name): Do not call directly + `tramp-handle-make-auto-save-file-name', because this would bypass + the locking mechanism. + + * net/tramp-compat.el (top): Autoload used functions from tramp.el. + (file-remote-p, process-file, start-file-process, set-file-times) + (tramp-compat-file-attributes): Compatibility functions shall not + call directly `tramp-handle-*', because this would bypass the + locking mechanism. + (tramp-compat-number-sequence): New defun. + +2009-09-02 Glenn Morris <[email protected]> + + * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete + alias for float-time. + (time-to-number-of-days): In Emacs, use float-time. + * net/newst-backend.el (time-add): Suppress warnings from compat + function. + * time.el (emacs-uptime, emacs-init-time): + * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE): + Use float-time rather than time-to-seconds. + + * minibuffer.el (completion-initials-expand): Fix typo. + + * faces.el (modeline, modeline-inactive, modeline-highlight) + (modeline-buffer-id): + * info.el (info-menu-5): Mark these face aliases as obsolete. + +2009-09-01 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-current-context-command): Move the + space ... + (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is + no "--thread" option. + (gdb-stopped): Don't print "Switched to thread" message when it is + unchanged. + +2009-09-01 Stefan Monnier <[email protected]> + + * minibuffer.el (completion-try-completion) + (completion-all-completions): Remove ill-defined (and + mistakenly installed and luckily never used nor documented) + `completion-styles' property. + (completion-initials-expand, completion-initials-all-completions) + (completion-initials-try-completion): New functions. + (completion-styles-alist): Add doc to each entry. + Add new `initials' entry. + +2009-09-01 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant + MI command -var-evaluate-expression. + (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el + and tweak for case of string child. + (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el. + +2009-09-01 Glenn Morris <[email protected]> + + * add-log.el (change-log-date-face, change-log-name-face) + (change-log-email-face, change-log-file-face, change-log-list-face) + (change-log-conditionals-face, change-log-function-face) + (change-log-acknowledgement-face): + * cus-edit.el (custom-invalid-face, custom-rogue-face) + (custom-modified-face, custom-set-face, custom-changed-face) + (custom-saved-face, custom-button-face, custom-button-pressed-face) + (custom-documentation-face, custom-state-face, custom-comment-face) + (custom-comment-tag-face, custom-variable-tag-face) + (custom-variable-button-face, custom-face-tag-face) + (custom-group-tag-face-1, custom-group-tag-face): + * diff-mode.el (diff-header-face, diff-file-header-face) + (diff-index-face, diff-hunk-header-face, diff-removed-face) + (diff-added-face, diff-changed-face, diff-function-face) + (diff-context-face, diff-nonexistent-face): + * generic-x.el (show-tabs-tab-face, show-tabs-space-face): + * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face): + * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face) + (Info-title-4-face): + * isearch.el (isearch-lazy-highlight-face): + * log-view.el (log-view-file-face, log-view-message-face): + * paren.el (show-paren-match-face, show-paren-mismatch-face): + * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face) + (cvs-handled-face, cvs-need-action-face, cvs-marked-face) + (cvs-msg-face): + * smerge-mode.el (smerge-mine-face, smerge-other-face) + (smerge-base-face, smerge-markers-face): + * wid-edit.el (widget-documentation-face, widget-button-face) + (widget-field-face, widget-single-line-field-face) + (widget-inactive-face, widget-button-pressed-face): + * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face) + (woman-addition-face): + * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face) + (eshell-ls-executable-face, eshell-ls-readonly-face) + (eshell-ls-unreadable-face, eshell-ls-special-face) + (eshell-ls-missing-face, eshell-ls-archive-face) + (eshell-ls-backup-face, eshell-ls-product-face) + (eshell-ls-clutter-face): + * eshell/em-prompt.el (eshell-prompt-face): + * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face): + * obsolete/old-whitespace.el (whitespace-highlight-face): + * progmodes/antlr-mode.el (antlr-font-lock-default-face) + (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face) + (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face) + (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face) + (antlr-font-lock-literal-face): + * progmodes/ebrowse.el (ebrowse-tree-mark-face) + (ebrowse-root-class-face, ebrowse-file-name-face) + (ebrowse-default-face, ebrowse-member-attribute-face) + (ebrowse-member-class-face, ebrowse-progress-face): + * progmodes/make-mode.el (makefile-space-face): + * progmodes/sh-script.el (sh-heredoc-face): + * textmodes/flyspell.el (flyspell-incorrect-face) + (flyspell-duplicate-face): + * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face): + * textmodes/texinfo.el (texinfo-heading-face): + Mark face aliases with "-face" suffix as obsolete. + + * mail/feedmail.el (file-name-buffer-file-type-alist): Define for + compiler. + + * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu) + (eudc-bob-sound-menu): Use defvar rather than defconst, since + easy-menu-define wants to modify these. + + * net/net-utils.el (nslookup): Use make-comint rather than comint-run. + + * net/browse-url.el (browse-url-file-url): + * term/internal.el (dos-codepage-setup): + Use default-value rather than default-enable-multibyte-characters. + + * progmodes/etags.el (etags-goto-tag-location): + * progmodes/flymake.el (flymake-highlight-line) + (flymake-goto-file-and-line, flymake-goto-line): + * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump) + (gdb-goto-breakpoint): + * progmodes/idlw-shell.el (idlwave-shell-move-to-bp): + * progmodes/python.el (python-find-function) + (python-pdbtrack-track-stack-file): + * progmodes/verilog-mode.el (verilog-surelint-off): + * term/ns-win.el (ns-open-file-select-line): + * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally): + Use forward-line rather than goto-line. + + * textmodes/reftex-cite.el (reftex-offer-bib-menu): + * textmodes/reftex-index.el (reftex-display-index): + * textmodes/reftex-ref.el (reftex-offer-label-menu): + * textmodes/reftex-toc.el (reftex-toc): + Remove unnecessary bindings of default-major-mode (all are followed by + major-mode check and possible mode switch). + +2009-08-31 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom): + Handle watchpoints (bug#4282). + (def-gdb-thread-buffer-command): Enable thread to be selected by + clicking without selecting threads buffer first. + (gdb-current-context-command): Use selected frame so that "up", + "down" etc work in the GUD buffer. + (gdb-update): Find selected frame before rendering stack buffer. + (gdb-frame-handler): Set gdb-frame-number for stack buffer. + +2009-08-31 Stefan Monnier <[email protected]> + + * progmodes/sym-comp.el (displayed-completions): Remove. + (symbol-complete): Use minibuffer-complete. + +2009-08-31 Glenn Morris <[email protected]> + + * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro. + + * apropos.el (apropos-symbols-internal): + Handle (obsolete) face aliases. + + * faces.el (describe-face): Adjust the output format to be more like + describe-variable, and to mention (obsolete) face aliases. + Adjust the whitespace so that help-setup-xref works. + + * calendar/calendar.el (calendar-today-face, diary-face, holiday-face): + * calendar/diary-lib.el (diary-button-face): + Mark these face aliases as obsolete. + + * calendar/calendar.el (calendar-today): Doc fix. + +2009-08-31 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-control-all-threads) + (gdb-control-current-thread): Force tool bar update. + (gdb-non-stop-handler): New function. + (gdb-init-1): Use it to test if non-stop mode is supported. + Remove unused gdbmi buffer type. + +2009-08-30 Kevin Rodgers <[email protected]> + + * progmodes/grep.el (grep-read-files): Strip trailing <N> from + buffer names not visiting a file (e.g. cloned buffers). (Bug#4210) + +2009-08-30 Nick Roberts <[email protected]> + + * comint.el (comint-exec-1): Check command is non-null first. + Part of gdb-mi.el change (2009-08-28). + +2009-08-30 Stefan Monnier <[email protected]> + + * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete. + +2009-08-30 Juanma Barranquero <[email protected]> + + * subr.el (do-after-load-evaluation): Fix last change: use `mapc' + instead of `dolist' to avoid a recursive require when bootstrapping. + +2009-08-30 Stefan Monnier <[email protected]> + + * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete. + + * net/ldap.el (ldap-search-internal): Use with-current-buffer and push. + + * net/imap.el (imap-send-command): Simplify. + (imap-wait-for-tag): point-max -> buffer-size. + + * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode. + + * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value + with constant argument. + + * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte. + + * emacs-lisp/cl.el (cl-macro-environment): Don't define it here. + + * emacs-lisp/checkdoc.el (checkdoc-force-history-flag): + Change default, since most of our files don't have a history. + (checkdoc-display-status-buffer): Don't use a hidden buffer to show to + the user. + + * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): + Add comint-run. + + * calc/calc.el: Improve commenting convention. + (calc-digit-map, toplevel): Simplify. + + * comint.el (comint-insert-input): Be careful to only set point if we + don't delegate to some other command. + + * proced.el (proced-signal-list): Make it an alist. + (proced-grammar-alist): Capitalize names. + (proced-send-signal): Use a non-hidden buffer (since it's displayed). + Disable undo manually and make it read-only. + Use completion-annotate-function. + + * minibuffer.el (minibuffer-message): If the current buffer is not + a minibuffer, insert the message in the echo area rather than at the + end of the buffer. + (completion-annotate-function): New variable. + (minibuffer-completion-help): Use it. + (completion--embedded-envvar-table): Environment vars are + always case-sensitive. + +2009-08-30 Glenn Morris <[email protected]> + + * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted + from fortran-current-defun. + (fortran-beginning-of-subprogram): Be more precise about finding the + start, to avoid an infinite loop in end-of-defun. (Bug#4259) + (fortran-end-of-subprogram): Simplify. + (fortran-current-defun): Use fortran-start-prog-re. + +2009-08-29 Juanma Barranquero <[email protected]> + + * subr.el (do-after-load-evaluation): Simplify. + +2009-08-29 Dan Nicolaescu <[email protected]> + + * vc.el (vc-print-log-internal): Move RCS/CVS specific code ... + + * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function. + (vc-rcs-print-log): Use it. + + * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup. + +2009-08-29 Stefan Monnier <[email protected]> + + * paths.el (abbrev-file-name): Move to abbrev.el. + * abbrev.el (abbrev-file-name): Move from paths.el. + Obey user-emacs-directory. + * calc/calc.el (calc-settings-file): Don't autoload and instead obey + user-emacs-directory. + * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate + abbrev-file-name and calc-settings-file any more. + * startup.el (command-line): Recompute abbrev-file-name and + abbreviated-home-dir. + (normal-no-mouse-startup-screen): Improve the generic code and get rid + of the special code for when C-h bindings haven't been changed. + (display-startup-echo-area-message): Use with-current-buffer. + (command-line-1): Use a list of strings, rather than a list of lists + of strings for longopts. + + * files.el (get-free-disk-space): Use / for default-directory. + + * textmodes/ispell.el (ispell-accept-output, ispell-command-loop): + Use with-current-buffer. + + * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p): + Recognize immutable variables like most-positive-fixnum. + (byte-compile-setq-default): Check and warn if trying to assign + to an immutable variable, or a non-variable. + + * progmodes/cc-vars.el (c-comment-continuation-stars): + * progmodes/cc-engine.el (c-looking-at-bos): + * progmodes/cc-cmds.el (c-toggle-auto-state) + (c-forward-into-nomenclature, c-backward-into-nomenclature) + (c-comment-line-break-function): Add version of obsolescence. + +2009-08-28 Juri Linkov <[email protected]> + + * files.el (magic-fallback-mode-alist): Add ZIP magic number + associated with `archive-mode'. + + * image.el (image-type-header-regexps): Use only JPEG magic number + to determine JPEG images, and don't use `image-jpeg-p' because + Emacs can display non-JFIF non-Exif JPEG images. + +2009-08-28 Juanma Barranquero <[email protected]> + + * arc-mode.el (archive-mode): + * emacs-lisp/re-builder.el (re-builder-unload-function): + Protect against the default value of `major-mode' being nil. + +2009-08-28 Juanma Barranquero <[email protected]> + + * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list): + Fix typos in docstrings. + + * progmodes/js.el (js--macro-decl-re): Doc fix. + (js--plain-method-re, js--split-name): Refloc docstring. + (js--class-styles, js--make-merged-item, js--splice-into-items): + Fix typos in docstrings; reflow docstrings. + (js--maybe-join, js--function-prologue-beginning, js--flush-caches) + (js--variable-decl-matcher, js--inside-pitem-p) + (js--parse-state-at-point, js--get-all-known-symbols) + (js--symbol-history, js-find-symbol, js--js-references) + (js--moz-interactor, js--js-encode-value, js--read-tab): + Fix typos in docstrings. + +2009-08-28 Stefan Monnier <[email protected]> + + * textmodes/reftex.el (reftex-get-file-buffer-force): + * progmodes/verilog-mode.el (verilog-batch-execute-func): + * emulation/viper.el (viper-go-away, viper-set-hooks): + * emacs-lisp/re-builder.el (re-builder-unload-function): + * emacs-lisp/bytecomp.el (byte-compile-file): + * ses.el (ses-unload-function): + * hexl.el (hexl-find-file): + * files.el (normal-mode): + * ehelp.el (with-electric-help): + * autoinsert.el (auto-insert-alist): + * arc-mode.el (archive-mode): + Use (default-value 'major-mode) instead of default-major-mode. + + * textmodes/ispell.el (ispell-check-version, ispell-send-string): + * international/mule.el (load-with-code-conversion): + * emacs-lisp/debug.el (debug): + * ediff-vers.el (ediff-rcs-get-output-buffer): + * dired.el (dired-internal-noselect): Don't let-bind + default-major-mode around code that doesn't use it. + E.g. buffer creation via get-buffer-create doesn't use it. + +2009-08-28 Michael Albinus <[email protected]> + + * net/tramp.el (all): Replace "'(lambda" by "(lambda". + (tramp-handle-file-local-copy): Unset `file-name-handler-alist' + when writing the temp file. Otherwise, epa-file gets confused. + (tramp-register-file-name-handlers): Make it a defun. Move also + `epa-file-handler' to the front of `file-name-handler-alist'. + +2009-08-28 Stefan Monnier <[email protected]> + + * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to + start right after a ^M. + (tramp-root-regexp, tramp-completion-file-name-regexp-unified) + (tramp-completion-file-name-regexp-separate) + (tramp-completion-file-name-regexp-url): Use \\` and \\'. + (tramp-handle-file-attributes, tramp-set-file-uid-gid): + Don't modify last-coding-system-used by accident. + (tramp-completion-file-name-handler): Apply the checks here, + instead during registration. + (tramp-register-file-name-handlers): Renamed from + `tramp-register-file-name-handler'. Register both + `tramp-file-name-handler' and `tramp-completion-file-name-handler'. + (tramp-register-completion-file-name-handler): Remove. (Bug#4260) + +2009-08-28 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-use-separate-io-buffer): + Remove variable ... + (gdb-init-1, gdb-display-separate-io-buffer) + (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and + references to it. + (gdb-inferior-io-mode): Use make-comint-in-buffer. + (gdb-inferior-filter): Use comint-output-filter to stop + echoing and remove ^M characters. + +2009-08-28 Stefan Monnier <[email protected]> + + * emulation/viper-init.el (viper-restore-cursor-type): + * emulation/cua-base.el (cua--update-indications): + Replace default-cursor-type with (default-value 'cursor-type). + + * mail/sendmail.el (mail-recover-1): + * international/mule-diag.el (describe-current-coding-system-briefly) + (describe-current-coding-system): + * international/mule-cmds.el (select-safe-coding-system) + (select-message-coding-system) + (set-language-environment-coding-systems, set-locale-environment): + * hexl.el (hexl-insert-multibyte-char): + * dos-w32.el (find-buffer-file-type-coding-system): + * simple.el (what-cursor-position): + Replace uses of default-buffer-file-coding-system + with (default-value 'buffer-file-coding-system). + + * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion): + Replace uses of default-cursor-in-non-selected-windows + with (default-value 'cursor-in-non-selected-windows). + Use with-current-buffer. + + * mail/feedmail.el: Use CL macros. + (feedmail-run-the-queue, feedmail-send-it-immediately): + * dos-w32.el (find-buffer-file-type): Replace uses of + default-buffer-file-type with (default-value 'buffer-file-type). + +2009-08-28 Glenn Morris <[email protected]> + + * calendar/diary-lib.el (diary-list-entries, diary-goto-entry) + (diary-show-all-entries, diary-mark-entries, diary-make-entry): + Use default-value of major-mode rather than default-major-mode. + +2009-08-27 Stefan Monnier <[email protected]> + + * Makefile.in (update-elcfiles): Report left over elc files. + + * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer, + expand-file-name and with-current-buffer. + (mail-get-names, mail-directory): Use with-current-buffer. + + * vc.el (vc-read-revision): New function. + (vc-version-diff, vc-merge): Use it. + +2009-08-27 Sam Steingold <[email protected]> + + * simple.el (kill-do-not-save-duplicates): New user option. + (kill-new): When it is non-nil, and the new string is the same as + the latest kill, set replace to t to avoid duplicates in kill-ring. + +2009-08-27 Julian Scheid <[email protected]> (tiny change) + + * net/tramp.el (tramp-handle-process-file): Do not flush all + caches when `process-file-side-effects' is set. + (tramp-handle-vc-registered): Use `tramp-get-file-exists-command' + instead of `tramp-find-file-exists-command'. + Unset `process-file-side-effects'. + +2009-08-27 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-methods): New method "rsyncc". + (top): Add completion function for "rsyncc". + (tramp-message-show-message): New defvar. + (tramp-message, tramp-error): Use it. + (tramp-do-copy-or-rename-file-directly): Extend check for direct + remote copying. + (tramp-do-copy-or-rename-file-out-of-band): Handle new + `tramp-methods' entry `copy-env' of "rsyncc". + (tramp-vc-registered-read-file-names): New defconst. + (tramp-vc-registered-file-names): New defvar. + (tramp-handle-vc-registered): Implement optimization strategy. + (tramp-run-real-handler): Add `tramp-vc-file-name-handler'. + (tramp-vc-file-name-handler): New defun. + (tramp-get-ls-command, tramp-get-test-command) + (tramp-get-file-exists-command, tramp-get-remote-ln) + (tramp-get-remote-perl, tramp-get-remote-stat) + (tramp-get-remote-id): Remove superfluous `with-current-buffer'. + + * net/tramp-cache.el (top): Autoload `tramp-time-less-p'. + (tramp-cache-inhibit-cache): Extend doc string. It allows also + timestamps. + (tramp-get-file-property): Check for timestamps in + `tramp-cache-inhibit-cache'. + (tramp-set-file-property): Write timestamp. + +2009-08-27 ARISAWA Akihiro <[email protected]> (tiny change) + + * language/japan-util.el (japanese-symbol-table): Add entries for + cp932-2-byte. + + * international/characters.el: Add category `j' to cp932-2-byte. + +2009-08-27 Kenichi Handa <[email protected]> + + * international/fontset.el (build-default-fontset-data): New macro. + (setup-default-fontset): Use build-default-fontset-data for CJK, + tibetan, ethiopic, and ipa. + +2009-08-27 Stefan Monnier <[email protected]> + + * cus-start.el (default-major-mode): Customize `major-mode' instead. + (enable-multibyte-characters): Not customizable any more. + + * subr.el (default-mode-line-format, default-header-line-format) + (default-line-spacing, default-abbrev-mode, default-ctl-arrow) + (default-direction-reversed, default-truncate-lines) + (default-left-margin, default-tab-width, default-case-fold-search) + (default-left-margin-width, default-right-margin-width) + (default-left-fringe-width, default-right-fringe-width) + (default-fringes-outside-margins, default-scroll-bar-width) + (default-vertical-scroll-bar, default-indicate-empty-lines) + (default-indicate-buffer-boundaries, default-fringe-indicator-alist) + (default-fringe-cursor-alist, default-scroll-up-aggressively) + (default-scroll-down-aggressively, default-fill-column) + (default-cursor-type, default-buffer-file-type) + (default-cursor-in-non-selected-windows) + (default-buffer-file-coding-system, default-major-mode) + (default-enable-multibyte-characters): Mark as obsolete. + +2009-08-27 Dan Nicolaescu <[email protected]> + + * vc-dir.el (vc-dir-update): Remove debug helper. + + * vc-cvs.el (vc-cvs-update-changelog): Fix typo. + +2009-08-26 Sam Steingold <[email protected]> + + * simple.el (save-interprogram-paste-before-kill): New user option. + (kill-new): When `save-interprogram-paste-before-kill' is non-nil, + save the interprogram-paste into kill-ring before overriding it + with the Emacs kill. + +2009-08-26 Dan Nicolaescu <[email protected]> + + * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el. + (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el. + (vc-default-previous-revision): Rename to vc-rcs-previous-revision + and move to vc-rcs.el. + (vc-default-next-revision): Rename to vc-rcs-next-revision and + move to vc-rcs.el. + (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend. + (vc-rcs-update-changelog): Remove. + (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog + and move to vc-rcs.el. + + * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin) + (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p + renaming. + (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision) + (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from + vc.el, renamed to be RCS specific. + + * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision): + New functions. + (vc-cvs-update-changelog): Move here from vc.el. + + * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision): + New functions. + +2009-08-26 Stefan Monnier <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change. + +2009-08-26 Dan Nicolaescu <[email protected]> + + * vc-git.el (vc-git-register): Use "git add" for directories. + (vc-git-stash, vc-git-stash-show): New functions. + (vc-git-extra-menu-map): Bind them. + + * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent + directory correctly in case the item is a directory itself. + + * vc.el: Document the desired behavior for reverted files in the + `added' state. + (vc-default-prettify-state-info): Remove function, unused. + + * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused. + +2009-08-26 Glenn Morris <[email protected]> + + * bindings.el (standard-mode-line-format): Reposition dashes in + which-func entry. (Bug#4217) + + * files.el (enable-local-variables, enable-local-eval) + (safe-local-variable-values, safe-local-eval-forms): Mark as risky in + the defcustoms. + (auto-mode-alist, ignored-local-variables) + (save-some-buffers-action-alist): Move risky declarations to the + definitions. + (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string) + (font-lock-defaults, format-alist, imenu--index-alist) + (imenu-generic-expression, input-method-alist, minor-mode-alist) + (mode-line-buffer-identification, mode-line-client, mode-line-modes) + (mode-line-modified, mode-line-mule-info, mode-line-position) + (mode-line-process, mode-line-remote, outline-level) + (parse-time-rules, rmail-output-file-alist) + (special-display-buffer-names, vc-mode): + Move risky declarations to the relevant files. + * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote) + (mode-line-modified, mode-line-process, mode-line-position) + (mode-line-modes, mode-line-buffer-identification, minor-mode-alist) + * font-core.el (font-lock-defaults): + * format.el (format-alist): + * vc-hooks.el (vc-mode): + * window.el (special-display-buffer-names): + * international/mule-cmds.el (input-method-alist): + Define riskiness here (dumped file) rather than in files.el. + * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace): + * imenu.el (imenu-generic-expression, imenu--index-alist): + * outline.el (outline-level): + * time.el (display-time-string): + * calendar/parse-time.el (parse-time-rules): + * mail/rmailout.el (rmail-output-file-alist): + Autoload riskiness here, rather than placing in files.el. + +2009-08-26 Andreas Schwab <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow. + +2009-08-25 Michael Albinus <[email protected]> + + * simple.el (process-file-side-effects): New defvar. + + * dired-aux.el (dired-show-file-type): + * vc.el (vc-diff-internal): + * vc-arch.el (vc-arch-diff): + * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table): + * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table): + * vc-git.el (vc-git-registered, vc-git-working-revision) + (vc-git-find-revision, vc-git-diff, vc-git-revision-table) + (vc-git--empty-db-p): + * vc-hooks.el (vc-user-login-name): + * vc-svn.el (vc-svn-registered, vc-svn-state) + (vc-svn-dir-extra-headers, vc-svn-find-revision): + * progmodes/grep.el (grep-probe): Let-bind + `process-file-side-effects' with nil. + + * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT. + + * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS + daemon. Replace ping by checking for running service for bluez + and zeroconf. (Bug#4239) + +2009-08-25 Kevin Ryde <[email protected]> + + * net/dig.el (dig): Add autoload cookie. + +2009-08-25 Glenn Morris <[email protected]> + + * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in + load-history for absolute file-names. + (byte-compile-file-form-require): Warn about use of the cl package. + + * format.el (format-alist): Doc fix. + + * play/bubbles.el (top-level): Don't require cl at run-time. + + * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence + run-time cl). + +2009-08-24 Dmitry Dzhus <[email protected]> + + * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*' + from cl package. + (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'. + +2009-08-24 Jay Belanger <[email protected]> + + * calc/calc-alg.el (math-trig-rewrite) + (math-hyperbolic-trig-rewrite): New functions. + (calc-simplify): Simplify trig functions when asked. + +2009-08-24 Stefan Monnier <[email protected]> + + * diff-mode.el (diff-find-source-location): Avoid goto-line. + +2009-08-24 Kenichi Handa <[email protected]> + + * language/ind-util.el (mapthread): Delete it. + (combinatorial): New function. + (indian--puthash-cv): Use combinatorial instead of mapthread. + +2009-08-22 Kevin Ryde <[email protected]> + + * emacs-lisp/checkdoc.el (checkdoc-force-history-flag) + (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp. + (checkdoc-symbol-words): Add safe-local-variable for list of strings. + Clarify docstring that the value is strings not symbols. + (checkdoc-list-of-strings-p): New function. + +2009-08-22 Glenn Morris <[email protected]> + + * files.el (auto-mode-alist): + * hippie-exp.el (he-concat-directory-file-name): + * lpr.el (lpr-windows-system, printer-name): + * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program): + * ps-print.el (ps-windows-system): + * startup.el (command-line): + * emulation/viper-ex.el (viper-glob-function): + * international/mule-cmds.el (set-language-environment-coding-systems): + * net/ange-ftp.el (ange-ftp-write-region): + * obsolete/fast-lock.el (fast-lock-cache-name): + Remove code for defunct system-types emx, macos, mswindows, next-mach, + unisoft-unix, vax-vms, win32, w32. + + * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a + given name if the pattern is not more specific. + + * calendar/lunar.el (lunar-phase-names): New option. + (lunar-phase): Doc fix. + (lunar-cycles-per-year): New constant. + (lunar-index): New function. + (lunar-phase-list, diary-lunar-phases): Use lunar-index. + (lunar-phase-name): Use lunar-phase-names. + (calendar-lunar-phases): Use format. + (lunar-new-moon-on-or-after): Use lunar-cycles-per-year. + + * progmodes/cperl-mode.el (cperl-imenu-name-and-position): + Copy imenu-example--name-and-position function here for own use. + (cperl-xsub-scan): Use cperl-imenu-name-and-position. + + * bs.el (bs--redisplay): + * cus-edit.el (custom-redraw): + * ibuffer.el (ibuffer-bury-buffer): + * server.el (server-goto-line-column): + * startup.el (command-line-1): + * strokes.el (strokes-xpm-for-stroke): + * term.el (term-display-buffer-line): + * view.el (View-goto-line): + * calc/calc.el (calc-do, calc-trail-buffer): + * play/gamegrid.el (gamegrid-add-score-insecure): + * progmodes/ada-mode.el (ada-compile-goto-error): + * progmodes/ada-xref.el (ada-xref-find-in-modified-ali): + (ebrowse-select-1st-to-9nth): + * progmodes/cperl-mode.el (cperl-time-fontification): + * progmodes/ebrowse.el (ebrowse-toggle-file-name-display) + * progmodes/gud.el (gud-display-line): + (idlwave-shell-display-line): + * progmodes/idlw-shell.el (idlwave-shell-goto-frame) + * progmodes/make-mode.el (makefile-browser-toggle): + (vhdl-speedbar-port-copy, vhdl-compose-components-package): + * progmodes/vhdl-mode.el (vhdl-speedbar-find-file) + * textmodes/picture.el (picture-draw-rectangle): + * textmodes/reftex-index.el (reftex-index-goto-letter): + (reftex-select-jump-to-previous): + * textmodes/reftex-sel.el (reftex-find-start-point) + * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region): + (rst-straighten-deco-spacing, rst-section-tree, rst-toc): + * textmodes/rst.el (rst-promote-region, rst-straighten-decorations) + * textmodes/tex-mode.el (tex-compilation-parse-errors): + * textmodes/two-column.el (2C-associated-buffer): + Use forward-line rather than goto-line. + + * emulation/vi.el (vi-goto-line): Don't warn about non-interactive + goto-line. + + * international/ucs-normalize.el (nfd, decomposition-translation-alist) + (decomposition-char-recursively, alist-list-to-vector, quick-check-list) + (quick-check-list-to-regexp): Declare. + + * progmodes/make-mode.el (makefile-browser-insert-selection): + Use goto-char rather than goto-line. + + * progmodes/prolog.el (compilation-error-regexp-alist) + (compilation-forget-errors): Declare. + +2009-08-22 Juri Linkov <[email protected]> + + * progmodes/grep.el (lgrep, rgrep): At the beginning + set `dir' to `default-directory' unless `dir' is a non-nil + readable directory. (Bug#4052) + (lgrep, rgrep): Change a weird way to report an error + from using `read-string' to using `error'. + Instead of using interactive arguments in the function body, + add new argument `confirm'. + +2009-08-21 Stefan Monnier <[email protected]> + + * textmodes/remember.el (remember-buffer): + * progmodes/cperl-mode.el (cperl-vc-header-alist): + * calendar/icalendar.el (icalendar-convert-diary-to-ical) + (icalendar-extract-ical-from-buffer): + * net/newst-treeview.el (newsticker-groups-filename): + * net/newst-backend.el (newsticker-cache-filename): + * speedbar.el (speedbar-update-speed, speedbar-navigating-speed) + (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp) + (speedbar-add-ignored-path-regexp, speedbar-line-path) + (speedbar-buffers-line-path, speedbar-path-line) + (speedbar-buffers-line-path): + * epg.el (epg-passphrase-callback-function, epg-start-sign-keys) + (epg-sign-keys): + * epa.el (epa-display-verify-result): + * progmodes/pascal.el (pascal-outline): Add version of obsolescence. + +2009-08-21 Glenn Morris <[email protected]> + + * progmodes/js.el (inferior-moz-process): Fix declaration. + + * imenu.el (imenu-example--name-and-position): Fix obsolescence message. + + * obsolete/rnewspost.el (news-mail-reply): + Use goto-char rather than goto-line. + + * term/ns-win.el (ns-open-file-select-line): + Use line-beginning-position rather than goto-line. + + * apropos.el (apropos-command): + * ehelp.el (electric-helpify): + * printing.el (pr-show-setup): + * strokes.el (strokes-help): + * tutorial.el (tutorial--describe-nonstandard-key) + (tutorial--detailed-help): + * woman.el (woman-mini-help, woman-display-extended-fonts): + * calc/calc-help.el (calc-describe-key): + * emulation/edt.el (edt-electric-helpify): + * international/mule-diag.el (mule-diag): + * play/yow.el (apropos-zippy): + * progmodes/python.el (python-describe-symbol): + * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode): + * textmodes/table.el (*table--cell-describe-mode) + (*table--cell-describe-bindings): + Use help-print-return-message rather than the now obsolete alias. + + * calendar/cal-move.el (calendar-cursor-to-nearest-date) + (calendar-cursor-to-visible-date): + * play/5x5.el (5x5-position-cursor): + * play/decipher.el (decipher): + * play/gomoku.el (gomoku-goto-xy): + * play/landmark.el (lm-goto-xy): + * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics) + (mpuz-paint-digit): + Use forward-line, not goto-line. + + * mail/rmail.el (rmail-obsolete): Delete custom group. + (rmail-pop-password, rmail-pop-password-required): Make into aliases. + (rmail-remote-password, rmail-remote-password-required): + Remove unneeded :set-after and :set properties. + +2009-08-21 Michael Albinus <[email protected]> + + * net/dbus.el (top): Initialize only when `dbusbind' is loaded. + +2009-08-21 Dan Nicolaescu <[email protected]> + + * loadup.el: Remove leftover macos code. + + * vc-git.el (vc-git-annotate-command): Run asynchronously. + Explicitly pass the date format to git blame so that user local + so that the output format can be parsed. + +2009-08-20 Michael Albinus <[email protected]> + + * net/dbus.el (top): Don't check for (getenv + "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now. + +2009-08-19 Magnus Henoch <[email protected]> + + * log-edit.el (log-edit-strip-single-file-name): New var. + (log-edit-insert-changelog): Use it. Bug#3571 + +2009-08-19 Stefan Monnier <[email protected]> + + * subr.el (read-passwd): Use read-key so keypad keys work as well. + Bug#3287 + + * help.el (help-print-return-message): Rename from + print-help-return-message. + + * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable + cvs-mode-map parent hack. + (log-view-mode): Derive from special-mode. + + * linum.el (linum-mode): window-size-change-functions is redundant. + Adapt to new window-configuration-change-hook behavior. + (linum-after-size, linum-after-config): Remove. + + * imenu.el (imenu-example--name-and-position) + (imenu-example--lisp-extract-index-name) + (imenu-example--create-lisp-index, imenu-example--create-c-index): + Mark as obsolete. + + * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var. + (inferior-prolog-mode): Use it. + (inferior-prolog-load-file): Reset list of errors. + +2009-08-19 ARISAWA Akihiro <[email protected]> (tiny change) + + * language/tibetan.el ("Tibetan"): Fix sample-text entry. + + * language/tai-viet.el ("TaiViet"): Fix sample-text entry. + +2009-08-19 Michael Albinus <[email protected]> + + * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus + is running already. + +2009-08-19 Stefan Monnier <[email protected]> + + * subr.el (listify-key-sequence-1): Use normal syntax since those + integers are nowadays always represented by the same (positive) number + on all platforms. + (read-key-empty-map): New const. + (read-key-delay): New var. + (read-key): New function. + (force-mode-line-update): Use with-current-buffer. + (locate-user-emacs-file): Don't forget to abbreviate the file name. + (start-process-shell-command, start-file-process-shell-command): + Discourage the use of command-args. + +2009-08-19 Glenn Morris <[email protected]> + + * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail. + +2009-08-19 Stefan Monnier <[email protected]> + + * simple.el (choose-completion-string): Don't rely on + minibuffer-completing-file-name and ad-hoc checks to decide whether + to continue completion or not. + + * minibuffer.el (minibuffer-hide-completions): New function. + (completion--do-completion): Use it. + (completions-annotations): New face. + (completion--insert-strings): Use it. + (completion-pcm--delim-wild-regex): Add docstring. + (completion-pcm--string->pattern): Add support for 0-width delimiters + in completion-pcm--delim-wild-regex. + +2009-08-18 Stefan Monnier <[email protected]> + + * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion): + Remove unused var `buffer-modified-p'. + + * minibuffer.el (completion--do-completion): Move point for the #b001 + case as well (bug#4176). + (minibuffer-complete, minibuffer-complete-word): Don't move point. + +2009-08-18 Michael Albinus <[email protected]> + + * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system + and :session buses. + +2009-08-18 Kenichi Handa <[email protected]> + + * international/ucs-normalize.el (ucs-normalize-version): + Change to 1.1. + (ucs-normalize-hfs-nfd-pre-write-conversion): New function. + (utf-8-hfs): Make it perform normalization on encoding too. + + * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie. + (sentence-end-without-space): Delete duplicated chars. + (sentence-end-base): Likewise. + + * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie. + (html-mode): Delete duplicated chars from sentence-end-base. + + * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie. + (texinfo-mode): Delete duplicated chars from sentence-end-base. + +2009-08-17 Chong Yidong <[email protected]> + + * files.el (hack-one-local-variable): If the mode function is for + a minor mode, pass it an argument (Bug#4148). + +2009-08-17 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-register-completion-file-name-handler): + Check also for (member 'partial-completion completion-styles). + +2009-08-16 Chong Yidong <[email protected]> + + * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand + abbrev (Bug#3943). + +2009-08-16 Ilya Zakharevich <[email protected]> + + * progmodes/cperl-mode.el: Merge upstream 6.2. + (cperl-mode-syntax-table): Modify syntax entry for ["'`]. + (cperl-forward-re): Check cperl-brace-recursing. + (cperl-highlight-charclass): New function. + (cperl-find-pods-heres): Use it. + (cperl-fill-paragraph): Synch to save-excursion placement used upstream. + (cperl-beautify-regexp-piece): Fix column calculation. + (cperl-make-regexp-x): Handle case where point is between "q" and "rs". + (cperl-beautify-level): Don't process entire regexp. + (cperl-build-manpage, cperl-perldoc): Bind Man-switches before + calling man. + (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix. + (cperl-init-faces): Build a list in the normal way. + +2009-08-16 Chong Yidong <[email protected]> + + * calendar/parse-time.el (parse-time-string-chars): Save match + data. + +2009-08-16 Stefan Monnier <[email protected]> + + * progmodes/sql.el (sql-product-alist): Add :name tag to entries. + (sql-product): Use it. + (sql-mode-menu): Auto-generate the menu based on sql-product-alist. + (sql-set-product): Add completion. + (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords) + (sql-highlight-linter-keywords, sql-highlight-ms-keywords) + (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords) + (sql-highlight-informix-keywords, sql-highlight-interbase-keywords) + (sql-highlight-ingres-keywords, sql-highlight-solid-keywords) + (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords) + (sql-highlight-db2-keywords): Remove. + (sql-find-sqli-buffer, sql-set-sqli-buffer-generally) + (sql-highlight-product): Use derived-mode-p. + (sql-set-sqli-buffer): Use with-current-buffer. + (sql-connect-informix, sql-connect-ingres, sql-connect-oracle): + Simplify. + + * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function. + + * term.el: Fix commenting convention, turn comments into docstrings. + +2009-08-16 E. Jay Berkenbilt <[email protected]> (tiny change) + + * whitespace.el (whitespace-style): Doc fix (Bug#3661). + +2009-08-16 Jan Seeger <[email protected]> (tiny change) + + * calendar/parse-time.el (parse-time-string-chars): Compute using + character classes, to handle non-ascii characters (Bug#3190). + +2009-08-16 Chong Yidong <[email protected]> + + * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting + another heredoc if the user adds another < (Bug#3226). + + * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): + Don't initialize based on window-system (Bug#4124). + + * facemenu.el (facemenu-read-color): Use a completion function + that accepts any defined color, such as RGB triplets (Bug#3677). + + * files.el (get-free-disk-space): Change fallback default + directory to /. Expand DIR argument before switching to fallback. + Suggested by Kevin Ryde (Bug#2631, Bug#3911). + +2009-08-15 Chong Yidong <[email protected]> + + * files.el (load-library): Doc fix. + +2009-08-15 Michael Kifer <[email protected]> + + * emulation/viper-cmd.el (viper-insert-isearch-string): New function. + (viper-if-string): Redefine C-s in the minibuffer to insert the last + incremental search string. + + * ediff-init.el (ediff-coding-system): Use escape-quoted in case of + XEmacs. + + * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip) + (ediff-merge-region-is-non-clash) + (ediff-skip-merge-region-if-changed-from-default-p): Use defun. + Also check if the job is really a merge job. + + * ediff.el (ediff-current-file): New function. + +2009-08-15 Chong Yidong <[email protected]> + + * progmodes/js.el: Edit docstrings throughout to follow Emacs + conventions. + (js-insert-and-indent): Delete function. + (js-mode-map): Don't bind keys to js-insert-and-indent. + (js-beginning-of-defun): Rename from js--beginning-of-defun. + (js-end-of-defun): Rename from js--end-of-defun. + (js-auto-indent-flag): Delete variable. + +2009-08-14 Chong Yidong <[email protected]> + + * progmodes/js.el: Remove proclaim statement. + Defvar which-func-imenu-joiner-function to silence compiler. + + * files.el (auto-mode-alist): Use js-mode for .js files. + + * progmodes/js2-mode.el: Remove file. + + * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el. + + * speedbar.el (speedbar-supported-extension-expressions): Add .js. + + * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry. + +2009-08-14 Daniel Colascione <[email protected]> + Karl Landstrom <[email protected]> + + * progmodes/js.el: New file. + +2009-08-14 Mark A. Hershberger <[email protected]> + + * timezone.el (timezone-parse-date): Add ability to understand ISO + basic format (minimal separators) dates in addition to the + already-supported extended format dates. + +2009-08-14 Eli Zaretskii <[email protected]> + + * international/ucs-normalize.el: Add a `coding' file variable. + + * Makefile.in (ELCFILES): Add international/ucs-normalize.elc. + +2009-08-14 Sam Steingold <[email protected]> + + * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing. + +2009-08-13 Chong Yidong <[email protected]> + + * faces.el (help-argument-name): Define it here instead of + help-fns.el, because in daemon mode help-fns.el may be loaded when + faces are still uninitialized (Bug#1078). + + * help-fns.el (help-argument-name): Move defface to faces.el. + +2009-08-13 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to + create buffer with a pty but no process so that GDB can make the + inferior the controlling process. + +2009-08-13 Taichi Kawabata <[email protected]> + + * international/ucs-normalize.el: New file. + +2009-08-13 Richard Stallman <[email protected]> + + * mail/rmail.el (rmail-get-attr-names): + Accept an attribute header that is too short. + + * mail/rmail.el (rmail-forget-messages): + Ignore nil elt in rmail-message-vector. Use dotimes. + + * progmodes/compile.el (compilation-goto-locus): + Use next-error-move-function. + + * simple.el (next-error-move-function): New variable. + +2009-08-12 Juri Linkov <[email protected]> + + * progmodes/grep.el (lgrep): Ensure that `default-directory' is + always non-nil. (Bug#4052) + + * replace.el (read-regexp): Return empty string when + `default-value' is nil. + (keep-lines-read-args): Don't use empty string as the + default value for `read-regexp'. (Bug#2495) + +2009-08-12 Juri Linkov <[email protected]> + + * international/mule-cmds.el (ucs-insert): Change arguments + from `arg' to `character', `count', `inherit' to be the same + as in `insert-char'. Doc fix. (Bug#4039) + + * international/mule-conf.el (utf-16be-with-signature): Doc fix. + +2009-08-12 Juri Linkov <[email protected]> + + * files-x.el: New file. + + * files.el: Move code that deals with adding/deleting + file/directory-local variables to files-x.el. + + * Makefile.in (ELCFILES): Add files-x.elc. + +2009-08-11 Dmitry Dzhus <[email protected]> + + * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not + to use `goto-line'. + (gdb-place-breakpoints, gdb-get-location): Rewritten without + `goto-line'. + (gdb-invalidate-disassembly): Do not refresh upon receiving + 'update signal. Instead, update all disassembly buffers only after + threads list. + (gdb): Send -target-detach when buffer is killed (Bug#3794). + (gdb-starting): Moved -data-list-register-names... + (gdb-stopped): ...here so it's sent when first thread stops. + (gdb-registers-handler-custom): Do nothing if register names are + unknown yet. + + * progmodes/gud.el (gud-stop-subjob): Rewritten without macros + from `gdb-mi.el' to avoid extra tangling. + + * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous + change which breaks `gud-def' definitions used in `gdb'. + (gdb-update-gud-running): No extra fuss for updating frame number. + +2009-08-10 Stefan Monnier <[email protected]> + + * international/mule-cmds.el (mule-keymap, mule-menu-keymap) + (describe-language-environment-map, setup-language-environment-map) + (set-coding-system-map): Move initialization into declaration. + (set-language-info-alist): Last arg to define-key-after can be skipped. + + * international/quail.el (quail-completion-1): Simplify. + (quail-define-rules): Use slightly more compact code. + (quail-insert-decode-map): Propertize keys, compact columns. + + * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): + Add goto-line. + +2009-08-10 Miles Bader <[email protected]> + + * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag) + (js2-jsdoc-type, js2-jsdoc-value, js2-function-param) + (js2-instance-member, js2-private-member, js2-private-function-call) + (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter) + (js2-magic-paren, js2-external-variable): + Remove "-face" suffix from face names. + (js2-jsdoc-highlight-helper, js2-highlight-jsdoc) + (js2-highlight-undeclared-vars, js2-peek-token) + (js2-parse-function-params, js2-mode-show-errors) + (js2-mode-show-warnings, js2-make-magic-delimiter) + (js2-mode-highlight-magic-parens): Update to use new face names. + +2009-08-09 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-get-ls-command-with-dired): New defun. + (tramp-handle-insert-directory): Handle "--dired". (Bug#4075) + +2009-08-09 Chong Yidong <[email protected]> + + * subr.el: Provide hashtable-print-readable. + + * progmodes/hideshow.el (hs-special-modes-alist): Don't use + hs-c-like-adjust-block-beginning. + (hs-hide-block-at-point): Stop hiding at the beginning of + hs-block-end-regexp (Bug#700). + +2009-08-09 Dmitry Dzhus <[email protected]> + + * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be + a macro. + (gdb-registers-handler-custom): Do not fail when register names + are unavailable. + +2009-08-08 Dmitry Dzhus <[email protected]> + + * progmodes/gdb-mi.el (gdb-control-all-threads) + (gdb-control-current-thread): Interactive setters for + `gdb-gud-control-all-threads' to use in menu. + (gdb-show-run-p): Show «Go» when process is not active. + (gud-tool-bar-map): Add non-stop/A,T indicator. Uses + gud/thread.xpm and gud/all.xpm. + +2009-08-08 Yoni Rabkin <[email protected]> + + * net/net-utils.el (net-utils-font-lock-keywords): New var. + (nslookup-font-lock-keywords): Make it a variable. + (net-utils-mode): New mode for viewing diagnostic network output. + (net-utils-remove-ctrl-m-filter): Set inhibit-read-only. + (net-utils-run-simple): New function. + (ifconfig, iwconfig, netstat, arp, route): Use it. + +2009-08-08 Dmitry Dzhus <[email protected]> + + * progmodes/gdb-mi.el (gdb-read-memory-custom) + (gdb-memory-set-address, def-gdb-set-positive-number) + (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer + after changing settings. + (gdb-invalidate-disassembly): Update when first shown. + (gdb-edit-locals-value): Fixed. + (gdb-registers-handler-custom): Print registers in right order and + allow changing register values (only for current thread yet). + (gdb-breakpoints-mode-map): Don't assume threads buffer is present. + (gdb-threads-mode-map): Don't assume breakpoints buffer is present. + (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom) + (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread + info in mode name. + (gdb-registers-mode-map): TAB to switch to locals. + +2009-08-08 Eli Zaretskii <[email protected]> + + * mail/rmail.el (rmail-add-mbox-headers) + (rmail-set-message-counters-counter): Search for + rmail-unix-mail-delimiter instead of just "From ". (Bug#4076) + +2009-08-08 Glenn Morris <[email protected]> + + * Makefile.in (ELCFILES): Update. + +2009-08-07 Eli Zaretskii <[email protected]> + + * mail/sendmail.el (mail-yank-original): Set + buffer-file-coding-system from the one used by the message whose + text is yanked. + + * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device + to "windows" when "pgnuplot" is used. + (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't + call accept-process-output if "pgnuplot" is used. + (calc-graph-init): Don't send -display and -geometry to + "pgnuplot". If "pgnuplot" is used, glean gnuplot version by + running "pgnuplot -V" with shell-command-to-string. + + * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as + the default. + +2009-08-07 Eli Zaretskii <[email protected]> + + * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to + org/org-latex.elc. + +2009-08-07 Dan Nicolaescu <[email protected]> + + * vc-dispatcher.el (vc-resynch-window): Update comment. + + * term.el (term-handle-ansi-escape): Add comments with the + terminfo capabilities implemented. + +2009-08-06 Dmitry Dzhus <[email protected]> + + * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed. + (gdb-var-create-handler): Rewritten using JSON parser. + (gdb-propertize-header): Moved earlier. + (gdb-set-header): Removed to avoid duplication. + (gdb-thread-list-handler-custom, gdb-invalidate-disassembly): + Refresh disassembly buffers only after threads list have been + update. + (gdb-threads-header, gdb-registers-header): Per-buffer header line + variables. + +2009-08-04 Juri Linkov <[email protected]> + + * files.el: Commands to add/delete file/directory-local variables. + (read-file-local-variable, read-file-local-variable-value) + (read-file-local-variable-mode, modify-file-local-variable) + (modify-file-local-variable-prop-line) + (modify-dir-local-variable): New functions. + (add-file-local-variable, delete-file-local-variable) + (add-file-local-variable-prop-line, delete-file-local-variable-prop-line) + (add-dir-local-variable, delete-dir-local-variable) + (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals) + (copy-dir-locals-to-file-locals-prop-line): New commands. + +2009-08-04 Chong Yidong <[email protected]> + + * abbrev.el (insert-abbrev-table-description): Prettify output. + Suggested by Karl Chen. + +2009-08-04 Dmitry Dzhus <[email protected]> + + * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil. + (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'. + (gdb-overlay-arrow-position, gdb-thread-position) + (gdb-disassembly-position): Declare variables. + (gdb-wait-for-pending): Function now. + (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers) + (gdb-emit-signal, gdb-buf-publisher): Declare before first use so + compilation goes smoothly. + (gdb, gdb-non-stop, gdb-buffers): New customization groups. + (gdb-non-stop-setting): New customization setting which replaces + `gdb-non-stop' so changing it doesn't break active GDB session. + (gdb-stack-buffer-locations, gdb-stack-buffer-addresses) + (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments) + (gdb-thread-buffer-locations, gdb-thread-buffer-addresses) + (gdb-show-threads-by-default): New customization options. + (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper + routines. + (gdb-get-buffer-create): Send buffers update signal when they are + created. + (gdb-invalidate-locals, gdb-invalidate-registers) + (gdb-invalidate-breakpoints) + (gdb-invalidate-threads, gdb-invalidate-disassembly) + (gdb-invalidate-memory): Accept update signal. + (gdb-current-context-command): Use --frame option. + (gdb-update-gud-running, gdb-running, gdb-setq-thread-number): + Implement `gdb-frame-number' selection logic. + (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide + whether to show GUD toolbar buttons. + (gdb-thread-exited): Unselect current thread when it exits. + (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks'). + (gdb-mark-line): Routine which sets overlay arrow or inverses + video on fringeless displays. + (gdb-table, gdb-table-add-row, gdb-table-string): Structure used + to build aligned columns of data in GDB buffers and set text + properties line-by-line. + (gdb-invalidate-breakpoints) + (gdb-breakpoints-list-handler-custom) + (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom) + (gdb-stack-list-frames-custom, gdb-locals-handler-custom) + (gdb-registers-handler-custom): Align data columns. + (gdb-locals-handler-custom): Now prints data like in variable + declarations. + (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button): + Removed confusing buttons. + (gdb-invalidate-threads): Append --frame. + (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch + between breakpoints/threads buffers. + (gdb-set-window-buffer): Now can ignore dedicated windows. + (gdb-propertize-header): Use `gdb-set-window-buffer'. + (def-gdb-thread-buffer-simple-command): Numerous typos fixed. + (def-gdb-thread-buffer-gud-command): Replaces + `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands + for fine thread control. + (gdb-preempt-existing-or-display-buffer): New function used to + display bound buffers without breaking window layout. + (gdb-frame-location): Replaces `gdb-insert-frame-location'. + (gdb-select-frame): New version of `gdb-frames-select' which now + sets `gdb-frame-number' so commands may use --frame option instead + of inner debugger state. + (gdb-frame-handler): Do not set `gdb-frame-number'. + (gdb-threads-mode-map): Select threads with mouse. + + * progmodes/gud.el (gdb-gud-context-call): Declare function to + avoid compilation warning. + (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and + `gdb-show-stop-p`. + + * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create): + Argument `key' renamed to `buffer-type'. + (gdb-current-context-buffer-name): Do not add thread info to + buffer name when no thread is selected. + (gdbmi-record-list, gdb-shell): Try to handle GDB `shell' + command (bug 3794). + (gdb-thread-selected): Handle `=thread-selected' notification. + (gdb-wait-for-pending): New macro to deal with congestion problems. + (gdb-breakpoints-list-handler-custom): Don't fail on pending + breakpoints. + (gdb-invalidate-disassembly): Use 'fullname instead of 'file. + This fixes problem similar to one described in bug 3947. + (gud-menu-map): More menu items. + (gdb-init-1): Reset `gdb-thread-number' to nil. + + * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB + non-stop settings. + + * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil. + (gdb-current-context-command): Do not append --thread if + `gdb-thread-number' is nil. + (gdb-running-threads-count, gdb-stopped-threads-count): New + variables. + (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons) + (gdb-stopped-hooks, gdb-switch-when-another-stopped): New + customization options. + (gdb-gud-context-command, gdb-gud-context-call): New wrappers for + GUD commands. + (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'. + (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled. + (gdb-setq-thread-number, gdb-update-gud-running): New functions to + set `gdb-thread-number' and update `gud-running' properly. + (gdb-running): Update threads list when new threads appear. + (gdb-stopped): Support non-stop operation and new thread switching + logic. + (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string) + (gdb-json-partial-output): New set of JSON routines. + (def-gdb-auto-update-trigger): New `signal-list' optional + argument. + (gdb-thread-list-handler-custom): Update `gud-running', + `gdb-stopped-threads-count' and `gdb-running-threads-count'. + (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread) + (gdb-continue-thread, gdb-step-thread): New commands for fine + thread execution control. + (gud-menu-map): New menu items to switch non-stop options. + (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker. + (gdb-send): Mimic RET properly (bug 3794). + + * progmodes/gdb-mi.el (gdb-rules-name-maker) + (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for + gdb-buffer-rules. + (def-gdb-auto-update-handler): New nopreserve optional argument. + (gdb-stack-list-frames-custom): Print stack from top to bottom. + + * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable. + (gdb-threads-list, gdb-breakpoints-list): New assoc lists. + (gdb-parent-mode): New mode to derive other GDB modes from. + (gdb-display-disassembly-for-thread) + (gdb-frame-disassembly-for-thread): New commands for threads + buffer. + + * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create) + (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber) + (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher) + (gdb-update): We now store all GDB buffers in a list so that they + can be updated by traversing a list instead of calling invalidate + triggers explicitly. + (def-gdb-trigger-and-handler): New macro to define trigger-handler + pair for GDB buffer. + (gdb-stack-buffer-name): Add thread information. + (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to + handle pending triggers. + (gdb-threads-mode-map, def-gdb-thread-buffer-command) + (def-gdb-thread-buffer-simple-command) + (gdb-display-stack-for-thread, gdb-display-locals-for-thread) + (gdb-display-registers-for-thread, gdb-frame-stack-for-thread) + (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread): + New commands which show buffers bound to thread. + (gdb-stack-list-locals-regexp): Removed unused regexp. + + * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name) + (gdb-locals-buffer-name, gdb-registers-buffer-name) + (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch + to (gud-comint-buffer) in *-buffer-name functions + because (gdb-get-target-string) already does that. + (gdb-locals-handler-custom, gdb-registers-handler-custom) + (gdb-changed-registers-handler): Rewritten without regexps. + + * progmodes/gdb-mi.el: Basic thread selection support. + (gdb-thread-number): New variable. + (gdb-current-context-command): New macro which adds --thread + option to command. + (gdb-threads-mode-map): Select thread with SPC. + (gdb-thread-list-handler-custom): Mark current thread with overlay + arrow. Synchronize GDB thread and Emacs thread. + (gdb-select-thread): New command which selects current thread. + (gdb-invalidate-frames, gdb-invalidate-locals) + (gdb-invalidate-registers): Use --thread option. + +2009-08-04 Michael Albinus <[email protected]> + + * net/tramp.el (top): Make check for tramp-gvfs loading more + robust. (Bug#3977) + (tramp-handle-insert-file-contents): `unwind-protect' must be + inside `with-parsed-tramp-file-name'. + + * net/tramp-gvfs.el (top): Remove superfluous message when loading + fails. + +2009-08-03 Nick Roberts <[email protected]> + + * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current + directory if CLASSPATH is not set. + +2009-08-03 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp): + New defconst. + (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004) + +2009-08-02 Kevin Ryde <[email protected]> + + * net/newst-backend.el (newsticker--raw-url-list-defaults): + Update freshmeat link. Delete newsforge.com as it seems gone. + +2009-08-02 Chong Yidong <[email protected]> + + * select.el (x-set-selection): Doc fix (Bug#4021). + + * w32-fns.el (x-set-selection): Doc fix (Bug#4021). + + * help-fns.el (describe-variable): Treat list return values from + dir-locals-find-file properly (Bug#4005). + +2009-08-02 Julian Scheid <[email protected]> (tiny change) + + * net/tramp.el (tramp-debug-message): Print also microseconds. + +2009-08-02 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG + or END is non-nil. + (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'. + (tramp-get-debug-buffer): Change `outline-regexp' according to new + format. + + * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar. + (tramp-get-file-property): Use it. + + * autorevert.el (auto-revert-handler): Allow + `auto-revert-tail-mode' for remote files. + +2009-08-02 Jason Rumney <[email protected]> + + * minibuffer.el (read-file-name): Treat confirm options to + MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969) + +2009-08-02 Chong Yidong <[email protected]> + + * font-lock.el (font-lock-string-face, font-lock-builtin-face) + (font-lock-variable-name-face, font-lock-constant-face): Darken + the colors for light backgrounds. + +2009-08-01 Eli Zaretskii <[email protected]> + + * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of + month names. (Bug#3987) + +2009-07-31 Chong Yidong <[email protected]> + + * simple.el (line-move-finish): Pass whole number to + line-move-to-column. + (line-move-visual): Perform hscroll to the recorded position. + +2009-07-30 Jay Belanger <[email protected]> + + * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt. + +2009-07-29 Alan Mackenzie <[email protected]> + + * progmodes/cc-defs.el (c-version): Bump to 5.31.7. + +2009-07-29 Dmitry Dzhus <[email protected]> + + * progmodes/gdb-mi.el (gdb-goto-breakpoint) + (gdb-place-breakpoints): Use full path when setting breakpoints. + +2009-07-29 Jay Belanger <[email protected]> + + * calc/calc.el (calc-mode-map): Add keybinding for + `calc-transpose-lines'. + +2009-07-29 Vincent Belaïche <[email protected]> + + * calc/calc-misc.el (calc-transpose-lines): New function. + +2009-07-28 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-do-copy-or-rename-file): Add messages. + Simplify check for out-of-band methods. + (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be + remote. Remove messages which are in `tramp-do-copy-or-rename-file'. + +2009-07-28 Dan Nicolaescu <[email protected]> + + * vc-git.el (vc-git-checkin): Fix typo. + +2009-07-28 Steve Yegge <[email protected]> + + * progmodes/js2-mode.el: New file. + +2009-07-28 Nick Roberts <[email protected]> + + * progmodes/gud.el (jdb): Add gud-pstar to dump object information. + (gud-menu-map): Adjust tooltip accordingly. + +2009-07-27 Dan Nicolaescu <[email protected]> + + * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log. + (vc-bzr-log-view-mode): Adjust log-view-file-re. + + * add-log.el (change-log-mode-map): Add a menu. + +2009-07-27 Michael Albinus <[email protected]> + + * net/dbus.el (dbus-call-method-non-blocking): Handle the case the + function returns nil. + (dbus-handle-event): Handle special return value :ignore. + Reported by Jan Moringen <[email protected]>. + +2009-07-26 Chong Yidong <[email protected]> + + * view.el (view-mode-enable): Don't define Helper-return-blurb if + it's not needed. + +2009-07-25 Eli Zaretskii <[email protected]> + + Fix Bug#3888: + + * w32-vars.el (x-select-enable-clipboard): Doc fix. + + * term/pc-win.el (x-display-name, x-colors) + (x-select-enable-clipboard, x-select-text): Doc fix. + + * term/common-win.el (x-display-name, x-colors): Doc fix. + + * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors) + (xw-defined-colors): Doc fix. + + * w32-fns.el (x-select-text, x-setup-function-keys) + (x-get-selection, x-set-selection): Doc fix. + + * term/x-win.el (x-select-text, x-setup-function-keys) + (x-select-enable-clipboard, xw-defined-colors): Doc fix. + + * select.el (x-set-selection): Doc fix. + +2009-07-25 Michael Albinus <[email protected]> + + * net/zeroconf.el (zeroconf-init): Check for "GetVersionString" + instead of "IsNSSSupportAvailable". Avahi ought to work also when + "IsNSSSupportAvailable" method is not available. Reported by + Steve Youngs <[email protected]>. + +2009-07-24 Kenichi Handa <[email protected]> + + * international/characters.el: Fix setting of category ?C, ?|, ?K, + and ?H. Fix setting of case for Latin Extended and Greek Extended. + (build-unicode-category-table): Fix range checks. + +2009-07-24 Dan Nicolaescu <[email protected]> + + * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure + the buffer we try to sync is current when calling + vc-resynch-buffer. + + * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does + not show up to date files. + +2009-07-24 Glenn Morris <[email protected]> + + * emacs-lisp/elint.el (elint-current-buffer, elint-defun): + Add autoload cookies. If necessary, initialize. + (elint-log): Handle non-file buffers. + (elint-initialize): Add optional argument to reinitialize. + (elint-find-builtin-variables): Save excursion. + +2009-07-23 Dan Nicolaescu <[email protected]> + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries + for Lint. + +2009-07-22 Dan Nicolaescu <[email protected]> + + * vc.el (vc-print-log-internal): New function, split out from ... + (vc-print-log): ... here. + (vc-dir-move-to-goal-column): Declare. + + * vc-git.el (vc-git-add-signoff): New variable. + (vc-git-checkin): Use it. + (vc-git-toggle-signoff): New function. + (vc-git-extra-menu-map): Bind it to menu. + (vc-git--run-command-string): Accept a nil FILE argument. + (vc-git-stash-list): New function. + (vc-git-dir-extra-headers): Use it. + +2009-07-23 Glenn Morris <[email protected]> + + * help-fns.el (describe-variable): Describe ignored and risky local + variables in a similar way to that in which we describe safe ones. + + * emacs-lisp/bytecomp.el (byte-compile-from-buffer) + (byte-compile-output-file-form, byte-compile-output-docform) + (byte-compile-file-form-defmumble, byte-compile-output-as-comment): + Give some more local variables with common names a "bytecomp-" prefix, + so as not to shadow things during compilation. + * emacs-lisp/cl-macs.el (load-time-value) + * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change + `outbuffer' to `bytecomp-outbuffer'. + + * emacs-lisp/elint.el (elint-standard-variables): Remove most members, + since the next two variables cover them automatically now. + (elint-builtin-variables, elint-autoloaded-variables): New. + (elint-unknown-builtin-args): Remove all members, since they can be + parsed automatically now. + (elint-extra-errors): New. + (elint-env-add-env, elint-env-add-macro): Use cadr. + (elint-current-buffer): Use or. Change final message. + (elint-get-top-forms): Use line-end-position. + (elint-init-env): Use cadr. Handle autoload, declare-function, + and defalias. + (elint-add-required-env): Doc fix. Use or. Standardize error. + (regexp-assoc): Remove unused function. + (elint-top-form): Set elint-current-pos, to record the start of the + top-level form, for compilation-mode. + (elint-form): Trap errors in macro expansion. Use dolist. + (elint-unbound-variable): Use elint-builtin-variables and + elint-autoloaded-variables. + (elint-get-args): Use cadr, or. + (elint-check-cond-form): Use dolist, cadr. + (elint-check-condition-case-form): Doc fix. Use cadr. + Use elint-extra-errors. + (elint-log): New function. + (elint-error, elint-warning): Use elint-log for a bytecomp-style format. + Distinguish errors and warnings. + (elint-log-message): Use with-current-buffer. Inhibit read-only. + Use a bytecomp-style format. + (elint-clear-log): Preserve default-directory. Inhibit read-only. + (elint-get-log-buffer): Use compilation mode. Disable undo. + Don't truncate lines. + (elint-initialize): Set builtin and autoloaded variable lists. + Only process elint-unknown-builtin-args if non-nil. + (elint-find-builtin-variables, elint-find-autoloaded-variables): + New functions. + (elint-find-builtin-args): Doc fix. Handle "BODY...)". + +2009-07-22 Kevin Ryde <[email protected]> + + * net/newst-backend.el (newsticker--parse-atom-1.0) + (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92) + (newsticker--parse-rss-1.0): + * progmodes/idlwave.el (idlwave-mode): + * progmodes/idlw-shell.el (idlwave-shell-mode): + * progmodes/vera-mode.el (vera-mode): + * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto): + * progmodes/vhdl-mode.el (vhdl-mode): + * textmodes/table.el (table-generate-source) + (table--warn-incompatibility): + Hyperlink urls in docstrings with URL `...'. + +2009-07-22 Glenn Morris <[email protected]> + + * emacs-lisp/advice.el, emacs-lisp/checkdoc.el: + * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el: + * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el: + Remove leading * from defcustom docs. + + * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889) + + * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from + defcustom doc. + (list-load-path-shadows): Optionally, just return shadows as a string. + + * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows. + +2009-07-21 Chong Yidong <[email protected]> + + * mail/rmailedit.el (rmail-edit-mode): Use + auto-save-include-big-deletions. + + * mail/rmail.el (rmail-variables): Use + auto-save-include-big-deletions. + + * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16 + changes. + +2009-07-21 Jay Belanger <[email protected]> + + * calc/calc.el (calc-undo-length): New variable. + (calc-quit): Truncate rather than eliminate `calc-undo-list'. + +2009-07-21 Richard Stallman <[email protected]> + + * files.el (auto-save-mode): Handle buffer-save-size = -2 + for toggling mode. + +2009-07-21 Glenn Morris <[email protected]> + + * textmodes/ispell.el (ispell-looking-back): Update declaration. + + * calendar/todo-mode.el (calendar-current-date): Update declaration. + + * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to + silence compiler. Instead... + (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare. + (ps-print-ensure-fontified): Update for above function name changes. + + * printing.el (pr-mh-get-msg-num, pr-mh-show) + (pr-mh-start-of-uncleaned-message): Remove aliases only used to + silence compiler. Instead... + (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare. + (mh-show-buffer): Only define for compiler. + (pr-mh-current-message): Update for above function name changes. + + * files.el (abort-if-file-too-large): Explicitly pass `filename' + as an argument. + (find-file-noselect, insert-file-1): Update for above change. + + * mail/rmail.el (rmail-retry-ignored-headers): Bump :version. + + * mail/mailclient.el (mailclient-send-it): Fix message. + + * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler. + (edebug-eval): Check cl-debug-env is bound. + (print-level, print-circle): Don't redefine built-in variables. + + * emacs-lisp/cust-print.el: Remove leading * from defcustom docs. + (custom-print-vectors): Remove old comments from doc. + + * emerge.el (menu-bar-emerge-menu): Remove unused variable. + (emerge-version): Make the variable an obsolete alias for the + emacs-version variable. Make the function obsolete. + (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for + Emerge options, rather than merging in into the main Options menu. + (emerge-options-menu): Adjust menu text. Use buttons for skip prefers + and auto advance modes. Disable edit/fast items when not relevant. + +2009-07-20 Dan Nicolaescu <[email protected]> + + * term/vt420.el (terminal-init-vt420): Fix typo. + +2009-07-20 Sam Steingold <[email protected]> + + * progmodes/ada-mode.el (compile-auto-highlight): Remove the + variable (removed from compile.el on 2004-03-11). + +2009-07-20 Chong Yidong <[email protected]> + + * files.el (hack-local-variables-filter): Fix last change. + +2009-07-19 Juri Linkov <[email protected]> + + * files.el (ignored-local-variables): Add `dir-local-variables-alist'. + (dir-local-variables-alist): New buffer-local variable. + (hack-local-variables-filter): If variable is not dir-local, + i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist', + because file-local overrides dir-local. + (c-postprocess-file-styles) <declare-function>: + Remove obsolete declaration. + (hack-dir-local-variables): Add dir-local variable/value pair to + `dir-local-variables-alist' and remove duplicates. Doc fix. + + * help-fns.el (describe-variable): Add information about + file-local and dir-local variables. + +2009-07-19 Chong Yidong <[email protected]> + + * files.el (hack-local-variables-filter): Rewrite. + +2009-07-19 Glenn Morris <[email protected]> + + * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs): + Silence compiler by only defining on XEmacs. + + * international/mule.el (auto-coding-regexp-alist): Only match + BABYL... at the start of buffer, not of lines. (Bug#3790) + + * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from + non-calendar buffers (Bug#3862). Restore "not on a date" message. + (cal-menu-context-mouse-menu): Doc fix. + + * desktop.el (desktop-buffers-not-to-save): Set :version tag. + + * simple.el (mail-user-agent): Doc fix. Set :version tag. + +2009-07-18 Juri Linkov <[email protected]> + + * info.el: Virtual Info keyword finder. + (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'". + (Info-finder-file): New variable. + (Info-finder-find-file): New function. + (finder-known-keywords, finder-package-info) + (find-library-name, lm-commentary): Use defvar and + declare-function to silence compiler warnings. + (Info-finder-find-node): New function. + (info-finder): New command. + + * subr.el (process-kill-buffer-query-function): New function. + (add-hook)<kill-buffer-query-functions>: Add hook + `process-kill-buffer-query-function'. + +2009-07-18 Alan Mackenzie <[email protected]> + + * progmodes/cc-mode.el (c-before-hack-hook) + (c-postprocess-file-styles): Give invocation of `c-set-style' + DONT-OVERRIDE parameter of t. Already set style variables will + thus not be overridden by style settings given by `c-file-syle'. + + * files.el (hack-local-variables-filter): Remove entries with + duplicate keys from `file-local-variables-alist'. + +2009-07-18 Eli Zaretskii <[email protected]> + + * simple.el (deactivate-mark, activate-mark, set-mark): Don't call + x-set-selection if display-selections-p returns nil for the + current frame. + +2009-07-18 Chong Yidong <[email protected]> + + * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873). + +2009-07-18 Eli Zaretskii <[email protected]> + + * desktop.el (desktop-buffers-not-to-save): Default value is nil. + Accept nil in addition to a regexp. + (desktop-files-not-to-save): Add "(ftp)$" to the default regexp. + Accept nil in addition to a regexp. + (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for + buffers that have an associated file. Handle nil values of + desktop-buffers-not-to-save and desktop-files-not-to-save. + (Bug#3833) + + * term/pc-win.el (x-selection-owner-p, x-own-selection-internal) + (x-disown-selection-internal): New functions. + +2009-07-18 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler + warning. + (gdb-breakpoints-header): Move forward to avoid compiler warning. + (gdb-make-header-line-mouse-map): Remove duplicate definition. + +2009-07-18 David De La Harpe Golden <[email protected]> + + * simple.el (set-mark): Revert last change. + +2009-07-17 Tassilo Horn <[email protected]> + + * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if + rendering of pngs is not possible instead of messaging a long + description. + +2009-07-17 David De La Harpe Golden <[email protected]> + + * w32-fns.el (x-selection-owner-p): New function. + + * mouse.el (mouse-drag-track): Call deactivate-mark earlier. + (mouse-yank-at-click, mouse-yank-primary): If + select-active-regions is non-nil, deactivate the mark before + insertion. + + * simple.el (deactivate-mark, set-mark): Only save selection if we + own it. + +2009-07-17 Kenichi Handa <[email protected]> + + * case-table.el (describe-buffer-case-table): Fix for the case + that KEY is a cons. + +2009-07-16 Dan Nicolaescu <[email protected]> + + * vc-rcs.el (vc-rcs-find-file-hook): + * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error. + +2009-07-16 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-wait-for-output): Handle the case when + commands do not return a newline but a null byte before the shell + prompt. (Bug#3858) + +2009-07-16 YAMAMOTO Mitsuharu <[email protected]> + + * term/ns-win.el (ns-set-alpha): Don't declare. + (ns-set-background-alpha): Remove function. + +2009-07-16 Kevin Ryde <[email protected]> + + * emacs-lisp/copyright.el (copyright-update): Save match-data across + y-or-n-p, for safety. + +2009-07-16 Richard Stallman <[email protected]> + + * files.el (auto-save-mode): If buffer-saved-size is -2, + don't clobber it. + + * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2. + (rmail-retry-ignored-headers): Add more uninteresting fields. + +2009-07-15 Jari Aalto <[email protected]> + + * net/rcirc.el (rcirc): Use history variables. + (rcirc-server-name-history, rcirc-nick-name-history) + (rcirc-server-port-history): New variables. + +2009-07-15 Kenichi Handa <[email protected]> + + * international/mule-cmds.el (set-language-environment-charset): + If coding-system-charset-list returns `iso-2022' or `emacs-mule', + ignore them. + + * language/misc-lang.el ("IPA"): Change coding systems to utf-8. + Delete unibyte-display. + +2009-07-15 Chong Yidong <[email protected]> + + * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695). + +2009-07-15 Chong Yidong <[email protected]> + + * simple.el (deactivate-mark): Optional argument FORCE. + (set-mark): Use deactivate-mark. + + * info.el (Info-search): No need to check transient-mark-mode + before calling deactivate-mark. + + * select.el (x-set-selection): Doc fix. + (x-valid-simple-selection-p): Allow buffer values. + (xselect--selection-bounds): Handle buffer values. Suggested by + David De La Harpe Golden. + + * mouse.el (mouse-set-region, mouse-drag-track): Call + copy-region-as-kill before setting the mark, to let + select-active-regions work. + +2009-07-15 David De La Harpe Golden <[email protected]> + + * simple.el (deactivate-mark): If select-active-regions is + non-nil, copy the selection data into a string. + (activate-mark): If select-active-regions is non-nil, set the + selection to the current buffer. + (set-mark): Update selection if select-active-regions is non-nil. + + * select.el (x-valid-simple-selection-p): Allow buffer values. + +2009-07-14 Stefan Monnier <[email protected]> + + * simple.el (mail-user-agent): Default to the upwardly-UI-compatible + and more featureful message-mode. + +2009-07-14 Chong Yidong <[email protected]> + + * select.el (x-set-selection): Doc fix. + (x-valid-simple-selection-p): Disallow selection data consisting + of a list or cons of integers, since that is not used. + (xselect--selection-bounds, xselect--int-to-cons): New functions. + (xselect-convert-to-string, xselect-convert-to-length) + (xselect-convert-to-filename, xselect-convert-to-charpos) + (xselect-convert-to-lineno, xselect-convert-to-colno): Use them. + +2009-07-14 Dmitry Dzhus <[email protected]> + + * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI + output in -break-info command (Emacs bug #3794). + +2009-07-14 Glenn Morris <[email protected]> + + * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms) + (edebug-eval-macro-args, edebug-save-displayed-buffer-points) + (edebug-print-length, edebug-print-level, edebug-print-circle) + (edebug-sit-for-seconds, edebug-view-outside) + (edebug-bounce-point, edebug-set-global-break-condition) + (edebug-Go-nonstop-mode, edebug-trace-mode) + (edebug-Trace-fast-mode, edebug-continue-mode) + (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help) + (edebug-visit-eval-list): Doc fixes. + + * subr.el (def-edebug-spec): Doc fix. + +2009-07-14 Kenichi Handa <[email protected]> + + * international/characters.el: Fix setting of category ?C. + +2009-07-13 Jan Djärv <[email protected]> + + * term/ns-win.el (x-select-font): defalias x-select-font to + ns-popup-font-panel instead of generate-fontset-menu. + +2009-07-12 Eli Zaretskii <[email protected]> + + * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833) + +2009-07-12 Peter Jolly <[email protected]> (tiny change) + + * arc-mode.el (archive-find-type): Allow for a PK00 string before + the PK\003\004 header (Bug#3770). + +2009-07-12 Guanpeng Xu <[email protected]> + + * pcomplete.el (pcomplete-comint-setup): Check for + shell-dynamic-complete-filename too. + +2009-07-11 Chong Yidong <[email protected]> + + * simple.el (temporary-goal-column): Change the value for + line-move-visual to a cons cell. + (line-move-visual): Record or set the window hscroll, if + necessary (Bug#3494). + (line-move-1): Handle cons value of temporary-goal-column. + +2009-07-11 Kenichi Handa <[email protected]> + + * international/mule-diag.el (describe-character-set): Don't show + width. + +2009-07-10 Sam Steingold <[email protected]> + + * progmodes/compile.el (compilation-mode-font-lock-keywords): + Omake sometimes indents the errors it prints, so allow all + regexps to start with spaces. + +2009-07-10 Eli Zaretskii <[email protected]> + + * cus-edit.el (customize-changed-options-previous-release): + Bump value to 22.1. (Bug#3804) + +2009-07-08 Sam Steingold <[email protected]> + + * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories + to be a cons cell (test . ignored-directory) to selectively ignore + some directories depending on the location of the search. + +2009-07-08 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-set-file-uid-gid): Handle the case the + remote user is root, on the local host. + (tramp-local-host-p): Either the local user or the remote user + must be root. (Bug#3771) + +2009-07-08 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb): Remove description of + gdb-use-separate-io-buffer. + (menu): Don't allow toggling of or enable + gdb-use-separate-io-buffer from menubar. + +2009-07-08 E. Jay Berkenbilt <[email protected]> (tiny change) + + * mail/unrmail.el (unrmail): Make sure the message ends with two + newlines (Bug#3769). + +2009-07-08 Glenn Morris <[email protected]> + + * calendar/calendar.el (calendar-current-date): Rework previous change. + +2009-07-08 Ed Reingold <[email protected]> + + * calendar/calendar.el (calendar-current-date): + Add an optional argument giving an offset from today. + +2009-07-08 Glenn Morris <[email protected]> + + * tutorial.el (tutorial--describe-nonstandard-key): + Adjust the message for when a key has been unbound. + (help-with-tutorial): Hide the arch-tag. + +2009-07-08 Kenichi Handa <[email protected]> + + * international/fontset.el (setup-default-fontset): For each + script, append (not set) font-specs. + + * language/japanese.el (japanese-shift-jis-2004): Fix typo in the + docstring. + +2009-07-08 Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el (gdb-init-1): Move sending + -data-list-register-names to ... + (gdb-starting): ... here because GDB 7.0 requires execution to + have started when using this MI command. + (gdb-set-header): New function to distinguish select and + unselected tabs in gdb buffers. + (gdb-propertize-header): New macro that uses gdb-set-header. + (gdb-breakpoints-header, gdb-locals-header): Use it. + (gdb-disassembly-mode-map): Add keybinding to kill buffer. + +2009-07-07 Chong Yidong <[email protected]> + + * Makefile.in (ELCFILES): Remove fadr.elc. + +2009-07-07 Dmitry Dzhus <[email protected]> + + * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name + may contain frame information, so `string-match' should be used. + (gdb-update): Disassembly is invalidated through + `gdb-get-selected-frame'. + (gdb-pad-string): New function to pad string with spaces. + (gdb-invalidate-disassembly): Invalidate only if the buffer + exists. + (gdb-disassembly-handler-custom): Column alignment. + (gdb-disassembly-place-breakpoints): Clear old breakpoints before + placing new ones. + (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the + end of line, too. + (gdb-frame-handler): Match convention to for disassembly buffer + mode name. + (gdb-stack-list-frames-handler): Rewritten without regexps. + (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do + not highlight breakpoints without line information. + (gdb-input): Add trailing newline to command. + + * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly + buffer properly. + (gdb-breakpoints-list-handler-custom): Replacement for + `gdb-break-list-handler'. Using real parser instead of regexps + now. + (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'. + Use `gdb-breakpoints-list' instead of parsing breakpoints buffer + to place breakpoints. + (def-gdb-memory-unit): A new macro to define gdb-memory-unit-.. + functions. + (gdb-disassembly-handler-custom): Show overlay arrow. + (gdb-disassembly-place-breakpoints): Show breakpoints in + disassembly buffer. + (gdb-toggle-breakpoint, gdb-delete-breakpoint) + (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties + instead of parsing breakpoints buffer. Fixed old menu references + in `gud-menu-map'. + + * fadr.el: Remove. + + * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el. + (gdb-memory-address): New variable which holds top address of + memory page shown in memory buffer. + (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New + customization variables. + New functions: + (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to + display the memory buffer. + (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory + buffer display parameters. + (def-gdb-memory-format, gdb-memory-format-binary) + (gdb-memory-format-octal, gdb-memory-format-unsigned) + (gdb-memory-format-signed, gdb-memory-format-hexadecimal): + Functions for setting memory buffer format. + (gdb-memory-unit-word, gdb-memory-unit-halfword) + (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set + unit size used in memory buffer. + (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch + to next/previous page of memory buffer. + Now using (bindat-get-field) instead of fadr functions. + +2009-07-07 Sam Steingold <[email protected]> + + * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for + non-top-level files. + +2009-07-07 Kenichi Handa <[email protected]> + + * international/mule-cmds.el (reset-language-environment): Put + the highset priority to the charset iso-8859-1. + +2009-07-06 Chong Yidong <[email protected]> + + * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point + to the end of the line when locating the block (Bug#700). + +2009-07-06 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-handle-write-region): Flush file properties + in case of short track. + +2009-07-06 Michael McNamara <[email protected]> + + * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist): + Coded custom representation of verilog error regular expressions + to work with Emacs-22's new format. + (verilog-error-regexp-xemacs-alist): Coded custom representation + of verilog error regular expressions to work with XEmacs format. + (verilog-error-regexp-add-xemacs): Hook routine to install verilog + error recognition into XEmacs. + (verilog-error-regexp-add-emacs): Hook routine to install verilog + error recognition into Emacs-22. + +2009-07-06 Chong Yidong <[email protected]> + + * woman.el: Remove stand-alone closing parentheses. + (woman-file-name, woman2-format-paragraphs) + (woman-leave-blank-lines): Code cleanup. + (woman-use-own-frame): Change default to nil. + (woman-italic, woman-bold, woman-unknown, woman-addition): Change + defaults to inherit from default faces. + (woman2-process-escapes): Consume the newline after a stand-alone + filler character (Bug#3651). + +2009-07-06 Glenn Morris <[email protected]> + + * ffap.el (ffap-version): Make it an obsolete alias for emacs-version. + (top-level): Move provide to the end. + (ffap): Remove defunct URL from custom group. + + * subr.el (eval-after-load): Doc fix. + +2009-07-06 Vincent Belaïche <[email protected]> + + * calc/calc-embed.el (calc-embedded-make-info): Don't force when + `calc-embedded-word' is called twice. + +2009-07-05 Stefan Monnier <[email protected]> + + * files.el (find-alternate-file-other-window, find-alternate-file): + Obey confirm-nonexistent-file-or-buffer. + +2009-07-05 Michael Albinus <[email protected]> + + * dired-aux.el (dired-show-file-type): Handle remote files. + +2009-07-05 Jari Aalto <[email protected]> + + * desktop.el (desktop-globals-to-save): + Add file-name-history (Bug#2750). + +2009-07-05 Chong Yidong <[email protected]> + + * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217). + +2009-07-04 Johan Bockgård <[email protected]> + + * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number' + property on entire argument since this is what eshell-lisp-command + expects. + +2009-07-03 Michael Albinus <[email protected]> + + * net/tramp-gvfs.el (tramp-gvfs-methods) + (tramp-gvfs-zeroconf-domain) + (tramp-bluez-discover-devices-timeout): Add version flag. + (tramp-gvfs-handler-mounted-unmounted) + (tramp-gvfs-connection-mounted-p): Polish handling of + incompatibilities between GVFS 0.2 and 1.0. + +2009-07-03 Jan Djärv <[email protected]> + + * cus-start.el (all): Add make-pointer-invisible. + +2009-07-03 Jay Belanger <[email protected]> + + * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is + formatted correctly. + +2009-07-02 Juri Linkov <[email protected]> + + * info.el: Virtual Info files and nodes. + (Info-virtual-files, Info-virtual-nodes): New variables. + (Info-current-node-virtual): New variable. + (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call): + New functions. + (Info-file-supports-index-cookies): Use Info-virtual-file-p + to check for a virtual file instead of checking a fixed list + of node names. + (Info-find-file): Use Info-virtual-fun and Info-virtual-call + instead of ad-hoc processing of "dir" and (apropos history toc). + (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call + instead of ad-hoc processing of "dir" and (apropos history toc). + Reread a file when moving from a virtual node. + (add-to-list)<Info-virtual-files>: Add "\\`dir\\'". + (Info-directory-toc-nodes, Info-directory-find-file) + (Info-directory-find-node): New functions. + (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'". + (Info-history): Move part of code to + `Info-history-find-node'. + (Info-history-toc-nodes, Info-history-find-file) + (Info-history-find-node): New functions. + (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'". + (Info-toc): Move part of code to `Info-toc-find-node'. + (Info-toc-find-node): New function. + (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert + the current Info file name to references because now the node + "*TOC*" belongs to the same Info manual. + (Info-toc-build): Rename from `Info-build-toc'. + (Info-toc-nodes): Rename input argument `file' to `filename'. + Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p + instead of ad-hoc processing of ("dir" apropos history toc). + (Info-index-nodes): Use Info-virtual-file-p + to check for a virtual file instead of checking a fixed list + of node names. + (Info-index-node): Add check for `Info-current-node-virtual'. + Raise `save-match-data' higher up the tree to contain + `search-forward' too (bug fix). + (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'". + (Info-virtual-index-nodes): New variable. + (Info-virtual-index-find-node, Info-virtual-index): New functions. + (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'". + (Info-apropos-file, Info-apropos-nodes): New variables. + (Info-apropos-toc-nodes, Info-apropos-find-file) + (Info-apropos-find-node, Info-apropos-matches): New functions. + (info-apropos): Move part of code to `Info-apropos-find-node' and + `Info-apropos-matches'. + (Info-mode-map): Bind "I" to `Info-virtual-index'. + (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check + for a virtual file instead of checking a fixed list of node names. + + * simple.el (async-shell-command): New command. + + * bindings.el (esc-map): Bind "&" to `async-shell-command'. + + * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt' + instead of `mount-info'. + +2009-07-02 Michael Albinus <[email protected]> + + * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted) + (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface. + +2009-07-02 Kenichi Handa <[email protected]> + + * international/mule.el (set-keyboard-coding-system): Force *-unix + coding-system to avoid eol conversion. + +2009-07-01 Michael Albinus <[email protected]> + + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + Add handler for `process-file', `shell-command' and + `start-file-process'. + (tramp-gvfs-handle-shell-command) + (tramp-gvfs-handle-start-file-process) + (tramp-gvfs-handle-process-file): New defuns. + (tramp-synce-list-devices): Simplify check for existence of property. + +2009-07-01 Jan Djärv <[email protected]> + + * startup.el (command-line-x-option-alist): Add -mm and --maximized. + +2009-07-01 Eduard Wiebe <[email protected]> (tiny change) + + * language/korean.el (set-language-info-alist): Add korean-cp949, + cp949 to spec. + +2009-07-01 Kenichi Handa <[email protected]> + + * Makefile.in (ELCFILES): Delete encoded-kb.elc. + + * international/encoded-kb.el: Deleted. + + * international/mule.el (set-keyboard-coding-system): Perform the + necessary setup here instead of calling encoded-kbd-setup-display. + +2009-07-01 Glenn Morris <[email protected]> + + * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes. + +2009-07-01 Evangelos Evangelou <[email protected]> (tiny change) + + * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730) + +2009-06-30 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-do-copy-or-rename-file-directly): + Handle also the 'rename case, when setting file modes. (Bug#3712) + (tramp-default-file-modes): Remove execute permissions. + + * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method. + (top): Add a default for "synce" in `tramp-default-user-alist'. + Add completion function for "synce" method. + (tramp-hal-service, tramp-hal-path-manager) + (tramp-hal-interface-manager, tramp-hal-interface-device): + New defconst. + (tramp-gvfs-connection-mounted-p): Handle empty user name for synce. + (tramp-synce-list-devices, tramp-synce-parse-device-names): + New defuns. + + * net/trampver.el: Update release number. + +2009-06-30 Kenichi Handa <[email protected]> + + * international/fontset.el (setup-default-fontset): Add CJK fonts + for symbols and the other miscellaneous characters. + + * language/korea-util.el (setup-korean-environment-internal): + Make char-width-table suitable for Korean environments. + (exit-korean-environment): Cancel above. + + * language/chinese.el ("Chinese-GB", "Chinese-BIG5") + ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a + setup-function to make char-width-table suitable for respective + environments, and an exit-function to cancel that. + + * language/japan-util.el (setup-japanese-environment-internal): + Call use-cjk-char-width-table with arg `ja_JP'. + + * international/characters.el (cjk-char-width-table): Delete it. + (cjk-char-width-table-list): New variable. + (use-cjk-char-width-table): New arg local-name. + (use-default-char-width-table): Fix for the case that Emacs is + already using the default char-width-table. + +2009-06-29 Michael Albinus <[email protected]> + + * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file + modes mandatory. (Bug#3712) + +2009-06-29 Alan Mackenzie <[email protected]> + + * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious + correction between the visible width of TABs and their number of bytes. + +2009-06-29 Chong Yidong <[email protected]> + + * server.el (server-buffer-done): Prevent kill-buffer from + prompting by clearing the buffer modification flag (Bug#3696). + +2009-06-28 Michael McNamara <[email protected]> + + * progmodes/verilog-mode.el (verilog-beg-of-statement) + (verilog-endcomment-reason-re): Support unique case and priority case. + (verilog-basic-complete-re): Support localparam lineup. + (verilog-beg-of-statement-1): Fix for robustness, unique case. + (verilog-set-auto-endcomments): Fix for unique case, always_comb + commenting. + (verilog-leap-to-case-head): Now support *nested* unique & + priority case statements. + (verilog-auto-lineup): Make just declarations the default (as it + had been). + (verilog-leap-to-case-head): Support priority/unique case statements. + (verilog-auto-lineup): Rework to give users radio buttons to + select the various styles of automatic lineup. + (verilog-error-regexp-alist): Rework to support the XEmacs style + of error regular expressions from compilers, lint tools & + simulators. Note that GNU Emacs has made it impossible for a mode + to load such things. + (electric-verilog-terminate-line, verilog-indent-declaration) + (verilog-auto-wiure): Rework for radio button selection of + auto-lineup selection of specification of auto lineup. + (verilog-beg-of-statement-1): Redesign to support proper operation + in additional code, based on testing with auto-lineup. + (verilog-calculate-indent, assignments & declarations) + (verilog-backward-token): Enhance to support auto-lineup of + assignments & declarations. + (verilog-in-directive-p, verilog-at-struct-p): New function for + easy test of whether we are. + (verilog-pretty-declarations, verilog-pretty-expr): Massive rework + to support safe execution at almost anyline. + (verilog-calc-1): Properly support indenting deep inside generate + blocks. + (verilog-init-font): Remove definition & use of verilog-init-font, + as it is redundant with font-lock-defaults. + (verilog-mode): Alter the definition of verilog-font-lock-defaults + to avoid circular calls if syntax-ppss is a function (as is the + case now in 22.x GNU Emacs) as that function would sometimes call + itself, leading to (nearly) infinite recursion. + (verilog-ovm-begin-re, verilog-ovm-end-re) + (verilog-ovm-statement-re, verilog-leap-to-head) + (verilog-backward-token): Add support for OVM macros. Some are + complete statements, and others open and close scopes like begin + and end. + (verilog-defun-level-not-generate-re, verilog-defun-level-re) + (verilog-defun-level-generate-only-re): Really fix the defun-list + compilation issue. + (verilog-calc-1, verilog-beg-of-statement): Enhance support for + coverpoint, constraint and cross statements. + (verilog-defun-level-list, verilog-generate-defun-level-list) + (verilog-all-defun-level-list): Redo these specifications - it is + too hard to support eval-when compile aggregation of lists also + built at when-compile time. + (verilog-defun-level-list): Place defconsts of variables used in + building regular expressions which are built in eval-when-compile + bodies in the same eval-when-compile body to facilitate compile + without load. + (verilog-beg-block-re-ordered): Support indenting + virtual/protected tasks and functions. + (verilog-defun-level-list, verilog-in-generate-region-p) + (verilog-backward-ws&directives, verilog-calc-1): Speed up + indentation of some module items (generate items). + (verilog-forward-sexp, verilog-leap-to-head): Support stepping + across virtual/protected tasks and functions. + +2009-06-28 Wilson Snyder <[email protected]> + + * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort): + Allow sorting AUTOARG lists. Suggested by Andrea Fedeli. + (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost + in concatenations. Reported by Yishay Belkind. + (verilog-auto-ascii-enum): Support one-hot state machines in + AUTOASCIIENUM. Suggested by Lloyd Gomez. + (verilog-auto-inst, verilog-auto-inst-port): Include interface + modport in AUTOINST and add vl-modport for users. Reported by + David Rogoff. + (verilog-auto-inout-module, verilog-auto-inst) + (verilog-decls-get-interfaces, verilog-insert-definition) + (verilog-insert-one-definition, verilog-read-decls) + (verilog-read-sub-decls, verilog-read-sub-decls-sig) + (verilog-sig-modport, verilog-signals-combine-bus) + (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog + interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST. + Suggested by David Rogoff. + (verilog-repair-open-comma): Fix non-insertion of comma when + `DEFINE occurs in V2K argument list. Reported by Lane Brooks. + (verilog-make-width-expression): Simplify [A-1:0] expression + widths to just {A{1'b0}}. + (verilog-mode): Cleanup checkdoc warnings. + (verilog-auto-inout-module, verilog-signals-matching-dir-re): + Add third optional regexp to AUTOINOUTMODULE to allow selecting only + inputs/outputs or data type. Suggested by Vasu Kandadi. + (next-error-last-buffer): Fix byte-compiler warning. + (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst) + (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp + or shell command text during AUTO expansion. Suggested by Tad Truex. + (verilog-read-sub-decls-expr, verilog-read-sub-decls-line) + (verilog-read-sub-decls-sig, verilog-symbol-detick-text): + Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included + in AUTOINOUT. Reported by Matthew Lovell. + (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)" + causing use of <= assignments. Reported by Alex Reed. + (verilog-read-decls): Fix triand, trior, wand, wor to be + recognized by AUTOWIRE. Reported by Spencer Isaacson. + (verilog-extended-complete-re): Support import "DPI-C" functions. + (verilog-read-always-signals-recurse): Fix AUTORESET of "x <= + y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever. + (verilog-insert-date, verilog-insert-year) + (verilog-sk-header-tmpl): Fix verilog-header inserting error on + Windows systems. Reported by Michael Potts. + (verilog-read-module-name): Fix AUTOINST when the child module + declaration's name is a tick define. Reported by Elliot Mednick. + (verilog-read-decls): Fix V2K parameter bit subscripts getting + passed to next parameter's definition. Reported by Bruce T. + (verilog-read-decls): Fix detecting "parameter int" when using + AUTOINSTPARAM. Reported by Bruce T. + (verilog-goto-defun): Fix goto not finding modules unless first + perform a verilog-auto expansion. Suggested by Lawrence Butcher. + (verilog-mode): Expand -f flag arguments on entry to mode so + verilog-goto-defun will work. Reported by Lawrence Butcher. + (verilog-getopt): Expand environment variables in -f file + arguments. Suggested by Lawrence Butcher. + (verilog-set-define): Fix "Symbol's value as variable is void" + when reading enumerations. + (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM. + Suggested by Stephen Peltan. + (verilog-read-defines): Fix reading of enumerations in include + files. Reported by Steve Peltan. + +2009-06-28 David De La Harpe Golden <[email protected]> + + * files.el (trash-directory): Fix defcustom type. + +2009-06-28 Juri Linkov <[email protected]> + + * help-fns.el (describe-function-1): Correctly locate adviced + functions in hyperlink (Bug#2438). + +2009-06-28 Chong Yidong <[email protected]> + + * files.el (trash-directory): Change default to nil. + (move-file-to-trash): If trash-directory is nil and + system-move-file-to-trash is unbound, perform freedesktop-style + trashing. + +2009-06-28 David De La Harpe Golden <[email protected]> + + * files.el (move-file-to-trash): Add freedesktop trash + support (Bug#973). + +2009-06-28 Glenn Morris <[email protected]> + + * autorevert.el (global-auto-revert-non-file-buffers) + (global-auto-revert-mode): Doc fixes. + +2009-06-27 Johan Bockgård <[email protected]> + + * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec. + +2009-06-27 Chong Yidong <[email protected]> + + * faces.el (x-handle-named-frame-geometry): Ensure that we have + opened an X connection before calling x-get-resource (Bug#3194). + + * play/doctor.el: Remove reference to obsolete website. + (make-doctor-variables): Correct grammar mistake (Bug#2633). + +2009-06-26 Dan Nicolaescu <[email protected]> + + Remove find-file-not-found-hook VC method. (Bug#2757) + * vc-hooks.el (vc-file-not-found-hook) + (vc-default-find-file-not-found-hook): Remove functions. + (find-file-not-found-functions): Do not add vc-file-not-found-hook. + * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function. + * vc.el: + * vc-hg.el: + * vc-git.el: Do not mention find-file-not-found-hook VC method. + +2009-06-25 Agustín Martín <[email protected]> + + * textmodes/ispell.el: Add `ispell-looking-back' XEmacs + compatibility function for `looking-back'. + + * textmodes/flyspell.el (sgml-mode-flyspell-verify): + Use `ispell-looking-back'. + +2009-06-24 Michael Albinus <[email protected]> + + * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir' + rather than `filename'. + +2009-06-23 Miles Bader <[email protected]> + + * face-remap.el (text-scale-set): New function. + +2009-06-23 Glenn Morris <[email protected]> + + * pcmpl-rpm.el (pcomplete/rpm): Doc fix. + + * bindings.el (mode-line-modified): Fix case of "Buffer is modified". + + * textmodes/ispell.el (ispell-local-dictionary): Doc fix. + + * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations. + + * calendar/cal-dst.el (calendar-time-zone-daylight-rules): + Simplify Persian conditionals. + + * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free + variable `filename'. + + * comint.el (comint-insert-input): Doc fix. + + * Makefile.in (ELCFILES): Fix typo in previous change. + +2009-06-23 Miles Bader <[email protected]> + + * cus-start.el: Add entry for `recenter-redisplay'. + +2009-06-23 Dan Nicolaescu <[email protected]> + + * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision): + Add an optional argument for the backend, use it instead of + calling vc-backend. + (vc-mode-line): Add an optional argument for the backend. + Pass the backend to vc-state and vc-working-revision. Move code for + special handling for vc-state being a buffer to ... + + * vc-rcs.el (vc-rcs-find-file-hook): + * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions. + + * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout) + (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state, + vc-stay-local-p and vc-mode-line calls. + + * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log) + (vc-cvs-diff, vc-cvs-annotate-command) + (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p) + (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and + vc-mode-line calls. + + * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of + direct comparison. + (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the + backend when calling vc-mode-line. + (vc-register): Do not create a closure for calling the vc register + function, call it directly. + +2009-06-23 Dan Nicolaescu <[email protected]> + + * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face + to make it obvious item can be clicked. + + * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions. + +2009-06-23 Kenichi Handa <[email protected]> + + * language/korea-util.el (korean-key-bindings): Change the binding + of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the + same command. + +2009-06-22 Michael Albinus <[email protected]> + + Sync with Tramp 2.1.16. + + * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc. + + * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading', + when a loading of a package fails. Completion function for rsync + is `tramp-completion-function-alist-ssh'. + (all): Replace all calls of `split-string' and + `tramp-split-string' by `tramp-compat-split-string'. + (tramp-default-method): Use `tramp-compat-process-running-p'. + (tramp-default-proxies-alist): Allow also Lisp forms. + (tramp-remote-path): Add choice "Private Directories". + (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option. + (tramp-domain-regexp): Allow also "-", "_" and ".". + (tramp-end-of-output): Remove newlines, and add "$" at the end. + (tramp-file-name-handler-alist): Add handler for `dired-uncache'. + (tramp-debug-message): Insert header line in debug buffer. + (tramp-handle-directory-files-and-attributes-with-stat): + Care about filenames with spaces, or starting with "-". + (tramp-handle-dired-uncache): New defun. + (tramp-handle-insert-directory): Don't flush the directory from + cache, this is handled by `dired-uncache' now. + (tramp-handle-insert-file-contents): Improve error handling. + (tramp-find-shell, tramp-open-connection-setup-interactive-shell): + Quote `tramp-end-of-output'. + (tramp-action-password): Improve trace message. + (tramp-check-for-regexp): Both echoes must be present, before removing. + (tramp-open-connection-setup-interactive-shell): Trace coding system. + (tramp-compute-multi-hops): Eval cons cells of + `tramp-default-proxies-alist'. + (tramp-maybe-open-connection): Use the same command pattern for + first hop and further hops. + (tramp-wait-for-output): Remove handling of newlines. + (tramp-get-remote-path): Handle also `tramp-own-remote-path'. + (tramp-split-string): Remove function. It is handled in + tramp-compat now. + + * net/tramp-cmds.el (tramp-bug): + Recommend `tramp-cleanup-all-connections' in the bug mail. + + * net/tramp-compat.el (tramp-compat-split-string) + (tramp-compat-process-running-p): New defuns. + + * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler + for `dired-uncache'. + + * net/tramp-gvfs.el: New package. + + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): + Add handler for `dired-uncache'. + (tramp-smb-handle-file-local-copy): Cleanup in case of error. + + * net/trampver.el: Update release number. Make version check fit + for SXEmacs 22. + +2009-06-22 Jim Meyering <[email protected]> + + Automatically handle .xz suffix (XZ-compressed files), too. + * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz. + XZ is the successor to LZMA: <http://tukaani.org/xz/> + +2009-06-22 Dmitry Dzhus <[email protected]> + Nick Roberts <[email protected]> + + * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's + repository (http://sphinx.net.ru/hg/gdb-mi/). + +2009-06-22 Glenn Morris <[email protected]> + + * files.el (dir-locals-collect-mode-variables): Allow for any number of + `mode' and `eval' entries. (Bug#3430) + + * Makefile.in (ELCFILES): Add fadr.elc. + + * calendar/appt.el (appt-make-list): Fix off-by-one error caused by + differing behavior of \n and ^ in strings. (Bug#3385) + + * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs. + + * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable + property. + (lisp-indent-function): Make it a defcustom. + +2009-06-21 Nick Roberts <[email protected]> + + * progmodes/gdb-ui.el: Replace with ... + * progmodes/gdb-mi.el: ... this file. + * progmodes/gud.el: Modify for gdb-mi.el. + +2009-06-21 Dmitry Dzhus <[email protected]> + + * fadr.el: New file. + +See ChangeLog.14 for earlier changes. + +;; Local Variables: +;; coding: utf-8 +;; End: + + Copyright (C) 2009, 2010 Free Software Foundation, Inc. + + This file is part of GNU Emacs. + + GNU Emacs is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + GNU Emacs is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. + +;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1 diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 918ce0ecc6..391375b2d1 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -71,6 +71,13 @@ AUTOGENEL = loaddefs.el \ cedet/ede/loaddefs.el \ cedet/srecode/loaddefs.el +# Value of max-lisp-eval-depth when compiling initially. +# During bootstrapping the byte-compiler is run interpreted when compiling +# itself, and uses more stack than usual. +# +BIG_STACK_DEPTH = 1000 +BIG_STACK_OPTS = --eval "(setq max-lisp-eval-depth $(BIG_STACK_DEPTH))" + # Files to compile before others during a bootstrap. This is done to # speed up the bootstrap process. @@ -195,7 +202,9 @@ compile-onefile: @echo Compiling $(THEFILE) @# Use byte-compile-refresh-preloaded to try and work around some of @# the most common bootstrapping problems. - @$(emacs) -l bytecomp -f byte-compile-refresh-preloaded $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(THEFILE) + @$(emacs) -l bytecomp.el -f byte-compile-refresh-preloaded \ + $(BIG_STACK_OPTS) $(BYTE_COMPILE_EXTRA_FLAGS) \ + -f batch-byte-compile $(THEFILE) # Files MUST be compiled one by one. If we compile several files in a # row (i.e., in the same instance of Emacs) we can't make sure that @@ -210,7 +219,8 @@ compile-onefile: # cannot have prerequisites. .el.elc: @echo Compiling $< - @$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $< + @$(emacs) $(BIG_STACK_OPTS) $(BYTE_COMPILE_EXTRA_FLAGS) \ + -f batch-byte-compile $< .PHONY: compile-first compile-main compile compile-always diff --git a/lisp/emacs-lisp/byte-lexbind.el b/lisp/emacs-lisp/byte-lexbind.el new file mode 100644 index 0000000000..df463c1754 --- /dev/null +++ b/lisp/emacs-lisp/byte-lexbind.el @@ -0,0 +1,696 @@ +;;; byte-lexbind.el --- Lexical binding support for byte-compiler +;; +;; Copyright (C) 2001, 2002, 2010 Free Software Foundation, Inc. +;; +;; Author: Miles Bader <[email protected]> +;; Keywords: lisp, compiler, lexical binding + +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. + +;;; Commentary: +;; + +;;; Code: + +(require 'bytecomp-preload "bytecomp") + +;; Downward closures aren't implemented yet, so this should always be nil +(defconst byte-compile-use-downward-closures nil + "If true, use `downward closures', which are closures that don't cons.") + +(defconst byte-compile-save-window-excursion-uses-eval t + "If true, the bytecode for `save-window-excursion' uses eval. +This means that the body of the form must be put into a closure.") + +(defun byte-compile-arglist-vars (arglist) + "Return a list of the variables in the lambda argument list ARGLIST." + (remq '&rest (remq '&optional arglist))) + + +;;; Variable extent analysis. + +;; A `lforminfo' holds information about lexical bindings in a form, and some +;; other info for analysis. It is a cons-cell, where the car is a list of +;; `lvarinfo' stuctures, which form an alist indexed by variable name, and the +;; cdr is the number of closures found in the form: +;; +;; LFORMINFO : ((LVARINFO ...) . NUM-CLOSURES)" +;; +;; A `lvarinfo' holds information about a single lexical variable. It is a +;; list whose car is the variable name (so an lvarinfo is suitable as an alist +;; entry), and the rest of the of which holds information about the variable: +;; +;; LVARINFO : (VAR NUM-REFS NUM-SETS CLOSED-OVER) +;; +;; NUM-REFS is the number of times the variable's value is used +;; NUM-SETS is the number of times the variable's value is set +;; CLOSED-OVER is non-nil if the variable is referenced +;; anywhere but in its original function-level" + +;;; lvarinfo: + +;; constructor +(defsubst byte-compile-make-lvarinfo (var &optional already-set) + (list var 0 (if already-set 1 0) 0 nil)) +;; accessors +(defsubst byte-compile-lvarinfo-var (vinfo) (car vinfo)) +(defsubst byte-compile-lvarinfo-num-refs (vinfo) (cadr vinfo)) +(defsubst byte-compile-lvarinfo-num-sets (vinfo) (nth 3 vinfo)) +(defsubst byte-compile-lvarinfo-closed-over-p (vinfo) (nth 4 vinfo)) +;; setters +(defsubst byte-compile-lvarinfo-note-ref (vinfo) + (setcar (cdr vinfo) (1+ (cadr vinfo)))) +(defsubst byte-compile-lvarinfo-note-set (vinfo) + (setcar (cddr vinfo) (1+ (nth 3 vinfo)))) +(defsubst byte-compile-lvarinfo-note-closure (vinfo) + (setcar (nthcdr 4 vinfo) t)) + +;;; lforminfo: + +;; constructor +(defsubst byte-compile-make-lforminfo () + (cons nil 0)) +;; accessors +(defalias 'byte-compile-lforminfo-vars 'car) +(defalias 'byte-compile-lforminfo-num-closures 'cdr) +;; setters +(defsubst byte-compile-lforminfo-add-var (finfo var &optional already-set) + (setcar finfo (cons (byte-compile-make-lvarinfo var already-set) + (car finfo)))) + +(defun byte-compile-lforminfo-make-closure-flag () + "Return a new `closure-flag'." + (cons nil nil)) + +(defsubst byte-compile-lforminfo-note-closure (lforminfo lvarinfo closure-flag) + "If a variable reference or definition is inside a closure, record that fact. +LFORMINFO describes the form currently being analyzed, and LVARINFO +describes the variable. CLOSURE-FLAG is either nil, if currently _not_ +inside a closure, and otherwise a `closure flag' returned by +`byte-compile-lforminfo-make-closure-flag'." + (when closure-flag + (byte-compile-lvarinfo-note-closure lvarinfo) + (unless (car closure-flag) + (setcdr lforminfo (1+ (cdr lforminfo))) + (setcar closure-flag t)))) + +(defun byte-compile-compute-lforminfo (form &optional special) + "Return information about variables lexically bound by FORM. +SPECIAL is a list of variables that are special, and so shouldn't be +bound lexically (in addition to variable that are considered special +because they are declared with `defvar', et al). + +The result is an `lforminfo' data structure." + (and + (consp form) + (let ((lforminfo (byte-compile-make-lforminfo))) + (cond ((eq (car form) 'let) + ;; Find the bound variables + (dolist (clause (cadr form)) + (let ((var (if (consp clause) (car clause) clause))) + (unless (or (special-variable-p var) (memq var special)) + (byte-compile-lforminfo-add-var lforminfo var t)))) + ;; Analyze the body + (unless (null (byte-compile-lforminfo-vars lforminfo)) + (byte-compile-lforminfo-analyze-forms lforminfo form 2 + special nil))) + ((eq (car form) 'let*) + (dolist (clause (cadr form)) + (let ((var (if (consp clause) (car clause) clause))) + ;; Analyze each initializer based on the previously + ;; bound variables. + (when (and (consp clause) lforminfo) + (byte-compile-lforminfo-analyze lforminfo (cadr clause) + special nil)) + (unless (or (special-variable-p var) (memq var special)) + (byte-compile-lforminfo-add-var lforminfo var t)))) + ;; Analyze the body + (unless (null (byte-compile-lforminfo-vars lforminfo)) + (byte-compile-lforminfo-analyze-forms lforminfo form 2 + special nil))) + ((eq (car form) 'condition-case) + ;; `condition-case' currently must dynamically bind the + ;; error variable, so do nothing. + ) + ((memq (car form) '(defun defmacro)) + (byte-compile-lforminfo-from-lambda lforminfo (cdr form) special)) + ((eq (car form) 'lambda) + (byte-compile-lforminfo-from-lambda lforminfo form special)) + ((and (consp (car form)) (eq (caar form) 'lambda)) + ;; An embedded lambda, which is basically just a `let' + (byte-compile-lforminfo-from-lambda lforminfo (cdr form) special))) + (if (byte-compile-lforminfo-vars lforminfo) + lforminfo + nil)))) + +(defun byte-compile-lforminfo-from-lambda (lforminfo lambda special) + "Initialize LFORMINFO from the lambda expression LAMBDA. +SPECIAL is a list of variables to ignore. +The first element of LAMBDA is ignored; it need not actually be `lambda'." + ;; Add the arguments + (dolist (arg (byte-compile-arglist-vars (cadr lambda))) + (byte-compile-lforminfo-add-var lforminfo arg t)) + ;; Analyze the body + (unless (null (byte-compile-lforminfo-vars lforminfo)) + (byte-compile-lforminfo-analyze-forms lforminfo lambda 2 special nil))) + +(defun byte-compile-lforminfo-analyze (lforminfo form &optional ignore closure-flag) + "Update variable information in LFORMINFO by analyzing FORM. +IGNORE is a list of variables that shouldn't be analyzed (usually because +they're special, or because some inner binding shadows the version in +LFORMINFO). CLOSURE-FLAG should be either nil or a `closure flag' created +with `byte-compile-lforminfo-make-closure-flag'; the latter indicates that +FORM is inside a lambda expression that may close over some variable in +LFORMINFO." + (cond ((symbolp form) + ;; variable reference + (unless (member form ignore) + (let ((vinfo (assq form (byte-compile-lforminfo-vars lforminfo)))) + (when vinfo + (byte-compile-lvarinfo-note-ref vinfo) + (byte-compile-lforminfo-note-closure lforminfo vinfo + closure-flag))))) + ;; function call/special form + ((consp form) + (let ((fun (car form))) + (cond + ((eq fun 'setq) + (pop form) + (while form + (let ((var (pop form))) + (byte-compile-lforminfo-analyze lforminfo (pop form) + ignore closure-flag) + (unless (member var ignore) + (let ((vinfo + (assq var (byte-compile-lforminfo-vars lforminfo)))) + (when vinfo + (byte-compile-lvarinfo-note-set vinfo) + (byte-compile-lforminfo-note-closure lforminfo vinfo + closure-flag))))))) + ((eq fun 'catch) + ;; tag + (byte-compile-lforminfo-analyze lforminfo (cadr form) + ignore closure-flag) + ;; `catch' uses a closure for the body + (byte-compile-lforminfo-analyze-forms + lforminfo form 2 + ignore + (or closure-flag + (and (not byte-compile-use-downward-closures) + (byte-compile-lforminfo-make-closure-flag))))) + ((eq fun 'cond) + (byte-compile-lforminfo-analyze-clauses lforminfo (cdr form) 0 + ignore closure-flag)) + ((eq fun 'condition-case) + ;; `condition-case' separates its body/handlers into + ;; separate closures. + (unless (or closure-flag byte-compile-use-downward-closures) + ;; condition case is implemented by calling a function + (setq closure-flag (byte-compile-lforminfo-make-closure-flag))) + ;; value form + (byte-compile-lforminfo-analyze lforminfo (nth 2 form) + ignore closure-flag) + ;; the error variable is always bound dynamically (because + ;; of the implementation) + (when (cadr form) + (push (cadr form) ignore)) + ;; handlers + (byte-compile-lforminfo-analyze-clauses lforminfo + (nthcdr 2 form) 1 + ignore closure-flag)) + ((eq fun '(defvar defconst)) + (byte-compile-lforminfo-analyze lforminfo (nth 2 form) + ignore closure-flag)) + ((memq fun '(defun defmacro)) + (byte-compile-lforminfo-analyze-forms lforminfo form 3 + ignore closure-flag)) + ((eq fun 'function) + ;; Analyze an embedded lambda expression [note: we only recognize + ;; it within (function ...) as the (lambda ...) for is actually a + ;; macro returning (function (lambda ...))]. + (when (and (consp (cadr form)) (eq (car (cadr form)) 'lambda)) + ;; shadow bound variables + (setq ignore + (append (byte-compile-arglist-vars (cadr (cadr form))) + ignore)) + ;; analyze body of lambda + (byte-compile-lforminfo-analyze-forms + lforminfo (cadr form) 2 + ignore + (or closure-flag + (byte-compile-lforminfo-make-closure-flag))))) + ((eq fun 'let) + ;; analyze variable inits + (byte-compile-lforminfo-analyze-clauses lforminfo (cadr form) 1 + ignore closure-flag) + ;; shadow bound variables + (dolist (clause (cadr form)) + (push (if (symbolp clause) clause (car clause)) + ignore)) + ;; analyze body + (byte-compile-lforminfo-analyze-forms lforminfo form 2 + ignore closure-flag)) + ((eq fun 'let*) + (dolist (clause (cadr form)) + (if (symbolp clause) + ;; shadow bound (to nil) variable + (push clause ignore) + ;; analyze variable init + (byte-compile-lforminfo-analyze lforminfo (cadr clause) + ignore closure-flag) + ;; shadow bound variable + (push (car clause) ignore))) + ;; analyze body + (byte-compile-lforminfo-analyze-forms lforminfo form 2 + ignore closure-flag)) + ((eq fun 'quote) + ;; do nothing + ) + ((eq fun 'save-window-excursion) + ;; `save-window-excursion' currently uses a funny implementation + ;; that requires its body forms be put into a closure (it should + ;; be fixed to work more like `save-excursion' etc., do). + (byte-compile-lforminfo-analyze-forms + lforminfo form 2 + ignore + (or closure-flag + (and byte-compile-save-window-excursion-uses-eval + (not byte-compile-use-downward-closures) + (byte-compile-lforminfo-make-closure-flag))))) + ((and (consp fun) (eq (car fun) 'lambda)) + ;; Embedded lambda. These are inlined by the compiler, so + ;; we don't treat them like a real closure, more like `let'. + ;; analyze inits + (byte-compile-lforminfo-analyze-forms lforminfo form 2 + ignore closure-flag) + + ;; shadow bound variables + (setq ignore (nconc (byte-compile-arglist-vars (cadr fun)) + ignore)) + ;; analyze body + (byte-compile-lforminfo-analyze-forms lforminfo fun 2 + ignore closure-flag)) + (t + ;; For everything else, we just expand each argument (for + ;; setq/setq-default this works alright because the + ;; variable names are symbols). + (byte-compile-lforminfo-analyze-forms lforminfo form 1 + ignore closure-flag))))))) + +(defun byte-compile-lforminfo-analyze-forms + (lforminfo forms skip ignore closure-flag) + "Update variable information in LFORMINFO by analyzing each form in FORMS. +The first SKIP elements of FORMS are skipped without analysis. IGNORE +is a list of variables that shouldn't be analyzed (usually because +they're special, or because some inner binding shadows the version in +LFORMINFO). CLOSURE-FLAG should be either nil or a `closure flag' created with +`byte-compile-lforminfo-make-closure-flag'; the latter indicates that FORM is +inside a lambda expression that may close over some variable in LFORMINFO." + (when skip + (setq forms (nthcdr skip forms))) + (while forms + (byte-compile-lforminfo-analyze lforminfo (pop forms) + ignore closure-flag))) + +(defun byte-compile-lforminfo-analyze-clauses + (lforminfo clauses skip ignore closure-flag) + "Update variable information in LFORMINFO by analyzing each clause in CLAUSES. +Each clause is a list of forms; any clause that's not a list is ignored. The +first SKIP elements of each clause are skipped without analysis. IGNORE is a +list of variables that shouldn't be analyzed (usually because they're special, +or because some inner binding shadows the version in LFORMINFO). +CLOSURE-FLAG should be either nil or a `closure flag' created with +`byte-compile-lforminfo-make-closure-flag'; the latter indicates that FORM is +inside a lambda expression that may close over some variable in LFORMINFO." + (while clauses + (let ((clause (pop clauses))) + (when (consp clause) + (byte-compile-lforminfo-analyze-forms lforminfo clause skip + ignore closure-flag))))) + + +;;; Lexical environments + +;; A lexical environment is an alist, where each element is of the form +;; (VAR . (OFFSET . ENV)) where VAR is either a symbol, for normal +;; variables, or an `heapenv' descriptor for references to heap environment +;; vectors. ENV is either an atom, meaning a `stack allocated' variable +;; (the particular atom serves to indicate the particular function context +;; on whose stack it's allocated), or an `heapenv' descriptor (see above), +;; meaning a variable allocated in a heap environment vector. For the +;; later case, an anonymous `variable' holding a pointer to the environment +;; vector may be located by recursively looking up ENV in the environment +;; as if it were a variable (so the entry for that `variable' will have a +;; non-symbol VAR). + +;; We call a lexical environment a `lexenv', and an entry in it a `lexvar'. + +;; constructor +(defsubst byte-compile-make-lexvar (name offset &optional env) + (cons name (cons offset env))) +;; accessors +(defsubst byte-compile-lexvar-name (lexvar) (car lexvar)) +(defsubst byte-compile-lexvar-offset (lexvar) (cadr lexvar)) +(defsubst byte-compile-lexvar-environment (lexvar) (cddr lexvar)) +(defsubst byte-compile-lexvar-variable-p (lexvar) (symbolp (car lexvar))) +(defsubst byte-compile-lexvar-environment-p (lexvar) + (not (symbolp (car lexvar)))) +(defsubst byte-compile-lexvar-on-stack-p (lexvar) + (atom (byte-compile-lexvar-environment lexvar))) +(defsubst byte-compile-lexvar-in-heap-p (lexvar) + (not (byte-compile-lexvar-on-stack-p lexvar))) + +(defun byte-compile-make-lambda-lexenv (form closed-over-lexenv) + "Return a new lexical environment for a lambda expression FORM. +CLOSED-OVER-LEXENV is the lexical environment in which FORM occurs. +The returned lexical environment contains two sets of variables: + * Variables that were in CLOSED-OVER-LEXENV and used by FORM + (all of these will be `heap' variables) + * Arguments to FORM (all of these will be `stack' variables)." + ;; See if this is a closure or not + (let ((closure nil) + (lforminfo (byte-compile-make-lforminfo)) + (args (byte-compile-arglist-vars (cadr form)))) + ;; Add variables from surrounding lexical environment to analysis set + (dolist (lexvar closed-over-lexenv) + (when (and (byte-compile-lexvar-in-heap-p lexvar) + (not (memq (car lexvar) args))) + ;; The variable is located in a heap-allocated environment + ;; vector, so FORM may use it. Add it to the set of variables + ;; that we'll search for in FORM. + (byte-compile-lforminfo-add-var lforminfo (car lexvar)))) + ;; See how FORM uses these potentially closed-over variables. + (byte-compile-lforminfo-analyze lforminfo form args) + (let ((lexenv nil)) + (dolist (vinfo (byte-compile-lforminfo-vars lforminfo)) + (when (> (byte-compile-lvarinfo-num-refs vinfo) 0) + ;; FORM uses VINFO's variable, so it must be a closure. + (setq closure t) + ;; Make sure that the environment in which the variable is + ;; located is accessible (since we only ever pass the + ;; innermost environment to closures, if it's in some other + ;; envionment, there must be path to it from the innermost + ;; one). + (unless (byte-compile-lexvar-in-heap-p vinfo) + ;; To access the variable from FORM, it must be in the heap. + (error + "Compiler error: lexical variable `%s' should be heap-allocated but is not" + (car vinfo))) + (let ((closed-over-lexvar (assq (car vinfo) closed-over-lexenv))) + (byte-compile-heapenv-ensure-access + byte-compile-current-heap-environment + (byte-compile-lexvar-environment closed-over-lexvar)) + ;; Put this variable in the new lexical environment + (push closed-over-lexvar lexenv)))) + ;; Fill in the initial stack contents + (let ((stackpos 0)) + (when closure + ;; Add the magic first argument that holds the environment pointer + (push (byte-compile-make-lexvar byte-compile-current-heap-environment + 0) + lexenv) + (setq stackpos (1+ stackpos))) + ;; Add entries for each argument + (dolist (arg args) + (push (byte-compile-make-lexvar arg stackpos) lexenv) + (setq stackpos (1+ stackpos))) + ;; Return the new lexical environment + lexenv)))) + +(defun byte-compile-closure-initial-lexenv-p (lexenv) + "Return non-nil if LEXENV is the initial lexical environment for a closure. +This only works correctly when passed a new lexical environment as +returned by `byte-compile-make-lambda-lexenv' (it works by checking to +see whether there are any heap-allocated lexical variables in LEXENV)." + (let ((closure nil)) + (while (and lexenv (not closure)) + (when (byte-compile-lexvar-environment-p (pop lexenv)) + (setq closure t))) + closure)) + + +;;; Heap environment vectors + +;; A `heap environment vector' is heap-allocated vector used to store +;; variable that can't be put onto the stack. +;; +;; They are represented in the compiler by a list of the form +;; +;; (SIZE SIZE-CONST-ID INIT-POSITION . ENVS) +;; +;; SIZE is the current size of the vector (which may be +;; incremented if another variable or environment-reference is added to +;; the end). SIZE-CONST-ID is an `unknown constant id' (as returned by +;; `byte-compile-push-unknown-constant') representing the constant used +;; in the vector initialization code, and INIT-POSITION is a position +;; in the byte-code output (as returned by `byte-compile-delay-out') +;; at which more initialization code can be added. +;; ENVS is a list of other environment vectors accessible form this one, +;; where each element is of the form (ENV . OFFSET). + +;; constructor +(defsubst byte-compile-make-heapenv (size-const-id init-position) + (list 0 size-const-id init-position)) +;; accessors +(defsubst byte-compile-heapenv-size (heapenv) (car heapenv)) +(defsubst byte-compile-heapenv-size-const-id (heapenv) (cadr heapenv)) +(defsubst byte-compile-heapenv-init-position (heapenv) (nth 2 heapenv)) +(defsubst byte-compile-heapenv-accessible-envs (heapenv) (nthcdr 3 heapenv)) + +(defun byte-compile-heapenv-add-slot (heapenv) + "Add a slot to the heap environment HEAPENV and return its offset." + (prog1 (car heapenv) (setcar heapenv (1+ (car heapenv))))) + +(defun byte-compile-heapenv-add-accessible-env (heapenv env offset) + "Add to HEAPENV's list of accessible environments, ENV at OFFSET." + (setcdr (nthcdr 2 heapenv) + (cons (cons env offset) + (byte-compile-heapenv-accessible-envs heapenv)))) + +(defun byte-compile-push-heapenv () + "Generate byte-code to push a new heap environment vector. +Sets `byte-compile-current-heap-environment' to the compiler descriptor +for the new heap environment. +Return a `lexvar' descriptor for the new heap environment." + (let ((env-stack-pos byte-compile-depth) + size-const-id init-position) + ;; Generate code to push the vector + (byte-compile-push-constant 'make-vector) + (setq size-const-id (byte-compile-push-unknown-constant)) + (byte-compile-push-constant nil) + (byte-compile-out 'byte-call 2) + (setq init-position (byte-compile-delay-out 3)) + ;; Now make a heap-environment for the compiler to use + (setq byte-compile-current-heap-environment + (byte-compile-make-heapenv size-const-id init-position)) + (byte-compile-make-lexvar byte-compile-current-heap-environment + env-stack-pos))) + +(defun byte-compile-heapenv-ensure-access (heapenv other-heapenv) + "Make sure that HEAPENV can be used to access OTHER-HEAPENV. +If not, then add a new slot to HEAPENV pointing to OTHER-HEAPENV." + (unless (memq heapenv (byte-compile-heapenv-accessible-envs heapenv)) + (let ((offset (byte-compile-heapenv-add-slot heapenv))) + (byte-compile-heapenv-add-accessible-env heapenv other-heapenv offset)))) + + +;;; Variable binding/unbinding + +(defun byte-compile-non-stack-bindings-p (clauses lforminfo) + "Return non-nil if any lexical bindings in CLAUSES are not stack-allocated. +LFORMINFO should be information about lexical variables being bound." + (let ((vars (byte-compile-lforminfo-vars lforminfo))) + (or (not (= (length clauses) (length vars))) + (progn + (while (and vars clauses) + (when (byte-compile-lvarinfo-closed-over-p (pop vars)) + (setq clauses nil))) + (not clauses))))) + +(defun byte-compile-let-clauses-trivial-init-p (clauses) + "Return true if let binding CLAUSES all have a `trivial' init value. +Trivial means either a constant value, or a simple variable initialization." + (or (null clauses) + (and (or (atom (car clauses)) + (atom (cadr (car clauses))) + (eq (car (cadr (car clauses))) 'quote)) + (byte-compile-let-clauses-trivial-init-p (cdr clauses))))) + +(defun byte-compile-rearrange-let-clauses (clauses lforminfo) + "Return CLAUSES rearranged so non-stack variables come last if possible. +Care is taken to only do so when it's clear that the meaning is the same. +LFORMINFO should be information about lexical variables being bound." + ;; We currently do a very simple job by only exchanging clauses when + ;; one has a constant init, or one has a variable init and the other + ;; doesn't have a function call init (because that could change the + ;; value of the variable). This could be more clever and actually + ;; attempt to analyze which variables could possible be changed, etc. + (let ((unchanged nil) + (lex-non-stack nil) + (dynamic nil)) + (while clauses + (let* ((clause (pop clauses)) + (var (if (consp clause) (car clause) clause)) + (init (and (consp clause) (cadr clause))) + (vinfo (assq var (byte-compile-lforminfo-vars lforminfo)))) + (cond + ((or (and vinfo + (not (byte-compile-lvarinfo-closed-over-p vinfo))) + (not + (or (eq init nil) (eq init t) + (and (atom init) (not (symbolp init))) + (and (consp init) (eq (car init) 'quote)) + (byte-compile-let-clauses-trivial-init-p clauses)))) + (push clause unchanged)) + (vinfo + (push clause lex-non-stack)) + (t + (push clause dynamic))))) + (nconc (nreverse unchanged) (nreverse lex-non-stack) (nreverse dynamic)))) + +(defun byte-compile-maybe-push-heap-environment (&optional lforminfo) + "Push a new heap environment if necessary. +LFORMINFO should be information about lexical variables being bound. +Return a lexical environment containing only the heap vector (or +nil if nothing was pushed). +Also, `byte-compile-current-heap-environment' and +`byte-compile-current-num-closures' are updated to reflect any change (so they +should probably be bound by the caller to ensure that the new values have the +proper scope)." + ;; We decide whether a new heap environment is required by seeing if + ;; the number of closures inside the form described by LFORMINFO is + ;; the same as the number inside the binding form that created the + ;; currently active heap environment. + (let ((nclosures + (and lforminfo (byte-compile-lforminfo-num-closures lforminfo)))) + (if (or (null lforminfo) + (= nclosures byte-compile-current-num-closures)) + ;; No need to push a heap environment. + nil + ;; Have to push one. A heap environment is really just a vector, so + ;; we emit bytecodes to create a vector. However, the size is not + ;; fixed yet (the vector can grow if subforms use it to store + ;; values, and if `access points' to parent heap environments are + ;; added), so we use `byte-compile-push-unknown-constant' to push the + ;; vector size. + (setq byte-compile-current-num-closures nclosures) + (list (byte-compile-push-heapenv))))) + +(defun byte-compile-bind (var init-lexenv &optional lforminfo) + "Emit byte-codes to bind VAR and update `byte-compile-lexical-environment'. +INIT-LEXENV should be a lexical-environment alist describing the +positions of the init value that have been pushed on the stack, and +LFORMINFO should be information about lexical variables being bound. +Return non-nil if the TOS value was popped." + ;; The presence of lexical bindings mean that we may have to + ;; juggle things on the stack, either to move them to TOS for + ;; dynamic binding, or to put them in a non-stack environment + ;; vector. + (let ((vinfo (assq var (byte-compile-lforminfo-vars lforminfo)))) + (cond ((and (null vinfo) (eq var (caar init-lexenv))) + ;; VAR is dynamic and is on the top of the + ;; stack, so we can just bind it like usual + (byte-compile-dynamic-variable-bind var) + t) + ((null vinfo) + ;; VAR is dynamic, but we have to get its + ;; value out of the middle of the stack + (let ((stack-pos (cdr (assq var init-lexenv)))) + (byte-compile-stack-ref stack-pos) + (byte-compile-dynamic-variable-bind var) + ;; Now we have to store nil into its temporary + ;; stack position to avoid problems with GC + (byte-compile-push-constant nil) + (byte-compile-stack-set stack-pos)) + nil) + ((byte-compile-lvarinfo-closed-over-p vinfo) + ;; VAR is lexical, but needs to be in a + ;; heap-allocated environment. + (unless byte-compile-current-heap-environment + (error "No current heap-environment to allocate `%s' in!" var)) + (let ((init-stack-pos + ;; nil if the init value is on the top of the stack, + ;; otherwise the position of the init value on the stack. + (and (not (eq var (caar init-lexenv))) + (byte-compile-lexvar-offset (assq var init-lexenv)))) + (env-vec-pos + ;; Position of VAR in the environment vector + (byte-compile-lexvar-offset + (assq var byte-compile-lexical-environment))) + (env-vec-stack-pos + ;; Position of the the environment vector on the stack + ;; (the heap-environment must _always_ be available on + ;; the stack!) + (byte-compile-lexvar-offset + (assq byte-compile-current-heap-environment + byte-compile-lexical-environment)))) + (unless env-vec-stack-pos + (error "Couldn't find location of current heap environment!")) + (when init-stack-pos + ;; VAR is not on the top of the stack, so get it + (byte-compile-stack-ref init-stack-pos)) + (byte-compile-stack-ref env-vec-stack-pos) + ;; Store the variable into the vector + (byte-compile-out 'byte-vec-set env-vec-pos) + (when init-stack-pos + ;; Store nil into VAR's temporary stack + ;; position to avoid problems with GC + (byte-compile-push-constant nil) + (byte-compile-stack-set init-stack-pos)) + ;; Push a record of VAR's new lexical binding + (push (byte-compile-make-lexvar + var env-vec-pos byte-compile-current-heap-environment) + byte-compile-lexical-environment) + (not init-stack-pos))) + (t + ;; VAR is a simple stack-allocated lexical variable + (push (assq var init-lexenv) + byte-compile-lexical-environment) + nil)))) + +(defun byte-compile-unbind (clauses init-lexenv + &optional lforminfo preserve-body-value) + "Emit byte-codes to unbind the variables bound by CLAUSES. +CLAUSES is a `let'-style variable binding list. INIT-LEXENV should be a +lexical-environment alist describing the positions of the init value that +have been pushed on the stack, and LFORMINFO should be information about +the lexical variables that were bound. If PRESERVE-BODY-VALUE is true, +then an additional value on the top of the stack, above any lexical binding +slots, is preserved, so it will be on the top of the stack after all +binding slots have been popped." + ;; Unbind dynamic variables + (let ((num-dynamic-bindings 0)) + (if lforminfo + (dolist (clause clauses) + (unless (assq (if (consp clause) (car clause) clause) + (byte-compile-lforminfo-vars lforminfo)) + (setq num-dynamic-bindings (1+ num-dynamic-bindings)))) + (setq num-dynamic-bindings (length clauses))) + (unless (zerop num-dynamic-bindings) + (byte-compile-out 'byte-unbind num-dynamic-bindings))) + ;; Pop lexical variables off the stack, possibly preserving the + ;; return value of the body. + (when init-lexenv + ;; INIT-LEXENV contains all init values left on the stack + (byte-compile-discard (length init-lexenv) preserve-body-value))) + + +(provide 'byte-lexbind) + +;;; arch-tag: b8f1dff6-9edb-4430-a96f-323d42a681a9 +;;; byte-lexbind.el ends here diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index 1ff34fa6a8..9ce3c2eb32 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el @@ -187,8 +187,8 @@ (eval-when-compile (require 'cl)) (defun byte-compile-log-lap-1 (format &rest args) - (if (aref byte-code-vector 0) - (error "The old version of the disassembler is loaded. Reload new-bytecomp as well")) +;; (if (aref byte-code-vector 0) +;; (error "The old version of the disassembler is loaded. Reload new-bytecomp as well")) (byte-compile-log-1 (apply 'format format (let (c a) @@ -282,7 +282,8 @@ (byte-code ,string ,(aref fn 2) ,(aref fn 3))) (cdr form))) (if (eq (car-safe fn) 'lambda) - (cons fn (cdr form)) + (macroexpand-all (cons fn (cdr form)) + byte-compile-macro-environment) ;; Give up on inlining. form)))))) @@ -1333,14 +1334,15 @@ ((>= op byte-constant) (prog1 (- op byte-constant) ;offset in opcode (setq op byte-constant))) - ((and (>= op byte-constant2) - (<= op byte-goto-if-not-nil-else-pop)) + ((or (and (>= op byte-constant2) + (<= op byte-goto-if-not-nil-else-pop)) + (= op byte-stack-set2)) (setq ptr (1+ ptr)) ;offset in next 2 bytes (+ (aref bytes ptr) (progn (setq ptr (1+ ptr)) (lsh (aref bytes ptr) 8)))) ((and (>= op byte-listN) - (<= op byte-insertN)) + (<= op byte-discardN)) (setq ptr (1+ ptr)) ;offset in next byte (aref bytes ptr)))) @@ -1401,7 +1403,16 @@ (if (= ptr (1- length)) (setq op nil) (setq offset (or endtag (setq endtag (byte-compile-make-tag))) - op 'byte-goto)))) + op 'byte-goto))) + ((eq op 'byte-stack-set2) + (setq op 'byte-stack-set)) + ((and (eq op 'byte-discardN) (>= offset #x80)) + ;; The top bit of the operand for byte-discardN is a flag, + ;; saying whether the top-of-stack is preserved. In + ;; lapcode, we represent this by using a different opcode + ;; (with the flag removed from the operand). + (setq op 'byte-discardN-preserve-tos) + (setq offset (- offset #x80)))) ;; lap = ( [ (pc . (op . arg)) ]* ) (setq lap (cons (cons optr (cons op (or offset 0))) lap)) @@ -1457,7 +1468,7 @@ byte-cdr-safe byte-cons byte-list1 byte-list2 byte-point byte-point-max byte-point-min byte-following-char byte-preceding-char byte-current-column byte-eolp byte-eobp byte-bolp byte-bobp - byte-current-buffer byte-interactive-p)) + byte-current-buffer byte-interactive-p byte-stack-ref)) (defconst byte-compile-side-effect-free-ops (nconc @@ -1466,7 +1477,7 @@ byte-eqlsign byte-gtr byte-lss byte-leq byte-geq byte-diff byte-negate byte-plus byte-max byte-min byte-mult byte-char-after byte-char-syntax byte-buffer-substring byte-string= byte-string< byte-nthcdr byte-elt - byte-member byte-assq byte-quo byte-rem) + byte-member byte-assq byte-quo byte-rem byte-vec-ref) byte-compile-side-effect-and-error-free-ops)) ;; This crock is because of the way DEFVAR_BOOL variables work. @@ -1499,12 +1510,50 @@ ;; The variable `byte-boolean-vars' is now primitive and updated ;; automatically by DEFVAR_BOOL. +(defmacro byte-opt-update-stack-params (stack-adjust stack-depth lap0 rest lap) + "...macro used by byte-optimize-lapcode..." + `(progn + (byte-compile-log-lap "Before %s [depth = %s]" ,lap0 ,stack-depth) + (cond ((eq (car ,lap0) 'TAG) + ;; A tag can encode the expected stack depth. + (when (cddr ,lap0) + ;; First, check to see if our notion of the current stack + ;; depth agrees with this tag. We don't check at the + ;; beginning of the function, because the presence of + ;; lexical arguments means the first tag will have a + ;; non-zero offset. + (when (and (not (eq ,rest ,lap)) ; not at first insn + ,stack-depth ; not just after a goto + (not (= (cddr ,lap0) ,stack-depth))) + (error "Compiler error: optimizer is confused about %s: + %s != %s at lapcode %s" ',stack-depth (cddr ,lap0) ,stack-depth ,lap0)) + ;; Now set out current depth from this tag + (setq ,stack-depth (cddr ,lap0))) + (setq ,stack-adjust 0)) + ((memq (car ,lap0) '(byte-goto byte-return)) + ;; These insns leave us in an unknown state + (setq ,stack-adjust nil)) + ((car ,lap0) + ;; Not a no-op, set ,stack-adjust for lap0. ,stack-adjust will + ;; be added to ,stack-depth at the end of the loop, so any code + ;; that modifies the instruction sequence must adjust this too. + (setq ,stack-adjust + (byte-compile-stack-adjustment (car ,lap0) (cdr ,lap0))))) + (byte-compile-log-lap "Before %s [depth => %s, adj = %s]" ,lap0 ,stack-depth ,stack-adjust) + )) + (defun byte-optimize-lapcode (lap &optional for-effect) "Simple peephole optimizer. LAP is both modified and returned. If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." (let (lap0 lap1 lap2 + stack-adjust + stack-depth + (initial-stack-depth + (if (and lap (eq (car (car lap)) 'TAG)) + (cdr (cdr (car lap))) + 0)) (keep-going 'first-time) (add-depth 0) rest tmp tmp2 tmp3 @@ -1515,12 +1564,15 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." (or (eq keep-going 'first-time) (byte-compile-log-lap " ---- next pass")) (setq rest lap + stack-depth initial-stack-depth keep-going nil) (while rest (setq lap0 (car rest) lap1 (nth 1 rest) lap2 (nth 2 rest)) + (byte-opt-update-stack-params stack-adjust stack-depth lap0 rest lap) + ;; You may notice that sequences like "dup varset discard" are ;; optimized but sequences like "dup varset TAG1: discard" are not. ;; You may be tempted to change this; resist that temptation. @@ -1534,22 +1586,22 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." ((and (eq 'byte-discard (car lap1)) (memq (car lap0) side-effect-free)) (setq keep-going t) - (setq tmp (aref byte-stack+-info (symbol-value (car lap0)))) (setq rest (cdr rest)) - (cond ((= tmp 1) + (cond ((= stack-adjust 1) (byte-compile-log-lap " %s discard\t-->\t<deleted>" lap0) (setq lap (delq lap0 (delq lap1 lap)))) - ((= tmp 0) + ((= stack-adjust 0) (byte-compile-log-lap " %s discard\t-->\t<deleted> discard" lap0) (setq lap (delq lap0 lap))) - ((= tmp -1) + ((= stack-adjust -1) (byte-compile-log-lap " %s discard\t-->\tdiscard discard" lap0) (setcar lap0 'byte-discard) (setcdr lap0 0)) - ((error "Optimizer error: too much on the stack")))) + ((error "Optimizer error: too much on the stack"))) + (setq stack-adjust (1- stack-adjust))) ;; ;; goto*-X X: --> X: ;; @@ -1574,10 +1626,14 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." ;; const/dup varbind-X varref-X --> const/dup varbind-X const/dup ;; The latter two can enable other optimizations. ;; - ((and (eq 'byte-varref (car lap2)) - (eq (cdr lap1) (cdr lap2)) - (memq (car lap1) '(byte-varset byte-varbind))) - (if (and (setq tmp (memq (car (cdr lap2)) byte-boolean-vars)) + ((or (and (eq 'byte-varref (car lap2)) + (eq (cdr lap1) (cdr lap2)) + (memq (car lap1) '(byte-varset byte-varbind))) + (and (eq (car lap2) 'byte-stack-ref) + (eq (car lap1) 'byte-stack-set) + (eq (cdr lap1) (cdr lap2)))) + (if (and (eq 'byte-varref (car lap2)) + (setq tmp (memq (car (cdr lap2)) byte-boolean-vars)) (not (eq (car lap0) 'byte-constant))) nil (setq keep-going t) @@ -1609,10 +1665,11 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." ;; ((and (eq 'byte-dup (car lap0)) (eq 'byte-discard (car lap2)) - (memq (car lap1) '(byte-varset byte-varbind))) + (memq (car lap1) '(byte-varset byte-varbind byte-stack-set byte-vec-set))) (byte-compile-log-lap " dup %s discard\t-->\t%s" lap1 lap1) (setq keep-going t - rest (cdr rest)) + rest (cdr rest) + stack-adjust -1) (setq lap (delq lap0 (delq lap2 lap)))) ;; ;; not goto-X-if-nil --> goto-X-if-non-nil @@ -1634,7 +1691,8 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." 'byte-goto-if-not-nil 'byte-goto-if-nil)) (setq lap (delq lap0 lap)) - (setq keep-going t)) + (setq keep-going t + stack-adjust 0)) ;; ;; goto-X-if-nil goto-Y X: --> goto-Y-if-non-nil X: ;; goto-X-if-non-nil goto-Y X: --> goto-Y-if-nil X: @@ -1650,7 +1708,8 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." (byte-compile-log-lap " %s %s %s:\t-->\t%s %s:" lap0 lap1 lap2 (cons inverse (cdr lap1)) lap2) - (setq lap (delq lap0 lap)) + (setq lap (delq lap0 lap) + stack-adjust 0) (setcar lap1 inverse) (setq keep-going t))) ;; @@ -1667,15 +1726,14 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." (setq rest (cdr rest) lap (delq lap0 (delq lap1 lap)))) (t - (if (memq (car lap1) byte-goto-always-pop-ops) - (progn - (byte-compile-log-lap " %s %s\t-->\t%s" - lap0 lap1 (cons 'byte-goto (cdr lap1))) - (setq lap (delq lap0 lap))) - (byte-compile-log-lap " %s %s\t-->\t%s" lap0 lap1 - (cons 'byte-goto (cdr lap1)))) + (byte-compile-log-lap " %s %s\t-->\t%s" + lap0 lap1 + (cons 'byte-goto (cdr lap1))) + (when (memq (car lap1) byte-goto-always-pop-ops) + (setq lap (delq lap0 lap))) (setcar lap1 'byte-goto))) - (setq keep-going t)) + (setq keep-going t + stack-adjust 0)) ;; ;; varref-X varref-X --> varref-X dup ;; varref-X [dup ...] varref-X --> varref-X [dup ...] dup @@ -1683,14 +1741,14 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." ;; because that would inhibit some goto optimizations; we ;; optimize the const-X case after all other optimizations. ;; - ((and (eq 'byte-varref (car lap0)) + ((and (memq (car lap0) '(byte-varref byte-stack-ref)) (progn - (setq tmp (cdr rest)) + (setq tmp (cdr rest) tmp2 0) (while (eq (car (car tmp)) 'byte-dup) - (setq tmp (cdr tmp))) + (setq tmp (cdr tmp) tmp2 (1+ tmp2))) t) - (eq (cdr lap0) (cdr (car tmp))) - (eq 'byte-varref (car (car tmp)))) + (eq (car lap0) (car (car tmp))) + (eq (cdr lap0) (cdr (car tmp)))) (if (memq byte-optimize-log '(t byte)) (let ((str "")) (setq tmp2 (cdr rest)) @@ -1702,7 +1760,8 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." (setq keep-going t) (setcar (car tmp) 'byte-dup) (setcdr (car tmp) 0) - (setq rest tmp)) + (setq rest tmp + stack-adjust (+ 2 tmp2))) ;; ;; TAG1: TAG2: --> TAG1: <deleted> ;; (and other references to TAG2 are replaced with TAG1) @@ -1769,7 +1828,8 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." (byte-compile-log-lap " %s %s\t-->\t%s %s" lap0 lap1 lap1 lap0) (setcar rest lap1) (setcar (cdr rest) lap0) - (setq keep-going t)) + (setq keep-going t + stack-adjust 0)) ;; ;; varbind-X unbind-N --> discard unbind-(N-1) ;; save-excursion unbind-N --> unbind-(N-1) @@ -1795,6 +1855,14 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." "")) (setq keep-going t)) ;; + ;; stack-ref-N --> dup ; where N is TOS + ;; + ((and (eq (car lap0) 'byte-stack-ref) + (= (cdr lap0) (1- stack-depth))) + (setcar lap0 'byte-dup) + (setcdr lap0 nil) + (setq keep-going t)) + ;; ;; goto*-X ... X: goto-Y --> goto*-Y ;; goto-X ... X: return --> return ;; @@ -1871,20 +1939,22 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." (cdr tmp)))) (setcdr lap1 (car (cdr tmp))) (setq lap (delq lap0 lap)))) - (setq keep-going t)) + (setq keep-going t + stack-adjust 0)) ;; ;; X: varref-Y ... varset-Y goto-X --> ;; X: varref-Y Z: ... dup varset-Y goto-Z ;; (varset-X goto-BACK, BACK: varref-X --> copy the varref down.) ;; (This is so usual for while loops that it is worth handling). ;; - ((and (eq (car lap1) 'byte-varset) + ((and (memq (car lap1) '(byte-varset byte-stack-set)) (eq (car lap2) 'byte-goto) (not (memq (cdr lap2) rest)) ;Backwards jump (eq (car (car (setq tmp (cdr (memq (cdr lap2) lap))))) - 'byte-varref) + (if (eq (car lap1) 'byte-varset) 'byte-varref 'byte-stack-ref)) (eq (cdr (car tmp)) (cdr lap1)) - (not (memq (car (cdr lap1)) byte-boolean-vars))) + (not (and (eq (car lap1) 'byte-varref) + (memq (car (cdr lap1)) byte-boolean-vars)))) ;;(byte-compile-log-lap " Pulled %s to end of loop" (car tmp)) (let ((newtag (byte-compile-make-tag))) (byte-compile-log-lap @@ -1941,10 +2011,15 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." byte-goto-if-not-nil byte-goto byte-goto)))) ) - (setq keep-going t)) + (setq keep-going t + stack-adjust (and (not (eq (car lap0) 'byte-goto)) -1))) ) + + (setq stack-depth + (and stack-depth stack-adjust (+ stack-depth stack-adjust))) (setq rest (cdr rest))) ) + ;; Cleanup stage: ;; Rebuild byte-compile-constants / byte-compile-variables. ;; Simple optimizations that would inhibit other optimizations if they @@ -1952,10 +2027,13 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." ;; need to do more than once. (setq byte-compile-constants nil byte-compile-variables nil) - (setq rest lap) + (setq rest lap + stack-depth initial-stack-depth) + (byte-compile-log-lap " ---- final pass") (while rest (setq lap0 (car rest) lap1 (nth 1 rest)) + (byte-opt-update-stack-params stack-adjust stack-depth lap0 rest lap) (if (memq (car lap0) byte-constref-ops) (if (or (eq (car lap0) 'byte-constant) (eq (car lap0) 'byte-constant2)) @@ -2002,11 +2080,108 @@ If FOR-EFFECT is non-nil, the return value is assumed to be of no importance." (byte-compile-log-lap " %s %s\t-->\t%s" lap0 lap1 (cons 'byte-unbind (+ (cdr lap0) (cdr lap1)))) - (setq keep-going t) (setq lap (delq lap0 lap)) (setcdr lap1 (+ (cdr lap1) (cdr lap0)))) + + ;; + ;; stack-set-M [discard/discardN ...] --> discardN-preserve-tos + ;; stack-set-M [discard/discardN ...] --> discardN + ;; + ((and (eq (car lap0) 'byte-stack-set) + (memq (car lap1) '(byte-discard byte-discardN)) + (progn + ;; See if enough discard operations follow to expose or + ;; destroy the value stored by the stack-set. + (setq tmp (cdr rest)) + (setq tmp2 (- stack-depth 2 (cdr lap0))) + (setq tmp3 0) + (while (memq (car (car tmp)) '(byte-discard byte-discardN)) + (if (eq (car (car tmp)) 'byte-discard) + (setq tmp3 (1+ tmp3)) + (setq tmp3 (+ tmp3 (cdr (car tmp))))) + (setq tmp (cdr tmp))) + (>= tmp3 tmp2))) + ;; Do the optimization + (setq lap (delq lap0 lap)) + (cond ((= tmp2 tmp3) + ;; The value stored is the new TOS, so pop one more value + ;; (to get rid of the old value) using the TOS-preserving + ;; discard operator. + (setcar lap1 'byte-discardN-preserve-tos) + (setcdr lap1 (1+ tmp3))) + (t + ;; Otherwise, the value stored is lost, so just use a + ;; normal discard. + (setcar lap1 'byte-discardN) + (setcdr lap1 tmp3))) + (setcdr (cdr rest) tmp) + (setq stack-adjust 0) + (byte-compile-log-lap " %s [discard/discardN]...\t-->\t%s" + lap0 lap1)) + + ;; + ;; discard/discardN/discardN-preserve-tos-X discard/discardN-Y --> + ;; discardN-(X+Y) + ;; + ((and (memq (car lap0) + '(byte-discard + byte-discardN + byte-discardN-preserve-tos)) + (memq (car lap1) '(byte-discard byte-discardN))) + (setq lap (delq lap0 lap)) + (byte-compile-log-lap + " %s %s\t-->\t(discardN %s)" + lap0 lap1 + (+ (if (eq (car lap0) 'byte-discard) 1 (cdr lap0)) + (if (eq (car lap1) 'byte-discard) 1 (cdr lap1)))) + (setcdr lap1 (+ (if (eq (car lap0) 'byte-discard) 1 (cdr lap0)) + (if (eq (car lap1) 'byte-discard) 1 (cdr lap1)))) + (setcar lap1 'byte-discardN) + (setq stack-adjust 0)) + + ;; + ;; discardN-preserve-tos-X discardN-preserve-tos-Y --> + ;; discardN-preserve-tos-(X+Y) + ;; + ((and (eq (car lap0) 'byte-discardN-preserve-tos) + (eq (car lap1) 'byte-discardN-preserve-tos)) + (setq lap (delq lap0 lap)) + (setcdr lap1 (+ (cdr lap0) (cdr lap1))) + (setq stack-adjust 0) + (byte-compile-log-lap " %s %s\t-->\t%s" lap0 lap1 (car rest))) + + ;; + ;; discardN-preserve-tos return --> return + ;; dup return --> return + ;; stack-set-N return --> return ; where N is TOS-1 + ;; + ((and (eq (car lap1) 'byte-return) + (or (memq (car lap0) '(byte-discardN-preserve-tos byte-dup)) + (and (eq (car lap0) 'byte-stack-set) + (= (cdr lap0) (- stack-depth 2))))) + ;; the byte-code interpreter will pop the stack for us, so + ;; we can just leave stuff on it + (setq lap (delq lap0 lap)) + (setq stack-adjust 0) + (byte-compile-log-lap " %s %s\t-->\t%s" lap0 lap1 lap1)) + + ;; + ;; dup stack-set-N return --> return ; where N is TOS + ;; + ((and (eq (car lap0) 'byte-dup) + (eq (car lap1) 'byte-stack-set) + (eq (car (car (cdr (cdr rest)))) 'byte-return) + (= (cdr lap1) (1- stack-depth))) + (setq lap (delq lap0 (delq lap1 lap))) + (setq rest (cdr rest)) + (setq stack-adjust 0) + (byte-compile-log-lap " dup %s return\t-->\treturn" lap1)) ) + + (setq stack-depth + (and stack-depth stack-adjust (+ stack-depth stack-adjust))) (setq rest (cdr rest))) + (setq byte-compile-maxdepth (+ byte-compile-maxdepth add-depth))) lap) diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 8b47e0421e..e1b5b402b2 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -118,12 +118,55 @@ ;; Some versions of `file' can be customized to recognize that. (require 'backquote) +(require 'macroexp) (eval-when-compile (require 'cl)) (or (fboundp 'defsubst) ;; This really ought to be loaded already! (load "byte-run")) +;; We want to do (require 'byte-lexbind) when compiling, to avoid compilation +;; errors; however that file also wants to do (require 'bytecomp) for the +;; same reason. Since we know it's OK to load byte-lexbind.el second, we +;; have that file require a feature that's provided before at the beginning +;; of this file, to avoid an infinite require loop. +;; `eval-when-compile' is defined in byte-run.el, so it must come after the +;; preceding load expression. +(provide 'bytecomp-preload) +(eval-when-compile (require 'byte-lexbind)) + +;; The feature of compiling in a specific target Emacs version +;; has been turned off because compile time options are a bad idea. +(defmacro byte-compile-single-version () nil) +(defmacro byte-compile-version-cond (cond) cond) + +;; The crud you see scattered through this file of the form +;; (or (and (boundp 'epoch::version) epoch::version) +;; (string-lessp emacs-version "19")) +;; is because the Epoch folks couldn't be bothered to follow the +;; normal emacs version numbering convention. + +;; (if (byte-compile-version-cond +;; (or (and (boundp 'epoch::version) epoch::version) +;; (string-lessp emacs-version "19"))) +;; (progn +;; ;; emacs-18 compatibility. +;; (defvar baud-rate (baud-rate)) ;Define baud-rate if it's undefined +;; +;; (if (byte-compile-single-version) +;; (defmacro byte-code-function-p (x) "Emacs 18 doesn't have these." nil) +;; (defun byte-code-function-p (x) "Emacs 18 doesn't have these." nil)) +;; +;; (or (and (fboundp 'member) +;; ;; avoid using someone else's possibly bogus definition of this. +;; (subrp (symbol-function 'member))) +;; (defun member (elt list) +;; "like memq, but uses equal instead of eq. In v19, this is a subr." +;; (while (and list (not (equal elt (car list)))) +;; (setq list (cdr list))) +;; list)))) + + (defgroup bytecomp nil "Emacs Lisp byte-compiler." :group 'lisp) @@ -400,7 +443,17 @@ specify different fields to sort on." :type '(choice (const name) (const callers) (const calls) (const calls+callers) (const nil))) -(defvar byte-compile-debug nil) +;(defvar byte-compile-debug nil) +(defvar byte-compile-debug t) + +;; (defvar byte-compile-overwrite-file t +;; "If nil, old .elc files are deleted before the new is saved, and .elc +;; files will have the same modes as the corresponding .el file. Otherwise, +;; existing .elc files will simply be overwritten, and the existing modes +;; will not be changed. If this variable is nil, then an .elc file which +;; is a symbolic link will be turned into a normal file, instead of the file +;; which the link points to being overwritten.") + (defvar byte-compile-constants nil "List of all constants encountered during compilation of this form.") (defvar byte-compile-variables nil @@ -420,9 +473,13 @@ This list lives partly on the stack.") ;; (byte-compiler-options . (lambda (&rest forms) ;; (apply 'byte-compiler-options-handler forms))) (eval-when-compile . (lambda (&rest body) - (list 'quote - (byte-compile-eval (byte-compile-top-level - (cons 'progn body)))))) + (list + 'quote + (byte-compile-eval + (byte-compile-top-level + (macroexpand-all + (cons 'progn body) + byte-compile-initial-macro-environment)))))) (eval-and-compile . (lambda (&rest body) (byte-compile-eval-before-compile (cons 'progn body)) (cons 'progn body)))) @@ -455,6 +512,14 @@ defined with incorrect args.") Used for warnings about calling a function that is defined during compilation but won't necessarily be defined when the compiled file is loaded.") +;; Variables for lexical binding +(defvar byte-compile-lexical-environment nil + "The current lexical environment.") +(defvar byte-compile-current-heap-environment nil + "If non-nil, a descriptor for the current heap-allocated lexical environment.") +(defvar byte-compile-current-num-closures 0 + "The number of lexical closures that close over `byte-compile-current-heap-environment'.") + (defvar byte-compile-tag-number 0) (defvar byte-compile-output nil "Alist describing contents to put in byte code string. @@ -500,11 +565,10 @@ Each element is (INDEX . VALUE)") (put 'byte-stack+-info 'tmp-compile-time-value nil))) -;; unused: 0-7 - ;; These opcodes are special in that they pack their argument into the ;; opcode word. ;; +(byte-defop 0 1 byte-stack-ref "for stack reference") (byte-defop 8 1 byte-varref "for variable reference") (byte-defop 16 -1 byte-varset "for setting a variable") (byte-defop 24 -1 byte-varbind "for binding a variable") @@ -666,11 +730,28 @@ otherwise pop it") (byte-defop 168 0 byte-integerp) ;; unused: 169-174 + (byte-defop 175 nil byte-listN) (byte-defop 176 nil byte-concatN) (byte-defop 177 nil byte-insertN) -;; unused: 178-191 +(byte-defop 178 -1 byte-stack-set) ; stack offset in following one byte +(byte-defop 179 -1 byte-stack-set2) ; stack offset in following two bytes +(byte-defop 180 1 byte-vec-ref) ; vector offset in following one byte +(byte-defop 181 -1 byte-vec-set) ; vector offset in following one byte + +;; if (following one byte & 0x80) == 0 +;; discard (following one byte & 0x7F) stack entries +;; else +;; discard (following one byte & 0x7F) stack entries _underneath_ the top of stack +;; (that is, if the operand = 0x83, ... X Y Z T => ... T) +(byte-defop 182 nil byte-discardN) +;; `byte-discardN-preserve-tos' is a pseudo-op that gets turned into +;; `byte-discardN' with the high bit in the operand set (by +;; `byte-compile-lapcode'). +(defconst byte-discardN-preserve-tos byte-discardN) + +;; unused: 182-191 (byte-defop 192 1 byte-constant "for reference to a constant") ;; codes 193-255 are consumed by byte-constant. @@ -717,71 +798,108 @@ otherwise pop it") ;; front of the constants-vector than the constant-referencing instructions. ;; Also, this lets us notice references to free variables. +(defmacro byte-compile-push-bytecodes (&rest args) + "Push BYTE... onto BYTES, and increment PC by the number of bytes pushed. +ARGS is of the form (BYTE... BYTES PC), where BYTES and PC are variable names. +BYTES and PC are updated after evaluating all the arguments." + (let ((byte-exprs (butlast args 2)) + (bytes-var (car (last args 2))) + (pc-var (car (last args)))) + `(setq ,bytes-var ,(if (null (cdr byte-exprs)) + `(cons ,@byte-exprs ,bytes-var) + `(nconc (list ,@(reverse byte-exprs)) ,bytes-var)) + ,pc-var (+ ,(length byte-exprs) ,pc-var)))) + +(defmacro byte-compile-push-bytecode-const2 (opcode const2 bytes pc) + "Push OPCODE and the two-byte constant CONST2 onto BYTES, and add 3 to PC. +CONST2 may be evaulated multiple times." + `(byte-compile-push-bytecodes ,opcode (logand ,const2 255) (lsh ,const2 -8) + ,bytes ,pc)) + (defun byte-compile-lapcode (lap) "Turns lapcode into bytecode. The lapcode is destroyed." ;; Lapcode modifications: changes the ID of a tag to be the tag's PC. (let ((pc 0) ; Program counter op off ; Operation & offset + opcode ; numeric value of OP (bytes '()) ; Put the output bytes here - (patchlist nil)) ; List of tags and goto's to patch - (while lap - (setq op (car (car lap)) - off (cdr (car lap))) + (patchlist nil)) ; List of gotos to patch + (dolist (lap-entry lap) + (setq op (car lap-entry) + off (cdr lap-entry)) (cond ((not (symbolp op)) (error "Non-symbolic opcode `%s'" op)) ((eq op 'TAG) - (setcar off pc) - (setq patchlist (cons off patchlist))) - ((memq op byte-goto-ops) - (setq pc (+ pc 3)) - (setq bytes (cons (cons pc (cdr off)) - (cons nil - (cons (symbol-value op) bytes)))) - (setq patchlist (cons bytes patchlist))) + (setcar off pc)) + ((null op) + ;; a no-op added by `byte-compile-delay-out' + (unless (zerop off) + (error + "Placeholder added by `byte-compile-delay-out' not filled in.") + )) (t - (setq bytes - (cond ((cond ((consp off) - ;; Variable or constant reference - (setq off (cdr off)) - (eq op 'byte-constant))) - (cond ((< off byte-constant-limit) - (setq pc (1+ pc)) - (cons (+ byte-constant off) bytes)) - (t - (setq pc (+ 3 pc)) - (cons (lsh off -8) - (cons (logand off 255) - (cons byte-constant2 bytes)))))) - ((<= byte-listN (symbol-value op)) - (setq pc (+ 2 pc)) - (cons off (cons (symbol-value op) bytes))) - ((< off 6) - (setq pc (1+ pc)) - (cons (+ (symbol-value op) off) bytes)) - ((< off 256) - (setq pc (+ 2 pc)) - (cons off (cons (+ (symbol-value op) 6) bytes))) - (t - (setq pc (+ 3 pc)) - (cons (lsh off -8) - (cons (logand off 255) - (cons (+ (symbol-value op) 7) - bytes)))))))) - (setq lap (cdr lap))) + (if (eq op 'byte-discardN-preserve-tos) + ;; byte-discardN-preserve-tos is a psuedo op, which is actually + ;; the same as byte-discardN with a modified argument + (setq opcode byte-discardN) + (setq opcode (symbol-value op))) + (cond ((memq op byte-goto-ops) + ;; goto + (byte-compile-push-bytecodes opcode nil (cdr off) bytes pc) + (push bytes patchlist)) + ((and (consp off) + ;; Variable or constant reference + (progn (setq off (cdr off)) + (eq op 'byte-constant))) + ;; constant ref + (if (< off byte-constant-limit) + (byte-compile-push-bytecodes (+ byte-constant off) + bytes pc) + (byte-compile-push-bytecode-const2 byte-constant2 off + bytes pc))) + ((and (= opcode byte-stack-set) + (> off 255)) + ;; Use the two-byte version of byte-stack-set if the + ;; offset is too large for the normal version. + (byte-compile-push-bytecode-const2 byte-stack-set2 off + bytes pc)) + ((and (>= opcode byte-listN) + (< opcode byte-discardN)) + ;; These insns all put their operand into one extra byte. + (byte-compile-push-bytecodes opcode off bytes pc)) + ((= opcode byte-discardN) + ;; byte-discardN is wierd in that it encodes a flag in the + ;; top bit of its one-byte argument. If the argument is + ;; too large to fit in 7 bits, the opcode can be repeated. + (let ((flag (if (eq op 'byte-discardN-preserve-tos) #x80 0))) + (while (> off #x7f) + (byte-compile-push-bytecodes opcode (logior #x7f flag) bytes pc) + (setq off (- off #x7f))) + (byte-compile-push-bytecodes opcode (logior off flag) bytes pc))) + ((null off) + ;; opcode that doesn't use OFF + (byte-compile-push-bytecodes opcode bytes pc)) + ;; The following three cases are for the special + ;; insns that encode their operand into 0, 1, or 2 + ;; extra bytes depending on its magnitude. + ((< off 6) + (byte-compile-push-bytecodes (+ opcode off) bytes pc)) + ((< off 256) + (byte-compile-push-bytecodes (+ opcode 6) off bytes pc)) + (t + (byte-compile-push-bytecode-const2 (+ opcode 7) off + bytes pc)))))) ;;(if (not (= pc (length bytes))) ;; (error "Compiler error: pc mismatch - %s %s" pc (length bytes))) - ;; Patch PC into jumps - (let (bytes) - (while patchlist - (setq bytes (car patchlist)) - (cond ((atom (car bytes))) ; Tag - (t ; Absolute jump - (setq pc (car (cdr (car bytes)))) ; Pick PC from tag - (setcar (cdr bytes) (logand pc 255)) - (setcar bytes (lsh pc -8)) - ;; FIXME: Replace this by some workaround. - (if (> (car bytes) 255) (error "Bytecode overflow")))) - (setq patchlist (cdr patchlist)))) + + ;; Patch tag PCs into absolute jumps + (dolist (bytes-tail patchlist) + (setq pc (caar bytes-tail)) ; Pick PC from goto's tag + (setcar (cdr bytes-tail) (logand pc 255)) + (setcar bytes-tail (lsh pc -8)) + ;; FIXME: Replace this by some workaround. + (if (> (car bytes) 255) (error "Bytecode overflow"))) + (apply 'unibyte-string (nreverse bytes)))) @@ -2086,18 +2204,16 @@ list that represents a doc string reference. (defun byte-compile-file-form (form) (let ((byte-compile-current-form nil) ; close over this for warnings. bytecomp-handler) - (cond - ((not (consp form)) - (byte-compile-keep-pending form)) - ((and (symbolp (car form)) - (setq bytecomp-handler (get (car form) 'byte-hunk-handler))) - (cond ((setq form (funcall bytecomp-handler form)) - (byte-compile-flush-pending) - (byte-compile-output-file-form form)))) - ((eq form (setq form (macroexpand form byte-compile-macro-environment))) - (byte-compile-keep-pending form)) - (t - (byte-compile-file-form form))))) + (setq form (macroexpand-all form byte-compile-macro-environment)) + (cond ((not (consp form)) + (byte-compile-keep-pending form)) + ((and (symbolp (car form)) + (setq bytecomp-handler (get (car form) 'byte-hunk-handler))) + (cond ((setq form (funcall bytecomp-handler form)) + (byte-compile-flush-pending) + (byte-compile-output-file-form form)))) + (t + (byte-compile-keep-pending form))))) ;; Functions and variables with doc strings must be output separately, ;; so make-docfile can recognise them. Most other things can be output @@ -2109,8 +2225,7 @@ list that represents a doc string reference. (setq byte-compile-current-form (nth 1 form)) (byte-compile-warn "defsubst `%s' was used before it was defined" (nth 1 form))) - (byte-compile-file-form - (macroexpand form byte-compile-macro-environment)) + (byte-compile-file-form form) ;; Return nil so the form is not output twice. nil) @@ -2431,6 +2546,12 @@ If FORM is a lambda or a macro, byte-compile it as a function." (if macro (setq fun (cdr fun))) (cond ((eq (car-safe fun) 'lambda) + ;; expand macros + (setq fun + (macroexpand-all fun + byte-compile-initial-macro-environment)) + ;; get rid of the `function' quote added by the `lambda' macro + (setq fun (cadr fun)) (setq fun (if macro (cons 'macro (byte-compile-lambda fun)) (byte-compile-lambda fun))) @@ -2518,6 +2639,8 @@ If FORM is a lambda or a macro, byte-compile it as a function." (setq list (cdr list))))) +(autoload 'byte-compile-make-lambda-lexenv "byte-lexbind") + ;; Byte-compile a lambda-expression and return a valid function. ;; The value is usually a compiled function but may be the original ;; lambda-expression. @@ -2574,20 +2697,43 @@ If FORM is a lambda or a macro, byte-compile it as a function." (byte-compile-warn "malformed interactive spec: %s" (prin1-to-string bytecomp-int))))) ;; Process the body. - (let ((compiled (byte-compile-top-level - (cons 'progn bytecomp-body) nil 'lambda))) + (let* ((byte-compile-lexical-environment + ;; If doing lexical binding, push a new lexical environment + ;; containing the args and any closed-over variables. + (and lexical-binding + (byte-compile-make-lambda-lexenv + fun + byte-compile-lexical-environment))) + (is-closure + ;; This is true if we should be making a closure instead of + ;; a simple lambda (because some variables from the + ;; containing lexical environment are closed over). + (and lexical-binding + (byte-compile-closure-initial-lexenv-p + byte-compile-lexical-environment))) + (byte-compile-current-heap-environment nil) + (byte-compile-current-num-closures 0) + (compiled + (byte-compile-top-level (cons 'progn bytecomp-body) nil 'lambda))) ;; Build the actual byte-coded function. (if (eq 'byte-code (car-safe compiled)) - (apply 'make-byte-code - (append (list bytecomp-arglist) - ;; byte-string, constants-vector, stack depth - (cdr compiled) - ;; optionally, the doc string. - (if (or bytecomp-doc bytecomp-int) - (list bytecomp-doc)) - ;; optionally, the interactive spec. - (if bytecomp-int - (list (nth 1 bytecomp-int))))) + (let ((code + (apply 'make-byte-code + (append (list bytecomp-arglist) + ;; byte-string, constants-vector, stack depth + (cdr compiled) + ;; optionally, the doc string. + (if (or bytecomp-doc bytecomp-int + lexical-binding) + (list bytecomp-doc)) + ;; optionally, the interactive spec. + (if (or bytecomp-int lexical-binding) + (list (nth 1 bytecomp-int))) + (if lexical-binding + '(t)))))) + (if is-closure + (cons 'closure code) + code)) (setq compiled (nconc (if bytecomp-int (list bytecomp-int)) (cond ((eq (car-safe compiled) 'progn) (cdr compiled)) @@ -2598,6 +2744,26 @@ If FORM is a lambda or a macro, byte-compile it as a function." (bytecomp-body (list nil)))) compiled)))))) +(defun byte-compile-closure-code-p (code) + (eq (car-safe code) 'closure)) + +(defun byte-compile-make-closure (code) + ;; A real closure requires that the constant be curried with an + ;; environment vector to make a closure object. + (if for-effect + (setq for-effect nil) + (byte-compile-push-constant 'curry) + (byte-compile-push-constant code) + (byte-compile-lexical-variable-ref byte-compile-current-heap-environment) + (byte-compile-out 'byte-call 2))) + +(defun byte-compile-closure (form &optional add-lambda) + (let ((code (byte-compile-lambda form add-lambda))) + (if (byte-compile-closure-code-p code) + (byte-compile-make-closure code) + ;; A simple lambda is just a constant + (byte-compile-constant code)))) + (defun byte-compile-constants-vector () ;; Builds the constants-vector from the current variables and constants. ;; This modifies the constants from (const . nil) to (const . offset). @@ -2642,17 +2808,51 @@ If FORM is a lambda or a macro, byte-compile it as a function." (byte-compile-depth 0) (byte-compile-maxdepth 0) (byte-compile-output nil)) - (if (memq byte-optimize '(t source)) - (setq form (byte-optimize-form form for-effect))) - (while (and (eq (car-safe form) 'progn) (null (cdr (cdr form)))) - (setq form (nth 1 form))) - (if (and (eq 'byte-code (car-safe form)) - (not (memq byte-optimize '(t byte))) - (stringp (nth 1 form)) (vectorp (nth 2 form)) - (natnump (nth 3 form))) - form - (byte-compile-form form for-effect) - (byte-compile-out-toplevel for-effect output-type)))) + (if (memq byte-optimize '(t source)) + (setq form (byte-optimize-form form for-effect))) + (while (and (eq (car-safe form) 'progn) (null (cdr (cdr form)))) + (setq form (nth 1 form))) + (if (and (eq 'byte-code (car-safe form)) + (not (memq byte-optimize '(t byte))) + (stringp (nth 1 form)) (vectorp (nth 2 form)) + (natnump (nth 3 form))) + form + ;; Set up things for a lexically-bound function + (when (and lexical-binding (eq output-type 'lambda)) + ;; See how many arguments there are, and set the current stack depth + ;; accordingly + (dolist (var byte-compile-lexical-environment) + (when (byte-compile-lexvar-on-stack-p var) + (setq byte-compile-depth (1+ byte-compile-depth)))) + ;; If there are args, output a tag to record the initial + ;; stack-depth for the optimizer + (when (> byte-compile-depth 0) + (byte-compile-out-tag (byte-compile-make-tag))) + ;; If this is the top-level of a lexically bound lambda expression, + ;; perhaps some parameters on stack need to be copied into a heap + ;; environment, so check for them, and do so if necessary. + (let ((lforminfo (byte-compile-make-lforminfo))) + ;; Add any lexical variable that's on the stack to the analysis set. + (dolist (var byte-compile-lexical-environment) + (when (byte-compile-lexvar-on-stack-p var) + (byte-compile-lforminfo-add-var lforminfo (car var) t))) + ;; Analyze the body + (unless (null (byte-compile-lforminfo-vars lforminfo)) + (byte-compile-lforminfo-analyze lforminfo form nil nil)) + ;; If the analysis revealed some argument need to be in a heap + ;; environment (because they're closed over by an embedded + ;; lambda), put them there. + (setq byte-compile-lexical-environment + (nconc (byte-compile-maybe-push-heap-environment lforminfo) + byte-compile-lexical-environment)) + (dolist (arginfo (byte-compile-lforminfo-vars lforminfo)) + (when (byte-compile-lvarinfo-closed-over-p arginfo) + (byte-compile-bind (car arginfo) + byte-compile-lexical-environment + lforminfo))))) + ;; Now compile FORM + (byte-compile-form form for-effect) + (byte-compile-out-toplevel for-effect output-type)))) (defun byte-compile-out-toplevel (&optional for-effect output-type) (if for-effect @@ -2774,7 +2974,6 @@ If FORM is a lambda or a macro, byte-compile it as a function." ;; (Use byte-compile-form-do-effect to reset the for-effect flag too.) ;; (defun byte-compile-form (form &optional for-effect) - (setq form (macroexpand form byte-compile-macro-environment)) (cond ((not (consp form)) (cond ((or (not (symbolp form)) (byte-compile-const-symbol-p form)) (when (symbolp form) @@ -2784,7 +2983,8 @@ If FORM is a lambda or a macro, byte-compile it as a function." (when (symbolp form) (byte-compile-set-symbol-position form)) (setq for-effect nil)) - (t (byte-compile-variable-ref 'byte-varref form)))) + (t + (byte-compile-variable-ref form)))) ((symbolp (car form)) (let* ((bytecomp-fn (car form)) (bytecomp-handler (get bytecomp-fn 'byte-compile))) @@ -2835,44 +3035,98 @@ That command is designed for interactive use only" bytecomp-fn)) (mapc 'byte-compile-form (cdr form)) ; wasteful, but faster. (byte-compile-out 'byte-call (length (cdr form)))) -(defun byte-compile-variable-ref (base-op bytecomp-var) - (when (symbolp bytecomp-var) - (byte-compile-set-symbol-position bytecomp-var)) - (if (or (not (symbolp bytecomp-var)) - (byte-compile-const-symbol-p bytecomp-var - (not (eq base-op 'byte-varref)))) - (if (byte-compile-warning-enabled-p 'constants) - (byte-compile-warn - (cond ((eq base-op 'byte-varbind) "attempt to let-bind %s `%s'") - ((eq base-op 'byte-varset) "variable assignment to %s `%s'") - (t "variable reference to %s `%s'")) - (if (symbolp bytecomp-var) "constant" "nonvariable") - (prin1-to-string bytecomp-var))) - (and (get bytecomp-var 'byte-obsolete-variable) - (not (memq bytecomp-var byte-compile-not-obsolete-vars)) - (byte-compile-warn-obsolete bytecomp-var)) - (if (eq base-op 'byte-varbind) - (push bytecomp-var byte-compile-bound-variables) - (or (not (byte-compile-warning-enabled-p 'free-vars)) - (boundp bytecomp-var) - (memq bytecomp-var byte-compile-bound-variables) - (if (eq base-op 'byte-varset) - (or (memq bytecomp-var byte-compile-free-assignments) - (progn - (byte-compile-warn "assignment to free variable `%s'" - bytecomp-var) - (push bytecomp-var byte-compile-free-assignments))) - (or (memq bytecomp-var byte-compile-free-references) - (progn - (byte-compile-warn "reference to free variable `%s'" - bytecomp-var) - (push bytecomp-var byte-compile-free-references))))))) - (let ((tmp (assq bytecomp-var byte-compile-variables))) +(defun byte-compile-check-variable (var &optional binding) + "Do various error checks before a use of the variable VAR. +If BINDING is non-nil, VAR is being bound." + (when (symbolp var) + (byte-compile-set-symbol-position var)) + (cond ((or (not (symbolp var)) (byte-compile-const-symbol-p var)) + (when (byte-compile-warning-enabled-p 'constants) + (byte-compile-warn (if binding + "attempt to let-bind %s `%s`" + "variable reference to %s `%s'") + (if (symbolp var) "constant" "nonvariable") + (prin1-to-string var)))) + ((and (get var 'byte-obsolete-variable) + (not (memq var byte-compile-not-obsolete-vars))) + (byte-compile-warn-obsolete var)))) + +(defsubst byte-compile-dynamic-variable-op (base-op var) + (let ((tmp (assq var byte-compile-variables))) (unless tmp - (setq tmp (list bytecomp-var)) + (setq tmp (list var)) (push tmp byte-compile-variables)) (byte-compile-out base-op tmp))) +(defun byte-compile-dynamic-variable-bind (var) + "Generate code to bind the lexical variable VAR to the top-of-stack value." + (byte-compile-check-variable var t) + (when (byte-compile-warning-enabled-p 'free-vars) + (push var byte-compile-bound-variables)) + (byte-compile-dynamic-variable-op 'byte-varbind var)) + +;; This is used when it's know that VAR _definitely_ has a lexical +;; binding, and no error-checking should be done. +(defun byte-compile-lexical-variable-ref (var) + "Generate code to push the value of the lexical variable VAR on the stack." + (let ((binding (assq var byte-compile-lexical-environment))) + (when (null binding) + (error "Lexical binding not found for `%s'" var)) + (if (byte-compile-lexvar-on-stack-p binding) + ;; On the stack + (byte-compile-stack-ref (byte-compile-lexvar-offset binding)) + ;; In a heap environment vector; first push the vector on the stack + (byte-compile-lexical-variable-ref + (byte-compile-lexvar-environment binding)) + ;; Now get the value from it + (byte-compile-out 'byte-vec-ref (byte-compile-lexvar-offset binding))))) + +(defun byte-compile-variable-ref (var) + "Generate code to push the value of the variable VAR on the stack." + (byte-compile-check-variable var) + (let ((lex-binding (assq var byte-compile-lexical-environment))) + (if lex-binding + ;; VAR is lexically bound + (if (byte-compile-lexvar-on-stack-p lex-binding) + ;; On the stack + (byte-compile-stack-ref (byte-compile-lexvar-offset lex-binding)) + ;; In a heap environment vector + (byte-compile-lexical-variable-ref + (byte-compile-lexvar-environment lex-binding)) + (byte-compile-out 'byte-vec-ref + (byte-compile-lexvar-offset lex-binding))) + ;; VAR is dynamically bound + (unless (or (not (byte-compile-warning-enabled-p 'free-vars)) + (boundp var) + (memq var byte-compile-bound-variables) + (memq var byte-compile-free-references)) + (byte-compile-warn "reference to free variable `%s'" var) + (push var byte-compile-free-references)) + (byte-compile-dynamic-variable-op 'byte-varref var)))) + +(defun byte-compile-variable-set (var) + "Generate code to set the variable VAR from the top-of-stack value." + (byte-compile-check-variable var) + (let ((lex-binding (assq var byte-compile-lexical-environment))) + (if lex-binding + ;; VAR is lexically bound + (if (byte-compile-lexvar-on-stack-p lex-binding) + ;; On the stack + (byte-compile-stack-set (byte-compile-lexvar-offset lex-binding)) + ;; In a heap environment vector + (byte-compile-lexical-variable-ref + (byte-compile-lexvar-environment lex-binding)) + (byte-compile-out 'byte-vec-set + (byte-compile-lexvar-offset lex-binding))) + ;; VAR is dynamically bound + (unless (or (not (byte-compile-warning-enabled-p 'free-vars)) + (boundp var) + (memq var byte-compile-bound-variables) + (memq var byte-compile-free-assignments)) + (byte-compile-warn "assignment to free variable `%s'" var) + (push var byte-compile-free-assignments)) + (byte-compile-dynamic-variable-op 'byte-varset var)))) + (defmacro byte-compile-get-constant (const) `(or (if (stringp ,const) ;; In a string constant, treat properties as significant. @@ -2899,6 +3153,25 @@ That command is designed for interactive use only" bytecomp-fn)) (let ((for-effect nil)) (inline (byte-compile-constant const)))) +(defun byte-compile-push-unknown-constant (&optional id) + "Generate code to push a `constant' who's value isn't known yet. +A tag is returned which may then later be passed to +`byte-compile-resolve-unknown-constant' to finalize the value. +The optional argument ID is a tag returned by an earlier call to +`byte-compile-push-unknown-constant', in which case the same constant is +pushed again." + (unless id + (setq id (list (make-symbol "unknown"))) + (push id byte-compile-constants)) + (byte-compile-out 'byte-constant id) + id) + +(defun byte-compile-resolve-unknown-constant (id value) + "Give an `unknown constant' a value. +ID is the tag returned by `byte-compile-push-unknown-constant'. and VALUE +is the value it should have." + (setcar id value)) + ;; Compile those primitive ordinary functions ;; which have special byte codes just for speed. @@ -3102,8 +3375,39 @@ If it is nil, then the handler is \"byte-compile-SYMBOL.\"" (defun byte-compile-noop (form) (byte-compile-constant nil)) -(defun byte-compile-discard () - (byte-compile-out 'byte-discard 0)) +(defun byte-compile-discard (&optional num preserve-tos) + "Output byte codes to discard the NUM entries at the top of the stack (NUM defaults to 1). +If PRESERVE-TOS is non-nil, preserve the top-of-stack value, as if it were +popped before discarding the num values, and then pushed back again after +discarding." + (if (and (null num) (not preserve-tos)) + ;; common case + (byte-compile-out 'byte-discard) + ;; general case + (unless num + (setq num 1)) + (when (and preserve-tos (> num 0)) + ;; Preserve the top-of-stack value by writing it directly to the stack + ;; location which will be at the top-of-stack after popping. + (byte-compile-stack-set (1- (- byte-compile-depth num))) + ;; Now we actually discard one less value, since we want to keep + ;; the eventual TOS + (setq num (1- num))) + (while (> num 0) + (byte-compile-out 'byte-discard) + (setq num (1- num))))) + +(defun byte-compile-stack-ref (stack-pos) + "Output byte codes to push the value at position STACK-POS in the stack, on the top of the stack." + (if (= byte-compile-depth (1+ stack-pos)) + ;; A simple optimization + (byte-compile-out 'byte-dup) + ;; normal case + (byte-compile-out 'byte-stack-ref stack-pos))) + +(defun byte-compile-stack-set (stack-pos) + "Output byte codes to store the top-of-stack value at position STACK-POS in the stack." + (byte-compile-out 'byte-stack-set stack-pos)) ;; Compile a function that accepts one or more args and is right-associative. @@ -3262,40 +3566,14 @@ If it is nil, then the handler is \"byte-compile-SYMBOL.\"" the syntax (function (lambda (...) ...)) instead."))))) (byte-compile-two-args form)) -(defun byte-compile-funarg (form) - ;; (mapcar '(lambda (x) ..) ..) ==> (mapcar (function (lambda (x) ..)) ..) - ;; for cases where it's guaranteed that first arg will be used as a lambda. - (byte-compile-normal-call - (let ((fn (nth 1 form))) - (if (and (eq (car-safe fn) 'quote) - (eq (car-safe (nth 1 fn)) 'lambda)) - (cons (car form) - (cons (cons 'function (cdr fn)) - (cdr (cdr form)))) - form)))) - -(defun byte-compile-funarg-2 (form) - ;; (sort ... '(lambda (x) ..)) ==> (sort ... (function (lambda (x) ..))) - ;; for cases where it's guaranteed that second arg will be used as a lambda. - (byte-compile-normal-call - (let ((fn (nth 2 form))) - (if (and (eq (car-safe fn) 'quote) - (eq (car-safe (nth 1 fn)) 'lambda)) - (cons (car form) - (cons (nth 1 form) - (cons (cons 'function (cdr fn)) - (cdr (cdr (cdr form)))))) - form)))) - ;; (function foo) must compile like 'foo, not like (symbol-function 'foo). ;; Otherwise it will be incompatible with the interpreter, ;; and (funcall (function foo)) will lose with autoloads. (defun byte-compile-function-form (form) - (byte-compile-constant - (cond ((symbolp (nth 1 form)) - (nth 1 form)) - ((byte-compile-lambda (nth 1 form)))))) + (if (symbolp (nth 1 form)) + (byte-compile-constant (nth 1 form)) + (byte-compile-closure (nth 1 form)))) (defun byte-compile-indent-to (form) (let ((len (length form))) @@ -3339,7 +3617,7 @@ If it is nil, then the handler is \"byte-compile-SYMBOL.\"" (byte-compile-form (car (cdr bytecomp-args))) (or for-effect (cdr (cdr bytecomp-args)) (byte-compile-out 'byte-dup 0)) - (byte-compile-variable-ref 'byte-varset (car bytecomp-args)) + (byte-compile-variable-set (car bytecomp-args)) (setq bytecomp-args (cdr (cdr bytecomp-args)))) ;; (setq), with no arguments. (byte-compile-form nil for-effect)) @@ -3405,16 +3683,6 @@ If it is nil, then the handler is \"byte-compile-SYMBOL.\"" (byte-defop-compiler-1 or) (byte-defop-compiler-1 while) (byte-defop-compiler-1 funcall) -(byte-defop-compiler-1 apply byte-compile-funarg) -(byte-defop-compiler-1 mapcar byte-compile-funarg) -(byte-defop-compiler-1 mapatoms byte-compile-funarg) -(byte-defop-compiler-1 mapconcat byte-compile-funarg) -(byte-defop-compiler-1 mapc byte-compile-funarg) -(byte-defop-compiler-1 maphash byte-compile-funarg) -(byte-defop-compiler-1 map-char-table byte-compile-funarg) -(byte-defop-compiler-1 map-char-table byte-compile-funarg-2) -;; map-charset-chars should be funarg but has optional third arg -(byte-defop-compiler-1 sort byte-compile-funarg-2) (byte-defop-compiler-1 let) (byte-defop-compiler-1 let*) @@ -3596,7 +3864,14 @@ that suppresses all warnings during execution of BODY." (defun byte-compile-while (form) (let ((endtag (byte-compile-make-tag)) - (looptag (byte-compile-make-tag))) + (looptag (byte-compile-make-tag)) + ;; Heap environments can't be shared between a loop and its + ;; enclosing environment (because any lexical variables bound + ;; inside the loop should have an independent value for each + ;; iteration). Setting `byte-compile-current-num-closures' to + ;; an invalid value causes the code that tries to merge + ;; environments to not do so. + (byte-compile-current-num-closures -1)) (byte-compile-out-tag looptag) (byte-compile-form (car (cdr form))) (byte-compile-goto-if nil for-effect endtag) @@ -3609,34 +3884,116 @@ that suppresses all warnings during execution of BODY." (mapc 'byte-compile-form (cdr form)) (byte-compile-out 'byte-call (length (cdr (cdr form))))) + +;; let binding + +;; All other lexical-binding functions are guarded by a non-nil return +;; value from `byte-compile-compute-lforminfo', so they needn't be +;; autoloaded. +(autoload 'byte-compile-compute-lforminfo "byte-lexbind") + +(defun byte-compile-push-binding-init (clause init-lexenv lforminfo) + "Emit byte-codes to push the initialization value for CLAUSE on the stack. +INIT-LEXENV is the lexical environment created for initializations +already done for this form. +LFORMINFO should be information about lexical variables being bound. +Return INIT-LEXENV updated to include the newest initialization, or nil +if LFORMINFO is nil (meaning all bindings are dynamic)." + (let* ((var (if (consp clause) (car clause) clause)) + (vinfo + (and lforminfo (assq var (byte-compile-lforminfo-vars lforminfo)))) + (unused (and vinfo (zerop (cadr vinfo))))) + (unless (and unused (symbolp clause)) + (when (and lforminfo (not unused)) + ;; We record the stack position even of dynamic bindings and + ;; variables in non-stack lexical environments; we'll put + ;; them in the proper place below. + (push (byte-compile-make-lexvar var byte-compile-depth) init-lexenv)) + (if (consp clause) + (byte-compile-form (cadr clause) unused) + (byte-compile-push-constant nil)))) + init-lexenv) (defun byte-compile-let (form) - ;; First compute the binding values in the old scope. - (let ((varlist (car (cdr form)))) - (dolist (var varlist) - (if (consp var) - (byte-compile-form (car (cdr var))) - (byte-compile-push-constant nil)))) - (let ((byte-compile-bound-variables byte-compile-bound-variables) ;new scope - (varlist (reverse (car (cdr form))))) - (dolist (var varlist) - (byte-compile-variable-ref 'byte-varbind - (if (consp var) (car var) var))) - (byte-compile-body-do-effect (cdr (cdr form))) - (byte-compile-out 'byte-unbind (length (car (cdr form)))))) + "Generate code for the `let' form FORM." + (let ((clauses (cadr form)) + (lforminfo (and lexical-binding (byte-compile-compute-lforminfo form))) + (init-lexenv nil) + ;; bind these to restrict the scope of any changes + (byte-compile-current-heap-environment + byte-compile-current-heap-environment) + (byte-compile-current-num-closures byte-compile-current-num-closures)) + (when (and lforminfo (byte-compile-non-stack-bindings-p clauses lforminfo)) + ;; Some of the variables we're binding are lexical variables on + ;; the stack, but not all. As much as we can, rearrange the list + ;; so that non-stack lexical variables and dynamically bound + ;; variables come last, which allows slightly more optimal + ;; byte-code for binding them. + (setq clauses (byte-compile-rearrange-let-clauses clauses lforminfo))) + ;; If necessary, create a new heap environment to hold some of the + ;; variables bound here. + (when lforminfo + (setq init-lexenv (byte-compile-maybe-push-heap-environment lforminfo))) + ;; First compute the binding values in the old scope. + (dolist (clause clauses) + (setq init-lexenv + (byte-compile-push-binding-init clause init-lexenv lforminfo))) + ;; Now do the bindings, execute the body, and undo the bindings + (let ((byte-compile-bound-variables byte-compile-bound-variables) + (byte-compile-lexical-environment byte-compile-lexical-environment) + (preserve-body-value (not for-effect))) + (dolist (clause (reverse clauses)) + (let ((var (if (consp clause) (car clause) clause))) + (cond ((null lforminfo) + ;; If there are no lexical bindings, we can do things simply. + (byte-compile-dynamic-variable-bind var)) + ((byte-compile-bind var init-lexenv lforminfo) + (pop init-lexenv))))) + ;; Emit the body + (byte-compile-body-do-effect (cdr (cdr form))) + ;; Unbind the variables + (if lforminfo + ;; Unbind both lexical and dynamic variables + (byte-compile-unbind clauses init-lexenv lforminfo preserve-body-value) + ;; Unbind dynamic variables + (byte-compile-out 'byte-unbind (length clauses)))))) (defun byte-compile-let* (form) - (let ((byte-compile-bound-variables byte-compile-bound-variables) ;new scope - (varlist (copy-sequence (car (cdr form))))) - (dolist (var varlist) - (if (atom var) - (byte-compile-push-constant nil) - (byte-compile-form (car (cdr var))) - (setq var (car var))) - (byte-compile-variable-ref 'byte-varbind var)) + "Generate code for the `let*' form FORM." + (let ((clauses (cadr form)) + (lforminfo (and lexical-binding (byte-compile-compute-lforminfo form))) + (init-lexenv nil) + (preserve-body-value (not for-effect)) + ;; bind these to restrict the scope of any changes + (byte-compile-bound-variables byte-compile-bound-variables) + (byte-compile-lexical-environment byte-compile-lexical-environment) + (byte-compile-current-heap-environment + byte-compile-current-heap-environment) + (byte-compile-current-num-closures byte-compile-current-num-closures)) + ;; If necessary, create a new heap environment to hold some of the + ;; variables bound here. + (when lforminfo + (setq init-lexenv (byte-compile-maybe-push-heap-environment lforminfo))) + ;; Bind the variables + (dolist (clause clauses) + (setq init-lexenv + (byte-compile-push-binding-init clause init-lexenv lforminfo)) + (let ((var (if (consp clause) (car clause) clause))) + (cond ((null lforminfo) + ;; If there are no lexical bindings, we can do things simply. + (byte-compile-dynamic-variable-bind var)) + ((byte-compile-bind var init-lexenv lforminfo) + (pop init-lexenv))))) + ;; Emit the body (byte-compile-body-do-effect (cdr (cdr form))) - (byte-compile-out 'byte-unbind (length (car (cdr form)))))) + ;; Unbind the variables + (if lforminfo + ;; Unbind both lexical and dynamic variables + (byte-compile-unbind clauses init-lexenv lforminfo preserve-body-value) + ;; Unbind dynamic variables + (byte-compile-out 'byte-unbind (length clauses))))) + (byte-defop-compiler-1 /= byte-compile-negated) (byte-defop-compiler-1 atom byte-compile-negated) @@ -3659,6 +4016,7 @@ that suppresses all warnings during execution of BODY." "Compiler error: `%s' has no `byte-compile-negated-op' property" (car form))) (cdr form)))) + ;;; other tricky macro-like special-forms @@ -3779,28 +4137,28 @@ that suppresses all warnings during execution of BODY." (byte-compile-set-symbol-position (car form)) (byte-compile-set-symbol-position 'defun) (error "defun name must be a symbol, not %s" (car form))) - ;; We prefer to generate a defalias form so it will record the function - ;; definition just like interpreting a defun. - (byte-compile-form - (list 'defalias - (list 'quote (nth 1 form)) - (byte-compile-byte-code-maker - (byte-compile-lambda (cdr (cdr form)) t))) - t) - (byte-compile-constant (nth 1 form))) + (let ((for-effect nil)) + (byte-compile-push-constant 'defalias) + (byte-compile-push-constant (nth 1 form)) + (byte-compile-closure (cdr (cdr form)) t)) + (byte-compile-out 'byte-call 2)) (defun byte-compile-defmacro (form) ;; This is not used for file-level defmacros with doc strings. - (byte-compile-body-do-effect - (let ((decls (byte-compile-defmacro-declaration form)) - (code (byte-compile-byte-code-maker - (byte-compile-lambda (cdr (cdr form)) t)))) - `((defalias ',(nth 1 form) - ,(if (eq (car-safe code) 'make-byte-code) - `(cons 'macro ,code) - `'(macro . ,(eval code)))) - ,@decls - ',(nth 1 form))))) + ;; FIXME handle decls, use defalias? + (let ((decls (byte-compile-defmacro-declaration form)) + (code (byte-compile-lambda (cdr (cdr form)) t)) + (for-effect nil)) + (byte-compile-push-constant (nth 1 form)) + (if (not (byte-compile-closure-code-p code)) + ;; simple lambda + (byte-compile-push-constant (cons 'macro code)) + (byte-compile-push-constant 'macro) + (byte-compile-make-closure code) + (byte-compile-out 'byte-cons)) + (byte-compile-out 'byte-fset) + (byte-compile-discard)) + (byte-compile-constant (nth 1 form))) (defun byte-compile-defvar (form) ;; This is not used for file-level defvar/consts with doc strings. @@ -3826,7 +4184,7 @@ that suppresses all warnings during execution of BODY." ;; Put the defined variable in this library's load-history entry ;; just as a real defvar would, but only in top-level forms. (when (and (cddr form) (null byte-compile-current-form)) - `(push ',var current-load-list)) + `(setq current-load-list (cons ',var current-load-list))) (when (> (length form) 3) (when (and string (not (stringp string))) (byte-compile-warn "third arg to `%s %s' is not a string: %s" @@ -3948,23 +4306,74 @@ that suppresses all warnings during execution of BODY." (setq byte-compile-depth (and (not (eq opcode 'byte-goto)) (1- byte-compile-depth)))) -(defun byte-compile-out (opcode offset) - (push (cons opcode offset) byte-compile-output) - (cond ((eq opcode 'byte-call) - (setq byte-compile-depth (- byte-compile-depth offset))) - ((eq opcode 'byte-return) - ;; This is actually an unnecessary case, because there should be - ;; no more opcodes behind byte-return. - (setq byte-compile-depth nil)) - (t - (setq byte-compile-depth (+ byte-compile-depth - (or (aref byte-stack+-info - (symbol-value opcode)) - (- (1- offset)))) - byte-compile-maxdepth (max byte-compile-depth - byte-compile-maxdepth)))) - ;;(if (< byte-compile-depth 0) (error "Compiler error: stack underflow")) - ) +(defun byte-compile-stack-adjustment (op operand) + "Return the amount by which an operation adjusts the stack. +OP and OPERAND are as passed to `byte-compile-out'." + (if (memq op '(byte-call byte-discardN byte-discardN-preserve-tos)) + ;; For calls, OPERAND is the number of args, so we pop OPERAND + 1 + ;; elements, and the push the result, for a total of -OPERAND. + ;; For discardN*, of course, we just pop OPERAND elements. + (- operand) + (or (aref byte-stack+-info (symbol-value op)) + ;; Ops with a nil entry in `byte-stack+-info' are byte-codes + ;; that take OPERAND values off the stack and push a result, for + ;; a total of 1 - OPERAND + (- 1 operand)))) + +(defun byte-compile-out (op &optional operand) + (push (cons op operand) byte-compile-output) + (if (eq op 'byte-return) + ;; This is actually an unnecessary case, because there should be no + ;; more ops behind byte-return. + (setq byte-compile-depth nil) + (setq byte-compile-depth + (+ byte-compile-depth (byte-compile-stack-adjustment op operand))) + (setq byte-compile-maxdepth (max byte-compile-depth byte-compile-maxdepth)) + ;;(if (< byte-compile-depth 0) (error "Compiler error: stack underflow")) + )) + +(defun byte-compile-delay-out (&optional stack-used stack-adjust) + "Add a placeholder to the output, which can be used to later add byte-codes. +Return a position tag that can be passed to `byte-compile-delayed-out' +to add the delayed byte-codes. STACK-USED is the maximum amount of +stack-spaced used by the delayed byte-codes (defaulting to 0), and +STACK-ADJUST is the amount by which the later-added code will adjust the +stack (defaulting to 0); the byte-codes added later _must_ adjust the +stack by this amount! If STACK-ADJUST is 0, then it's not necessary to +actually add anything later; the effect as if nothing was added at all." + ;; We just add a no-op to `byte-compile-output', and return a pointer to + ;; the tail of the list; `byte-compile-delayed-out' uses list surgery + ;; to add the byte-codes. + (when stack-used + (setq byte-compile-maxdepth + (max byte-compile-depth (+ byte-compile-depth (or stack-used 0))))) + (when stack-adjust + (setq byte-compile-depth + (+ byte-compile-depth stack-adjust))) + (push (cons nil (or stack-adjust 0)) byte-compile-output)) + +(defun byte-compile-delayed-out (position op &optional operand) + "Add at POSITION the byte-operation OP, with optional numeric arg OPERAND. +POSITION should a position returned by `byte-compile-delay-out'. +Return a new position, which can be used to add further operations." + (unless (null (caar position)) + (error "Bad POSITION arg to `byte-compile-delayed-out'")) + ;; This is kind of like `byte-compile-out', but we splice into the list + ;; where POSITION is. We don't bother updating `byte-compile-maxdepth' + ;; because that was already done by `byte-compile-delay-out', but we do + ;; update the relative operand stored in the no-op marker currently at + ;; POSITION; since we insert before that marker, this means that if the + ;; caller doesn't insert a sequence of byte-codes that matches the expected + ;; operand passed to `byte-compile-delay-out', then the nop will still have + ;; a non-zero operand when `byte-compile-lapcode' is called, which will + ;; cause an error to be signaled. + + ;; Adjust the cumulative stack-adjustment stored in the cdr of the no-op + (setcdr (car position) + (- (cdar position) (byte-compile-stack-adjustment op operand))) + ;; Add the new operation onto the list tail at POSITION + (setcdr position (cons (cons op operand) (cdr position))) + position) ;;; call tree stuff diff --git a/lisp/emacs-lisp/disass.el b/lisp/emacs-lisp/disass.el index 9899e991e3..18aa5fde0c 100644 --- a/lisp/emacs-lisp/disass.el +++ b/lisp/emacs-lisp/disass.el @@ -73,19 +73,22 @@ redefine OBJECT if it is a symbol." (let ((macro 'nil) (name 'nil) (doc 'nil) + (lexical-binding nil) args) (while (symbolp obj) (setq name obj obj (symbol-function obj))) (if (subrp obj) (error "Can't disassemble #<subr %s>" name)) - (if (and (listp obj) (eq (car obj) 'autoload)) - (progn - (load (nth 1 obj)) - (setq obj (symbol-function name)))) + (when (and (listp obj) (eq (car obj) 'autoload)) + (load (nth 1 obj)) + (setq obj (symbol-function name))) (if (eq (car-safe obj) 'macro) ;handle macros (setq macro t obj (cdr obj))) + (when (and (listp obj) (eq (car obj) 'closure)) + (setq lexical-binding t) + (setq obj (cddr obj))) (if (and (listp obj) (eq (car obj) 'byte-code)) (setq obj (list 'lambda nil obj))) (if (and (listp obj) (not (eq (car obj) 'lambda))) @@ -216,7 +219,9 @@ OBJ should be a call to BYTE-CODE generated by the byte compiler." (cond ((memq op byte-goto-ops) (insert (int-to-string (nth 1 arg)))) ((memq op '(byte-call byte-unbind - byte-listN byte-concatN byte-insertN)) + byte-listN byte-concatN byte-insertN + byte-stack-ref byte-stack-set byte-stack-set2 + byte-discardN byte-discardN-preserve-tos)) (insert (int-to-string arg))) ((memq op '(byte-varref byte-varset byte-varbind)) (prin1 (car arg) (current-buffer))) diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index e4330e43fc..b4ac0eebf6 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -702,7 +702,15 @@ If CHAR is not a character, return nil." (defun eval-last-sexp-1 (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in minibuffer. With argument, print output into current buffer." - (let ((standard-output (if eval-last-sexp-arg-internal (current-buffer) t))) + (let ((standard-output (if eval-last-sexp-arg-internal (current-buffer) t)) + ;; preserve the current lexical environment + (internal-interpreter-environment internal-interpreter-environment)) + ;; Setup the lexical environment if lexical-binding is enabled. + ;; Note that `internal-interpreter-environment' _can't_ be both + ;; assigned and let-bound above -- it's treated specially (and + ;; oddly) by the interpreter! + (when lexical-binding + (setq internal-interpreter-environment '(t))) (eval-last-sexp-print-value (eval (preceding-sexp))))) diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 4456a49409..af08b66b1e 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -101,6 +101,8 @@ ARGLIST can also be t or a string of the form \"(FUN ARG1 ARG2 ...)\"." (if (and (symbolp def) (fboundp def)) (setq def (indirect-function def))) ;; If definition is a macro, find the function inside it. (if (eq (car-safe def) 'macro) (setq def (cdr def))) + ;; and do the same for interpreted closures + (if (eq (car-safe def) 'closure) (setq def (cddr def))) (cond ((byte-code-function-p def) (aref def 0)) ((eq (car-safe def) 'lambda) (nth 1 def)) @@ -191,7 +193,7 @@ if the variable `help-downcase-arguments' is non-nil." doc t t 1))))) (defun help-highlight-arguments (usage doc &rest args) - (when usage + (when (and usage (string-match "^(" usage)) (with-temp-buffer (insert usage) (goto-char (point-min)) @@ -348,8 +350,7 @@ suitable file is found, return nil." (pt1 (with-current-buffer (help-buffer) (point))) errtype) (setq string - (cond ((or (stringp def) - (vectorp def)) + (cond ((or (stringp def) (vectorp def)) "a keyboard macro") ((subrp def) (if (eq 'unevalled (cdr (subr-arity def))) @@ -357,6 +358,13 @@ suitable file is found, return nil." (concat beg "built-in function"))) ((byte-code-function-p def) (concat beg "compiled Lisp function")) + ((and (funvecp def) (eq (aref def 0) 'curry)) + (if (symbolp (aref def 1)) + (format "a curried function calling `%s'" (aref def 1)) + "a curried function")) + ((funvecp def) + (format "a function-vector (funvec) of type `%s'" + (aref def 0))) ((symbolp def) (while (and (fboundp def) (symbolp (symbol-function def))) @@ -368,6 +376,8 @@ suitable file is found, return nil." (concat beg "Lisp function")) ((eq (car-safe def) 'macro) "a Lisp macro") + ((eq (car-safe def) 'closure) + (concat beg "Lisp closure")) ((eq (car-safe def) 'autoload) (format "%s autoloaded %s" (if (commandp def) "an interactive" "an") @@ -495,27 +505,42 @@ suitable file is found, return nil." ((or (stringp def) (vectorp def)) (format "\nMacro: %s" (format-kbd-macro def))) + ((and (funvecp def) (eq (aref def 0) 'curry)) + ;; Describe a curried-function's function and args + (let ((slot 0)) + (mapconcat (lambda (arg) + (setq slot (1+ slot)) + (cond + ((= slot 1) "") + ((= slot 2) + (format " Function: %S" arg)) + (t + (format "Argument %d: %S" + (- slot 3) arg)))) + def + "\n"))) + ((funvecp def) nil) (t "[Missing arglist. Please make a bug report.]"))) (high (help-highlight-arguments use doc))) (let ((fill-begin (point))) (insert (car high) "\n") - (fill-region fill-begin (point))) - (setq doc (cdr high)))) - (let* ((obsolete (and - ;; function might be a lambda construct. - (symbolp function) - (get function 'byte-obsolete-info))) - (use (car obsolete))) - (when obsolete - (princ "\nThis function is obsolete") - (when (nth 2 obsolete) - (insert (format " since %s" (nth 2 obsolete)))) - (insert (cond ((stringp use) (concat ";\n" use)) - (use (format ";\nuse `%s' instead." use)) - (t ".")) - "\n")) - (insert "\n" - (or doc "Not documented.")))))))) + (fill-region fill-begin (point)))) + (setq doc (cdr high)))) + (let* ((obsolete (and + ;; function might be a lambda construct. + (symbolp function) + (get function 'byte-obsolete-info))) + (use (car obsolete))) + (when obsolete + (princ "\nThis function is obsolete") + (when (nth 2 obsolete) + (insert (format " since %s" (nth 2 obsolete)))) + (insert (cond ((stringp use) (concat ";\n" use)) + (use (format ";\nuse `%s' instead." use)) + (t ".")) + "\n")) + (insert "\n" + (or doc "Not documented."))))))) ;; Variables diff --git a/lisp/subr.el b/lisp/subr.el index f2c12a736c..c30b42aba8 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -429,6 +429,12 @@ Non-strings in LIST are ignored." (setq list (cdr list))) list) +(defmacro with-lexical-binding (&rest body) + "Execute the statements in BODY using lexical binding." + `(let ((internal-interpreter-environment internal-interpreter-environment)) + (setq internal-interpreter-environment '(t)) + ,@body)) + (defun assq-delete-all (key alist) "Delete from ALIST all elements whose car is `eq' to KEY. Return the modified alist. |