emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions round session management.


From: Richard Stallman
Subject: Re: Questions round session management.
Date: Fri, 1 Feb 2002 07:04:40 -0700 (MST)

    Should Emacs attempt to save state (frame parameters, open files,
    and so on) when shutting down?

Emacs does not normally have files open except within certain primitives.
I think that it should save the frame configuration.

                                    The client id can be used in a filename
    that saves state, and then be read back in when restarted.  The SM
    documetation says "It is expected that the client will save its state in
    such a way that the client can be restarted at a later time and
    resume its operation as if it had never been terminated."

To make that 100% true would be too much.  It would indeed
require saving the whole Lisp environment.

Emacs is primarily a text editor.  To try to save the entire Lisp
environment would be inconvenient for the user.  What it should do is
save important editing state, as desktop.el does (and perhaps using
desktop.el).

We might want to extend desktop.el to save some specific additional
state items, but not everything.  I think it should save values
of user options that have been customized "for this session only".
If we ever wire up Customize to handle key bindings, then it should be
easy to save them too.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]