Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 ido 模式有疑问。当我循环浏览工作目录(使用 Mn)时,其中一个目录不可避免地位于远程服务器上,这使得 tramp 开始进行身份验证。
我知道我可以编辑 ido-work-directory-list-ignore-regexps 变量,但也许我误解了这一点,或者它如何与流浪汉一起工作。如果目录是 someguy@example.com:/home/public/ 我应该使用什么正则表达式?
我建议试试这个:
(require 'ido) (add-to-list 'ido-work-directory-list-ignore-regexps tramp-file-name-regexp)