help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell-like Emacs CLI, and my Usenet behaviour


From: W. Greenhouse
Subject: Re: shell-like Emacs CLI, and my Usenet behaviour
Date: Thu, 22 Aug 2013 22:42:23 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Bob Proulx <bob@proulx.com> writes:

> Guido Van Hoecke wrote:
>> Stefan Monnier writes:
>> >> man emacs RET
>> 
>> That's exactly how you type it with eshell.
>> 
>> I probably have missed part of the conversation, and apologize if that's
>> the case, but to me, there's no shell like eshell. You can mix external
>> commands ane internal emacs commands, either self-made or the ones part
>> of the distribution.
>
> Is there an eshell keybinding or suggestion for keybinding so that
> people could do M-X (where X is the binding) or C-x X and then invoke
> it like in the above?  (I am too time limited to look.  And you seem
> knowledgeable about eshell and will probably know without looking.)
>
> Bob

Besides using eshell like a shell in a dedicated buffer,
`eshell-command' is nice to add to your repertoire of ways to invoke
processes interactively from Emacs.  It runs eshell one-liners, similar
to `shell-command' and `async-shell-command'.

I like (global-set-key (kbd "M-!") 'eshell-command), since I pretty much
never want the standard, synchronous behavior of `shell-command'.

-- 
Regards,
WGG




reply via email to

[Prev in Thread] Current Thread [Next in Thread]