From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Uberti Newsgroups: gmane.emacs.devel Subject: Re: project-find-file: switch to include non-tracked files Date: Thu, 14 Oct 2021 14:06:28 +0200 Message-ID: References: <2b9ae9f3-a253-f4f4-c08c-05e3c8ef1115@yandex.ru> <9995e361-34f1-9aa6-f854-eb197723a8fd@yandex.ru> <792bff0a-7121-2830-f00c-794614e61350@yandex.ru> <3d7d8880-8cfd-51a8-1ccd-52afb04c95e6@inventati.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6785"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 To: Dmitry Gutov , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 14 14:19:47 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mazi5-0001XL-72 for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Oct 2021 14:19:45 +0200 Original-Received: from localhost ([::1]:38104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mazi1-0004c1-83 for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Oct 2021 08:19:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mazVK-0004IS-H7 for emacs-devel@gnu.org; Thu, 14 Oct 2021 08:06:34 -0400 Original-Received: from latitanza.investici.org ([82.94.249.234]:35325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mazVI-0000wS-7B for emacs-devel@gnu.org; Thu, 14 Oct 2021 08:06:34 -0400 Original-Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4HVSmh6vH2zGp4K; Thu, 14 Oct 2021 12:06:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1634213188; bh=fl9hWAnMKp8klqRad9xrisE8Etx9Zq1rYtH4XxA3Od0=; h=Subject:To:References:From:Date:In-Reply-To:From; b=o0spXJ38p2L7/eEJqIv3xclbaZTpc5P2KSyOSCRznFeWKph23af9r4IjsBSvuYY8K b/QNbYTFU9hBhFVQ50RWorS1IXyEFEHS1eY62yuO7lACSK6C4sy+J8uJQ13FabSSpk 50RUWKnuJW4pOEjbM2r+48tEcMG7Ty6t8v9m+L28= Original-Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4HVSmh5x4TzGp4J; Thu, 14 Oct 2021 12:06:28 +0000 (UTC) In-Reply-To: Content-Language: en-GB Received-SPF: pass client-ip=82.94.249.234; envelope-from=manuel.uberti@inventati.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:277002 Archived-At: On 14/10/21 14:01, Dmitry Gutov wrote: > As an aside, I can see what kind of problem this is solving, and this is a > (meta) problem by itself. We need, like, ignores which are still honored when we > don't use any other ignore instructions. Maybe a separate variable or something? > AFAICS helm-ls-git doesn't have anything for this. > The above will continue to work until we try to move the listing logic to a > backend-specific method. Then vc-directory-exclusion-list won't be referenced > anymore. That's the main reason this feature is not in emacs-28 anyway. I didn't know about this. > Also note that 'find' gets a noticeable slowdown the more ignore entries we ask > it to handle. Consider removing some entries from vc-directory-exclusion-list as > well. Interesting, I didn't know about this either, but see below. > As a rough guess, perhaps some directories in this repo are not readable for you? Yes, great tip, you nailed it. There is one directory I cannot read in there, so I just added that to vc-directory-exclusion-list and everything works as expected now. Thanks a lot! -- Manuel Uberti www.manueluberti.eu