Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs desktop doesn't remember TRAMP connections?

Tags:

emacs

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?

like image 398
User1 Avatar asked Oct 29 '10 16:10

User1


1 Answers

You can customize the variable desktop-buffers-not-to-save to do this:

(setq desktop-buffers-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.

like image 170
Trey Jackson Avatar answered Sep 28 '22 08:09

Trey Jackson