2
votes

I have a problem with ido-mode. As I cycle through work directories (using M-n), one of the directories is inevitably on a remote server, which makes tramp start authenticating.

I know I can edit the ido-work-directory-list-ignore-regexps variable, but maybe I'm misunderstanding that, or how it works with tramp. If the directory is [email protected]:/home/public/ what regexp should I use?

1
I asked an unanswered related question: stackoverflow.com/questions/9665235/…Mirzhan Irkegulov
(which has now been answered)AdrieanKhisbe

1 Answers

2
votes

I would suggest trying this:

(require 'ido)
(add-to-list 'ido-work-directory-list-ignore-regexps tramp-file-name-regexp)