I use emacs to edit scripts and code files on several different servers. TRAMP is working very well. However, when I exit emacs, all my tramp connections go away. I tried desktop-save-mode, but only local files show up when I restart emacs. Is there some package that will remember tramp connections? Is this just a configuration issue?
+3
A:
You can customize the variable desktop-files-not-to-save
to do this:
(setq desktop-files-not-to-save "^$")
By default it is set to a regexp that matches TRAMP filenames. I would have expected setting it to nil
would have worked, but, alas, it does not.
Trey Jackson
2010-10-29 20:07:47
You can set it to `^$`, IIRC.
phils
2010-10-30 05:13:29
@phils Duh, thanks.
Trey Jackson
2010-10-30 05:22:47
Yes! That was totally to cause. I can kind of see why this is the default because loading tramp files is slow.
User1
2010-10-30 13:46:38
@User1 There are other desktop-like packages that deal with the delayed loading. I thought there was even an addition to desktop itself which did the lazy loading. Many are listed here: http://www.emacswiki.org/emacs/SessionManagement
Trey Jackson
2010-10-30 15:20:18