[mew-int 02103] Re: 'mew-draft-mode and desktop
Christophe TROESTLER
Christophe.Troestler at example.com
Mon Jan 23 23:39:59 JST 2006
On Mon, 23 Jan 2006, Kazu Yamamoto (山本和彦) <kazu at example.com> wrote:
>
> Please provide technical information of the "desktop" -- how session
> information is saved, how processes will be resumed...
"Desktop" is a standard Emacs package which reloads the opened buffers
of the previous session. In ~/.emacs :
(load "desktop")
(desktop-load-default)
(desktop-read)
then "M-x desktop-save" to save it for the first time. Emacs status
is saved in the file "~/.emacs.desktop". Excerpt :
(desktop-create-buffer 206
"/home/trch/Mail/draft/6"
"+draft/6"
'mew-draft-mode
'(auto-fill-mode)
1850
'(2083 nil)
nil
nil
'((buffer-file-coding-system . ctext-unix)))
> When Emacs works again, is Mew running as it was running in the
> previous session?
Not sure what you mean exactly by that. The draft buffer receives the
correct mode and mew is loaded because I have in my ~/.emacs
(autoload 'mew-draft-mode "mew" nil t)
Mew works flawlessly. It's just that if I switch to the +draft/6
buffer (in the example above), it does not act like a normal draft
buffer (I have to kill it, go to +draft/ and 'E'dit it to have it
react normally).
If I can be of more help, please tell me.
Cheers,
ChriS
More information about the Mew-int
mailing list