* saving shell-sessions with desktop.el?
@ 2005-04-27 17:37 stefan riha
2005-04-27 19:08 ` Kevin Rodgers
0 siblings, 1 reply; 4+ messages in thread
From: stefan riha @ 2005-04-27 17:37 UTC (permalink / raw)
Hi!
I'm trying to save my buffer list by putting
the lines
(desktop-load-default)
(desktop-read)
into .emacs
This works, except that I can't save shell-sessions.
I just don't want to type "M-x shell" RET "M-x
rename-buffer" "sh1" RET every time I start emacs.
I've read something about a variable called
"desktop-files-not-to-save", but I don't know if it
has something to do with the problem nor how to look
at it's value.
Thanks,
--Stefan
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: saving shell-sessions with desktop.el?
2005-04-27 17:37 stefan riha
@ 2005-04-27 19:08 ` Kevin Rodgers
2005-04-27 20:08 ` Kevin Rodgers
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Rodgers @ 2005-04-27 19:08 UTC (permalink / raw)
stefan riha wrote:
> I'm trying to save my buffer list by putting
> the lines
>
> (desktop-load-default)
> (desktop-read)
>
> into .emacs
> This works, except that I can't save shell-sessions.
> I just don't want to type "M-x shell" RET "M-x
> rename-buffer" "sh1" RET every time I start emacs.
I don't think desktop.el saves anything but buffers visiting files,
unless you add the major mode to desktop-buffer-modes-to-save:
(setq desktop-buffer-modes-to-save
(cons 'shell-mode desktop-buffer-modes-to-save))
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: saving shell-sessions with desktop.el?
2005-04-27 19:08 ` Kevin Rodgers
@ 2005-04-27 20:08 ` Kevin Rodgers
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2005-04-27 20:08 UTC (permalink / raw)
Kevin Rodgers wrote:
> I don't think desktop.el saves anything but buffers visiting files,
> unless you add the major mode to desktop-buffer-modes-to-save:
Since desktop.el save global variables, I should have said:
I don't think desktop.el saves any buffers that aren't visiting files,
unless you add the major mode to desktop-buffer-modes-to-save:
> (setq desktop-buffer-modes-to-save
> (cons 'shell-mode desktop-buffer-modes-to-save))
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-04-28 12:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.3200.1114623559.2895.help-gnu-emacs@gnu.org>
2005-04-28 12:29 ` saving shell-sessions with desktop.el? Phillip Lord
2005-04-27 17:37 stefan riha
2005-04-27 19:08 ` Kevin Rodgers
2005-04-27 20:08 ` Kevin Rodgers
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.