how to disable autosave for tramp buffers in emacs?
Asked Answered
P

1

9

autosave for tramp buffers is very annoying, every time it cost dozens of seconds.

I can disable it by using Alt-X auto-save-mode, Is there any way I can do to automatic disable it? maybe by using some kind of hook?

Physicochemical answered 10/12, 2012 at 3:3 Comment(2)
Which tramp method are you using?Aguayo
Very annoying. In this era of multi-core-processors and multi-threaded applications, I'm surprised it can't do its autosaving in the background so I don't have to stop working every five seconds.Glanders
C
15

You can set tramp-auto-save-directory to a local directory.

(setq tramp-auto-save-directory "~/emacs/tramp-autosave")

Update: In your case, you may set tramp-auto-save-directory to /tmp.

Constrained answered 10/12, 2012 at 3:12 Comment(1)
More info is here.Mop

© 2022 - 2024 — McMap. All rights reserved.