From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rene Froger Newsgroups: gmane.emacs.devel Subject: Re: Multiple Eshell process? Date: Mon, 9 Nov 2015 23:12:07 +0100 Message-ID: References: <83bnb2nb11.fsf@gnu.org> <1447105481.2474060.434313369.5A479518@webmail.messagingengine.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114fc6d8458e30052422e294 X-Trace: ger.gmane.org 1447108068 23218 80.91.229.3 (9 Nov 2015 22:27:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Nov 2015 22:27:48 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Samer Masterson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 09 23:27:42 2015 Return-path: Envelope-to: ged-emacs-devel@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 1Zvuub-0001Al-MG for ged-emacs-devel@m.gmane.org; Mon, 09 Nov 2015 23:27:41 +0100 Original-Received: from localhost ([::1]:55978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zvuub-0002MN-3j for ged-emacs-devel@m.gmane.org; Mon, 09 Nov 2015 17:27:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zvufa-0004cE-PZ for emacs-devel@gnu.org; Mon, 09 Nov 2015 17:12:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvufZ-0006FP-OJ for emacs-devel@gnu.org; Mon, 09 Nov 2015 17:12:10 -0500 Original-Received: from mail-yk0-x235.google.com ([2607:f8b0:4002:c07::235]:32984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvufX-0006F2-N9; Mon, 09 Nov 2015 17:12:07 -0500 Original-Received: by ykdv3 with SMTP id v3so199667642ykd.0; Mon, 09 Nov 2015 14:12:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XEZWo7VYERD6NVVVU1a7oJGih/MG2FByCGcdwtWrxNY=; b=gpjKrfZEk625/xPZNFvWWLZOZTNciHvf9LOsdDVXAkGgfGZw4jVsKH6YjUmegSGc/g Dtje+GettdK8dbpeodQil3KcNm3ZBBHSzXguUh4g2i/3Rq3z63Bk+EVyB9wf9eoPYQ1H n5d/YzcCE4RhgMlc5M5RQe7sYR9QqFitmdfEpPBxVe2Fbkrs4XmLMPvOp84iO9i/vU/P EJroeY1ltk2Ql1N2n8zp1YMe0iX/JAvmpIWDsMaKrtt2UyhLr9n2CzCx7HhPt2dNoJ7A Bll5PrFrwQQ1p7aP6rThKZXe0Vy+M01ii3yk0i+orCP/7L/Rui9nW1zmdCwH+1XM1EWh 12EQ== X-Received: by 10.13.212.69 with SMTP id w66mr190141ywd.99.1447107127248; Mon, 09 Nov 2015 14:12:07 -0800 (PST) Original-Received: by 10.129.56.70 with HTTP; Mon, 9 Nov 2015 14:12:07 -0800 (PST) In-Reply-To: <1447105481.2474060.434313369.5A479518@webmail.messagingengine.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::235 X-Mailman-Approved-At: Mon, 09 Nov 2015 17:27:09 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:193777 Archived-At: --001a114fc6d8458e30052422e294 Content-Type: text/plain; charset=UTF-8 Thanks Samer Masterson, (eshell t) did do the trick, clever of you. It solved even my question, where I thought you need a new Eshell process for that. 2015-11-09 22:44 GMT+01:00 Samer Masterson : > Eshell has sessions that you can use to have multiple eshells open at > the same time. You can start a new eshell session with "(eshell t)". > > I have a function in my .emacs.d for starting new eshell sessions, which > I bind to "C-x M". > > (defun my-new-eshell () > (interactive) > (eshell t)) > > (global-set-key (kbd "C-x M") 'my-new-eshell) > > -samer > > On Mon, Nov 9, 2015, at 01:00 PM, Eli Zaretskii wrote: > > > Date: Mon, 9 Nov 2015 21:43:06 +0100 > > > From: "Jesuz Networks Inc. " > > > > > > When I'm compiling something in Eshell, of Importing my mail with > offlinemap > > > tool, then I need to wait long time before a process in Eshell is > finished and > > > I can use Eshell again. > > > As far as it seems, I could only run one Eshell process. > > > > > > This is somewhat inconvenient. For example, when you run a process in > Guake > > > terminal, you can spawn another Guake terminal in a new tab and do > your thing > > > while a process is still running in another tab. > > > > > > So I'm wondering if this could be possible with Eshell? > > > > Eshell is actually a Lisp program, and Emacs has only one Lisp > > thread. So no, this is not currently possible. It could be possible > > when we integrate the concurrency branch into Emacs, though. Maybe. > > > --001a114fc6d8458e30052422e294 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Samer Masterson, (eshell t) did do the trick, cleve= r of you. It solved even my question, where I thought you need a new Eshell= process for that.

2015-11-09 22:44 GMT+01:00 Samer Masterson <samer@samertm.com&g= t;:
Eshell has sessions that you c= an use to have multiple eshells open at
the same time. You can start a new eshell session with "(eshell t)&quo= t;.

I have a function in my .emacs.d for starting new eshell sessions, which I bind to "C-x M".

(defun my-new-eshell ()
=C2=A0 (interactive)
=C2=A0 (eshell t))

(global-set-key (kbd "C-x M") 'my-new-eshell)

-samer

On Mon, Nov 9, 2015, at 01:00 PM, Eli Zaretskii wrote:
> > Date: Mon, 9 Nov 2015 21:43:06 +0100
> > From: "Jesuz Networks Inc. " <renefroger.roeleert@gmail.com>
> >
> > When I'm compiling something in Eshell, of Importing my mail = with offlinemap
> > tool, then I need to wait long time before a process in Eshell is= finished and
> > I can use Eshell again.
> > As far as it seems, I could only run one Eshell process.
> >
> > This is somewhat inconvenient. For example, when you run a proces= s in Guake
> > terminal, you can spawn another Guake terminal in a new tab and d= o your thing
> > while a process is still running in another tab.
> >
> > So I'm wondering if this could be possible with Eshell?
>
> Eshell is actually a Lisp program, and Emacs has only one Lisp
> thread.=C2=A0 So no, this is not currently possible.=C2=A0 It could be= possible
> when we integrate the concurrency branch into Emacs, though.=C2=A0 May= be.
>

--001a114fc6d8458e30052422e294--