unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: rncross@gmail.com
Subject: Re: ISO fast-loading Emacs
Date: 26 Apr 2006 02:32:58 -0700	[thread overview]
Message-ID: <1146043977.954095.115850@u72g2000cwu.googlegroups.com> (raw)
In-Reply-To: e1liod$gi1$1@reader1.panix.com

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

      parent reply	other threads:[~2006-04-26  9:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-13 13:12 ISO fast-loading Emacs kj
2006-04-13 13:39 ` Floyd L. Davidson
2006-04-13 14:53   ` Stefan Monnier
2006-04-13 20:20     ` Marco Gidde
2006-04-13 13:55 ` Peter Dyballa
2006-04-26  9:32 ` rncross [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1146043977.954095.115850@u72g2000cwu.googlegroups.com \
    --to=rncross@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).