sjbach / lusty-emacs

A fast file chooser and buffer switcher for Emacs
52 stars 6 forks source link

no response for a few seconds after input "~/." #5

Open zwz opened 13 years ago

zwz commented 13 years ago

When trying lusty-file-explorer to open dot files (e.g. ".emacs"), I have to wait for some seconds for a list of candidates. It happens only once when it is the first time to open some dot files. Afterwards, no such problem.

sjbach commented 13 years ago

Hi, how many dotfiles do you have in your ~, out of curiosity? If there are many, it's not unexpected that it'd be a little slow. You could try comparing the time to show dotfiles in ~ to the time to displaying files in /usr/lib or /usr/bin. (/usr/lib and /usr/bin have thousands of files, and should be slower than ~.) Is your /home managed by NFS, by chance?

zwz commented 13 years ago

Hi, my /home is not managed by NFS. In fact, the problem happens whenever it is the first time that I try to open/find any file in ~, not just dotfiles. The weird thing is that it does not happen in /usr/lib or /usr/bin, even though there are more files in those directory than in ~.

On Wed, Jul 20, 2011 at 5:01 AM, sjbach < reply@reply.github.com>wrote:

Hi, how many dotfiles do you have in your ~, out of curiosity? If there are many, it's not unexpected that it'd be a little slow. You could try comparing the time to show dotfiles in ~ to the time to displaying files in /usr/lib or /usr/bin. (/usr/lib and /usr/bin have thousands of files, and should be slower than ~.) Is your /home managed by NFS, by chance?

Reply to this email directly or view it on GitHub: https://github.com/sjbach/lusty-emacs/issues/5#issuecomment-1610607