From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: light versions of emacs and getting it to start faster Date: 19 Sep 2002 13:22:05 GMT Organization: IBM T.J. Watson Research Center Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1032443757 10030 127.0.0.1 (19 Sep 2002 13:55:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Sep 2002 13:55:57 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17s1me-0002bb-00 for ; Thu, 19 Sep 2002 15:55:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17s1mz-0002Mz-00; Thu, 19 Sep 2002 09:56:17 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!news.tufts.edu!uunet!dca.uu.net!news.chips.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!kgold Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: alpha.watson.ibm.com Original-X-Trace: news.btv.ibm.com 1032441725 17088 9.2.16.245 (19 Sep 2002 13:22:05 GMT) Original-X-Complaints-To: news@btv.ibm.com Original-NNTP-Posting-Date: 19 Sep 2002 13:22:05 GMT X-Newsreader: xrn 9.01 Originator: kgold@watson.ibm.com Original-Xref: nntp.stanford.edu gnu.emacs.help:105075 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1629 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1629 For me the best answer to "how do I get emacs to start faster" is to start it once at login and then run gnuserv. Run emacs as a server and use gnuclient to attach additional processes to it. I start emacs about once a month, so I don't really care about the 5 second startup. GI writes: > > I'm interested in reducing the binary size of emacs, and getting it to start/load faster. > > Reason: > My current system (Redhat 7.2 on an i686) has an old version of > emacs. My system administrator has not yet upgraded (and knowing > him, it'll be a while ...). So I compiled my own version and have it > somewhere in my homedirectory (on the network). I have to load up > emacs multiple times in one session (I use it as my default editor > in my mailreader - Mutt), and a large binary size stored remotely is > painfully slow. > > What I've done so far: I compiled it (emacs 21.2) without X > support. It reduced the binary size from 7MB to about 5. I can't get > any lower than that. > > I'm sure one can make the binary a lot smaller since the binary > distributed by Redhat 7.3 is only about 4MB (and that has X support > too!) > > Also, it would be nice if emacs never loaded some pointless lisp > files to begin with (like I never use the menu bar mode when i'm > writiing emails). So if anyone knows how to strip down the lisp > files emacs loads on startup to a bare minimum, that would also be > helpful. But I guess what would give me most performace is killing > the binary size! -- -- Ken Goldman kgold@watson.ibm.com 914-784-7646