all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jeffrey Spencer <jeffspencerd@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: finding files not visited
Date: Fri, 16 Sep 2011 01:33:02 +1000	[thread overview]
Message-ID: <4E721AAE.3080800@gmail.com> (raw)
In-Reply-To: <jysjnxooel.fsf@news.eternal-september.org>

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<andrea.crotti.0@gmail.com>  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	other threads:[~2011-09-15 15:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14 11:10 finding files not visited Andrea Crotti
2011-09-14 11:41 ` Filipp Gunbin
2011-09-21  8:45   ` Andrea Crotti
2011-09-21 10:20     ` Filipp Gunbin
2011-09-21 10:53     ` XeCycle
2011-09-14 13:07 ` Peter Münster
2011-09-14 15:27 ` suvayu ali
2011-09-14 16:34   ` Andrea Crotti
2011-09-14 20:50     ` Jeffrey Spencer
2011-09-14 22:15       ` Suvayu Ali
2011-09-15 14:45     ` Richard Riley
2011-09-15 15:33       ` Jeffrey Spencer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E721AAE.3080800@gmail.com \
    --to=jeffspencerd@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.