ido-mode outdated file list

203 Views Asked by At

I am using Emacs on Windows 7, and am finding that ido-mode is not picking up some files created since I started using it.

E.g. directory contains:

foo.txt
bar.txt

Open foo.txt in Emacs. Later, create blah.txt in the directory (also in Emacs).

When I do C-x C-f with ido-mode enabled, I see foo.txt and bar.txt but not the newly created blah.txt.

No matter how many times I open this file, it doesn't show. I either step out of ido with C-f or type the name exactly to get to it.

Any ideas what could fix this? I don't have FileNameCache enabled.

1

There are 1 best solutions below

0
FredrikHedman On

Using ido-reread-directory (Bound to C-l) should solve this problem.

To read the files do

C-x C-f and then C-l to reread the directory when necessary.