[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 16 Aug 2003 01:31:51 +0200
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)
I'm a bit confused by desktop.el as it is in Emacs CVS. I'm using it
without using custom. The documentation in the info manual says that
I can enable it by using the following in my .emacs file:
All I need to do then, according to the manual, is saving it manually
once using M-x desktop-save. This has worked very well. Recently,
however, I get the feeling that the info in my ~/.emacs.desktop file
is read upon startup, but never updated when I quit Emacs. Unless I
save it manually.
Testing this in a subdirectory seems to confirm this.
The reason seems to be that desktop-kill tests the value of
desktop-enable, but that variable is nil on my system.
One solution might be to set it to t, and add it to
desktop-globals-to-save when desktop-save is called... Calling
desktop-save would then write a desktop file which sets desktop-enable
to t, making the entire thing work again.
Perhaps simpler: We could fix the documentation and the commentary to
say that we need the following setup (if Customize is not used):
(setq desktop-enable t)
I believe that the manual is wrong on another account as well: It
says that one manual save is required, but it is not. If the user
does not manually save the desktop, then Emacs will ask the user when
Emacs is killed whether the desktop should be saved. Which is just
fine, I think.
If you agree with this, then I can change the documentation as
There is no substitute for experience.
Alex Schroeder <=
- Re: desktop, Lars Hansen, 2003/08/16
- Re: desktop and misc.texi, Alex Schroeder, 2003/08/16
- Re: desktop, Richard Stallman, 2003/08/18
- Re: desktop, Lars Hansen, 2003/08/18
- Re: desktop, Miles Bader, 2003/08/18
- Re: desktop, Alex Schroeder, 2003/08/18
- Re: desktop, Miles Bader, 2003/08/19
- Re: desktop, Lars Hansen, 2003/08/19
- Re: desktop, Richard Stallman, 2003/08/20