From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeffrey Spencer Newsgroups: gmane.emacs.help Subject: Re: finding files not visited Date: Fri, 16 Sep 2011 01:33:02 +1000 Message-ID: <4E721AAE.3080800@gmail.com> References: <4E708BA5.7060206@gmail.com> <4E70D77F.9010809@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316100642 22529 80.91.229.12 (15 Sep 2011 15:30:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2011 15:30:42 +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 17:30:38 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 1R4Dta-0004go-Ut for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Sep 2011 17:30:35 +0200 Original-Received: from localhost ([::1]:60868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4Dta-0005M8-EU for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Sep 2011 11:30:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4DtV-0005M2-GZ for help-gnu-emacs@gnu.org; Thu, 15 Sep 2011 11:30:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4DtU-0001rd-7e for help-gnu-emacs@gnu.org; Thu, 15 Sep 2011 11:30:29 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:36667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4DtU-0001rQ-23 for help-gnu-emacs@gnu.org; Thu, 15 Sep 2011 11:30:28 -0400 Original-Received: by gya6 with SMTP id 6so2635651gya.0 for ; Thu, 15 Sep 2011 08:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ogMYwOqB0Bf8kOdEvIZqffQ9QZu1pKjSxBtVyEA7rsg=; b=QljxCkveT+9vO2olkFVezOzsA4UALSZvdLemtRsU8NaYvCXBGBLJfRuJHDsIDLVssl vy8oh6cd1uwKeiF66RrAMVujrP4yKgVUz2oB8hJrJcpdqiHI6i8cjMnHyOU81wPOd2K8 CnCKSWR2MAg0Lvyzgqiy18TBVxzC7V9l5ECM4= Original-Received: by 10.150.170.18 with SMTP id s18mr1523448ybe.19.1316100627341; Thu, 15 Sep 2011 08:30:27 -0700 (PDT) Original-Received: from [128.250.61.144] ([128.250.61.144]) by mx.google.com with ESMTPS id s17sm1292383ybm.11.2011.09.15.08.30.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Sep 2011 08:30:26 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110628 Thunderbird/5.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.169 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:82239 Archived-At: 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 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. > >