GNU bug report logs - #77500
project-find-sibling-file

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Juri Linkov <juri@HIDDEN>; Done: Juri Linkov <juri@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug marked as fixed in version 31.0.50, send any further explanations to 77500 <at> debbugs.gnu.org and Juri Linkov <juri@HIDDEN> Request was from Juri Linkov <juri@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 77500 <at> debbugs.gnu.org:


Received: (at 77500) by debbugs.gnu.org; 4 Apr 2025 16:15:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 04 12:15:26 2025
Received: from localhost ([127.0.0.1]:39690 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0jhV-00006f-VF
	for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 12:15:26 -0400
Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]:48547)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>)
 id 1u0jhO-0008P1-K9; Fri, 04 Apr 2025 12:15:19 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 36BBD44415;
 Fri,  4 Apr 2025 16:15:07 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Visuwesh <visuweshm@HIDDEN>
Subject: Re: bug#77500: project-find-sibling-file
In-Reply-To: <87y0wgpaaj.fsf@HIDDEN>
Organization: LINKOV.NET
References: <87mscx3zrm.fsf@HIDDEN>
 <64a5f933-c09c-4fa2-812b-f98f2a3e3d0e@HIDDEN>
 <874iz4a272.fsf@HIDDEN> <87y0wgpaaj.fsf@HIDDEN>
Date: Fri, 04 Apr 2025 19:05:20 +0300
Message-ID: <87r028ynkd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduleduledtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepieffteejgeehffejuedtiefhudekgeejteekiefgveeuheetvdefgeekkeevkedunecukfhppeeluddruddvledruddthedruddujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledruddthedruddujedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeegpdhrtghpthhtoheptghonhhtrhholhesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopeejjeehtddtseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepughmihhtrhihsehguhhtohhvrdguvghvpdhrtghpthhtohepvhhishhufigvshhhmhesghhmrghilhdrtghomh
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 77500
Cc: Dmitry Gutov <dmitry@HIDDEN>, 77500 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

close 77500 31.0.50
thanks

>>>> I need to spend time reading project.el to find the name of the new command,
>>>> because it has a name different from the global command 'find-sibling-file'.
>>>> Therefore, I propose to rename 'project-find-matching-file' to
>>>> 'project-find-sibling-file'.
>>>
>>> But is 'find-sibling-name' its proper counterpart? That one looks for files
>>> named similarly but not exactly same, residing in the same directory, or
>>> nearby directories. Often with different contents.
>>>
>>> Whereas the current project-find-matching-file looks for files with equal
>>> relative names (and usually similar contents) that reside in two distinct
>>> directory trees. In a sense, this might be the opposite from
>>> 'find-sibling-name'.
>>
>> From the docstring of 'find-sibling-rules':
>>
>>   In this example, if you’re in "src/emacs/emacs-27/lisp/abbrev.el",
>>   and a "src/emacs/emacs-28/lisp/abbrev.el" file exists, it’s now
>>   defined as a sibling.
>>
>> Looks very similar to the project command.
>
> It doesn't always have to be something like that though.  My sibling
> rule maps
>
>     XXX/something.com
>
> to
>     XXX/log/something.log, and XXX/something.log.
>
> If I found a project-find-sibling-file command, I would expect it to
> return the siblings of XXX/something.com that reside in the same project
> as XXX/something.com, whereas project-find-matching-file does something
> else entirely.

I agree that the sibling rules might differ significantly.
In case when the rule matches its sibling in another project,
it's like the project command, in other cases not.
Ok, I can add an alias in the init file.
So now closing this.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77500; Package emacs. Full text available.

Message received at 77500 <at> debbugs.gnu.org:


Received: (at 77500) by debbugs.gnu.org; 4 Apr 2025 09:04:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 04 05:04:50 2025
Received: from localhost ([127.0.0.1]:37057 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0cyn-00076s-Sb
	for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 05:04:50 -0400
Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:43384)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <visuweshm@HIDDEN>)
 id 1u0cyl-00076e-EV
 for 77500 <at> debbugs.gnu.org; Fri, 04 Apr 2025 05:04:48 -0400
Received: by mail-pg1-x543.google.com with SMTP id
 41be03b00d2f7-aee773df955so1641773a12.1
 for <77500 <at> debbugs.gnu.org>; Fri, 04 Apr 2025 02:04:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1743757481; x=1744362281; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=putwj99MzwW2BMEru/5N4euQIxUw8eDsh5OhIb3vzyE=;
 b=PqB8rKAWx2fX9Hp+Z/JVtn7In5ELlS7YzaHfHB0H91cN2n6kFxc+JqLU32EwBbyLUV
 72x/CvRVDvGZEgeiSJUUGhALiNWRtVgBpU8TLunkQOh3OULY2NvLxITUt4n5jE6ODCrf
 6qIYQPZY59Qy6dg6IIAsp2IcVWHKCPdqBMbuWTapasI1s9v1UQy1mHqAgnjSvAL289q0
 PppoI4I43KWGWB2M/0ULdkQ4XfdXhZcIAhSPBwuiUdYQQkOnQbvUcHLXT+AwPCRIL/mF
 Sk746fhrsRIdoP45IjMkceJk9jzeXUgXIdwtkbJoQv7SWYPhoOAICFjCenGP0T/bjLmu
 AxZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1743757481; x=1744362281;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=putwj99MzwW2BMEru/5N4euQIxUw8eDsh5OhIb3vzyE=;
 b=klCps8tpT5RDes7QidB2+gviFP2c3MFUiIT2SdhS9R4wZeDgQjDMl4mE5z5bLfgDiG
 LnB8KIIkuo0bBv41wHT9gbdA+t3p7Cg2SBnyep+DHzkUSqlagDHCd7Py7KYYTLyw8S6j
 kdPvBOGrUw3BoNMsad2duzw+sve/rbaBQEW7ejDYcW/bJK0+49hbAtqnfqtLlmKOvLsc
 Npb/NcPlYivJTojkbXEV+50n/eP5HedyOULjfBt8QdzciFFiggN9OBmobp1MsFznAFph
 +17MqUQQ9db/2bdRpofhsjsz552cfdGUdv+g5XyuM/xWHkeUfQIO1DnllK+roLy2l6yU
 VoEA==
X-Forwarded-Encrypted: i=1;
 AJvYcCVNJqlZ5Jgiy4YMgiqEsdm5Ep4jAiSUFBtv8QEg4eMI7X/aR0js+pI71NzpaXXFJjpNI/XFMg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzqVSXP02lLGY1jsg26RMouqC2ICPH30mHk9LEsqi+vt+hbfbt+
 ZexsLF8JWkD4nufNMV4bE+OYm4A59vRzTZeRRPf2DHWwUTJkvgz6
X-Gm-Gg: ASbGncv+hFZmH+9zfpSXXLMXRRu8OHYfdul0s+zNX5IWIdbhEcgptHjuSvNOCLWSm7I
 C7aB8sqNnGoACjf+iRupgpVKQc2fyQBKQgx+0EXKpEvAZ28o4svRegQz+LPuyG2bB4MoLlKVSS8
 tK4JqpRhunUToIEh/zAX1+y/gu/7/fes0L8jvzpTj5Im2rG+/J3xCU1xxroKTSMnu1gzyIBFFeK
 IJk5H5H9mdojMnRHwfESghViJjRyVCcYAs3yN4INXuwE15zC451ysQr1RziB7O1lOsfywPv8idr
 Y7fW9tUISpMhOLZJkZfid9DGQdpLVSqeio+VU9vBJw==
X-Google-Smtp-Source: AGHT+IGuIj+smDOAHeTk+YEmMCdgJ+J1+9ZXOnmi92Nu5WBs5BamAuUE/spx1g01gFQnDGi0ZlFc6g==
X-Received: by 2002:a17:90b:5387:b0:2fa:3b6b:3370 with SMTP id
 98e67ed59e1d1-3057a68c61amr8870901a91.16.1743757480932; 
 Fri, 04 Apr 2025 02:04:40 -0700 (PDT)
Received: from localhost ([115.240.90.130])
 by smtp.gmail.com with UTF8SMTPSA id
 98e67ed59e1d1-30588a2f845sm2954351a91.22.2025.04.04.02.04.39
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 04 Apr 2025 02:04:40 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#77500: project-find-sibling-file
In-Reply-To: <874iz4a272.fsf@HIDDEN>
References: <87mscx3zrm.fsf@HIDDEN>
 <64a5f933-c09c-4fa2-812b-f98f2a3e3d0e@HIDDEN>
 <874iz4a272.fsf@HIDDEN>
Date: Fri, 04 Apr 2025 14:34:36 +0530
Message-ID: <87y0wgpaaj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77500
Cc: Dmitry Gutov <dmitry@HIDDEN>, 77500 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

[=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=8F=E0=AE=AA=
=E0=AF=8D=E0=AE=B0=E0=AE=B2=E0=AF=8D 04, 2025] Juri Linkov wrote:

>>> I need to spend time reading project.el to find the name of the new com=
mand,
>>> because it has a name different from the global command 'find-sibling-f=
ile'.
>>> Therefore, I propose to rename 'project-find-matching-file' to
>>> 'project-find-sibling-file'.
>>
>> But is 'find-sibling-name' its proper counterpart? That one looks for fi=
les
>> named similarly but not exactly same, residing in the same directory, or
>> nearby directories. Often with different contents.
>>
>> Whereas the current project-find-matching-file looks for files with equal
>> relative names (and usually similar contents) that reside in two distinct
>> directory trees. In a sense, this might be the opposite from
>> 'find-sibling-name'.
>
> From the docstring of 'find-sibling-rules':
>
>   In this example, if you=E2=80=99re in "src/emacs/emacs-27/lisp/abbrev.e=
l",
>   and a "src/emacs/emacs-28/lisp/abbrev.el" file exists, it=E2=80=99s now
>   defined as a sibling.
>
> Looks very similar to the project command.

It doesn't always have to be something like that though.  My sibling
rule maps

    XXX/something.com

to
    XXX/log/something.log, and XXX/something.log.

If I found a project-find-sibling-file command, I would expect it to
return the siblings of XXX/something.com that reside in the same project
as XXX/something.com, whereas project-find-matching-file does something
else entirely.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77500; Package emacs. Full text available.

Message received at 77500 <at> debbugs.gnu.org:


Received: (at 77500) by debbugs.gnu.org; 4 Apr 2025 06:17:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 04 02:17:25 2025
Received: from localhost ([127.0.0.1]:36780 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0aMn-00057Z-Iy
	for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 02:17:25 -0400
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:57411)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1u0aMg-00056u-BC
 for 77500 <at> debbugs.gnu.org; Fri, 04 Apr 2025 02:17:19 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 2F3DC443D5;
 Fri,  4 Apr 2025 06:17:09 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
Subject: Re: bug#77500: project-find-sibling-file
In-Reply-To: <64a5f933-c09c-4fa2-812b-f98f2a3e3d0e@HIDDEN>
Organization: LINKOV.NET
References: <87mscx3zrm.fsf@HIDDEN>
 <64a5f933-c09c-4fa2-812b-f98f2a3e3d0e@HIDDEN>
Date: Fri, 04 Apr 2025 09:08:33 +0300
Message-ID: <874iz4a272.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduledtjedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepieffteejgeehffejuedtiefhudekgeejteekiefgveeuheetvdefgeekkeevkedunecukfhppeeluddruddvledruddthedruddujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledruddthedruddujedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejhedttdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegumhhithhrhiesghhuthhovhdruggvvh
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 77500
Cc: 77500 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> I need to spend time reading project.el to find the name of the new command,
>> because it has a name different from the global command 'find-sibling-file'.
>> Therefore, I propose to rename 'project-find-matching-file' to
>> 'project-find-sibling-file'.
>
> But is 'find-sibling-name' its proper counterpart? That one looks for files
> named similarly but not exactly same, residing in the same directory, or
> nearby directories. Often with different contents.
>
> Whereas the current project-find-matching-file looks for files with equal
> relative names (and usually similar contents) that reside in two distinct
> directory trees. In a sense, this might be the opposite from
> 'find-sibling-name'.

From the docstring of 'find-sibling-rules':

  In this example, if you’re in "src/emacs/emacs-27/lisp/abbrev.el",
  and a "src/emacs/emacs-28/lisp/abbrev.el" file exists, it’s now
  defined as a sibling.

Looks very similar to the project command.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77500; Package emacs. Full text available.

Message received at 77500 <at> debbugs.gnu.org:


Received: (at 77500) by debbugs.gnu.org; 3 Apr 2025 23:29:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 19:29:28 2025
Received: from localhost ([127.0.0.1]:36190 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0U00-0005kI-4U
	for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 19:29:28 -0400
Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]:34033)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1u0Tzx-0005jz-7t
 for 77500 <at> debbugs.gnu.org; Thu, 03 Apr 2025 19:29:26 -0400
Received: from phl-compute-07.internal (phl-compute-07.phl.internal
 [10.202.2.47])
 by mailfhigh.stl.internal (Postfix) with ESMTP id 72A7A254024E;
 Thu,  3 Apr 2025 19:29:19 -0400 (EDT)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-07.internal (MEProxy); Thu, 03 Apr 2025 19:29:19 -0400
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=fm1; t=1743722959;
 x=1743809359; bh=tapoFBOAsfx23fPQSjqrHoiNG1rXm9V+ntKzoRv7KMo=; b=
 m/66l6bPpT8LquM9IW2Nm+WB/yCmNiAr4hsMgkLT2A2eXM7qhL9NnhXz2UOiJgnt
 W/8gfCgNUfGKc+f0Pv1dTkpfNT42v6VMuVSgnnmvecf7d3Z814NOeo9h9vol3zK4
 dzFoJTskBogqUEfSxiTM7WkB8z2Onzen5hRrN9J0FXSJ01deHrjyooUupS0t2gt3
 jnz13OKC55IiB9XlEuVTSL9I6UUk+LtkPls2IneEaIDtXWNw1kJ9xGj1JaEymKUV
 pL6DPzbACqc/JHtCVNh2tK9fShRBfHwbNfZf1TEJiIn8q4J68sMAKtbdTV1+sSzw
 Vh2k8h77QnF9zWYnWY4Pjg==
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=fm2; t=1743722959; x=1743809359; bh=t
 apoFBOAsfx23fPQSjqrHoiNG1rXm9V+ntKzoRv7KMo=; b=pq2rzDAYzYoksEGUz
 Eh9NHtLCgT7t45R40W+uVtrAX+sOLSXkwxh8HEnnY6mVVQ5Z+cdu4cEsObmuHcXf
 ACJueAr6vEusdmtbtxJc2kKKCNqe/fGR+TLjOHwLsVNnIeVMukIy8X6e7LEqUaP2
 bhCnpkDazqM012m4/Jv3knhIjSOBNguPKrZDcX2gte9I0Ld/e7TfMDcSJRTC0aBB
 eZxk9BAFuQgsclYMKXhqcR/teckS3BF+3/32jN7nEPEki1zQ+n7Y8QxguroYbbFu
 EEkorNYTeYYLX3VxD+jlXbCnN2tLUtz/rLFnO2NL+puVOKxgrIlF18rjYVxMBdi5
 mvoeQ==
X-ME-Sender: <xms:zxnvZ7LZuH4DeM28yxnv1H5zU61cK-2gJZv7olDgKiRTVCsa7Hyqtg>
 <xme:zxnvZ_K4WFzeu7Exnb9OArojf8A2bp7AJlYt0T9_ED_uJADJf5NcyqCIQ429nF9re
 lG8RKjBo9OW1KYogmA>
X-ME-Received: <xmr:zxnvZzuDaFo-dTiJropkEJXqw-Xz8aVlHeAnd4vUqVjzDtN9k11jCj83e-7IcOEpgQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddukeelkeekucetufdoteggodetrf
 dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv
 pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih
 gvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddv
 jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd
 guvghvqeenucggtffrrghtthgvrhhnpedthfeuvddtveelgeeuleevvdejveehffevveeh
 vdeuffdtfefhvdeugefgtefgtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht
 ohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhhurhhisehlihhnkhhovh
 drnhgvthdprhgtphhtthhopeejjeehtddtseguvggssghughhsrdhgnhhurdhorhhg
X-ME-Proxy: <xmx:zxnvZ0ZOrs3FlGJrPu7wbavrJkx1lInBmcpvLCcS2t240fqOqYb5LQ>
 <xmx:zxnvZyb8VUas3gA2J4NChZUXw2yCSr_LDAJn_HzARMgD9v_161zbLA>
 <xmx:zxnvZ4AcFRuFTNDoHP6NbSJMvNiikdKT8WlPDlPFo8hF6X8GmumHgQ>
 <xmx:zxnvZwa0NTh32O7OMvzpLrRdszi-FgLwgD3A0yNUJkWglKEEIBwmqA>
 <xmx:zxnvZ-KecAwHaIUxRnp5RRLpEBT7PlD-fnn2CAFo5YWG8ZVD6Ub3fDpH>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 3 Apr 2025 19:29:18 -0400 (EDT)
Message-ID: <64a5f933-c09c-4fa2-812b-f98f2a3e3d0e@HIDDEN>
Date: Fri, 4 Apr 2025 02:29:16 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#77500: project-find-sibling-file
To: Juri Linkov <juri@HIDDEN>, 77500 <at> debbugs.gnu.org
References: <87mscx3zrm.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <87mscx3zrm.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 77500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi!

On 03/04/2025 20:45, Juri Linkov wrote:
> There are many project commands that represent their global counterparts
> with the prefix 'project-' added to their command names like
> 'project-find-file' and 'find-file'.
> 
> However, there is one new command that doesn't correspond to its global sibling:
> 'project-find-matching-file' has no binding, so every time I have to manually

Not sure if the current name is ideal, certainly.

> type its name, and after unsuccessfully trying 'M-x project-find-sibling-file'
> I need to spend time reading project.el to find the name of the new command,
> because it has a name different from the global command 'find-sibling-file'.
> 
> Therefore, I propose to rename 'project-find-matching-file' to 'project-find-sibling-file'.

But is 'find-sibling-name' its proper counterpart? That one looks for 
files named similarly but not exactly same, residing in the same 
directory, or nearby directories. Often with different contents.

Whereas the current project-find-matching-file looks for files with 
equal relative names (and usually similar contents) that reside in two 
distinct directory trees. In a sense, this might be the opposite from 
'find-sibling-name'.

FWIW, originally I was thinking to call it 'project-find-same-file'.

Anyway, opinions welcome.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77500; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 17:48:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 13:48:49 2025
Received: from localhost ([127.0.0.1]:35548 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0OgL-0000sY-4f
	for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 13:48:49 -0400
Received: from lists.gnu.org ([2001:470:142::17]:51742)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1u0OgJ-0000sM-7t
 for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 13:48:47 -0400
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 <juri@HIDDEN>) id 1u0OgC-0000py-Ek
 for bug-gnu-emacs@HIDDEN; Thu, 03 Apr 2025 13:48:40 -0400
Received: from relay7-d.mail.gandi.net ([2001:4b98:dc4:8::227])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <juri@HIDDEN>) id 1u0OgA-0003eg-Gg
 for bug-gnu-emacs@HIDDEN; Thu, 03 Apr 2025 13:48:40 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 2B5174322A
 for <bug-gnu-emacs@HIDDEN>; Thu,  3 Apr 2025 17:48:30 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: project-find-sibling-file
Organization: LINKOV.NET
X-Debbugs-Cc: Dmitry Gutov <dmitry@HIDDEN>
Date: Thu, 03 Apr 2025 20:45:17 +0300
Message-ID: <87mscx3zrm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: 0
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddukeelvddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecunecujfgurhephffvufhofffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeejgffgtddthfelteejkeejueegvdekgfdufffgtdehvddtkeetveehgfffjeeuteenucfkphepledurdduvdelrddutdehrdduudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutdehrdduudejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepuddprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg
X-GND-Sasl: juri@HIDDEN
Received-SPF: pass client-ip=2001:4b98:dc4:8::227;
 envelope-from=juri@HIDDEN; helo=relay7-d.mail.gandi.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

There are many project commands that represent their global counterparts
with the prefix 'project-' added to their command names like
'project-find-file' and 'find-file'.

However, there is one new command that doesn't correspond to its global sibling:
'project-find-matching-file' has no binding, so every time I have to manually
type its name, and after unsuccessfully trying 'M-x project-find-sibling-file'
I need to spend time reading project.el to find the name of the new command,
because it has a name different from the global command 'find-sibling-file'.

Therefore, I propose to rename 'project-find-matching-file' to 'project-find-sibling-file'.




Acknowledgement sent to Juri Linkov <juri@HIDDEN>:
New bug report received and forwarded. Copy sent to dmitry@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to dmitry@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#77500; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 4 Apr 2025 16:30:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.