From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jean Magnan de Bornier Newsgroups: gmane.emacs.help Subject: Re: Fast emacs? Date: Wed, 20 May 2009 15:24:41 +0200 Organization: Guest of ProXad - France Message-ID: <87y6srvrdy.fsf@bornier.net> References: <87fxf0hyyt.fsf@bornier.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1242827354 29489 80.91.229.12 (20 May 2009 13:49:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 May 2009 13:49:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 20 15:49:07 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M6mAF-0002Mw-FP for geh-help-gnu-emacs@m.gmane.org; Wed, 20 May 2009 15:48:59 +0200 Original-Received: from localhost ([127.0.0.1]:44727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6mAE-0007Tl-Pq for geh-help-gnu-emacs@m.gmane.org; Wed, 20 May 2009 09:48:58 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newshub.sdsu.edu!feeder.erje.net!de-l.enfer-du-nord.net!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-a.proxad.net!nnrp4-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) Cancel-Lock: sha1:er9DN3Tf8ynE43wqyHm00uRHTus= Original-Lines: 16 Original-NNTP-Posting-Date: 20 May 2009 15:24:41 MEST Original-NNTP-Posting-Host: 81.56.145.104 Original-X-Trace: 1242825881 news-3.free.fr 22223 81.56.145.104:41525 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:169339 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64590 Archived-At: Jean Magnan de Bornier wrote : | However I wonder what's the best place to write the command; I'm running a | linux box with xorg started by "startx". | A first try was to write "emacs --daemon" in ~/.xsession, but then if I | leave my x session and enter another one, it aks a new emacs start and | that causes trouble. | I have then written "emacs --daemon" in my ~/.zshenv, and it starts all | right, but then opening a zsh shell also make it attempt to start the | daemon again! Well I ended writing a zsh script (lauched in .xsession) to check if an emacs server is running, and lauching the server only if there isn't any. bye, -- Jean