From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: Re: How to Reduce Emacs Load Time Date: Thu, 4 Sep 2008 04:01:03 -0700 (PDT) Organization: http://groups.google.com Message-ID: <805fe1d6-bb70-4823-868a-92aa03c0d3ed@a18g2000pra.googlegroups.com> References: <18aba2b0-4fc7-4588-b69f-d9f46b264b03@q26g2000prq.googlegroups.com> <48becc09$1@news.greennet.net> <890ca6e5-bd27-4f55-ab05-1328b49a371b@v39g2000pro.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1220528465 12367 80.91.229.12 (4 Sep 2008 11:41:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2008 11:41:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 04 13:41:56 2008 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 1KbDDd-00060k-Oz for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 13:41:46 +0200 Original-Received: from localhost ([127.0.0.1]:40864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbDCe-000647-7D for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 07:40:44 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!postnews.google.com!a18g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 220.225.70.2 Original-X-Trace: posting.google.com 1220526064 17362 127.0.0.1 (4 Sep 2008 11:01:04 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 4 Sep 2008 11:01:04 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a18g2000pra.googlegroups.com; posting-host=220.225.70.2; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-Via: 1.1 EINSTEIN X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:161913 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:57256 Archived-At: On Sep 3, 10:06=A0pm, Rupert Swarbrick wrote: > > For this to be quite successful one needs --- > > 1. emacs running as a server -- easily done with (server-start) > > 2. emacs to be quietly background-able, ie disappear without being > > visible on the desktop. =A0This is not possible because delete-frame > > refuses to delete the last frame. In my view delete-frame should > > quietly delete the frame if server is running. if not and its the last > > frame it should chain to save-buffers-kill-emacs. > > 3. emacs to be understood as a service by the OS. =A0This means it must > > be compiled and follow the expected convention of service (for > > windows) or daemon (for unices). > > > 3 would give maximum convenience but at least 2 is necessary for easy > > 'service-able' usage (in my humble opinion) > > I believe one can get emacs to "go away completely" using the Multi-tty > version (which is either a branch or in trunk CVS), but I haven't tried > that yet myself. > > What I've been using for quite some time is detailed on the EmacsWiki > [1], and seems to work pretty well. It basically does what you describe > at the end of 2). > > Rupert > > [1]http://www.emacswiki.org/cgi-bin/wiki/RupertSwarbrick#toc1 > > =A0application_pgp-signature_part > < 1KViewDownload If you see my post to this list (sub: emacs as a service) and Eli's response of 29 aug you'll find multi-tty emacs only works and is only likely to work on linux. Right now I need to work on windows. Anyhow thanks. This code will still be useful to convert C-x C-c into a more general purpose 'closer'.