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: Sat, 26 Nov 2022 09:47:53 +0200 Message-ID: <83sfi6tavq.fsf@gnu.org> References: <5f584d83-ef45-9912-bfbc-d2f00b24b9fd@yandex.ru> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16653"; 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, salutis@me.com, joaotavora@gmail.com, manuel.uberti@inventati.org, juri@linkov.net, 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 Sat Nov 26 08:48:23 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 1oypvD-000493-3r for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Nov 2022 08:48:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oypv8-0000fG-3N; Sat, 26 Nov 2022 02:48:18 -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 1oypv0-0000ev-O8 for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 02:48:15 -0500 Original-Received: from [209.51.188.43] (helo=debbugs.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oypux-0006d1-UC for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 02:48:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oypur-0000So-Q0 for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 02:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Nov 2022 07:48:01 +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.16694488651679 (code B ref 41572); Sat, 26 Nov 2022 07:48:01 +0000 Original-Received: (at 41572) by debbugs.gnu.org; 26 Nov 2022 07:47:45 +0000 Original-Received: from localhost ([127.0.0.1]:37699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oypua-0000Qx-Jk for submit@debbugs.gnu.org; Sat, 26 Nov 2022 02:47:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oypuW-0000Q6-ES for 41572@debbugs.gnu.org; Sat, 26 Nov 2022 02:47:43 -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 1oypuN-0006Zm-KK; Sat, 26 Nov 2022 02:47:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=1Lx+zu6hvTjIsRxAVzevhohe6xY8/EzDElLJEQ0jK4k=; b=ce1pedJ2QMHaTClfy2hA vgICeQ+iu0qv7mfvWo6vvxpz4s8Cy4T+kxzDgGmCEnOkN3N/H7tgTGc60Vidngb8ftuTXQPB+Gf7y O7JMhNX+9NapDswQhGHE7LNtxCoyg1Q2SFCo1rUZcKyttiBlv+gKRx9O6g17W9CHLR6Hq3hP9aPzy GImh0l8DwMZ+aD2zmf7WIa+WKIGfufr62kCZukpaVcmx+AZThrvTO93XebhptQ1HZr0Oe7oCrImiI 5Y7ouB74p+fOrD4zyOhqtnp7AMFOmW9y6mrBCbxcXyS6ABC95WF4K4SdJkPte0eRqPt9WUWrJTNVJ QKuaLChrXM87EQ==; 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 1oypuM-00050I-3L; Sat, 26 Nov 2022 02:47:30 -0500 In-Reply-To: <9781acc2-e4c0-b53c-6422-ef2e0a96f400@yandex.ru> (message from Dmitry Gutov on Sat, 26 Nov 2022 03:49:36 +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:249044 Archived-At: > Cc: "Philip K." , Rudi Schlatte , > Augusto Stoffel , Zhu Zihao , > Theodor Thornhill , > Daniel Martín , > Eric Abrahamsen , > João Távora , > Manuel Uberti , Juri Linkov , > Rudolf Adamkovič > Date: Sat, 26 Nov 2022 03:49:36 +0200 > From: Dmitry Gutov > > Does this work for everybody? Hard to say, because: > +(defcustom project-vc-extra-root-markers nil > + "List of additional \"markers\" to signal project roots. > + > +A marker is either a base file name or a glob pattern for such. > + > +These will be used in addition to regular directory markers such > +as .git, .hg, and so on, dependent on the value of > +`vc-handled-backends'. "These will be used" how? This crucial information is sorely missing from this description. Likewise, how "markers" that are not files are used and are useful? > They are most useful when a VC project > +has subdirectories inside it that need to be considered as > +separate projects, but still use the parent's ignore rules and > +general behaviors. How are "markers" useful in this scenario? > +It can also be used for projects outside of VC repositories. > +Their behavior will still obey the relevant variables, such as > +`project-vc-ignores' or `project-vc-name'." And in this one? IOW, please describe the main ideas of this approach instead of relying on use immediately gleaning that from a patch with incomplete documentation. TIA