Desktop save changes

18 views
Skip to first unread message

theturingmachine

unread,
Sep 20, 2012, 10:37:07 AM9/20/12
to ergo...@googlegroups.com
Hi,

I've been playing lately trying to customize the way the function 'desktop-settings-setup works.

I like the functionality, but I'd like it to be able to save the desktop on demand rather than automatically. This is since I work on way too many buffers, when I close emacs and open it again it takes ages. The part I can't make work is that once you load a saved desktop then the next time you open emacs no previous buffers are loaded.

Any suggestions?

Greetings

Xah Lee

unread,
Sep 20, 2012, 10:52:22 AM9/20/12
to ergo...@googlegroups.com
hey Jorge. Good morn.

my trick is not to open so many buffers. :D

if you look at
(defun desktop-settings-setup ()
there's a hook to opening file. When a file is opened, it'll save desktop.
Remove that section will probably do it for you.

but let me know if that works for you.

i haven't played with loading desktop file manually...

Xah
> --
> You received this message because you are subscribed to the Google Groups
> "ErgoEmacs" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/ergoemacs/-/nb24vKzroQoJ.
> To post to this group, send email to ergo...@googlegroups.com.
> To unsubscribe from this group, send email to
> ergoemacs+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/ergoemacs?hl=en.

theturingmachine

unread,
Sep 21, 2012, 5:43:28 AM9/21/12
to ergo...@googlegroups.com, xah...@gmail.com
Thanks man, that's exactly what I needed.


And they're really nice modes. In case you don't know them maybe they could be nice additions to ergoemacs.

Cheers!
Reply all
Reply to author
Forward
0 new messages