[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ISO a fast-loading Emacs
From: |
Pascal Bourguignon |
Subject: |
Re: ISO a fast-loading Emacs |
Date: |
Mon, 17 Oct 2005 15:31:01 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
kj <socyl@987jk.com.invalid> writes:
> I have an Emacs session running all the time; each of these sessions
> runs for days or weeks on end, so I'm not concerned about the fact
> that Emacs takes a very long time to get started.
>
> But I also would like to have a fast-loading Emacs (or Emacs clone)
> as the value of my EDITOR variable, so that whenever a program
> requires me to edit text I don't have to wait a long time for the
> auxiliary editor to come up.
>
> Any suggestions?
Either use emacsclient
export EDITOR=emacsclient
export VISUAL=emacsclient
export CVSEDITOR=emacsclient
etc...
or use:
emacs -q -nw
it takes less than 2 seconds to load on a Athlon 1200 MHz.
If you want to use it in EDITOR:
( echo '#!/bin/bash' ; echo 'exec emacs -q -nw' ) > ~/bin/quick-emacs
export EDITOR=$HOME/bin/quick-emacs
...
--
__Pascal Bourguignon__ http://www.informatimago.com/
In deep sleep hear sound,
Cat vomit hairball somewhere.
Will find in morning.