From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hugo Heden Newsgroups: gmane.emacs.help Subject: Re: Fast emacs? Date: Thu, 21 May 2009 12:13:43 +0200 Message-ID: <2bdf908c0905210313m1ab56943wf8df27d07cef747e@mail.gmail.com> References: <87fxf0hyyt.fsf@bornier.net> <87y6srvrdy.fsf@bornier.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd28ea616485a046a696670 X-Trace: ger.gmane.org 1242900888 9676 80.91.229.12 (21 May 2009 10:14:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2009 10:14:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Jean Magnan de Bornier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 21 12:14:41 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 1M75IN-0000ri-J1 for geh-help-gnu-emacs@m.gmane.org; Thu, 21 May 2009 12:14:40 +0200 Original-Received: from localhost ([127.0.0.1]:56246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M75IM-00047x-Ry for geh-help-gnu-emacs@m.gmane.org; Thu, 21 May 2009 06:14:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M75HX-0003uz-F5 for help-gnu-emacs@gnu.org; Thu, 21 May 2009 06:13:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M75HW-0003uM-9t for help-gnu-emacs@gnu.org; Thu, 21 May 2009 06:13:46 -0400 Original-Received: from [199.232.76.173] (port=39303 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M75HW-0003uE-1H for help-gnu-emacs@gnu.org; Thu, 21 May 2009 06:13:46 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.155]:1554) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M75HV-0007Ma-K9 for help-gnu-emacs@gnu.org; Thu, 21 May 2009 06:13:45 -0400 Original-Received: by fg-out-1718.google.com with SMTP id l27so1122466fgb.7 for ; Thu, 21 May 2009 03:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=AEc9TPqv2lHXCbjunO2vTmZ/fD5ccnN0ozZy5V5TitE=; b=jpJrVqDxylFE9iOqXb/waPKiPItr9b1P5bJCHPLNnpalIgqAgzajqPKjGZHc+klP4w gC9IdFTQ9fHSWHVaBcHVnEbb0IBA0ooUL70Ba7rcRf3hzB11BOZx6keD5t3ATx6gnMh7 oHUyf6V0uBqvmKNa5ms/UpGqj059g0j8E/VQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gC1a+pbF4OKzdKEeDsA7As3w7W9T9HPgEBat1NqWmKQmn1y1FjtPSAlEntXhcOF/dJ bfQoP2j0FLQJNbb4kos1wR7FSbVMREdaStBNUXb2VszxQze1ShBCTp++09zSGdHu0Mtx SS8DeNF+x991AG167Q7iVSoedfjDMEz430TTg= Original-Received: by 10.86.53.8 with SMTP id b8mr2078421fga.32.1242900823688; Thu, 21 May 2009 03:13:43 -0700 (PDT) In-Reply-To: <87y6srvrdy.fsf@bornier.net> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:64605 Archived-At: --000e0cd28ea616485a046a696670 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, May 20, 2009 at 3:24 PM, Jean Magnan de Bornier wrote: > Jean Magnan de Bornier wrote : > [snip] > > 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, > -- I do something similar (but using bash). I have a script that is *not* intended to be launched in some init-file. Instead, the user invokes the script when he wants to use emacs. The script starts the emacs-daemon if not already started, and then invokes the client. I am not completely sure it covers all your requirements, but it works very well for me. See http://hugoheden.wordpress.com/2009/03/21/invoking-emacs-daemon-and-client-easily/ > > Jean > --000e0cd28ea616485a046a696670 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Wed, May 20, 2009 at 3:24 PM, Jean Magnan de = Bornier <jean@born= ier.net> wrote:
Jean Magnan de Bornier <jean@bornier= .net> wrote :

=A0[snip]
=A0

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 an= y.
bye,
--

I do something similar (but using bash). I have a s= cript that is *not* intended to be launched in some init-file. Instead, the user invokes the script when he wants to use emacs. The script starts the emacs-daemon if not already started, and then invokes the client.

I am not completely sure it covers all your requirements, but it works very= well for me.

See http://hugoheden.wordpress.com/2009/03/21/invoking-= emacs-daemon-and-client-easily/

=A0

Jean

--000e0cd28ea616485a046a696670--