unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: dkcombs@panix.com (David Combs)
To: help-gnu-emacs@gnu.org
Subject: Re: Detachable shells in Emacs?
Date: Sun, 9 Sep 2012 16:06:54 +0000 (UTC)	[thread overview]
Message-ID: <k2iequ$mpg$1@reader1.panix.com> (raw)
In-Reply-To: 44lih0p16h.fsf@be-well.ilk.org

In article <44lih0p16h.fsf@be-well.ilk.org>,
Lowell Gilbert  <lgusenet@be-well.ilk.org> wrote:
>Neal Becker <ndbecker2@gmail.com> writes:
>
>> Stefan Monnier wrote:
>>
>>>> What I'd like is to be able to detach the shell process running in the
>>>> buffer, like the GNU screen program allows me to do, and resume it
>>>> later.
>>> 
>>> Just leave your Emacs running and then connect to it with emacsclient
>>> when you want to see the result.
>>> 
>>> 
>>>         Stefan
>>
>> Not a choice if you started emacs via e.g., ssh.
>>
>> I really miss this feature.  Turn running emacs into a daemon.  I'll bet it's 
>> not that hard to implement this.
>
>You can always use emacs' daemon option (which has been around for a few
>years now), but as far as I can see, you need to start it that way up
>front. Stefan Monnier's approach seems to allow you to detach from a
>running emacs started without that option.
>
>I use the daemon mode quite often; in fact, these days I rarely run
>emacs without it.

It'd be really useful to *lots* of us (I think) if, right here in
this very thread, you guys could followup with posts that could
later be put together into a tutorial on emacs-as-daemon:

. What benefits come from deamonizing emacs -- what kinds of
  things can you do (easily) only when emacs is sitting there
  as a daemon.

. a little ascii picture (or instructions for drawing one 
  on paper) of how the thing works, how it's used.

. (Note: in both emacs and elisp *info* tbl of contents, no mention
   of either daemon or demon.)

. How to it up as a daemon.

. How to actually use it in one of its uses.


Thanks so much!

Looks like a pretty cool feature, but I have ZERO idea of how
(or why) I'd use it, benefit from it.

Also, an explanation of what's behind this statement:

   >
   >I use the daemon mode quite often; in fact, these days I rarely run
   >emacs without it.


THANK YOU!

David




  reply	other threads:[~2012-09-09 16:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-25 23:47 Detachable shells in Emacs? Sean McAfee
2012-08-26  0:05 ` Pascal J. Bourguignon
2012-09-07 20:04   ` Sean McAfee
2012-09-08  2:08     ` Neil T. Dantam
2012-09-14  0:56   ` Sean McAfee
2012-08-26  2:02 ` Stefan Monnier
2012-08-27 19:09   ` Neal Becker
     [not found]   ` <mailman.7694.1346094589.855.help-gnu-emacs@gnu.org>
2012-08-27 19:47     ` Lowell Gilbert
2012-09-09 16:06       ` David Combs [this message]
2012-09-11 17:56         ` Lowell Gilbert
2012-08-28  3:58     ` Barry Margolin

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='k2iequ$mpg$1@reader1.panix.com' \
    --to=dkcombs@panix.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).