From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: wgreenhouse@riseup.net (W. Greenhouse) Newsgroups: gmane.emacs.help Subject: Re: shell-like Emacs CLI, and my Usenet behaviour Date: Thu, 22 Aug 2013 22:42:23 +0000 Message-ID: <8761ux9wkw.fsf@motoko.kusanagi> References: <87eh9qpznc.fsf@nl106-137-194.student.uu.se> <20130821225833.GB5534@hysteria.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1377211386 12606 80.91.229.3 (22 Aug 2013 22:43:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Aug 2013 22:43:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 23 00:43:08 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VCdas-0000Ed-MY for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Aug 2013 00:43:06 +0200 Original-Received: from localhost ([::1]:34107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCdas-0005XG-BB for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Aug 2013 18:43:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCdab-0005Wt-QS for help-gnu-emacs@gnu.org; Thu, 22 Aug 2013 18:42:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCdaW-0007b7-1x for help-gnu-emacs@gnu.org; Thu, 22 Aug 2013 18:42:49 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCdaV-0007au-Qe for help-gnu-emacs@gnu.org; Thu, 22 Aug 2013 18:42:43 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VCdaU-00080B-Q8 for help-gnu-emacs@gnu.org; Fri, 23 Aug 2013 00:42:42 +0200 Original-Received: from 178.32.210.159 ([178.32.210.159]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Aug 2013 00:42:42 +0200 Original-Received: from wgreenhouse by 178.32.210.159 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Aug 2013 00:42:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 178.32.210.159 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:kmRQval76qRzqlQO39JPawWiLmU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93060 Archived-At: Bob Proulx 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