From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Uberti via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54228: 29.0.50; project.el: Support local projects Date: Fri, 4 Mar 2022 19:15:28 +0100 Message-ID: <564b8ac4-3d6f-3c7f-15ac-7dc661a18868@inventati.org> References: Reply-To: Manuel Uberti Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25786"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 To: mardani29@yahoo.es, 54228@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 04 19:16:30 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 1nQCTe-0006RA-2o for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Mar 2022 19:16:30 +0100 Original-Received: from localhost ([::1]:50046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQCTc-00079G-RY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Mar 2022 13:16:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQCTC-00076S-TZ for bug-gnu-emacs@gnu.org; Fri, 04 Mar 2022 13:16:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQCTC-0006jm-EJ for bug-gnu-emacs@gnu.org; Fri, 04 Mar 2022 13:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nQCTC-0001Bh-9m for bug-gnu-emacs@gnu.org; Fri, 04 Mar 2022 13:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Uberti Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Mar 2022 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54228 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= , Manuel Uberti via Bug reports for GNU "Emacs, " the Swiss army knife of text editors X-Debbugs-Original-Cc: 54228@debbugs.gnu.org Original-Received: via spool by 54228-submit@debbugs.gnu.org id=B54228.16464177344506 (code B ref 54228); Fri, 04 Mar 2022 18:16:02 +0000 Original-Received: (at 54228) by debbugs.gnu.org; 4 Mar 2022 18:15:34 +0000 Original-Received: from localhost ([127.0.0.1]:46797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQCSk-0001Aa-64 for submit@debbugs.gnu.org; Fri, 04 Mar 2022 13:15:34 -0500 Original-Received: from latitanza.investici.org ([82.94.249.234]:63975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQCSi-0001AS-B3 for 54228@debbugs.gnu.org; Fri, 04 Mar 2022 13:15:33 -0500 Original-Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4K9GHQ5xbbzGp5H; Fri, 4 Mar 2022 18:15:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1646417730; bh=7RSFwA8c3hAbUAC2Bs7qo8x4fWKNQcEDat1N5hmqwgI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=SXHIuoFy9w7O/W2OpozGmPuALmYjO+NqACB0ybdFobqxdqPzFD+WxlLiu74bcYlT+ tFPE5LN0Hkz/PO42azE3mrZywF2NLVNQFACnCcuckoUDb9mPhGuGBxA1syJThr8zkZ vhNMvvLaTz1sXVaa/onPVivQWlJh2Lo755mwskeE= Original-Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4K9GHQ3Hv5zGp3Q; Fri, 4 Mar 2022 18:15:30 +0000 (UTC) Content-Language: en-GB In-Reply-To: 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:228007 Archived-At: On 04/03/22 18:48, Daniel Martín wrote: > I use similar code in my config. It's specially useful for monorepos, > where there is only one big .git folder, but multiple projects that you > want to handle separately. In my case it's super useful for projects where I do not have VC involved, of which I have a few. I just can't live without project.el facilities in my daily Emacs any more. :) > If we want to contribute this to project.el, I wonder if it makes sense > to generalize it a little bit by making ".project" the default value of > a customization variable. That'd avoid the name clash with some Eclipse > files. We could also detect files from common build systems, but I > don't know if that would be out of scope for the rather minimalist > project.el (vs projectile.el, for example). I did not think about making ".project" the value of a defcustom, because I do not use anything that relies on ".project" files. But if as you say there is a chance of name clashing, then yes, making customizable seems about right. I'd wait for Dmitry to jump in on this. I'd like to hear his opinion as well. -- Manuel Uberti www.manueluberti.eu