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 12:04:42 +0200 Organization: Guest of ProXad - France Message-ID: <87fxf0hyyt.fsf@bornier.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1242816049 24597 80.91.229.12 (20 May 2009 10:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 May 2009 10:40:49 +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 12:40:42 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 1M6jE0-0008Ou-V6 for geh-help-gnu-emacs@m.gmane.org; Wed, 20 May 2009 12:40:41 +0200 Original-Received: from localhost ([127.0.0.1]:55323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6jE0-0001EJ-BD for geh-help-gnu-emacs@m.gmane.org; Wed, 20 May 2009 06:40:40 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!nx01.iad01.newshosting.com!newshosting.com!feeder.ecngs.de!ecngs!feeder2.ecngs.de!proxad.net!feeder1-1.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp19-1.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:TELYEEADFMvfJcbr5UvtJFukyB0= Original-Lines: 36 Original-NNTP-Posting-Date: 20 May 2009 12:04:42 MEST Original-NNTP-Posting-Host: 81.56.145.104 Original-X-Trace: 1242813882 news-2.free.fr 23725 81.56.145.104:50122 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:169333 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:64587 Archived-At: "Dirk-Jan C. Binnema" wrote : | > > Note that using the emacsclient is no solution, because this requires | > > that a version of Emacs be already running, which often defeats | > > the purpose (not only do I have to wait another eternity for this | > > new Emacs session to start, but then I have to start the server in | > > the new session). > | Well, maybe you'd need to take another look at emacs --daemon ;-) I have | run it when my (X) *session* starts (no need for tricks to put it in | system startup scripts). Emacs starts within a cpl of seconds (1000 line | .emacs). > | Then for the rest of the day I use emacsclient -c; lightning fast. > | With emacs --daemon all the trimming, autoloading etc becomes much less | important. Hi all, emacs --daemon is really great! 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! I probably miss something very straightforward! Thanks for any help, -- Jean