aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2011-04-20 19:31:06 -0300
committerStefan Monnier2011-04-20 19:31:06 -0300
commitc0a193ea2017fbaa6fb3e64a07125878656da156 (patch)
tree52ecaae3b27b33e9de36b354cbc2d17e2334f411 /etc
parent201133802956936332f1c4ce04eac42dfd1cf1c6 (diff)
downloademacs-c0a193ea2017fbaa6fb3e64a07125878656da156.tar.gz
emacs-c0a193ea2017fbaa6fb3e64a07125878656da156.zip
* lisp/shell.el: Use lexical-binding and std completion UI.
(shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter. (shell-mode): Put shell-filter-ctrl-a-ctrl-b on comint-preoutput-filter-functions rather than on comint-output-filter-functions. (shell-command-completion, shell--command-completion-data) (shell-filename-completion, shell-environment-variable-completion) (shell-c-a-p-replace-by-expanded-directory): New functions. (shell-dynamic-complete-functions, shell-dynamic-complete-command) (shell-dynamic-complete-filename, shell-replace-by-expanded-directory) (shell-dynamic-complete-environment-variable): Use them. (shell-dynamic-complete-as-environment-variable) (shell-dynamic-complete-as-command): Remove. (shell-match-partial-variable): Match past point. * lisp/comint.el: Clean up use of completion-at-point-functions. (comint-completion-at-point): New function. (comint-mode): Use it completion-at-point-functions. (comint-dynamic-complete): Make it obsolete. (comint-replace-by-expanded-history-before-point): Add dry-run arg. (comint-c-a-p-replace-by-expanded-history): New function. (comint-dynamic-complete-functions) (comint-replace-by-expanded-history): Use it. * lisp/minibuffer.el (completion-table-with-terminator): Allow dynamic termination strings. Try harder to avoid second try-completion. (completion-in-region-mode-map): Disable bindings that don't work yet.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index bc85b3223ed..aed90764fa1 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -370,6 +370,8 @@ $ESHELL nor variable `explicit-shell-file-name' is set.
370 370
371* Changes in Specialized Modes and Packages in Emacs 24.1 371* Changes in Specialized Modes and Packages in Emacs 24.1
372 372
373** comint and modes derived from it use the generic completion code.
374
373** The compile.el mode can be used without font-lock-mode. 375** The compile.el mode can be used without font-lock-mode.
374`compilation-parse-errors-function' is now obsolete. 376`compilation-parse-errors-function' is now obsolete.
375 377