From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Chu Maeda Newsgroups: gmane.emacs.bugs Subject: bug#74614: Problem of finding the project root when working on submodules of a submodule Date: Sat, 30 Nov 2024 10:35:19 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004a4b090628182bc0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10679"; mail-complaints-to="usenet@ciao.gmane.io" To: 74614@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 30 03:36:26 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 1tHDLO-0002eG-Dt for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Nov 2024 03:36:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHDL3-0003Jq-A2; Fri, 29 Nov 2024 21:36:05 -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 1tHDL1-0003JV-3B for bug-gnu-emacs@gnu.org; Fri, 29 Nov 2024 21:36:03 -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 1tHDL0-0002Dg-B2 for bug-gnu-emacs@gnu.org; Fri, 29 Nov 2024 21:36:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:Subject; bh=/ghusxQBTVi3AOmLNuQ4KQB21evB4FQc57mLJn/TtLo=; b=M0Yd2nFGFOSjhov0C+1SmuR5KmYWNjeoF4MB611cGqZTtAqBiw+ruQ4NCspQsh7ujDL8zYUl+UyZRP6XAYL/Tx+uxlt1kQrsOniwZHrn0NNPdPVblexunOd6/Qy5ck4PKDSmP0T5F8Z2zavhyMT2cdI0QtaYH3l7jMdURkGdgmfuC/VFMzDOyb/s0RIE2jkopeQAfW8E2AlhfCCI7nbMNEzhaUymqlaGt+oF8zQlsm7YgKPdn5iphptCz1aPpxs8SzhXOAI5LTUtBTGsBciB3pusyklxFNfJpgAIKcLyfAf8RtDJBIpypk02gtaHmFHpb4Qn7StgcHvOaz3vb6IXcQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHDL0-0000gV-0g for bug-gnu-emacs@gnu.org; Fri, 29 Nov 2024 21:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chu Maeda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Nov 2024 02:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74614 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17329341382573 (code B ref -1); Sat, 30 Nov 2024 02:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Nov 2024 02:35:38 +0000 Original-Received: from localhost ([127.0.0.1]:44961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHDKc-0000fR-6Z for submit@debbugs.gnu.org; Fri, 29 Nov 2024 21:35:38 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:42866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHDKY-0000fF-AY for submit@debbugs.gnu.org; Fri, 29 Nov 2024 21:35:35 -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 1tHDKX-0003HE-QW for bug-gnu-emacs@gnu.org; Fri, 29 Nov 2024 21:35:33 -0500 Original-Received: from mail-yb1-xb2e.google.com ([2607:f8b0:4864:20::b2e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHDKW-000247-DE for bug-gnu-emacs@gnu.org; Fri, 29 Nov 2024 21:35:33 -0500 Original-Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-e396c98af45so2204080276.1 for ; Fri, 29 Nov 2024 18:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732934131; x=1733538931; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=/ghusxQBTVi3AOmLNuQ4KQB21evB4FQc57mLJn/TtLo=; b=ZnIa4bICrSR+d1LUKwScvlRJeDIy2tttz0VkL9q6ymLUyOaAJ30iQcvhTCyc+ijiU/ u/kr4ezrzNNK7d1o+I/ClH9AfCPo0ZWGpLODQZJO7hcdBhXU2tRhwKXhd0zc9mQfFdmR 8xWoKXFhYxXSdg9vXGGf4V/kOsf6rpiIaAofwyFfFmZqecMUIryMtpspD/QFlURWkkrx C7D6JjwIPnbHHcCWlbzwU3YC7XhAzJlP3jihnZbUGPyekYwR3HCSbhTeVeJaAzBOavnG UJCXW8XkWgjzFZk0BYWt102Y+0DT9C60NEYiSmxW8R+Cm5cydTcY5w7uEGgQ9ScHb1Nm Ce5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732934131; x=1733538931; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/ghusxQBTVi3AOmLNuQ4KQB21evB4FQc57mLJn/TtLo=; b=f+yKU6qvZI7EbNRDqfRvB5RGd8RoNNM3x3mkWLUBL9Xnx9OGcyst+UolQutMzLsDGv FH/0k9PV0ZDEqwNEZqxVB6Itsn2PYjxNnlEBHyFSpF54v/hq1YMC27bj31VQgN8crFYZ 99AJ7KmszFQHEQKtXB2UiyeemKv0HIBcf4cxv4vkuuXCvOaJKbATkgWw4Clhs8IYZwVr dbywVkfLoPpOtEgqynit2fCeuQo6lGbEYpWqj/MexCHlDkp2eV5E+9mrCHRbNqpqy6tI R8AfFYTMtqdFJmGfXEm7/GcExiss6rNwefKZr6YvJwkw7TcPv6rwMscKPDJpjVzl6bN9 hnig== X-Gm-Message-State: AOJu0Yw4Sj2fFydwfoyogOGORMa9DxEP1vSAWvQw/qicpQd4U0va7ecc btXo/TrEdU6vIZ2FLijrMEwoepGdQLlF3t0PGxHzQIkACSD89cTO2V8ebtonLHJxnWIWn9hv5lX pw+As/BrZQsuqbG1FefQnlHIHRFJH7Avj X-Gm-Gg: ASbGnctuaBmtzGG/o/QhVi97GSHVvrZLdfyBtq3D/pwaTgQXgjc6suNViVNMBdw7fRs flChpcoDmLlpFVtsX2jAkdguKE1eJx6k= X-Google-Smtp-Source: AGHT+IFVcZtcsjDR9JQwMhWaJYJ9lOk8jeFeJO4AjlZB3nzXDrPGvdJgSrkXeBIzF/rKG1RfI3dtUUCPbKgXzLux/zg= X-Received: by 2002:a05:6902:2487:b0:e39:940e:3252 with SMTP id 3f1490d57ef6-e39940e33femr1896125276.52.1732934130874; Fri, 29 Nov 2024 18:35:30 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::b2e; envelope-from=maedaqu@gmail.com; helo=mail-yb1-xb2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:296109 Archived-At: --0000000000004a4b090628182bc0 Content-Type: text/plain; charset="UTF-8" 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. --0000000000004a4b090628182bc0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Assume that there's a git repository A. A has a submod= ule B. B has a submodule C.

When I'm working on C, t= he current implementation won't choose A as the project root even thoug= h the project-vc-merge-submodules is non-nil.

I ca= n customize project-find-functions to find the right project root as a work= around, but I think this might be a bug need to be fixed.
--0000000000004a4b090628182bc0--