unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: wgreenhouse@riseup.net (W. Greenhouse)
To: help-gnu-emacs@gnu.org
Subject: Re: shell-like Emacs CLI, and my Usenet behaviour
Date: Thu, 22 Aug 2013 22:42:23 +0000	[thread overview]
Message-ID: <8761ux9wkw.fsf@motoko.kusanagi> (raw)
In-Reply-To: 20130821225833.GB5534@hysteria.proulx.com

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




  parent reply	other threads:[~2013-08-22 22:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-18 19:27 shell-like Emacs CLI, and my Usenet behaviour Emanuel Berg
2013-08-18 20:55 ` mathias.dahl
2013-08-18 21:04 ` Pascal J. Bourguignon
2013-08-19  6:57 ` Rustom Mody
2013-08-19  7:55 ` Thien-Thi Nguyen
2013-08-19 15:16 ` Barry Margolin
2013-08-21 13:59 ` Stefan Monnier
2013-08-21 17:50   ` Guido Van Hoecke
2013-08-21 22:58     ` Bob Proulx
2013-08-22  6:40       ` Guido Van Hoecke
2013-08-22 22:42       ` W. Greenhouse [this message]
2013-08-23  6:06         ` Guido Van Hoecke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761ux9wkw.fsf@motoko.kusanagi \
    --to=wgreenhouse@riseup.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).