From: Marc Schwartz <marc_schwartz@comcast.net>
To: emacs-devel@gnu.org
Subject: Re: Run 23 in the background in GNOME?
Date: Mon, 01 Sep 2008 11:39:11 -0500 [thread overview]
Message-ID: <m3bpz7zuq8.fsf@WALL-E.localdomain> (raw)
In-Reply-To: 200809011423.m81ENIDN000018@sallyv1.ics.uci.edu
Dan Nicolaescu <dann@ics.uci.edu> writes:
> Marc Schwartz <marc_schwartz@comcast.net> writes:
>
> > Hi all,
> >
> > Been running 23 from CVS for some time. First, great work to all the
> > devs!
> >
> > This weekend, I decided to alter my modus operandi, such that Emacs
> > would be loaded at my login to GNOME and then enable me to run
> > emacsclient to speed up the loading and editing of subsequent
> > files. BTW, this is on Fedora 9.
> >
> > Based upon entries in the Wiki and others that I found via Google, I
> > enable the server in ~/.emacs and have set my default editor in .bashrc
> > to a modification/simplification of the emacs.bash script for 23, that I
> > put into ~/bin/emacs23, which is run at login.
> >
> > This is working great, with one exception. When I run Emacs at login, I
> > use the --iconic argument, so that the Emacs window is not displayed on
> > the desktop. There are times however, when I accidentally click on the
> > Emacs icon on the dock (Avant-Window-Navigator), bringing up the window
> > and then subsequently close it, losing the advantage of the
> > server/emacsclient combination. Yeah, I know....stop doing that... :-)
> >
> > I have tried various incantations of running Emacs in the background
> > (using &), both as part of a startup session in the GUI and from bash,
> > without success. In checking for the presence of /tmp/emacs${UID}/server
> > or ${HOME}/.emacs_server in the emacs23 script, I cannot seem to get it
> > to stick reliably, while keeping Emacs in the background, so that it
> > does not show up on the desktop at all, even iconized. I have also
> > attempted to use the window settings in Compiz-Fusion to have the
> > initial iconized Emacs session skip the taskbar, as an alternative,
> > without success however.
> >
> > Anyone have any ideas/suggestions to get Emacs to run at login, while
> > not showing up on the desktop or the taskbar, so that it is effectively
> > invisible as a user, thus enabling me to consistently use emacsclient
> > for all subsequent operations?
> >
> > Thanks in advance.
>
> You can do this using "emacs --daemon" after applying the patch here:
> http://permalink.gmane.org/gmane.emacs.devel/103368
Wonderful. Thanks Dan! I had in the back of my mind a 'service-like'
approach and this fits the bill. Good to see that it appears that it
will go into the trunk for 23.1 as a standard feature.
Cheers,
Marc
next prev parent reply other threads:[~2008-09-01 16:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-01 13:45 Run 23 in the background in GNOME? Marc Schwartz
2008-09-01 14:23 ` Dan Nicolaescu
2008-09-01 16:39 ` Marc Schwartz [this message]
2008-09-01 18:28 ` Stefan Monnier
2008-09-01 20:46 ` Sven Joachim
2008-09-02 2:45 ` Stefan Monnier
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=m3bpz7zuq8.fsf@WALL-E.localdomain \
--to=marc_schwartz@comcast.net \
--cc=emacs-devel@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 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.