X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/6a43ef8e8508df7d732e639ec75f657f4363e27a..fce3fdeb947e51656675129592c8514be32b46bf:/lisp/ChangeLog diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ab8572b7f9..ad25d537f2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,446 @@ +2012-01-31 Chong Yidong + + * frame.el (set-frame-font): New arg ALL-FRAMES. + + * menu-bar.el (menu-set-font): Use set-frame-font. + + * faces.el (face-spec-reset-face): Don't apply unspecified + attribute values to the default face. + +2012-01-31 Juanma Barranquero + + * progmodes/cwarn.el (cwarn): Remove dead link. + (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook): + Remove * from defcustom docstrings. + (turn-on-cwarn-mode): Make obsolete. + (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older. + (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'. + +2012-01-31 Glenn Morris + + * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. + Fix :variable handling of mode a symbol not equal to modefun. + Allow named functions to be used as the cdr of :variable. + +2012-01-30 Glenn Morris + + * emacs-lisp/authors.el (authors-fixed-entries): + Remove reference to deleted file rnewspost.el. + +2012-01-29 Juanma Barranquero + + * window.el (window-with-parameter): Remove unused variable `windows'. + (window--side-check): Remove unused variable `code'. + (window--resize-siblings): Remove unused variable `first'. + (adjust-window-trailing-edge): Remove unused variable `failed'. + (window-deletable-p, window--delete): Remove unused variable `buffer'. + Use `let', not `let*'. + (balance-windows-2): Remove unused variable `found'. + (window--state-put-2): Remove unused variable `splits'. + (window-state-put): Remove unused variable `selected'. + (same-window-p): Use `string-match-p'. + (display-buffer-assq-regexp): Remove unused variable `value'. + (display-buffer-pop-up-frame, display-buffer-pop-up-window): + Mark argument ALIST as ignored. + (pop-to-buffer): Remove unused variable `old-window'. + +2012-01-29 Eli Zaretskii + + * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz + and .lzma compressed files. + +2012-01-29 Chong Yidong + + * frame.el (window-system-default-frame-alist): Doc fix. + + * dynamic-setting.el (font-setting-change-default-font): Don't + change the default face if SET-FONT argument is non-nil (Bug#9982). + +2012-01-29 Samuel Bronson (tiny change) + + * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635). + +2012-01-29 Syver Enstad (tiny change) + + * progmodes/gud.el (pdb): Give pdb full paths, to allow setting + breakpoints in files outside current directory (Bug#6098). + +2012-01-29 Chong Yidong + + * progmodes/python.el: Require ansi-color at top-level. + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table): Define + and use in Emacs Lisp mode (Bug#9360). + (lisp-mode-abbrev-table): Add doc. + (lisp-mode-variables): Don't set local-abbrev-table. + (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table. + +2012-01-28 Roland Winkler + + * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring. + +2012-01-28 Roland Winkler + + * textmodes/bibtex.el (bibtex-entry-alist): New function. + (bibtex-set-dialect): Use it. Either set global values of + dialect-dependent variables or bind these variables buffer-locally + (Bug#10254). + (bibtex-mode): Call bibtex-set-dialect via + hack-local-variables-hook. + (bibtex-dialect): Update docstring. Add + safe-local-variable predicate. + (bibtex-entry-alist, bibtex-field-alist): Initialize via + bibtex-set-dialect. + (bibtex-mode-map): Define menu for each dialect. + (bibtex-entry): Fix docstring. + +2012-01-28 Chong Yidong + + * eshell/esh-arg.el (eshell-quote-argument): New function. + + * eshell/esh-ext.el (eshell-invoke-batch-file): + * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the + first arg to eshell-parse-command (Bug#10523). + +2012-01-28 Drew Adams + + * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that + `default-directory' is non-nil. + +2012-01-28 Eli Zaretskii + + * mail/emacsbug.el (report-emacs-bug): Fill the potentially long + line that displays system-configuration-options. (Bug#9924) + +2012-01-28 Drew Adams + + * descr-text.el (describe-char): Show information about POS, in + addition to information about the character at POS. Improve and + update the doc string. Change "code point" to "code point in + charset", to avoid confusion with the character's Unicode code + point shown above that. (Bug#10129) + +2012-01-28 Eli Zaretskii + + * descr-text.el (describe-char): Show the raw character, not only + its display form at POS. Suggested by Kenichi Handa . + See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html + for the reasons. + +2012-01-28 Phil Hagelberg + + * emacs-lisp/package.el (package-install): Run + package-refresh-contents if there is no archive yet (Bug#9798). + +2012-01-28 Chong Yidong + + * emacs-lisp/package.el (package-maybe-load-descriptor): + New function, split from package-maybe-load-descriptor. + (package-maybe-load-descriptor): Use it. + (package-download-transaction): Fully load required packages + inside the loop, so that `require' calls work (Bug#10593). + (package-install): No need to call package-initialize now. + +2012-01-28 Chong Yidong + + * simple.el (deactivate-mark): Doc fix (Bug#8614). + + * tooltip.el (tooltip-mode): Doc fix. + (tooltip-use-echo-area): Mark as obsolete (Bug#6595). + + * frame.el (set-cursor-color): Doc fix (Bug#352). + + * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625). + (rmail-mail-return): Switch to NEWBUF only if it is non-nil. + + * cus-edit.el (custom-buffer-create-internal): Fix search button + action (Bug#10542). + (customize-unsaved, customize-saved): Doc fix (Bug#10541). + +2012-01-27 Eduard Wiebe + + * dired.el (dired-mark-files-regexp): + Include any subdirectory components. (Bug#10445) + +2012-01-27 Mike Lamb (tiny change) + + * pcmpl-unix.el (pcmpl-ssh-known-hosts): + Handle [host]:port syntax. (Bug#10533) + +2012-01-27 Alex Harsanyi + + * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405). + +2012-01-26 Glenn Morris + + * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map. + * term.el (term-raw-escape-map): Use Control-X-prefix. + * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566) + +2012-01-25 Martin Rudalics + + * window.el (window-state-get, window--state-get-1): Don't deal + with fixed-sizeness of windows. Simplify code. + +2012-01-25 Jérémy Compostella + + * window.el (window--state-get-1, window--state-put-2): Don't + save and restore the mark. + +2012-01-25 Chong Yidong + + * custom.el (custom-variable-p): Doc fix. + +2012-01-25 Glenn Morris + + * dired.el (dired-goto-file): Handle some of the more common + characters that `ls -b' escapes. (Bug#10596) + + * progmodes/compile.el (compilation-next-error-function): + Respect compilation-first-column in the "*compilation*" buffer. + * progmodes/grep.el (grep-first-column): New variable. (Bug#10594) + + * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513) + +2012-01-24 Glenn Morris + + * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457) + +2012-01-24 Julien Danjou + + * color.el (color-rgb-to-hsl): Fix value computing. + (color-hue-to-rgb): New function. + (color-hsl-to-rgb): New function. + (color-clamp, color-saturate-hsl, color-saturate-name) + (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl) + (color-lighten-name, color-darken-hsl, color-darken-name): New function. + +2012-01-24 Glenn Morris + + * vc/vc-rcs.el (vc-rcs-create-tag): + * vc/vc-sccs.el (vc-sccs-create-tag): + Fix argument spec to be what vc-create-tag expects. (Bug#10515) + +2012-01-23 Mike Lamb (tiny change) + + * eshell/esh-util.el (eshell-read-hosts-file): + Skip comment lines. (Bug#10549) + + * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548) + +2012-01-23 Juanma Barranquero + + * subr.el (display-delayed-warnings): Doc fix. + (collapse-delayed-warnings): New function to collapse identical + adjacent warnings. + (delayed-warnings-hook): Add it. + +2012-01-22 Michael Albinus + + * net/tramp.el (tramp-action-login): Set connection property "login-as". + + * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump + properties, when "login-as" is set. + + * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp". + (tramp-default-user-alist): Don't add "pscp". + (tramp-do-copy-or-rename-file-out-of-band): Use connection + property "login-as", if set. (Bug#10530) + +2012-01-21 Michael Albinus + + * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink", + "plink1" and "psftp". (Bug#10530) + +2012-01-21 Kenichi Handa + + * international/mule-cmds.el (prefer-coding-system): Show a + warning message if the default value of file-name-coding-system + was not changed. + +2012-01-21 Jérémy Compostella + + * windmove.el (windmove-reference-loc): + Fix windmove-reference-loc miscalculation. + +2012-01-21 Jay Belanger + + * calc/calc-units.el (math-put-default-units): Don't use "1" as a + default unit. + +2012-01-21 Glenn Morris + + * international/mule.el (auto-coding-alist): Add .tbz. + + * files.el (local-enable-local-variables): Doc fix. + (inhibit-local-variables-regexps): Rename from + inhibit-first-line-modes-regexps. Keep old name as obsolete alias. + Doc fix. Add some extensions from auto-coding-alist. + (inhibit-local-variables-suffixes): + Rename from inhibit-first-line-modes-suffixes. Doc fix. + (inhibit-local-variables-p): + New function, extracted from set-auto-mode-1. + (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps. + (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p. + (hack-local-variables): Doc fix. Make the mode-only case + respect enable-local-variables and friends. + Respect inhibit-local-variables-regexps for file-locals, but + not for directory-locals. + (set-visited-file-name): + Take account of inhibit-local-variables-regexps. + Whether it applies may change as the file name is changed. + * jka-cmpr-hook.el (jka-compr-install): + * jka-compr.el (jka-compr-uninstall): + Update for inhibit-first-line-modes-suffixes name change. + +2012-01-20 Martin Rudalics + + * help-macro.el (make-help-screen): Temporarily restore original + binding for minor-mode-map-alist (Bug#10454). + +2012-01-19 Julien Danjou + + * color.el (color-name-to-rgb): Use the white color to find the max + color component value and return correctly computed values. + (color-name-to-rgb): Add missing float conversion for max value. + +2012-01-19 Martin Rudalics + + * window.el (window--state-get-1, window-state-get): Do not use + special state value for window-persistent-parameters. Rename + argument IGNORE to WRITABLE. Rewrite doc-string. + (window--state-put-2): Reset all window parameters to nil before + assigning values of persistent parameters. + +2012-01-18 Alan Mackenzie + + Eliminate sluggishness and hangs in fontification of "semicolon + deserts". + + * progmodes/cc-engine.el (c-state-nonlit-pos-interval): + Change value 10000 -> 3000. + (c-state-safe-place): Reformulate so it doesn't stack up an + infinite number of wrong entries in c-state-nonlit-pos-cache. + (c-determine-limit-get-base, c-determine-limit): New functions to + determine backward search limits disregarding literals. + (c-find-decl-spots): Amend commenting. + (c-cheap-inside-bracelist-p): New function which detects "={". + + * progmodes/cc-fonts.el + (c-make-font-lock-BO-decl-search-function): Give a limit to a + backward search. + (c-font-lock-declarations): Fix an occurrence of point being + undefined. Check additionally for point being in a bracelist or + near a macro invocation without a semicolon so as to avoid a + fruitless time consuming search for a declarator. Give a more + precise search limit for declarators using the new + c-determine-limit. + +2012-01-18 Glenn Morris + + * files.el (auto-mode-alist, inhibit-first-line-modes-regexps) + (set-auto-mode): Doc fixes. + +2012-01-17 Glenn Morris + + * isearch.el (search-nonincremental-instead): Fix doc typo. + + * dired.el (dired-insert-directory): Handle newlines in directory name. + (dired-build-subdir-alist): Unescape newlines in directory name. + +2012-01-17 Michael Albinus + + * net/tramp.el (tramp-local-end-of-line): New defcustom. + (tramp-action-login, tramp-action-yesno, tramp-action-yn) + (tramp-action-terminal): Use it. (Bug#10530) + +2012-01-16 Stefan Monnier + + * minibuffer.el (completion--replace): Strip properties (bug#10062). + +2012-01-16 Martin Rudalics + + * window.el (window-state-ignored-parameters): Remove variable. + (window--state-get-1): Rename argument MARKERS to IGNORE. + Handle persistent window parameters. Make copy of clone-of + parameter only if requested. (Bug#10348) + (window--state-put-2): Install a window parameter only if it has + a non-nil value or an existing parameter shall be overwritten. + +2012-01-15 Michael Albinus + + * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie. + +2012-01-14 Eli Zaretskii + + * info.el (Info-toc-build): If the Info file has no "Up" pointer, + don't pass the (nil) value of `upnode' to string-match. + +2012-01-14 Chong Yidong + + * startup.el (command-line): Fix X resource class for cursorColor. + Fix values recognized by the cursorBlink resource. + +2012-01-14 Paul Eggert + + * epg.el (epg--make-temp-file): Avoid permission race condition + when running on old Emacs versions (bug#10403). + +2012-01-14 Glenn Morris + + * dired.el (dired-get-filename): Fix 'verbatim case of previous change. + +2012-01-13 Alan Mackenzie + + Fix filling for when filladapt mode is enabled. + + * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of + c-mask-paragraph, pass in `fill-paragraph' rather than + `fill-region-as-paragraph'. (This is a reversion of a previous + change.) + * progmodes/cc-mode.el (c-basic-common-init): Make + fill-paragraph-handle-comment buffer local and set it to nil. + +2012-01-13 Glenn Morris + + * dired.el (dired-switches-escape-p): New function. + (dired-insert-directory): Use dired-switches-escape-p. + (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469) + + * find-dired.el (find-ls-option): Doc fix. (Bug#10262) + +2012-01-12 Glenn Morris + + * mail/sendmail.el (mail-mode): Update paragraph-separate for + changes in adaptive-fill-regexp. (Bug#10276) + +2012-01-11 Alan Mackenzie + + Fix Emacs bug #10463 - put `widen's around the critical spots. + + * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a + widen around each invocation of c-state-pp-to-literal. Remove an + unused let variable. + +2012-01-11 Glenn Morris + + * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561) + Doc fix. + +2012-01-10 Chong Yidong + + * net/network-stream.el (network-stream-open-starttls): + Avoid emitting a confusing error message when the server gives a bad + response to the capability command. + +2012-01-10 Glenn Morris + + * mail/unrmail.el (unrmail): Tweak previous change. + +2012-01-09 Chong Yidong + + * custom.el (custom-safe-themes): Use SHA-256 for hashing. + 2012-01-08 Alan Mackenzie Optimise font locking in long enum definitions. @@ -23,7 +466,7 @@ * ibuffer.el (ibuffer-mode): List the bindings in the corrent map (bug#9759). - * mail/smtpmail.el (password-cache-add): Removed unused declaration. + * mail/smtpmail.el (password-cache-add): Remove unused declaration. (password-read): Don't autoload unused function. 2012-01-07 Juanma Barranquero @@ -80,8 +523,8 @@ * custom.el (enable-theme): Don't set custom-safe-themes. - * cus-theme.el (custom-theme-merge-theme): Ignore - custom-enabled-themes and custom-safe-themes. + * cus-theme.el (custom-theme-merge-theme): + Ignore custom-enabled-themes and custom-safe-themes. 2012-01-05 Michael R. Mauger @@ -104,8 +547,8 @@ 2012-01-03 Chong Yidong - * shell.el (shell-dynamic-complete-functions): Put - pcomplete-completions-at-point, so as to try + * shell.el (shell-dynamic-complete-functions): + Put pcomplete-completions-at-point, so as to try comint-filename-completion first (Bug#10417). 2012-01-02 Richard Stallman @@ -130,8 +573,8 @@ 2012-01-01 Eli Zaretskii - * term/w32-win.el (dynamic-library-alist) : Load - libgnutls-28.dll, from GnuTLS version 3.x, in preference to + * term/w32-win.el (dynamic-library-alist) : + Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to libgnutls-26.dll. 2011-12-31 Andreas Schwab @@ -183,11 +626,10 @@ 2011-12-24 Alan Mackenzie Introduce a mechanism to widen the region used in context font - locking. Use this to protect declarations from losing their - contexts. + locking. Use this to protect declarations from losing their contexts. - * progmodes/cc-langs.el (c-before-font-lock-functions): Replace - c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming). + * progmodes/cc-langs.el (c-before-font-lock-functions): + Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming). (c-before-context-fontification-functions): New defvar, a list of functions to be run just before context (etc.) font locking. @@ -339,22 +781,19 @@ * progmodes/cc-langs (c-label-kwds): Let AWK take the same expression as the rest. - (c-nonlabel-token-key): Allow string literals for AWK. Refactor - for the other modes. + (c-nonlabel-token-key): Allow string literals for AWK. + Refactor for the other modes. Large brace-block initialisation makes CC Mode slow: Fix. - Tidy up and accelerate c-in-literal, etc. by using the - c-parse-state + Tidy up and accelerate c-in-literal, etc. by using the c-parse-state routines. Limit backward searching in c-font-lock-enclosing.decl. * progmodes/cc-engine.el (c-state-pp-to-literal): Return the pp-state and literal type in addition to the limits. - (c-state-safe-place): New defun, extracted from - c-state-literal-at. + (c-state-safe-place): New defun, extracted from c-state-literal-at. (c-state-literal-at): Use the above new defun. - (c-slow-in-literal, c-fast-in-literal): Removed. - (c-in-literal, c-literal-limits): Amended to use - c-state-pp-to-literal. + (c-slow-in-literal, c-fast-in-literal): Remove. + (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal. * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for being in a literal. Add a limit for backward searching. @@ -428,8 +867,8 @@ 2011-12-10 Eli Zaretskii * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the - `from' or `to' address before taking its substring. Fixes - incorrect display in Rmail summary buffer whereby an RFC2047 + `from' or `to' address before taking its substring. + Fixes incorrect display in Rmail summary buffer whereby an RFC2047 encoded name is chopped in the middle of the encoded string, and thus displayed encoded. @@ -648,8 +1087,8 @@ (verilog-uvm-statement-re): Support UVM indentation and highlighting, with old OVM keywords only. (verilog-auto-tieoff, verilog-auto-tieoff-declaration): - Support AUTOTIEOFF creating non-wire data types. Suggested by Jonathan - Greenlaw. + Support AUTOTIEOFF creating non-wire data types. + Suggested by Jonathan Greenlaw. (verilog-auto-insert-lisp, verilog-delete-to-paren) (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt) (verilog-inject-sense, verilog-read-inst-pins) @@ -735,11 +1174,11 @@ Andrew Drake. (verilog-auto-star-safe, verilog-delete-auto-star-implicit) (verilog-inst-comment-re): Fix not deleting Interfaced comment - when expanding .* in interfaces, bug320. Reported by Pierre-David - Pfister. + when expanding .* in interfaces, bug320. + Reported by Pierre-David Pfister. (verilog-read-module-name): Fix import statements between module - name and open parenthesis, bug317. Reported by Pierre-David - Pfister. + name and open parenthesis, bug317. + Reported by Pierre-David Pfister. (verilog-simplify-range-expression): Fix simplification of multiplications inside AUTOWIRE connections, bug303. (verilog-auto-inst-port): Support parameter expansion in @@ -993,8 +1432,7 @@ 2011-11-19 Andreas Schwab - * progmodes/sh-script.el (sh-assignment-regexp): Add entry for - bash. + * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash. 2011-11-19 Juri Linkov @@ -1119,8 +1557,7 @@ * window.el (window-resize, delete-window, split-window): Replace window-splits by window-combination-resize. - * cus-start.el (window-splits): Replace by - window-combination-resize. + * cus-start.el (window-splits): Replace by window-combination-resize. 2011-11-17 Glenn Morris @@ -1185,8 +1622,7 @@ * window.el (split-window, window-state-get-1) (window-state-put-1, window-state-put-2): Rename occurrences of window-nest to window-combination-limit. - * cus-start.el (window-nest): Rename to - window-combination-limit. + * cus-start.el (window-nest): Rename to window-combination-limit. 2011-11-16 Chong Yidong @@ -1378,7 +1814,7 @@ (window-list-no-nils): Remove. (window-state-get-1, window-state-get): Use backquote instead. -2011-11-08 thierry +2011-11-08 Thierry Volpiatto * emacs-lisp/find-func.el (find-function-read): Fix incorrect use of default argument in `completing-read'. @@ -4528,7 +4964,7 @@ * printing.el: Add documentation to all the `pr-toggle-' commands. -2011-07-11 Leo (tiny change) +2011-07-11 Leo Liu * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC backends where it makes sense (bug#2623). @@ -7112,7 +7548,7 @@ 2011-05-23 Kevin Ryde * emacs-lisp/advice.el (ad-read-advised-function): - Use `function-called-at-point' as the default default, if it has + Use `function-called-at-point' as the default, if it has advice and passes PREDICATE. 2011-05-23 Stefan Monnier @@ -7938,7 +8374,7 @@ * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags, verify-error, and verify-hostname-error parameters. Check whether default trustfile exists before going to use it. Add missing - argument to gnutls-message-maybe call. Return return value. + argument to gnutls-message-maybe call. Return value. Reported by Claudio Bley . (open-gnutls-stream): Add usage example. @@ -9562,7 +9998,7 @@ * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic units and musical notes. -2011-03-20 Leo +2011-03-20 Leo Liu * ido.el (ido-read-internal): Use completing-read-default. (ido-completing-read): Fix compatibility with completing-read.