开发者

How can i open get that the appearance when i start emacs as same as when i close it?

开发者 https://www.devze.com 2022-12-13 11:39 出处:网络
as same as position of windows,size,open file,etc.开发者_如何学Cemacs 23 has the \'desktop.el\' package included. You can turn it on with:

as same as position of windows,size,open file,etc.开发者_如何学C


emacs 23 has the 'desktop.el' package included. You can turn it on with:

M-x customize-variable
desktop-save-mode

This should show you the following screen (or something like it):

How can i open get that the appearance when i start emacs as same as when i close it?

Turn on Desktop Save Mode, and save the changes for current and future. Emacs should then save the desktop state each time you exit, and reload that same state on restart.


Many seasoned Emacs users just never shut Emacs down. Suspend, hibernate or leave on the computer. Use emacs-server for persistence. In general Emacs handles long uptimes very well. This is not an option for everyone of course.

Desktop.el is good for reloading all your files, but (unless I'm wrong) I don't think it re-loads your window configuration.

Policy Switch at least allows you to save window configurations manually and cycle through them, though it doesn't do automatic saving and restoration. So it doesn't scratch the itch you asked for, but it may meet the same need a different way.

0

精彩评论

暂无评论...
验证码 换一张
取 消