On my machine, Emacs takes a long file when creating buffers: when opening the files or directories, or when starting M-x shell
. The pause is 10-15 seconds and is really annoying.
This problem seems to appear when I have about 150+ buffers open (most of them are files and directories on my machine; there are ~5 cmd-backed shell buffers; no remote files).
I have global-auto-revert-mode running on, but the problem persists even with it turned off.
I have this thing, found somewhere on StackOverflow, in .emacs
, but it doesn't help:
(setq w32-get-true-file-attributes nil)
My environment: Emacs 23.2.1, Windows 7. Do you have any suggestions on what I can try?