From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: thierry.volpiatto@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Fast emacs? Date: Wed, 20 May 2009 18:54:22 +0200 Message-ID: <87iqjvu341.fsf@tux.homenetwork> References: <87fxf0hyyt.fsf@bornier.net> <87y6srvrdy.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 1242838917 6174 80.91.229.12 (20 May 2009 17:01:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 May 2009 17:01:57 +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 19:01:50 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 1M6pAq-00015l-60 for geh-help-gnu-emacs@m.gmane.org; Wed, 20 May 2009 19:01:48 +0200 Original-Received: from localhost ([127.0.0.1]:50046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6pAp-0003hx-G4 for geh-help-gnu-emacs@m.gmane.org; Wed, 20 May 2009 13:01:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6pAV-0003hc-Kv for help-gnu-emacs@gnu.org; Wed, 20 May 2009 13:01:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6pAR-0003gb-2H for help-gnu-emacs@gnu.org; Wed, 20 May 2009 13:01:27 -0400 Original-Received: from [199.232.76.173] (port=49156 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6pAQ-0003gR-Sc for help-gnu-emacs@gnu.org; Wed, 20 May 2009 13:01:22 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:59566 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 1M6pAQ-0007Pu-4r for help-gnu-emacs@gnu.org; Wed, 20 May 2009 13:01:22 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M6pAN-0006xW-Sk for help-gnu-emacs@gnu.org; Wed, 20 May 2009 17:01:20 +0000 Original-Received: from adsl-71-137-194-210.dsl.scrm01.pacbell.net ([71.137.194.210]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 May 2009 17:01:19 +0000 Original-Received: from thierry.volpiatto by adsl-71-137-194-210.dsl.scrm01.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 May 2009 17:01:19 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-71-137-194-210.dsl.scrm01.pacbell.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHAwNfJRBVTESlTym0 RB/OwKFivhZqAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABeElE QVQ4y3VTW47CMAyMwwUyTfYfUvG/wfC/ET4B0t7/KmsHurRgXFVVPRm/xglhsRj2+npW98G3+Amp tS5BXxl3SqzcXGRuEyf7n5lPA9jXetNPRhE7EJkzfz8YWnIgBSwW95TK4H79/t4GINKNADWj4PgA DiJX/ZxFDzDXeb4oYMw7kNUvyMzcaj3ioICG4hCKEShkPpwQ49Q05nnkGAQLDFDdExjm0qpowBYA Wi61bDlFU1GW0WbY2dSJYX5ZD2S0AiZL+rPyE19TpMzP2IvNWly+NkuWNgD4pO2oL73IQXoSyVX2 NHna7tgadWRXoCdvf2guqEcvGHqZwE520iRD0/QCYiiTE+U21w1Qxvg6iSp9fbIiDCnSAelDkCVF Vn+HekqXzRybwJ40xF4DMRG6SWGK9G1lYzHSxLYEm05GWbpJCB6A9tb9A3BGn2XdwJbS/WuInj74 4QNF8sVFdP3vl+5tgYp4Ev7fyrfFMkXgElDgV4uV/w8TWEeLCIGJ/AAAACV0RVh0Y3JlYXRlLWRh dGUAMjAwOC0wNS0zMVQyMDoxNDoyMiswMDowMAS7YjIAAAARdEVYdGpwZWc6Y29sb3JzcGFjZQAy LHVVnwAAACB0RVh0anBlZzpzYW1wbGluZy1mYWN0b3IAMngyLDF4MSwxeDFJ+qa0AAAAJXRFWHRt b2RpZnktZGF0ZQAyMDA3LTEwLTI4VDE2OjA4OjQ4KzAwOjAw44nspgAAAABJRU5ErkJggg== User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.93 (gnu/linux) Cancel-Lock: sha1:ghB17O92xSjPB6dILu9AcDlrI5g= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:64596 Archived-At: Hi, Jean Magnan de Bornier writes: > 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, If you use gentoo, you will find a gentoo package called emacs-daemon. It start emacs --daemon as a service. Even if you don't use gentoo, it should be easy to make it working in another linux. -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France