[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fast emacs?
Re: Fast emacs?
Mon, 18 May 2009 21:03:09 +1000
Thunderbird 184.108.40.206 (X11/20090302)
For ***years*** I've been looking for a solution to this problem,
and I'm truly amazed that I have yet to find it: how to get a
fast-starting version of emacs. The problem is that I have a big
.emacs file and a big Emacs desktop, which means that my Emacs takes
forever to start. This is fine most of the time, but occasionally
I want a fast-starting emacs session (e.g. when I run "sudo emacs"
to edit a superuser-owned config file), and it's infuriating to
wait for emacs to go through a lengthy and useless song-and-dance...
I just can't believe there is no way around this. (Other than, of
course, using vi.)
Note that using the emacsclient is no solution, because this requires
that a version of Emacs be already running, which often defeats
the purpose (not only do I have to wait another eternity for this
new Emacs session to start, but then I have to start the server in
the new session).
Any words of wisdom would be much appreciated!
this one is pretty good cure for a fat desktop file
,----[ C-h v desktop-restore-eager ]
| desktop-restore-eager is a variable defined in `desktop.el'.
| Its value is 5
| Number of buffers to restore immediately.
| Remaining buffers are restored lazily (when Emacs is idle).
| If value is t, all buffers are restored immediately.
| You can customize this variable.
| This variable was introduced, or its default value was changed, in
| version 22.1 of Emacs.
Re: Fast emacs?, Jean Magnan de Bornier, 2009/05/20