From: Guido Van Hoecke <guivho@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: shell-like Emacs CLI, and my Usenet behaviour
Date: Thu, 22 Aug 2013 08:40:11 +0200 [thread overview]
Message-ID: <m2ppt6b54k.fsf@gmail.com> (raw)
In-Reply-To: <20130821225833.GB5534@hysteria.proulx.com> (Bob Proulx's message of "Wed, 21 Aug 2013 16:58:33 -0600")
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.)
I do not understand the need for such a key. Eshell creates a shell
buffer. You just switch to it and type your command, without M-X or
whatever. I've mapped following little method to F8, so whenever I want
my shell, I hit F8 and start banging awy.
(defun guivho-switch-to-or-open-eshell-window()
"switch to current *eshell* window, or start eshell in current window"
(interactive)
(if (get-buffer-window "*eshell*" t)
(select-window (get-buffer-window "*eshell*"))
(eshell)))
If you want several eshell buffers, you can use M-x rename-uniquely.
I hope this helps,
Guido
--
Look, we trade every day out there with hustlers, deal-makers, shysters,
con-men. That's the way businesses get started. That's the way this
country was built.
-- Hubert Allen
next prev parent reply other threads:[~2013-08-22 6:40 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 [this message]
2013-08-22 22:42 ` W. Greenhouse
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ppt6b54k.fsf@gmail.com \
--to=guivho@gmail.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.