From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: finding files not visited Date: Thu, 15 Sep 2011 16:45:06 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <4E708BA5.7060206@gmail.com> <4E70D77F.9010809@gmail.com> Reply-To: help-gnu-emacs@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316097893 32677 80.91.229.12 (15 Sep 2011 14:44:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2011 14:44:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 15 16:44:49 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R4DBG-0004t9-00 for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Sep 2011 16:44:46 +0200 Original-Received: from localhost ([::1]:49348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4DBF-0001t2-Hv for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Sep 2011 10:44:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4DB6-0001oH-He for help-gnu-emacs@gnu.org; Thu, 15 Sep 2011 10:44:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4DB1-0008Oa-Uk for help-gnu-emacs@gnu.org; Thu, 15 Sep 2011 10:44:36 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:40259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4DB1-0008NI-Pg for help-gnu-emacs@gnu.org; Thu, 15 Sep 2011 10:44:31 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R4DAz-0004jV-L3 for help-gnu-emacs@gnu.org; Thu, 15 Sep 2011 16:44:29 +0200 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Sep 2011 16:44:29 +0200 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Sep 2011 16:44:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:JHd2e9Y0ZgA+vlvtmNGD2YdaIFI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82238 Archived-At: Andrea Crotti 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.