all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: "Jesuz Networks Inc. " <renefroger.roeleert@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Multiple Eshell process?
Date: Tue, 10 Nov 2015 09:56:34 +0100	[thread overview]
Message-ID: <m3h9kui665.fsf@exodia.verona.se> (raw)
In-Reply-To: <CAL1koS+=wbwkeGHobkTdW=nV-cX=nr+qG7TyauHCAQov-wgBuQ@mail.gmail.com> (Jesuz Networks's message of "Mon, 9 Nov 2015 22:37:43 +0100")

"Jesuz Networks Inc. " <renefroger.roeleert@gmail.com> writes:

> Thanks for your answer, but it seems there is some wrong perception. 
>
> While Eshell is running offlineimap, which take some hours to get finished, I could open another Emacs client instance and do something other things (like running Gnus or playing Tetris or do some coding), while Eshell is running on background. So it seems it is possible to have multiple things running, because the other process (like Tetris or Flycheck)
> are using the same Lisp thread as Eshell?

When eshell is running elisp code, emacs will be busy evaluating the
elisp. This is what Eli said.

However, when you work in a shell a lot of times you start external
processes. These do not occupy the Emacs lisp thread, and to the user it
seems like Emacs is multi-tasking.



>
> 2015-11-09 22:00 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
>
>
>  > 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 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.
>
>
>

-- 
Joakim Verona



  reply	other threads:[~2015-11-10  8:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-09 20:43 Multiple Eshell process? Jesuz Networks Inc. 
2015-11-09 21:00 ` Eli Zaretskii
2015-11-09 21:37   ` Jesuz Networks Inc. 
2015-11-10  8:56     ` joakim [this message]
2015-11-09 21:44   ` Samer Masterson
2015-11-09 22:12     ` Rene Froger
2015-11-09 21:07 ` Nicolas Semrau

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=m3h9kui665.fsf@exodia.verona.se \
    --to=joakim@verona.se \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=renefroger.roeleert@gmail.com \
    /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.