From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emacs-project Date: Mon, 28 Nov 2022 17:31:11 +0200 Message-ID: References: <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> <83fse4pctt.fsf@gnu.org> <8335a3p9xy.fsf@gnu.org> <62aab865-7c71-8c12-9e51-688f588b1e51@yandex.ru> <83lenvnrgs.fsf@gnu.org> <83a64bnngm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39172"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 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: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 28 16:32:27 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 1ozg7P-0009xj-AP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Nov 2022 16:32:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozg74-00047u-Iy; Mon, 28 Nov 2022 10:32:06 -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 1ozg70-00047U-FW for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 10:32:03 -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 1ozg70-0001sm-75 for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 10:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozg70-0005Sb-1U for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 10:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 15:32: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.166964948520982 (code B ref 41572); Mon, 28 Nov 2022 15:32:01 +0000 Original-Received: (at 41572) by debbugs.gnu.org; 28 Nov 2022 15:31:25 +0000 Original-Received: from localhost ([127.0.0.1]:49256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozg6P-0005SM-6j for submit@debbugs.gnu.org; Mon, 28 Nov 2022 10:31:25 -0500 Original-Received: from mail-wr1-f45.google.com ([209.85.221.45]:46067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozg6N-0005SG-5G for 41572@debbugs.gnu.org; Mon, 28 Nov 2022 10:31:23 -0500 Original-Received: by mail-wr1-f45.google.com with SMTP id d1so17440604wrs.12 for <41572@debbugs.gnu.org>; Mon, 28 Nov 2022 07:31:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=oK2+CF/secE9vycwGb0GN3kujcEMesD0BPY2lW/JfpE=; b=Pr1alEAVAG27HjsXvP7uAyZoOjY5BpYben0ar87KgWZpuRRFcSi4tib2p+4R2bt3IT qzjXA4CLA6lfTPeH0o5wV5eNzpijFHqAmNmCd4uXA17tD16+hnnpfht1PcLWYp3FJ9h6 a3SUTfsN2lVn8O+BWhxUVfIbPKBhZ+KZ20Znuv4+rK6fsieUBBSIUsRI4jb1sXZhInqH BOO3AUG0oK5MmFCE39yyMZt38qD5p2pLRgI62bYa9Q7H5U8r0MAq9KN7Crddp2MsTNz0 rnAbEOHegP5juo9kpEbtbkI2Ub44eBjOXE0I/0yaRE7C0C9Ir8Jd/BbknbGJJGWwpL9k 9h9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oK2+CF/secE9vycwGb0GN3kujcEMesD0BPY2lW/JfpE=; b=f/0Tzrofe2lnkuHWCgt+p1UJs7g2Ba1TwTIA+i06o2+GJBL5YItDtE6TYVU4qnzMEE WMlScS6TdX5pXOwiFyg6WHS/e0Fd+vz7g8R4FA6O46IX2aNsUAzAGfDUBCR6tph0ipms /enFjVtsbPx5t3b6/MmC6ZByYDrWeDBejIt8ymALacDw0hS2ocA6SBCirFdDBPnQvnih bggKCzzGMMSjiMp8A5TDpe2Uwmy6BpVCYHpWjtfsb+T/4hNzUE20NXvA95LR4jJaVNLZ q9XsgRUjldaD7zUD5OOpj9vQ2xdKx7n8YsTH5a5wQ2w9WNADmGFe0orvFtG7DaLnCY92 36nw== X-Gm-Message-State: ANoB5plLsUxOPzJBi/qTYsGBGzfVSLlgoXtojIiawOzqNrfxZAPyEagZ EisXW5eoOaRs4+mbtGDLYUI= X-Google-Smtp-Source: AA0mqf70n40+Ayclls/RZOFzhwil4vF9cYJpoYXUonuaXtxAJ1WWQ45T9SfLQapN2uSr42OBG7QMYQ== X-Received: by 2002:a5d:5445:0:b0:242:c41:c880 with SMTP id w5-20020a5d5445000000b002420c41c880mr7240433wrv.469.1669649474800; Mon, 28 Nov 2022 07:31:14 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id x16-20020a5d6b50000000b0022a3a887ceasm10992063wrw.49.2022.11.28.07.31.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Nov 2022 07:31:14 -0800 (PST) Content-Language: en-US In-Reply-To: <83a64bnngm.fsf@gnu.org> 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:249320 Archived-At: On 28/11/2022 16:49, Eli Zaretskii wrote: >> Date: Mon, 28 Nov 2022 16:29:15 +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 >> >>>> But if we just compare with the other builtin ('transient'), then its >>>> VC awareness is probably the key thing. And the customization options it >>>> has (which 'transient' doesn't). >>> AFAIU, the 'transient' builtin also works with projects whose shape is a >>> directory tree, right? If so, how is 'transient' different from the >>> 'VC-aware' type? >> >> That's right. > > So you are saying that 'VC-aware' is like 'transient', but it will use a VCS > if it's available? Then I guess 'VC-aware' is a good name for it. I suppose so. Great! >> So if we are comparing against 'transient' only, then VC awareness is >> probably the key thing. And the customization options. > > Do we have other types to compare against? I mentioned Projectile a few messages ago. It's a popular alternative that, with the last release, also plugs into project-find-functions and thus works as a new project.el backend. But it's third-party.