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@example.com:/home/public/ what regexp should I use?
I would suggest trying this:
(require 'ido) (add-to-list 'ido-work-directory-list-ignore-regexps tramp-file-name-regexp)