Skip to content

What can I restore?

Sergey Pashinin edited this page May 7, 2013 · 1 revision
  • (desktop-save-mode t)

It tries to restore all files you've opened in Emacs (Just recreate all opened buffers but only for files). You may want to disable it.

workgroups

You can restore or not:

  • associated buffers - buffers opened in current workgroup (I mean all that were ever opened)

If you turn feature off - only needed buffers will be restored (that are visible now)

(setq wg-restore-associated-buffers nil)

  • remote buffers - restore /sudo:... or /ssh:...

For now disabling it only works for dired-mode:

(setq wg-restore-remote-buffers nil)

  • special buffers - like org-agenda, magit-status, etc.

The variable is - wg-special-buffer-serdes-functions.

(setq wg-special-buffer-serdes-functions
      '(wg-serialize-Info-buffer
        wg-serialize-dired-buffer
        wg-serialize-org-agenda-buffer
        wg-serialize-help-buffer
        wg-serialize-ielm-buffer
        wg-serialize-shell-buffer
        wg-serialize-eshell-buffer
        wg-serialize-term-buffer
        wg-serialize-magit-buffer))
Clone this wiki locally