From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emacs-project Date: Sun, 27 Nov 2022 16:27:19 +0200 Message-ID: <83lenwpj5k.fsf@gnu.org> 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> <9781acc2-e4c0-b53c-6422-ef2e0a96f400@yandex.ru> <83sfi6tavq.fsf@gnu.org> <83mt8dssdn.fsf@gnu.org> <29c1c5f3-b189-ff30-c5bc-92a4d35e0683@yandex.ru> <83fse4rj2s.fsf@gnu.org> <2bc8b5dd-83c9-8bbc-82d5-e296f60e47c3@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21689"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, rudi@constantly.at, eric@ericabrahamsen.net, cjpeople2013@gmail.com, theo@thornhill.no, mardani29@yahoo.es, joaotavora@gmail.com, manuel.uberti@inventati.org, juri@linkov.net, salutis@me.com, arstoffel@gmail.com, 41572@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 27 15:28:09 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 1ozIdd-0005Pk-7c for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Nov 2022 15:28:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozIdY-0008Fb-S1; Sun, 27 Nov 2022 09:28:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozIdW-0008Er-Pk for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2022 09:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozIdW-0004t9-FE for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2022 09:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozIdW-0005Gt-CA for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2022 09:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Nov 2022 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41572 X-GNU-PR-Package: emacs Original-Received: via spool by 41572-submit@debbugs.gnu.org id=B41572.166955922820253 (code B ref 41572); Sun, 27 Nov 2022 14:28:02 +0000 Original-Received: (at 41572) by debbugs.gnu.org; 27 Nov 2022 14:27:08 +0000 Original-Received: from localhost ([127.0.0.1]:42356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozIcd-0005Gb-I2 for submit@debbugs.gnu.org; Sun, 27 Nov 2022 09:27:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozIca-0005GO-Qd for 41572@debbugs.gnu.org; Sun, 27 Nov 2022 09:27:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozIcR-0004mR-Gf; Sun, 27 Nov 2022 09:26:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=sPkDBN7B+Q+vvv/5wuXpe+4YLRnB/yvZYiN1VwbK0Dg=; b=JcZN2Jb9qyhr FjaZD/arTL82EL/rYJHZ9iLb6Pd7+eK7kTPS+WTwp2AOXb9RNgHRO032Yn7BTCpkkrF7C3E8mcnbW FdcFpx+/BEVQDy/9thxOPqYNw+Rz1Sk5Qqx6Pxp8oTSWY7NS9ApU/wRSYK6Rtj8/KSfK537DGhs2f 6TDeshyA11SOvVvICKR2gAnbASXCNG2ctxODzIy3VXxvZcOwlVOid4aISkLF3JkvpU6xuRd5yD29u gxEHdxpiKwL5KT2uGU7HktgtNN7Wkp3zXZPRHl2QPpbRchnxXEhAL1ewuwCon5hrw0oGuV56CtO+s Q1nDkcKC4ddN5MmWwT+CsA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozIcO-00082H-Uc; Sun, 27 Nov 2022 09:26:53 -0500 In-Reply-To: <2bc8b5dd-83c9-8bbc-82d5-e296f60e47c3@yandex.ru> (message from Dmitry Gutov on Sun, 27 Nov 2022 16:10:02 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249222 Archived-At: > Date: Sun, 27 Nov 2022 16:10:02 +0200 > Cc: philipk@posteo.net, rudi@constantly.at, eric@ericabrahamsen.net, > cjpeople2013@gmail.com, theo@thornhill.no, mardani29@yahoo.es, > salutis@me.com, joaotavora@gmail.com, manuel.uberti@inventati.org, > juri@linkov.net, arstoffel@gmail.com, 41572@debbugs.gnu.org > From: Dmitry Gutov > > On 27/11/22 08:46, Eli Zaretskii wrote: > > Sorry, no. My basic question "how are these markers used?" is still > > unanswered. You seem to assume that saying "in addition to regular > > directory markers such as .git, .hg" explains it, but it doesn't, because > > how the "regular directory markers" are used is still a mystery. And the > > purpose of the markers according to the doc string, viz.: > > > > List of additional markers to signal project roots. > > > > doesn't help enough, since "signal project roots" is too vague and abstract. > > How about this, then? To borrow the phrasing from the very first patch > in this bug: > > "List of additional markers to signal project roots. > > A marker is either a base file name or a glob pattern for such. > > A drectory containing such file or a file matching the pattern > will be recognized as a VC project. Better, but the last sentence above should say A directory containing such a marker file or a file matching a marker pattern will be recognized as the root of a VC project. (Btw, why "VC project"? can't I use marker files for non-VC projects?) Thanks.