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#74614: Problem of finding the project root when working on submodules of a submodule Date: Mon, 2 Dec 2024 04:14:02 +0200 Message-ID: <45fb1453-ca9f-47c2-bd85-d7be860aa840@gutov.dev> References: 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="2836"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: Chu Maeda , 74614@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 02 03:15:44 2024 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 1tHvyR-0000Yj-4V for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Dec 2024 03:15:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHvy9-00050n-G1; Sun, 01 Dec 2024 21:15:25 -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 1tHvy2-0004zs-GG for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 21:15:21 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHvxn-0007la-6N for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 21:15:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=GkcKUSpsNMB+bF84YRApj9/Ae1TdRncZ8NR1YhdatP4=; b=YHjdNu2Y230C4f8mklEkRN+gGUjcx0f9l63k+uU9CnEIRezE+kQtYNMPML2aVj75+rlHZIwZBLe2J1oyRx6p03chgxSUL9PECUMXPQE7iR9FwGhdYWPwG4g9feHO5w6rKt2JYqq4KM/IRxtyjqqvQ1finDRavvdW1wgTFL/Y1cu8AZZZQOASs773w6a2CMpWUcz0p1s8tQKL97j9irLVZZTq/eqqjlGJeyNfqDEIbAOdVD8zEmzgz5dX55o0q89OZYTm1Y1xGYApJFJ1IhLyjxjJodCKfdTxi08gAGbIpISH1g74a4DdFr94peaU6hhop90Aczun9KAgAMuRuo+q5w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHvxm-0007RA-2L for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 21:15: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, 02 Dec 2024 02:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74614 X-GNU-PR-Package: emacs Original-Received: via spool by 74614-submit@debbugs.gnu.org id=B74614.173310565328464 (code B ref 74614); Mon, 02 Dec 2024 02:15:02 +0000 Original-Received: (at 74614) by debbugs.gnu.org; 2 Dec 2024 02:14:13 +0000 Original-Received: from localhost ([127.0.0.1]:53667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHvwz-0007Oz-4x for submit@debbugs.gnu.org; Sun, 01 Dec 2024 21:14:13 -0500 Original-Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]:60869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHvww-0007Oi-UB for 74614@debbugs.gnu.org; Sun, 01 Dec 2024 21:14:11 -0500 Original-Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfhigh.phl.internal (Postfix) with ESMTP id C8FE311400DD; Sun, 1 Dec 2024 21:14:05 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-08.internal (MEProxy); Sun, 01 Dec 2024 21:14:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1733105645; x=1733192045; bh=GkcKUSpsNMB+bF84YRApj9/Ae1TdRncZ8NR1YhdatP4=; b= SMtDVHTY5wMbnuRa1YlFUkn7KuWGtZXQ/e/LwuxsfltxkLAoQID5/BRH/o6xog/C v20dwKZIWkFzuPjCwHbpt9ytUx0ZCxlEm9EthYDL2U/VcZkHo2Aw336L94RKXhP3 M51OCXe7ul/Fs9VAJXddZzripFXQ5q7y/639VGPVKsKOGB2q45EHEBxSvGXGHd2L AAs0nqdEZ8mAEJ9itBMiTHc67NxdOkhVWNP0/PNn5yiaHnGDAbyTPTePjlu0kWLV EeLKQhFbRtW+c9LTcGo7zSRQipNI45Tl5oX/5eNokEhIID861Tohf8KCTMLYms/r s/8OpCZ619evA2GDTUxFlg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1733105645; x=1733192045; bh=G kcKUSpsNMB+bF84YRApj9/Ae1TdRncZ8NR1YhdatP4=; b=qBLi6ca642Zznpn9W KfRIkDq5qJZtlTC2JFJ5ssQ9wzvFJtz8dq9gozwT+sFs/AUrcTQ2ts2awUftd2pb jxBv8av0e2uf2EkGhZlIpe25ux/1ZG5Q9msoJk7upDdYR3nPTMW8oiwpuuDva1sE yYHSZVOlwp/o7XcHmRRQHgLimxLH5wBD/NDSxCBAm7BsxTYga1wM8lVmYUxBpYgT HKlOFYOaoSK4QZz3mi32bEplEtFbeMNajKm0ubgNG11E/LbwXzmAlOdC7e4Tz+Mn YsSTDVUriolXXCba6rCQScf446CjrLgfc1iEnRJpfSftIXC07/UOYucO8aosOlw3 x2PHA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrheekgdeggecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecu hfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvh eqnecuggftrfgrthhtvghrnheptdfhuedvtdevleegueelvedvjeevheffveevhedvueff tdefhfdvueeggfetgfdtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthhopedv pdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehmrggvuggrqhhusehgmhgrihhlrd gtohhmpdhrtghpthhtohepjeegiedugeesuggvsggsuhhgshdrghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 1 Dec 2024 21:14:04 -0500 (EST) Content-Language: en-US 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296291 Archived-At: Hi! On 30/11/2024 04:35, Chu Maeda wrote: > Assume that there's a git repository A. A has a submodule B. B has a > submodule C. > > When I'm working on C, the current implementation won't choose A as the > project root even though the project-vc-merge-submodules is non-nil. > > I can customize project-find-functions to find the right project root as > a workaround, but I think this might be a bug need to be fixed. Could you post a sequence of commands one can/should use to recreate such a project?