X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/24d699fab1d81224c1e0e4b4f9aa998b4428caf3..c362f1950814689b0a6f03f0fa48b07784b90a16:/lisp/ChangeLog diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 055a552073..713bfd12f3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,500 @@ +2013-06-03 Tassilo Horn + + * eshell/em-term.el (cl-lib): Require `cl-lib'. + +2013-06-03 Stefan Monnier + + * emacs-lisp/lisp.el: Use lexical-binding. + (lisp--local-variables-1, lisp--local-variables): New functions. + (lisp--local-variables-completion-table): New var. + (lisp-completion-at-point): Use it to provide completion of let-bound vars. + + * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros + eagerly (bug#14422). + +2013-06-03 Michael Albinus + + * autorevert.el (auto-revert-notify-enabled) + (auto-revert-notify-rm-watch, auto-revert-notify-add-watch) + (auto-revert-notify-event-p, auto-revert-notify-event-file-name) + (auto-revert-notify-handler): Handle also gfilenotify. + + * subr.el: (file-notify-handle-event): New defun. Replacing ... + (inotify-event-p, inotify-handle-event, w32notify-handle-event): + Removed. + +2013-06-03 Juri Linkov + + * bindings.el (search-map): Bind `highlight-symbol-at-point' to + `M-s h .'. (Bug#14427) + + * hi-lock.el (highlight-symbol-at-point): New alias for the new + command `hi-lock-face-symbol-at-point'. + (hi-lock-face-symbol-at-point): New command. + (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'. + (hi-lock-menu): Add `highlight-symbol-at-point'. + (hi-lock-mode): Doc fix. + + * isearch.el (isearch-forward-symbol-at-point): New command. + (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'. + (isearch-highlight-regexp): Add a regexp which matches + words/symbols for word/symbol mode. + + * subr.el (find-tag-default-bounds): New function with the body + mostly moved from `find-tag-default'. + (find-tag-default): Move most code to `find-tag-default-bounds', + call it and apply `buffer-substring-no-properties' afterwards. + +2013-06-03 Tassilo Horn + + * eshell/em-term.el (eshell-term-initialize): Use + `cl-intersection' rather than `intersection'. + +2013-06-02 Xue Fuqiao + + * vc/log-view.el: Doc fix. + (log-view-mode-map): Copy keymap from `special-mode-map'. + +2013-06-02 Eric Ludlam + + * emacs-lisp/eieio.el (eieio--defalias, eieio-hook) + (eieio-error-unsupported-class-tags, eieio-skip-typecheck) + (eieio-optimize-primary-methods-flag, eieio-initializing-object) + (eieio-unbound, eieio-default-superclass) + (eieio--define-field-accessors, method-static, method-before) + (method-primary, method-after, method-num-lists) + (method-generic-before, method-generic-primary) + (method-generic-after, method-num-slots) + (eieio-specialized-key-to-generic-key) + (eieio--check-type, class-v, class-p) + (eieio-class-name, define-obsolete-function-alias) + (eieio-class-parents-fast, eieio-class-children-fast) + (same-class-fast-p, class-constructor, generic-p) + (generic-primary-only-p, generic-primary-only-one-p) + (class-option-assoc, class-option, eieio-object-p) + (class-abstract-p, class-method-invocation-order) + (eieio-defclass-autoload-map, eieio-defclass-autoload) + (eieio-class-un-autoload, eieio-defclass) + (eieio-eval-default-p, eieio-perform-slot-validation-for-default) + (eieio-add-new-slot, eieio-copy-parents-into-subclass) + (eieio--defgeneric-init-form, eieio-defgeneric-form) + (eieio-defgeneric-reset-generic-form) + (eieio-defgeneric-form-primary-only) + (eieio-defgeneric-reset-generic-form-primary-only) + (eieio-defgeneric-form-primary-only-one) + (eieio-defgeneric-reset-generic-form-primary-only-one) + (eieio-unbind-method-implementations) + (eieio--defmethod, eieio--typep) + (eieio-perform-slot-validation, eieio-validate-slot-value) + (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound) + (eieio-oref, eieio-oref-default, eieio-default-eval-maybe) + (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p) + (eieio-slot-name-index, eieio-class-slot-name-index) + (eieio-set-defaults, eieio-initarg-to-attribute) + (eieio-attribute-to-initarg, eieio-c3-candidate) + (eieio-c3-merge-lists, eieio-class-precedence-c3) + (eieio-class-precedence-dfs, eieio-class-precedence-bfs) + (eieio-class-precedence-list, eieio-generic-call-methodname) + (eieio-generic-call-arglst, eieio-generic-call-key) + (eieio-generic-call-next-method-list) + (eieio-pre-method-execution-functions, eieio-generic-call) + (eieio-generic-call-primary-only, eieiomt-method-list) + (eieiomt-optimizing-obarray, eieiomt-install) + (eieiomt-add, eieiomt-next, eieiomt-sym-optimize) + (eieio-generic-form, eieio-defmethod, make-obsolete) + (eieio-defgeneric, make-obsolete): Moved to eieio-core.el + (defclass): Remove `eval-and-compile' from macro. + (call-next-method, shared-initialize): Instead of using + `scoped-class' variable, use new eieio--scoped-class, and + eieio--with-scoped-class. + (initialize-instance): Rename local variable 'scoped-class' to + 'this-class' to remove ambiguitity from old global. + + * emacs-lisp/eieio-core.el: New file. Derived from key parts of + eieio.el. + (eieio--scoped-class-stack): New variable + (eieio--scoped-class): New fcn + (eieio--with-scoped-class): New scoping macro. + (eieio-defclass): Use pushnew instead of add-to-list. + (eieio-defgeneric-form-primary-only-one, eieio-oset-default) + (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call) + (eieio-generic-call-primary-only, eieiomt-add): Instead of using + `scoped-class' variable, use new eieio--scoped-class, and + eieio--with-scoped-class. + + * emacs-lisp/eieio-base.el (cl-lib): Require during compile. + +2013-06-02 Tassilo Horn + + * eshell/esh-ext.el (eshell-external-command): Pass args to + `eshell-find-interpreter'. + (eshell-find-interpreter): Add new second parameter ARGS. + + * eshell/em-script.el (eshell-script-initialize): Add second arg + to the function added as MATCH to `eshell-interpreter-alist' + + * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to + the function added as MATCH to `eshell-interpreter-alist' + + * eshell/em-term.el (eshell-visual-subcommands): New defcustom. + (eshell-visual-options): New defcustom. + (eshell-escape-control-x): Adapt docstring. + (eshell-term-initialize): Test `eshell-visual-subcommands' and + `eshell-visual-options' in addition to `eshell-visual-commands'. + (eshell-exec-visual): Pass args to `eshell-find-interpreter'. + +2013-06-01 Fabián Ezequiel Gallina + + * progmodes/python.el (python-indent-block-enders): Add break, + continue and raise keywords. + +2013-06-01 Glenn Morris + + * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound. + + Plain (f)boundp silences compilation warnings since Emacs 22.1. + * progmodes/cc-cmds.el (delete-forward-p): + * progmodes/cc-defs.el (buffer-syntactic-context-depth): + * progmodes/cc-engine.el (buffer-syntactic-context): + * progmodes/cc-fonts.el (face-property-instance): + * progmodes/cc-mode.el (set-keymap-parents): + * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun. + * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1) + * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp. + * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions) + (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar. + + * progmodes/cc-vars.el (other): Emacs has this widget since + at least 21.1, so don't (re)define it. + + * eshell/em-cmpl.el (eshell-cmpl-initialize): + Replace the obsolete alias pcomplete-arg-quote-list. + +2013-06-01 Leo Liu + + * progmodes/octave.el (octave-mode-syntax-table): Give `.' + punctuation syntax. + (inferior-octave-minimal-columns) + (inferior-octave-last-column-width): New variables. + (inferior-octave-track-window-width-change): New function. + (inferior-octave-mode): Adjust column width so that Octave output, + for example from 'ls', can fit into the window nicely. + +2013-05-31 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): + Highlight expansions inside regexp literals. + +2013-05-31 Glenn Morris + + * obsolete/sym-comp.el (symbol-complete): + Replace obsolete completion-annotate-function. + + * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler. + +2013-05-31 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): New + function, checks if point is inside a literal that allows + expression expansion. + (ruby-syntax-propertize-expansion): Use it. + (ruby-syntax-propertize-function): Bind `case-fold-search' to nil + around the body. + +2013-05-30 Juri Linkov + + * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible' + to "\M-si". + (isearch-invisible): New variable. + (isearch-forward): Doc fix. + (isearch-mode): Set `isearch-invisible' + to the value of `search-invisible'. + (isearch-toggle-case-fold): Doc fix. + (isearch-toggle-invisible): New command. + (isearch-query-replace): Let-bind `search-invisible' + to the value of `isearch-invisible'. + (isearch-search): Use `isearch-invisible' instead of + `search-invisible'. Let-bind `search-invisible' + to the value of `isearch-invisible'. (Bug#11378) + +2013-05-30 Juri Linkov + + * replace.el (perform-replace): Avoid `isearch-range-invisible' + call when `query-flag' is nil and `search-invisible' is non-nil. + (Bug#11746) + +2013-05-30 Glenn Morris + + * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo. + + * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New. + (cc-require): Suppress spurious "noruntime" warnings. + (cc-require-when-compile): Use fboundp, for sake of compiler. + + * progmodes/cc-mode.el: Move load of cc-vars before that of + cc-langs (which in turn loads cc-vars), to quieten compiler. + +2013-05-30 Stefan Monnier + + * paren.el: Simplify the code. + (show-paren-mode): Always start the timer. + (show-paren--idle-timer): Rename from show-paren-idle-timer. + (show-paren--overlay, show-paren--overlay-1): Rename from + show-paren-overlay and show-paren-overlay-1, and initialize to an + overlay rather than to nil. + (show-paren-function): Misc cleanup and simplifications. + +2013-05-30 Stefan Monnier + + * paren.el (show-paren-data-function): New hook. + (show-paren--default): New function, extracted from show-paren-function. + (show-paren-function): Use show-paren-data-function. + +2013-05-30 Glenn Morris + + * ielm.el (ielm-map, ielm-complete-symbol): + Use completion-at-point rather than obsolete functions. + (inferior-emacs-lisp-mode): Doc fix. + Set completion-at-point-functions, rather than + comint-dynamic-complete-functions. + + * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function. + (eshell-cmpl-initialize, eshell-complete-parse-arguments): + Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol. + + * image.el (image-animated-p): Tweak definition. + + * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh. + (rlogin-process-connection-type): Tweak default. Add set-after. + (rlogin-host): Doc fix. + (rlogin): Tweak prompt. + (rlogin-tab-or-complete): Use completion-at-point rather than alias. + + * net/net-utils.el (nslookup-mode-map, ftp-mode-map): + * progmodes/tcl.el (inferior-tcl-mode-map): + Use completion-at-point rather than obsolete alias. + + * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use. + + * minibuffer.el (read-file-name-completion-ignore-case): + Move before completion--in-region, for eager macro expansion. + +2013-05-29 Juri Linkov + + * replace.el (occur-engine): Rename `globalcount' to `global-lines' + for total count of matching lines. Add `global-matches' for total + count of matches. Rename `matches' to `lines' for count of + matching lines. Add `matches' for count of matches. + Rename `lines' to `curr-line' for line count. Rename `prev-lines' + to `prev-line' for line number of prev match endpt. + Increment `matches' for every match. Print the number of + matching lines in the header. + (occur-context-lines): Rename `lines' to `curr-line'. + Rename `prev-lines' to `prev-line'. (Bug#14017) + +2013-05-29 Juri Linkov + + * replace.el (perform-replace): Add `skip-read-only-count', + `skip-filtered-count', `skip-invisible-count' let-bound to 0. + Increment them for corresponding conditions and report the number + of skipped occurrences in the final message. (Bug#11746) + (query-replace, query-replace-regexp, query-replace-regexp-eval) + (replace-string, replace-regexp): Doc fix. + +2013-05-29 Stefan Monnier + + * emacs-lisp/trace.el (trace--read-args): Provide a default. + + * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from + prog-mode-map. + +2013-05-29 Leo Liu + + * progmodes/octave.el (octave-indent-comment): Tweak regexps. + (octave-help): Small simplification. + + * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn + off the highlight first. + +2013-05-29 Glenn Morris + + * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists): + Handle idlwave-last-system-routine-info-cons-cell being nil. + + * progmodes/idlwave.el (idlwave-scan-user-lib-files) + (idlwave-write-paths): Simplify via with-temp-buffer. + + * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time. + * emulation/cua-rect.el: Also load cua-base at run time. + + * progmodes/cperl-mode.el (imenu-choose-buffer-index) + (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare. + (cperl-imenu-on-info): Require imenu. + +2013-05-28 Alan Mackenzie + + Handle "capitalised keywords" correctly. + * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil. + +2013-05-28 Aidan Gauland + + * eshell/em-unix.el: Added -r option to cp + +2013-05-28 Glenn Morris + + * vc/vc-arch.el (vc-exec-after): Declare. + (vc-switches): Autoload. + * vc/vc-bzr.el: No need to require vc when compiling. + (vc-exec-after, vc-set-async-update, vc-default-dir-printer) + (vc-resynch-buffer, vc-dir-refresh): Declare. + (vc-setup-buffer, vc-switches): Autoload. + * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff) + (vc-resynch-buffer): Declare. + (vc-switches, vc-default-revert, vc-version-backup-file): Autoload. + * vc/vc-dir.el (desktop-missing-file-warning): Declare. + * vc/vc-git.el (vc-exec-after, vc-set-async-update) + (grep-read-regexp, grep-read-files, grep-expand-template) + (vc-dir-refresh): Declare. + (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload. + * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare. + (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload. + * vc/vc-mtn.el (vc-exec-after): Declare. + (vc-switches): Autoload. + * vc/vc-rcs.el (vc-expand-dirs, vc-switches) + (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload. + (vc-file-tree-walk): Declare. + * vc/vc-sccs.el (vc-file-tree-walk): Declare. + (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify) + (vc-tag-precondition, vc-rename-master): Autoload. + * vc/vc-svn.el (vc-exec-after): Declare. + (vc-switches, vc-setup-buffer): Autoload. + * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert): + Autoload. + (vc-resynch-buffer): Declare. + + * obsolete/fast-lock.el (byte-compile-warnings): + Don't warn about obsolete features in this obsolete file. + + * progmodes/cc-vars.el (c-macro-names-with-semicolon): + Move definition before use. + + * play/dunnet.el (byte-compile-warnings): Don't disable them all. + (dun-unix-verbs): Remove dun-zippy. + (dun-zippy): Remove function. + + * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix. + +2013-05-27 Juri Linkov + + * replace.el (replace-search): New function with code moved out + from `perform-replace'. + (replace-highlight, replace-dehighlight): Move function definitions + up closer to `replace-search'. (Bug#11746) + +2013-05-27 Juri Linkov + + * replace.el (perform-replace): Ignore invisible matches. + In addition to checking `query-replace-skip-read-only', also + filter out matches by calling `run-hook-with-args-until-failure' + on `isearch-filter-predicates', and also check `search-invisible' + for t or call `isearch-range-invisible'. + (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746) + +2013-05-27 Juri Linkov + + * isearch.el (isearch-filter-predicates): Rename from + `isearch-filter-predicate'. Doc fix. (Bug#11378) + (isearch-message-prefix): Display text from the property + `isearch-message-prefix' of the currently active filters. + (isearch-search): Don't compare `isearch-filter-predicate' with + `isearch-filter-visible'. Call `run-hook-with-args-until-failure' + on `isearch-filter-predicates'. Also check `search-invisible' for t + or call `isearch-range-invisible'. + (isearch-filter-visible): Make obsolete. + (isearch-lazy-highlight-search): + Call `run-hook-with-args-until-failure' on + `isearch-filter-predicates' and use `isearch-range-invisible'. + + * info.el (Info-search): Call `run-hook-with-args-until-failure' on + `isearch-filter-predicates' instead of `funcall'ing + `isearch-filter-predicate'. + (Info-mode): Set `Info-isearch-filter' to + `isearch-filter-predicates' instead of `isearch-filter-predicate'. + + * dired-aux.el (dired-isearch-filter-predicate-orig): + Remove variable. + (dired-isearch-filenames-toggle, dired-isearch-filenames-setup) + (dired-isearch-filenames-end): Add and remove + `dired-isearch-filter-filenames' in `isearch-filter-predicates' + instead of changing the value of `isearch-filter-predicate'. + Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff". + (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'. + Put property `isearch-message-prefix' to "filename " on + `dired-isearch-filter-filenames'. + + * wdired.el (wdired-change-to-wdired-mode): + Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only' + locally instead of changing `isearch-filter-predicate'. + (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'. + +2013-05-27 Dmitry Gutov + + * vc/vc-git.el (vc-git-working-revision): When in detached mode, + return the commit hash (Bug#14459). Also set the + `vc-git-detached' property. + (vc-git--rev-parse): Extract from `vc-git-previous-revision'. + (vc-git-mode-line-string): Use the same help-echo format whether + in detached mode or not, because we know the actual revision now. + When in detached mode, shorten the revision to 7 chars. + +2013-05-27 Stefan Monnier + + * emacs-lisp/easy-mmode.el (define-minor-mode): + * emacs-lisp/derived.el (define-derived-mode): Always defvar the + mode hook and provide a docstring. + +2013-05-27 Alan Mackenzie + + Remove spurious syntax-table text properties inserted by C-y. + * progmodes/cc-mode.el (c-after-change): Also clear hard + syntax-table property with value nil. + +2013-05-27 Michael Albinus + + * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay' + when reading the events; the buffer layout shall not be changed. + +2013-05-27 Leo Liu + + * progmodes/octave.el (inferior-octave-directory-tracker-resync): + New variable. + (inferior-octave-directory-tracker): Automatically re-sync + default-directory. + (octave-help): Improve handling of 'See also'. + +2013-05-27 Stefan Monnier + + * doc-view.el: Minor naming convention tweaks. + (desktop-buffer-mode-handlers): Don't add to it repeatedly. + + * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops + even if there's no `display' property yet (bug#14435). + +2013-05-25 Eli Zaretskii + + * subr.el (unmsys--file-name): Rename from reveal-filename. + + * Makefile.in (custom-deps, finder-data, autoloads) + ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el) + ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el) + ($(CAL_DIR)/hol-loaddefs.el): All users changed. + +2013-05-25 Stefan Monnier + + * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use + error-completion on the first 2 args of condition-case (bug#14446). + Don't burp at EOB. + 2013-05-25 Leo Liu * comint.el (comint-previous-matching-input): Do not flood the @@ -1352,7 +1849,7 @@ * emacs-lisp/syntax.el (syntax-propertize-multiline): Use `syntax-multiline' text property consistently instead of - `font-lock-multiline'. (bug#14237). + `font-lock-multiline'. (Bug#14237) 2013-04-26 Glenn Morris @@ -1540,7 +2037,7 @@ 2013-04-21 Xue Fuqiao - * comint.el: (comint-dynamic-complete-functions, comint-mode-map): + * comint.el (comint-dynamic-complete-functions, comint-mode-map): `comint-dynamic-complete' is obsolete since 24.1, replaced by `completion-at-point'. (Bug#13774) @@ -1593,9 +2090,9 @@ 2013-04-19 Masatake YAMATO * progmodes/sh-script.el (sh-imenu-generic-expression): - Handle function names with a single character. (Bug#14111) + Handle function names with a single character. (Bug#14111) -2013-04-19 Dima Kogan (tiny change) +2013-04-19 Dima Kogan (tiny change) * progmodes/gud.el (gud-perldb-marker-filter): Understand position info for subroutines defined in an eval (bug#14182). @@ -2012,9 +2509,8 @@ 2013-04-03 Alan Mackenzie - Handle `parse-partial-sexp' landing inside a comment opener - (Bug#13244). Also adapt to the new values of element 7 of a parse - state. + Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244). + Also adapt to the new values of element 7 of a parse state. * progmodes/cc-engine.el (c-state-pp-to-literal): New optional parameter `not-in-delimiter'. Handle being inside comment opener. @@ -2650,7 +3146,7 @@ 2013-03-08 Jambunathan K * hi-lock.el (hi-lock-read-regexp-defaults-function): New var. - (hi-lock-read-regexp-defaults): New defun. + (hi-lock-read-regexp-defaults): New defun. (hi-lock-line-face-buffer, hi-lock-face-buffer) (hi-lock-face-phrase-buffer): Propagate above change. Update docstring (bug#13892).