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: Wed, 3 Sep 2008 06:06:19 -0700 (PDT) Organization: http://groups.google.com Message-ID: <890ca6e5-bd27-4f55-ab05-1328b49a371b@v39g2000pro.googlegroups.com> References: <18aba2b0-4fc7-4588-b69f-d9f46b264b03@q26g2000prq.googlegroups.com> <48becc09$1@news.greennet.net> 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 1220449265 14584 80.91.229.12 (3 Sep 2008 13:41:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2008 13: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 Wed Sep 03 15:41:59 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 1KascD-0004xN-3a for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Sep 2008 15:41:45 +0200 Original-Received: from localhost ([127.0.0.1]:56180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KasbD-0002aj-KK for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Sep 2008 09:40:43 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!v39g2000pro.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 220.225.70.2 Original-X-Trace: posting.google.com 1220447179 7627 127.0.0.1 (3 Sep 2008 13:06:19 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 3 Sep 2008 13:06:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v39g2000pro.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:161878 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:57224 Archived-At: On Sep 2, 11:04=A0pm, Ken Goldman wrote: > formido wrote: > > What strategies could I use to get my load time down? > > My standard answer is to avoid starting emacs - run it as a server and > connect clients to it. =A0When you start it every few months, you won't > care too much about the startup time. > > See gnuclient or emacsclient. 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. This 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. This 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)