简体   繁体   中英

How do I reset Windows Emacs Tramp?

Does Emacs Tramp on Windows store all of its information within the .emacs.d\\tramp file, or are there other locations where it reads data upon startup? I want to completely reset all the information Emacs Tramp remembers as part of debugging how Tramp on Windows is behaving on my PC.

Tramp reads cached data only from ~/.emacs.d/tramp . Other packages might store Tramp related data, 'tho. Think about recentf-mode , for example.

If you call emacs -Q , Tramp recognises this, and doesn't read the data from this file. This is how I debug Tramp.

When Emacs runs already, you could clear Tramp's cache by calling Mx tramp-cleanup-all-connections .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM