unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Marc Schwartz <marc_schwartz@comcast.net>
To: emacs-devel@gnu.org
Subject: Run 23 in the background in GNOME?
Date: Mon, 01 Sep 2008 08:45:47 -0500	[thread overview]
Message-ID: <m3fxokyo6s.fsf@WALL-E.localdomain> (raw)


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.

Marc Schwartz





             reply	other threads:[~2008-09-01 13:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-01 13:45 Marc Schwartz [this message]
2008-09-01 14:23 ` Run 23 in the background in GNOME? Dan Nicolaescu
2008-09-01 16:39   ` Marc Schwartz
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

  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=m3fxokyo6s.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 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).