From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jan.synacek@posteo.org Newsgroups: gmane.emacs.bugs Subject: bug#55632: [PATCH] Add new user option project-vc-find-tracked-only Date: Wed, 01 Jun 2022 15:21:12 +0000 Message-ID: <0ee006ddcfc864ad34d111f17b95f8d0@posteo.de> References: <87leuqkmhl.fsf@posteo.org> <9e283838-aaa1-345e-bce8-21ee863dbc31@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11937"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55632@debbugs.gnu.org, DG To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 01 17:22:18 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nwQAs-0002sQ-AQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Jun 2022 17:22:18 +0200 Original-Received: from localhost ([::1]:44960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwQAq-0001iz-Np for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Jun 2022 11:22:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwQAc-0001i3-QD for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2022 11:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwQAc-0004x3-D8 for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2022 11:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwQAc-0000qh-9K for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2022 11:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: jan.synacek@posteo.org Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Jun 2022 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55632 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 55632-submit@debbugs.gnu.org id=B55632.16540968823205 (code B ref 55632); Wed, 01 Jun 2022 15:22:02 +0000 Original-Received: (at 55632) by debbugs.gnu.org; 1 Jun 2022 15:21:22 +0000 Original-Received: from localhost ([127.0.0.1]:51584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwQ9y-0000pd-7d for submit@debbugs.gnu.org; Wed, 01 Jun 2022 11:21:22 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:42571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwQ9w-0000pN-Ao for 55632@debbugs.gnu.org; Wed, 01 Jun 2022 11:21:21 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 33C8D240109 for <55632@debbugs.gnu.org>; Wed, 1 Jun 2022 17:21:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1654096874; bh=iogyGNtwZO9ojH88nnBZ/X9crSGXZoKQOBCGpCd3Z/c=; h=Date:From:To:Cc:Subject:From; b=FkDYY2ae4bCkmUy+dsga30nW8wGVuh3k46LMlLV8MbeCbYw+nqyDLsWuoPHYq+s1Z t6Ini60K6Yed522ra3phSUuALgBlJ1d5PAO0o+u5xwI9/kqaEms/MdMBhrXjjTMGOf 5XTSuFRzQdtdsajKNOkClF2C5PUx7UngrVfPNTymZbjhuTICZBxNAqLsxsvHsZq9Mg HAwguAlaryCWwsEmUV1QWRWJe0ak+A7HE/vyXhctS/nJPQWu0b449zAEaf6x1Z2eUu K+dek/OZUpEVTPdfk2O2T6zkf/+TrbSDswN+8K0fOAhPp9wftCbOJ5Hzdp25mJob+c J+jvwT9x+MrhQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LCtCF0SSFz6tm6; Wed, 1 Jun 2022 17:21:12 +0200 (CEST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233491 Archived-At: On 01.06.2022 00:57, Dmitry Gutov wrote: > Here's the reasoning I used: > > - Almost everyone works with a VCS. Let's use Git in this example. > - You start working on a new feature to your project. You add a couple > of new source files, write tests for them. Haven't checked them in > yet. > - To switch between the project files you probably use > 'project-find-file'. You are likely to use that function (or > 'project-find-regexp'), etc, during the initial phase of developing a > new feature as well, and to jump between the newly created files, and > their tests, etc. > - That creates expectation that new files should be considered part of > the project. And overall, false positive is usually better for this > kind of thing than false negative (not finding something that you > expect to be there). > > Using .xyzignore files to list files that are junk/unimportant/etc is > par for the course when using a VCS. Until a file is added there (or > checked in), it's very visible in 'git status'. Having them omitted > from the list of project files would make them much less "visible", > contradicting Git's (or Mercurial or etc) behavior. Ok, fair enough. I guess this makes sense as well.