help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finding files not visited


From: Jeffrey Spencer
Subject: Re: finding files not visited
Date: Fri, 16 Sep 2011 01:33:02 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110628 Thunderbird/5.0

Andrea,

King of confused on what this does. Basically ido acts as normal but when you call the function below it sets it to use the find command to recurse through subdirectories. Mine is set to 0.7 which means it should be activated anyway but doesn't seem to work like that. It seems to only recurse up through the directory structure if it isn't found from what I am seeing.

Also when I try adding that I get an error saying the completion map is void. Is this something you set up a key mapping for in your .emacs.

Cheers,
Jeff

On 16/09/11 00:45, Richard Riley wrote:
Andrea Crotti<address@hidden>  writes:

On 09/14/2011 04:27 PM, suvayu ali wrote:
Try ido-mode for files. But a word of caution, if any of the
directories have too many (~100s) files or sub-directories and are
remote (as in you are remote editing with tramp) emacs might become
extremely slow trying to find completions.
I already use ido-mode, but it doesn't recurse in the subdirectories (at least
not by default).

I don't see any variable to customize for that, am I blind?

I like the dired solution, and for example I can set up some dir-local-variable
setting the right switches, for example it's a good idea to filter hidden
directories (like .git or .bzr).

I'll give finally a try also to anything

I got this off planetemacsen I think it was. It triggers the "find"
manually.

;; disable auto searching for files unless called explicitly
    (setq ido-auto-merge-delay-time 99999)
    (define-key ido-file-dir-completion-map (kbd "C-c C-s")
       (lambda()
         (interactive)
         (ido-initiate-auto-merge (current-buffer))))

regards

r.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]