From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marc Schwartz Newsgroups: gmane.emacs.devel Subject: Run 23 in the background in GNOME? Date: Mon, 01 Sep 2008 08:45:47 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220276820 20162 80.91.229.12 (1 Sep 2008 13:47:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2008 13:47:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 01 15:47:54 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ka9kK-0002YO-NF for ged-emacs-devel@m.gmane.org; Mon, 01 Sep 2008 15:47:09 +0200 Original-Received: from localhost ([127.0.0.1]:42388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ka9jK-0002kq-Vw for ged-emacs-devel@m.gmane.org; Mon, 01 Sep 2008 09:46:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ka9jF-0002kL-Qg for emacs-devel@gnu.org; Mon, 01 Sep 2008 09:46:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ka9jF-0002k5-4e for emacs-devel@gnu.org; Mon, 01 Sep 2008 09:46:01 -0400 Original-Received: from [199.232.76.173] (port=55868 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ka9jE-0002js-SA for emacs-devel@gnu.org; Mon, 01 Sep 2008 09:46:00 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:47780 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ka9jE-0005qi-Dx for emacs-devel@gnu.org; Mon, 01 Sep 2008 09:46:00 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ka9jA-0007m5-Dg for emacs-devel@gnu.org; Mon, 01 Sep 2008 13:45:56 +0000 Original-Received: from c-75-73-100-84.hsd1.mn.comcast.net ([75.73.100.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Sep 2008 13:45:56 +0000 Original-Received: from marc_schwartz by c-75-73-100-84.hsd1.mn.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Sep 2008 13:45:56 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-75-73-100-84.hsd1.mn.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:UabUkd74E4Z6V9kGnDRmixchbxI= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103367 Archived-At: 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