From: Dan Nicolaescu <dann@ics.uci.edu>
To: David De La Harpe Golden <david@harpegolden.net>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: start emacs without creating frames and connect with emacsclient later
Date: Thu, 21 Aug 2008 16:55:59 -0700 [thread overview]
Message-ID: <200808212356.m7LNtxud020153@sallyv1.ics.uci.edu> (raw)
In-Reply-To: <48ADF25A.40102@harpegolden.net> (David De La Harpe Golden's message of "Thu, 21 Aug 2008 23:55:22 +0100")
David De La Harpe Golden <david@harpegolden.net> writes:
> Dan Nicolaescu wrote:
> > "Richard M. Stallman" <rms@gnu.org> writes:
> >
> > > Should something like this go in? We do have a feature freeze, but this
> > > is quite simple, and it completes the multi-tty functionality, which is
> > > one of the major features of 23.1.
> > >
> > > I think it should go in
> > > provided you write the text for etc/NEWS AND all the relevant manuals.
> >
> > I'll update the all the docs whenever it gets checked in.
> >
> > Here's a new version of the patch, now it has code to detach from the
> > terminal, so it is a real daemon (how scary, emacs is haunted by daemons
> > now).
> >
>
> FWIW (Which may not be much...), I'm not sure that
> [not opening an initial frame yet retaining ability to open frames] and
> [daemonizing (detaching from the process group)] and
> [starting an emacsclient server]
> should be conflated to quite such a degree.
Well, it's a design goal, and it fits perfectly my use case, which is
not uncommon, a number of people have written scripts to simulate
something like this with a suspended screen session.
> IMO, a most useful use case for no initial full frame would be in
> conjunction with systray support i.e. something like emacs --tray (or
> better a customize variable) that means emacs docks into the systray
> while obeying X session management.
If someone wants to provide something like that, they can go ahead and
develop a patch. (I personally have no interest for such a use).
> That way one could start emacs like a mail client such as kmail,
> at gui login, and it would be in the systray, popping up new frames
> on left click, and perhaps having a right click menu
> {new frame, start/stop server, quit} or the like.
>
> Not sure any of that need to _daemonize_ though (not saying daemonizing
> isn't useful!) - in fact it might be counterproductive, as emacs
> might kind of "escape" the session manager.
The fact that emacs "escape" the session manager here is absolutely
intentional. Being able to access an emacs session over the net,
keeping emacs alive if X crashes, etc is extremely helpful.
next prev parent reply other threads:[~2008-08-21 23:55 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-13 16:10 start emacs without creating frames and connect with emacsclient later Dan Nicolaescu
2008-08-13 16:40 ` Johannes Weiner
2008-08-13 20:49 ` Stefan Monnier
2008-08-14 5:19 ` Richard M. Stallman
2008-08-14 17:21 ` Stefan Monnier
2008-08-15 12:44 ` Richard M. Stallman
2008-08-15 15:25 ` Dan Nicolaescu
2008-08-21 17:20 ` Dan Nicolaescu
2008-08-21 22:55 ` David De La Harpe Golden
2008-08-21 23:55 ` Dan Nicolaescu [this message]
2008-08-22 5:59 ` tomas
2008-08-22 7:24 ` Paul R
2008-08-22 11:58 ` David Hansen
2008-09-01 14:03 ` Dan Nicolaescu
2008-09-01 14:02 ` Dan Nicolaescu
2008-09-01 18:29 ` Stefan Monnier
2008-09-01 23:11 ` Dan Nicolaescu
2008-09-02 19:53 ` Stefan Monnier
2008-09-03 6:43 ` Dan Nicolaescu
2008-09-03 6:50 ` martin rudalics
2008-09-03 11:53 ` Dan Nicolaescu
2008-09-03 12:38 ` martin rudalics
2008-09-03 20:14 ` Dan Nicolaescu
[not found] ` <jwv7i9tyzk5.fsf-monnier+emacs@gnu.org>
[not found] ` <200809211007.m8LA7TLQ014367@mothra.ics.uci.edu>
[not found] ` <87k5d5u359.fsf@cyd.mit.edu>
[not found] ` <jwvabe14o4w.fsf-monnier+emacs@gnu.org>
[not found] ` <200809211826.m8LIQBbq016320@mothra.ics.uci.edu>
[not found] ` <jwvskrt2tbz.fsf-monnier+emacs@gnu.org>
2008-09-21 23:36 ` Dan Nicolaescu
2008-08-15 15:36 ` Phil Jackson
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=200808212356.m7LNtxud020153@sallyv1.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=david@harpegolden.net \
--cc=emacs-devel@gnu.org \
--cc=rms@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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).