From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rncross@gmail.com Newsgroups: gmane.emacs.help Subject: Re: ISO fast-loading Emacs Date: 26 Apr 2006 02:32:58 -0700 Organization: http://groups.google.com Message-ID: <1146043977.954095.115850@u72g2000cwu.googlegroups.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1146044482 7773 80.91.229.2 (26 Apr 2006 09:41:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 09:41:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 26 11:41:18 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FYgWC-0004g4-47 for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Apr 2006 11:41:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYgWB-0005OO-LX for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Apr 2006 05:41:07 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!u72g2000cwu.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Followup-To: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 213.48.91.42 Original-X-Trace: posting.google.com 1146043985 22750 127.0.0.1 (26 Apr 2006 09:33:05 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 26 Apr 2006 09:33:05 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: u72g2000cwu.googlegroups.com; posting-host=213.48.91.42; posting-account=Y5vLjQwAAACb1mho0pFUy4bRNwQj7OYp Original-Xref: shelby.stanford.edu gnu.emacs.help:139048 Original-To: help-gnu-emacs@gnu.org 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:34669 Archived-At: kj wrote: > One feature of my shell (zsh) that I particularly like is the > command edit-command-line, which lets one edit the current command > line in $EDITOR (or $VISUAL). I'd like to do this with Emacs but > my current version of Emacs takes so long to load that it is not > practical for such on-the-fly editing. > > All I need is bare-bones Emacs for this. It would be nice to also > get syntax highlighting with shell-script-mode, though I'm willing > to sacrifice this for the sake of speed. > What should I put in $EDITOR to achieve the fastest loading Emacs? > Is there an Emacs-lite out there? > Hi, What I use to speed up my emacs with all my extra packages I use is to have another 'dumped' version. I have a function that I call with emacs -batch -l ~/.emacs --funcall rnc_dump_emacs. That function simply 'requires' my most commonly used code e.g. cc-mode and then calls dump-emacs: (dump-emacs "emacs-rnc" "/usr/local/bin/emacs). While this may not be the most elegant or correct solution :-) it has been working successfully for me with emacs 21.3 for a couple of years. It drops my load time from 8 seconds to under a second. See also http://www.emacswiki.org/cgi-bin/wiki/DumpingEmacs Hope it helps Nick