From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emacs-project Date: Sat, 26 Nov 2022 19:23:29 +0000 Message-ID: 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> <877czirqj6.fsf@gmail.com> <8a588083-3a00-a9e9-2d80-6885b64efbab@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000762d3505ee6493af" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39066"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Philip K." , Rudi Schlatte , Augusto Stoffel , Zhu Zihao , Theodor Thornhill , Daniel =?UTF-8?Q?Mart=C3=ADn?= , Eric Abrahamsen , Manuel Uberti , Juri Linkov , Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= , 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 20:24:17 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 1oz0me-0009xY-ON for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Nov 2022 20:24:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oz0mV-0003KK-3f; Sat, 26 Nov 2022 14:24:07 -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 1oz0mT-0003Js-Pi for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 14:24:05 -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 1oz0mT-0004vF-H9 for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 14:24:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oz0mQ-00040F-7l for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 14:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Nov 2022 19:24: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.166949063015381 (code B ref 41572); Sat, 26 Nov 2022 19:24:02 +0000 Original-Received: (at 41572) by debbugs.gnu.org; 26 Nov 2022 19:23:50 +0000 Original-Received: from localhost ([127.0.0.1]:41457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oz0mE-000401-En for submit@debbugs.gnu.org; Sat, 26 Nov 2022 14:23:50 -0500 Original-Received: from mail-oi1-f171.google.com ([209.85.167.171]:39804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oz0mB-0003zv-Hw for 41572@debbugs.gnu.org; Sat, 26 Nov 2022 14:23:49 -0500 Original-Received: by mail-oi1-f171.google.com with SMTP id m204so7667338oib.6 for <41572@debbugs.gnu.org>; Sat, 26 Nov 2022 11:23:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wvtE47qc36Zi7jG6KASl+f4mbQBeVlQ5Sxzl0bhd4i8=; b=NMn9/UsWkm3liYtaB8kIaF3yC1xNsbqj72BwZ5oJCk5OPo+MiFIz3PK2BwMplkqdo8 HxEcTy6maPKimIBIKYW50BhMWiShLtWvo87oP6nHyEF/MBn/BFg/Y2CfHnlH9atGhJSg eAe/cadUROF7xg+xnNyPcJ980r3BAZLWJRNOEYbuXZtEDjKykq5Vqjr4GRCc7ulY3DnL pHYbdC+IKpnAH4sbKhWnO480ymg9fBIYFZmYeN6M4SO2vzrrzBeMGK3Dt7iFSZlRO7ng jQ4RSHvibCamanT3M+ImO0Gu1rko0w7FZ/O+40ZYB9UVr6cJqbENRHUK9vSy4KQrkRZH bEsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wvtE47qc36Zi7jG6KASl+f4mbQBeVlQ5Sxzl0bhd4i8=; b=Ep7ReTAmqaY5y59An5YmwMGAOzilnegbOlE4ZhScc12ALzhOWMHPZQ79IifFLMXpl1 K2tip7x0OQgpXKgKlDtHOinIhR2++Ko5BwHVqr3ZKc4VmvZVeL7RLhxvMBFElDAimPmG 59sEhIqATSAK4KEUuOyrSOBPHUsJhBXJKHvhb236pIDs0kEErib9qVz1APLaORfLVN0r uw8vYIWKLrYCn3xizmSSRQM4bkMiZAA95t0GQPlK2ypkoHzcD9UiCBhVTkX8ejLJE5ep y+i+jTfy5+Fsfq3lN+VWgKcCuR8JkEsO/awYoTbIqqRk1ocAdpxedW/+gJejskin9KPo TjdQ== X-Gm-Message-State: ANoB5pkYGjlB3mtcBZhTn6vna8Fl80tWxoyQC5nrSiXgHHLlz8vU9E4X mPTsYK4iJ7w1Kzj76D/Gu+LuNBnV/DGrMw0fIuw= X-Google-Smtp-Source: AA0mqf6bpUhJK+Po2oPmm3K6i7aHSLmFYUFEiPCD3Hv4VRoXak/CWa0FyzWMaxXbD81IagGQzRLxEEhu5qbBqYJ6jKU= X-Received: by 2002:a05:6808:2c3:b0:35b:a1b7:fb0f with SMTP id a3-20020a05680802c300b0035ba1b7fb0fmr1493258oid.215.1669490621687; Sat, 26 Nov 2022 11:23:41 -0800 (PST) In-Reply-To: <8a588083-3a00-a9e9-2d80-6885b64efbab@yandex.ru> 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:249131 Archived-At: --000000000000762d3505ee6493af Content-Type: text/plain; charset="UTF-8" On Sat, Nov 26, 2022, 12:30 Dmitry Gutov wrote: > > > My use case is the following: I'm interested in being able to designate > > projects (through various means, not only marker files) that may only > > exist inside other projects. > > You previously described your super-project and how you handled it using > project-find-functions hook with a new element that looked for file > markers. Does this patch make that easier to do? Without writing custom > functions? > The example i gave did _not_ use file markers. Personally, I can't use them. I need some elisp way. > I then want the C-x p family of commands > > to allow a choice of inner project or any of the associated > > super-projects. > > Please avoid mixing feature requests. I already said that "choice of > inner or outer" is out of scope for this, but it's easily implemented on > top. > What good are sub and super projects without a way to take advantage of them? If anything we should focus on the operations first. I have not seen your other patch. I take it it must have had some drawback since you superseded it with something else. But post the link, this thread is too long. I'll look at it on Monday if I have time. --000000000000762d3505ee6493af Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Nov 26, 2022, 12:30 Dmitry Gutov <dgutov@yandex.ru> wrote:

> My use case is the following: I'm interested in being able to desi= gnate
> projects (through various means, not only marker files) that may only<= br> > exist inside other projects.

You previously described your super-project and how you handled it using project-find-functions hook with a new element that looked for file
markers. Does this patch make that easier to do? Without writing custom functions?

The example i gave did _not_ use file markers. Personally, I can&= #39;t use them. I need some elisp way.

> I then want the C-x p family of commands
> to allow a choice of inner project or any of the associated
> super-projects.

Please avoid mixing feature requests. I already said that "choice of <= br> inner or outer" is out of scope for this, but it's easily implemen= ted on
top.

What good are sub and super projects without a way to take advantage of= them? If anything we should focus on the operations first.

I have not seen your other patch. I t= ake it it must have had some drawback since you superseded it with somethin= g else. But post the link, this thread is too long. I'll look at it on = Monday if I have time.
--000000000000762d3505ee6493af--