From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Guido Van Hoecke Newsgroups: gmane.emacs.help Subject: Re: shell-like Emacs CLI, and my Usenet behaviour Date: Thu, 22 Aug 2013 08:40:11 +0200 Message-ID: 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 1377153650 31694 80.91.229.3 (22 Aug 2013 06:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Aug 2013 06:40:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 22 08:40:52 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 1VCOZg-0006Gu-CE for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Aug 2013 08:40:52 +0200 Original-Received: from localhost ([::1]:57954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCOZf-0002lP-St for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Aug 2013 02:40:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCOZH-0002kp-N1 for help-gnu-emacs@gnu.org; Thu, 22 Aug 2013 02:40:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCOZ5-0004fC-KD for help-gnu-emacs@gnu.org; Thu, 22 Aug 2013 02:40:27 -0400 Original-Received: from mail-ea0-x22c.google.com ([2a00:1450:4013:c01::22c]:37995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCOZ5-0004ej-8N for help-gnu-emacs@gnu.org; Thu, 22 Aug 2013 02:40:15 -0400 Original-Received: by mail-ea0-f172.google.com with SMTP id r16so698457ead.3 for ; Wed, 21 Aug 2013 23:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=JW1DMrvywoJLxpbh6GAd+y9d8ximKkldtzi1LdDIX5Q=; b=icv9Q49qsqSPOu8DgnEKGQnyDJOA2pLjzJOYc10E6CI5YRYUXTzl71CaxgyTz/gwkQ Wm56Mq5uh2iwIfbvuJOVuQkZFcKCdrAKYBSIyCWbqiO5FaUl7WcgWXz9l2qV/xyLaCwp n5649rZtLMQCWLI7RcXUQCYLgqAV3lluQSWMiZ7zpILoCUfONyDwlhbi7aYWh2TbBlgR tR4yFOC2k4D7MIMLMBjfncGNnm7c+01U9D9Gmz9NToSnCjn9QnMhTuyEYwO+I0q8JE5s UcdoN+8s6cfW1hHDtqWtG1NqvErTWSVvlgeG+JtKohMN/CAumaNfNjmZDge8XviZx9fx Mmaw== X-Received: by 10.14.183.130 with SMTP id q2mr16421275eem.5.1377153614368; Wed, 21 Aug 2013 23:40:14 -0700 (PDT) Original-Received: from zac.local.vanhoecke.org (78-20-180-173.access.telenet.be. [78.20.180.173]) by mx.google.com with ESMTPSA id n48sm15221131eeg.17.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 21 Aug 2013 23:40:13 -0700 (PDT) In-Reply-To: <20130821225833.GB5534@hysteria.proulx.com> (Bob Proulx's message of "Wed, 21 Aug 2013 16:58:33 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22c 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:93044 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.) 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