X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/1d75432d5c42a7f7c13486c7421f959132179b5b..4d05fe986c0ce9f5c06f9655961e56eb80db7e63:/lisp/ChangeLog diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0fe7ed6706..746809c12c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,459 @@ +2014-05-29 Stefan Monnier + + * whitespace.el: Use font-lock-flush. Minimize refontifications. + Side benefit: it works without jit-lock. + (whitespace-point--used): New buffer-local var. + (whitespace-color-on): Initialize it and flush it. Use font-lock-flush. + (whitespace-color-off): Use font-lock-flush. + (whitespace-point--used, whitespace-point--flush-used): New functions. + (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp) + (whitespace-empty-at-eob-regexp): Use them. + (whitespace-post-command-hook): Rewrite. + + * font-lock.el (font-lock-flush, font-lock-ensure): New functions. + (font-lock-fontify-buffer): Mark interactive-only. + (font-lock-multiline, font-lock-fontified, font-lock-set-defaults): + Make buffer-local. + (font-lock-specified-p): Remove redundant boundp check. + (font-lock-flush-function, font-lock-ensure-function): New vars. + (font-lock-turn-on-thing-lock): Set them. + (font-lock-default-fontify-buffer): Obey font-lock-dont-widen. + (font-lock-after-change-function): Make `old-len' optional. + (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults. + Call font-lock-flush, just in case. + * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in + recent Emacsen. + * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete. + (vera-mode-map, vera-mode-menu): Remove bindings to it. + * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure + and with-syntax-table. + * textmodes/conf-mode.el (conf-quote-normal): + * progmodes/sh-script.el (sh-set-shell): + * progmodes/prog-mode.el (prettify-symbols-mode): + * progmodes/f90.el (f90-font-lock-n): + * progmodes/cwarn.el (cwarn-mode): + * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display): + * progmodes/compile.el (compilation-setup, compilation--unsetup): + * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer) + (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush. + * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of + font-lock-fontify-buffer-function and + font-lock-unfontify-buffer-function. + (rmail-unfontify-buffer-function, rmail-fontify-message): + Use with-silent-modifications. + * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now + and font-lock-ensure. + * bs.el (bs-show-in-buffer): Use font-lock-ensure. + +2014-05-28 Thien-Thi Nguyen + + * emacs-lisp/package.el (package-generate-autoloads): + Inhibit backup files. + +2014-05-28 Stefan Monnier + + * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize + (bug#17608). + +2014-05-21 Michal Nazarewicz + + * textmodes/tildify.el (tildify-buffer, tildify-region): + Add dont-ask option. + +2014-05-28 Stefan Monnier + + * subr.el (zerop): Move from C. Add compiler-macro (bug#17475). + * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove. + + * subr.el (internal--funcall-interactively): New. + (internal--call-interactively): Remove. + (called-interactively-p): Detect funcall-interactively instead of + call-interactively. + * simple.el (repeat-complex-command): Use funcall-interactively. + (repeat-complex-command--called-interactively-skip): Remove. + +2014-05-27 Stefan Monnier + + * register.el (register-read-with-preview): Don't burp on + frame switches (e.g. due to the frame we just popped). + + * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562). + (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved. + +2014-05-26 Andreas Schwab + + * cus-face.el (custom-face-attributes): Add :distant-foreground. + +2014-05-26 Martin Rudalics + + * window.el (window--dump-frame): Remove interactive specification. + +2014-05-26 Glenn Morris + + * hippie-exp.el (he-line-search-regexp): + Handle comint-prompt-regexp containing subgroups. (Bug#17529) + +2014-05-26 Stephen Berman + + * calendar/todo-mode.el: Remove dependence on auto-mode-alist, + to avoid errors when trying to create or visit a file foo.todo + located outside to todo-directory, and to allow having such files + without them being tied to Todo mode (bug#17482). + (todo-show, todo-move-category, todo-merge-category, todo-find-archive) + (todo-archive-done-item, todo-find-filtered-items-file) + (todo-filter-items, todo-find-item, todo-diary-goto-entry) + (todo-category-completions, todo-read-category): When visiting a + Todo file, make sure we're in the right mode and the buffer local + variables are set. + (todo-make-categories-list, todo-reset-nondiary-marker) + (todo-reset-done-string, todo-reset-comment-string): + After processing all Todo files, kill the buffers of those files that + weren't being visited before the processing. + (todo-display-as-todo-file, todo-add-to-buffer-list) + (todo-visit-files-commands): Comment out. + (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook. + (auto-mode-alist): Remove add-to-list calls making Todo file + extensions unrestrictedly tied to Todo modes. + +2014-05-26 Stefan Monnier + + * emacs-lisp/nadvice.el (advice--member-p): Change second arg. + (advice-function-member-p): Tell it to check both names and functions + (bug#17531). + (advice--add-function): Adjust call accordingly. + +2014-05-26 Stephen Berman + + * calendar/todo-mode.el: Miscellaneous bug fixes. + (todo-delete-file): When deleting an archive but not its todo + file, make sure to update the todo file's category sexp. + (todo-move-category): Keep the moved category's name unless the + file moved to already has a category with that name. If the + numerically last category of the source file was moved, make the + first category current to avoid selecting a nonexisting category. + (todo-merge-category): Fix implementation to make merging to a + category in another file work as documented. Eliminate now + insufficient and unnecessary renaming of archive category, correct + document string accordingly, and clarify it. If the numerically + last category of the source file was merged, make the first + category current to avoid selecting a nonexisting category. + (todo-archive-done-item): When there are marked items and point + happens to be on an unmarked item, ignore the latter. Don't leave + point below last item after archiving marked items. + (todo-unarchive-items): Fix logic to ensure unarchiving an item + from an archive with only one category deletes the archive only + when the category is empty after unarchiving. Make sure the todo + file's category sexp is updated. + (todo-read-file-name): Allow an existing file name even when it is + not required (todo-move-category needs this to work as documented). + (todo-add-file): Call todo-validate-name to reject the name of an + existing todo file (needed due to fix in todo-read-file-name). + (todo-reset-nondiary-marker): Also reset in filtered items files. + (todo-reset-done-string, todo-reset-comment-string): Also reset in + regexp filtered items files. + (todo-reset-highlight-item): Also reset in filtered items files. + Fix incorrect variable reference in document string. + +2014-05-26 Glenn Morris + + * window.el (window--dump-frame): Avoid error in --without-x builds. + +2014-05-26 Glenn Morris + + * nxml/nxml-mode.el (xml-mode): Only define this alias once. + +2014-05-26 Eli Zaretskii + + * frame.el (set-frame-font): Doc fix. + + * menu-bar.el (menu-set-font): Doc fix. (Bug#17532) + +2014-05-26 Dmitry Gutov + + * emacs-lisp/package.el (package--download-one-archive): + Use `write-region' instead of `save-buffer' to avoid running various + hooks. (Bug#17155) + (describe-package-1): Same. Insert newline at the end of the + buffer if appropriate. + +2014-05-26 Juri Linkov + + * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame. + (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'. + Add more modifiers: meta, control, shift, hyper, super, alt. + (Bug#17439) + + * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options + to allow changing its value with `set-variable'. + +2014-05-26 Stefan Monnier + + * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for + #; comments. + (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment): + New functions. + (scheme-mode-variables): Set syntax-propertize-function instead of + font-lock-syntactic-face-function. + (scheme-font-lock-syntactic-face-function): Delete. + + * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274). + + * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled + (bug#17392). + +2014-05-26 Michael Albinus + + * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t" + for a temporary file name. + +2014-05-26 Eli Zaretskii + + * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511) + +2014-05-26 Michael Albinus + + * net/dbus.el (dbus-init-bus, dbus-call-method) + (dbus-call-method-asynchronously, dbus-send-signal) + (dbus-method-return-internal, dbus-method-error-internal): + Check, whether Emacs has been compiled with D-Bus support. (Bug#17508) + +2014-05-26 Nicolas Richard + + * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with + methods which do not have a doc string. (Bug#17490) + +2014-05-25 Tassilo Horn + + * textmodes/reftex-ref.el (reftex-format-special): Make it work + also for AMS Math's \eqref macro. + +2014-05-25 Thien-Thi Nguyen + + Arrange to never byte-compile the generated -pkg.el file. + + * emacs-lisp/package.el (package-generate-description-file): + Output first-line comment to set buffer-local var `no-byte-compile'. + Suggested by Dmitry Gutov: + . + +2014-05-25 Thien-Thi Nguyen + + Fix bug: Properly quote args to generated -pkg.el `define-package'. + + * emacs-lisp/package.el (package-generate-description-file): + Inline `package--alist-to-plist'; rewrite to selectively + quote alist values that are not self-quoting. + (package--alist-to-plist): Delete func. + +2014-05-25 Andreas Schwab + + * term/xterm.el (xterm-function-map): Add mapping for shifted + keypad keys. + +2014-05-24 Daniel Colascione + + * progmodes/subword.el (subword-find-word-boundary): Move point to + correct spot before search. (Bug#17580) + + * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid + breaking the build. + +2014-05-24 Leo Liu + + * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556) + +2014-05-23 Stefan Monnier + + * minibuffer.el (completion--sreverse): Remove. + (completion--common-suffix): Use `reverse' instead. + * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings. + +2014-05-22 Glenn Morris + + * shell.el (shell-mode) : Bypass bash aliases. + +2014-05-21 Daniel Colascione + + * files.el (interpreter-mode-alist): Add mksh. + + * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh + derivative. + (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to + mksh. Improve custom spec; allow regular expressions. + (sh-shell): Delegate name splitting to `sh-canonicalize-shell'. + (sh-after-hack-local-variables): New function. + (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333) + (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding + the normalization. + (sh-canonicalize-shell): Rewrite to support regexes. + +2014-05-21 Leo Liu + + * emacs-lisp/cl-lib.el (cl-endp): Fix last change. + +2014-05-19 Leo Liu + + * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics. + +2014-05-18 Glenn Morris + + * loadup.el: + * play/gametree.el: `track-mouse' is always defined since 2012-11-24. + +2014-05-14 Sam Steingold + + * progmodes/python.el (python-shell-get-or-create-process): + Do not bind `current-prefix-arg' so that C-c C-z does not talk + back unless requested. + +2014-05-14 Glenn Morris + + * subr.el (with-file-modes): New macro. + * printing.el (pr-save-file-modes): Make obsolete. + * eshell/esh-util.el (eshell-with-file-modes): Make obsolete. + * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): + Add with-file-modes. + * doc-view.el (doc-view-make-safe-dir): + * epg.el (epg--start): + * files.el (locate-user-emacs-file, make-temp-file) + (backup-buffer-copy, move-file-to-trash): + * printing.el (pr-despool-print, pr-call-process, pr-text2ps): + * eshell/esh-util.el (eshell-with-private-file-modes) + (eshell-make-private-directory): + * net/browse-url.el (browse-url-mosaic): + * obsolete/mailpost.el (post-mail-send-it): + * obsolete/pgg-pgp.el (pgg-pgp-verify-region): + * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region): + Use with-file-modes. + + * vc/emerge.el (emerge-make-temp-file): Simplify. + +2014-05-14 Stephen Berman + Stefan Monnier + + * minibuffer.el (completion-pcm--merge-try): Merge trailing / with + suffix (bug#15419). + +2014-05-14 Glenn Morris + + * vc/emerge.el (emerge-temp-file-prefix): + Make pointless option obsolete. + (emerge-temp-file-mode): Make non-functional option obsolete. + +2014-05-14 Michael Albinus + + * net/browse-url.el (browse-url): + Use `unhandled-file-name-directory' when setting `default-directory', + in order to circumvent stalled remote connections. (Bug#17425) + +2014-05-14 Glenn Morris + + * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol): + Optimize on Emacs, which has the relevant functions for ages. + +2014-05-13 Stefan Monnier + + * simple.el (undo-make-selective-list): Obey undo-no-redo. + +2014-05-12 Sam Steingold + + * calendar/time-date.el (seconds-to-string): New function to + pretty print time delay in seconds. + +2014-05-12 Stefan Monnier + + * mpc.el (mpc-format): Trim Date to the year. + (mpc-songs-hashcons): Shorten the Date field. + + * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled + into autoloading just because of a silly indirection. + +2014-05-12 Santiago Payà i Miralta (tiny change) + + * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454) + +2014-05-12 Glenn Morris + + * emacs-lisp/find-gc.el: Move to ../admin. + + * printing.el (pr-version): + * ps-print.el (ps-print-version): Also mention bug-gnu-emacs. + + * net/browse-url.el (browse-url-mosaic): + Create /tmp/Mosaic.PID as a private file. + +2014-05-12 Stefan Monnier + + * emacs-lisp/nadvice.el: Support adding a given function multiple times. + (advice--member-p): If name is given, only compare the name. + (advice--remove-function): Don't stop at the first match. + (advice--normalize-place): New function. + (add-function, remove-function): Use it. + (advice--add-function): Pass the name, if any, to + advice--remove-function. + +2014-05-12 Philipp Rumpf (tiny change) + + * electric.el (electric-indent-post-self-insert-function): Don't use + `pos' after modifying the buffer (bug#17449). + +2014-05-12 Stephen Berman + + * calendar/todo-mode.el (todo-insert-item-from-calendar): + Correct argument list to conform to todo-insert-item--basic. + +2014-05-12 Glenn Morris + + * files.el (cd-absolute): Test if directory is accessible + rather than executable. (Bug#17330) + + * progmodes/compile.el (recompile): + Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444) + + * net/browse-url.el (browse-url-mosaic): + Be careful when writing /tmp/Mosaic.PID. (Bug#17428) + This is CVE-2014-3423. + +2014-05-11 Stefan Monnier + + * mouse.el: Use the normal toplevel loop while dragging. + (mouse-set-point): Handle multi-clicks. + (mouse-set-region): Handle multi-clicks for drags. + (mouse-drag-region): Update call accordingly. + (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack. + Use the normal event loop instead of a local while/read-event loop. + (global-map): Remove redundant bindings for double/triple-mouse-1. + * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time. + Generate synthetic down events when the protocol only sends up events. + (xterm-mouse-last): Remove. + (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down + terminal parameter instead. + (xterm-mouse--set-click-count): New function. + (xterm-mouse-event): Detect/generate double/triple clicks. + * reveal.el (reveal-close-old-overlays): Don't close while dragging. + + * info.el (Info-quoted): New face. + (Info-mode-font-lock-keywords): New var. + (Info-mode): Use it. + + * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which + are a hindrance for C-x C-e. + +2014-05-11 Leo Liu + + * net/rcirc.el (rcirc-sentinel): Fix last change. + +2014-05-08 Sam Steingold + + * net/rcirc.el (rcirc-reconnect-delay): New user option. + (rcirc-sentinel): Auto-reconnect to the server if + `rcirc-reconnect-delay' is non-0 (but not more often than its + value in case the host is off-line). + +2014-05-09 Eli Zaretskii + + * progmodes/grep.el (lgrep): Fix a typo in last commit. + 2014-05-09 Glenn Morris * files.el (file-expand-wildcards): @@ -49,6 +505,7 @@ (tramp-remote-coding-commands): Enhance docstring. (tramp-find-inline-encoding): Replace "%t" by a temporary file name. (Bug#17415) + This is CVE-2014-3424. 2014-05-08 Glenn Morris @@ -56,6 +513,7 @@ (find-gc-source-files): Update some names. (trace-call-tree): Simplify and update. Avoid predictable temp-file names. (http://bugs.debian.org/747100) + This is CVE-2014-3422. 2014-05-08 Stefan Monnier @@ -212,14 +670,14 @@ (diary-chinese-insert-yearly-entry): New commands to insert Chinese diary entries. - * calendar/diary-lib.el (diary-font-lock-keywords): Support - font-locking Chinese dates. + * calendar/diary-lib.el (diary-font-lock-keywords): + Support font-locking Chinese dates. * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for inserting Chinese diary entries. - * calendar/calendar.el (diary-chinese-entry-symbol): New - customizable variable. + * calendar/calendar.el (diary-chinese-entry-symbol): + New customizable variable. (calendar-mode-map): Add bindings for inserting Chinese diary entries. @@ -238,8 +696,8 @@ incorrectness of position adjustments when undoing in region. (Bug#17235) (undo-elt-crosses-region): Make obsolete. - (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos): New - functions to adjust positions using undo-deltas. + (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos): + New functions to adjust positions using undo-deltas. 2014-05-01 Stefan Monnier