From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emacs-project Date: Thu, 07 Oct 2021 10:17:12 +0300 Organization: LINKOV.NET Message-ID: <87wnmppdmr.fsf@mail.linkov.net> References: <87pnahjgdr.fsf@linkov.net> <87ftb92u8q.fsf@thornhill.no> <0ab90cf2-eab2-6fea-6698-4164d7753cd7@yandex.ru> <87d06ck2b0.fsf@thornhill.no> <2fbe5d5d-03a1-212b-9dd7-4723e168ad06@yandex.ru> <5EpzudgjedeKADsX4_Tq-2WtNm3XKXmZjnEI7Y1lmw-Pcn_KrzKPD1o31Ele0JOIrZ1ITDdeQrOsJTHfGVPJlzyLhmqjxP3rmVVzou8KEBo=@thornhill.no> <2a70c748-e250-2f96-5d74-712b6d71e8be@yandex.ru> <871riitzch.fsf@gnus.org> <87zgrq2ctj.fsf@mail.linkov.net> <7cf254bf-a7e4-0121-3d0c-3a1b5dfabe0b@yandex.ru> <87r1d0at40.fsf@mail.linkov.net> <87wnmr793j.fsf@mail.linkov.net> <878rz6wrdp.fsf@mail.linkov.net> <9a74b6ac-14f4-c5f9-8d7e-91c1595d8a02@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5284"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (x86_64-pc-linux-gnu) Cc: Zhu Zihao , Lars Ingebrigtsen , Theodor Thornhill , 41572@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 07 09:36:34 2021 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 1mYNxC-0001DO-0M for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Oct 2021 09:36:34 +0200 Original-Received: from localhost ([::1]:55364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYNxB-0002JS-3g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Oct 2021 03:36:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYNso-00034r-Vp for bug-gnu-emacs@gnu.org; Thu, 07 Oct 2021 03:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYNso-0003xe-KK for bug-gnu-emacs@gnu.org; Thu, 07 Oct 2021 03:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYNso-0000fY-F5 for bug-gnu-emacs@gnu.org; Thu, 07 Oct 2021 03:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Oct 2021 07:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41572 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 41572-submit@debbugs.gnu.org id=B41572.16335918842513 (code B ref 41572); Thu, 07 Oct 2021 07:32:02 +0000 Original-Received: (at 41572) by debbugs.gnu.org; 7 Oct 2021 07:31:24 +0000 Original-Received: from localhost ([127.0.0.1]:45853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYNsC-0000eS-Ez for submit@debbugs.gnu.org; Thu, 07 Oct 2021 03:31:24 -0400 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:47745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYNsB-0000e9-2g for 41572@debbugs.gnu.org; Thu, 07 Oct 2021 03:31:23 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 49DA8FF80E; Thu, 7 Oct 2021 07:31:13 +0000 (UTC) In-Reply-To: <9a74b6ac-14f4-c5f9-8d7e-91c1595d8a02@yandex.ru> (Dmitry Gutov's message of "Thu, 7 Oct 2021 00:13:58 +0300") 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:216608 Archived-At: >> Maybe a better name would be 'project-directory-ignores' >> with the directory-based backend name 'project-directory'? > > I don't know if it's better. What does "directory" mean? Every backend, > every project has directories. Then maybe the backend could be named 'project-file' since a special file defines the project root. > As mentioned previously, the other option I had considered was 'novc'. Then > the variable would be called project-novc-ignores. "novc" is the worst variant. It's not obvious that it means "no-version-control", and also will make no sense when more backends will be added. Or no more backends are planned, and all other possible roots should be handled by the same fallback backend? Or would it be possible that more backends could be added in project-find-functions after the file-based fallback backend? Then the name "fallback" will make no sense if it will not be the last in project-find-functions. > This is not a done deal, just what seems the most optimal to me at the > moment. But opinions welcome. Maybe it will help to choose a better name while thinking about more possible backends that could be added later.