[Top][All Lists]
[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.
- Re: Questions round session management.,
Richard Stallman <=
- Re: Questions round session management., Tak Ota, 2002/02/01
- Re: Questions round session management., Simon Josefsson, 2002/02/01
- Re: Raw keys in C-h k and C-h c, Richard Stallman, 2002/02/01
- Re: Raw keys in C-h k and C-h c, Stefan Monnier, 2002/02/02
- Re: Raw keys in C-h k and C-h c, Kim F. Storm, 2002/02/02
- Re: Raw keys in C-h k and C-h c, Eli Zaretskii, 2002/02/03
- Re: Raw keys in C-h k and C-h c, Richard Stallman, 2002/02/10