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 18:43:58 +0200 Message-ID: <83fse4pctt.fsf@gnu.org> References: <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> <83lenwpj5k.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22078"; 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 17:44:22 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 1ozKlR-0005Vb-3f for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Nov 2022 17:44:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozKlE-0007ay-9P; Sun, 27 Nov 2022 11:44:08 -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 1ozKlD-0007aq-I8 for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2022 11:44:07 -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 1ozKl8-0003MQ-KH for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2022 11:44:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozKl8-0006Xq-6k for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2022 11:44: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 16:44: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.166956742525145 (code B ref 41572); Sun, 27 Nov 2022 16:44:02 +0000 Original-Received: (at 41572) by debbugs.gnu.org; 27 Nov 2022 16:43:45 +0000 Original-Received: from localhost ([127.0.0.1]:43017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozKkr-0006XV-Cr for submit@debbugs.gnu.org; Sun, 27 Nov 2022 11:43:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozKko-0006XO-FX for 41572@debbugs.gnu.org; Sun, 27 Nov 2022 11:43: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 1ozKke-0003IV-EP; Sun, 27 Nov 2022 11:43:32 -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=49+EjfpdHVFHFhwLL1E2eJAcy6nXoZOhT4T1W9pxSDE=; b=f4kBbhKkhw3I AYqP4jcrkjS4bn3cpMGTR+zJfuAci2AQe2xRhCKpqOwh4LfsTpQOffkbvqZrTHGCLWVBZbI2C97Tv 9rwLVxWohviC0h3r6vVJkm2yh8Yl01f5RNkzXi7eG6R1+BK/OdOtwRVBJQGHnup/MRcx8h81g6QyQ od+KJ9pLVxdSxeisQdMabVzGlflQPh12+HsNgIfsjgqfiPZ1a6Z8GeAovG8HW8/iKvVAcn1wO20EJ xka5CcpEs1e9wWh/ZEKSG3aWn+MJsSNFxJY0S5G6SP1RZrQEY5zUAqCkfFtFlyeGT+Hh3eyXGPwSO tymhU8OcMixeC7MGILKf0Q==; 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 1ozKkd-0002tn-Ub; Sun, 27 Nov 2022 11:43:32 -0500 In-Reply-To: (message from Dmitry Gutov on Sun, 27 Nov 2022 17:51:45 +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:249233 Archived-At: > Date: Sun, 27 Nov 2022 17:51:45 +0200 > 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 > From: Dmitry Gutov > > On 27/11/22 16:27, Eli Zaretskii wrote: > > > (Btw, why "VC project"? can't I use marker files for non-VC projects?) > > Yes, you can. That's what the docstring says: "can also be used for > projects outside of VC repositories". > > But "VC project" is a proper noun in this usage. Basically, a "VC > project" is whatever value (if non-nil) that is returned by project-try-vc. Then maybe change that to something like A directory containing such a marker file or a file matching a marker pattern will be recognized as the root of a project whose type is "VC project". The point of this is to tell that those markers indicate projects whose type just happens to be "VC project". Otherwise the above could be interpreted that the markers can be used only inside VC projects. > Like the patch also says (and what's given me a pause in the past), that > also makes "VC project" somewhat a misnomer. But I'm not sure what to > call them better How about VC-backed project?