From 26b3353ad0200b6e3dae8bacbf61c7c069a26b2a Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Mon, 3 Jun 2013 08:34:21 +0200 Subject: [PATCH] * NEWS: Document eshell visual subcommands and options. * eshell/em-term.el (eshell-term-initialize): Use `cl-intersection' rather than `intersection'. --- etc/ChangeLog | 4 ++++ etc/NEWS | 12 ++++++++++++ lisp/ChangeLog | 5 +++++ lisp/eshell/em-term.el | 6 +++--- 4 files changed, 24 insertions(+), 3 deletions(-) diff --git a/etc/ChangeLog b/etc/ChangeLog index 53dab540e54..5b6441f06c5 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,7 @@ +2013-06-03 Tassilo Horn + + * NEWS: Document eshell visual subcommands and options. + 2013-06-02 Eric Ludlam * srecode/c.srt (header_guard): Add :c parameter so it works diff --git a/etc/NEWS b/etc/NEWS index 30e41552ce5..b2ecba79684 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -129,6 +129,18 @@ You can pick the name of the function and the variables with `C-x 4 a'. * Changes in Specialized Modes and Packages in Emacs 24.4 +** `eshell' now supports visual subcommands and options +Eshell has been able to handle "visual" commands (interactive, +non-line oriented commands such as top that require display +capabilities not provided by eshell) by running them in an Emacs +terminal emulator. See `eshell-visual-commands'. + +This feature has been extended to subcommands and options that make a +usually line-oriented command a visual command. Typical examples are +"git log" and "git --help" which display their output in a +pager by default. See `eshell-visual-subcommands' and +`eshell-visual-options'. + ** `remember' can now store notes in separates files You can use the new function `remember-store-in-files' within the `remember-handler-functions' option. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c96bb0fe2a1..7ee43e602f9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-06-03 Tassilo Horn + + * eshell/em-term.el (eshell-term-initialize): Use + `cl-intersection' rather than `intersection'. + 2013-06-02 Eric Ludlam * emacs-lisp/eieio.el (eieio--defalias, eieio-hook) diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el index 340cfa7006c..0501544789d 100644 --- a/lisp/eshell/em-term.el +++ b/lisp/eshell/em-term.el @@ -137,9 +137,9 @@ character to the invoked process." (or (member command eshell-visual-commands) (member (car args) (cdr (assoc command eshell-visual-subcommands))) - (intersection args - (cdr (assoc command eshell-visual-options)) - :test 'string=))))) + (cl-intersection args + (cdr (assoc command eshell-visual-options)) + :test 'string=))))) 'eshell-exec-visual) eshell-interpreter-alist))) -- 2.39.2