GNU bug report logs - #76235
[PATCH] Improve prompt for 'project-switch-project'

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: Ship Mints <shipmints@HIDDEN>; Keywords: patch; Done: Dmitry Gutov <dmitry@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 76235) by debbugs.gnu.org; 18 Feb 2025 12:22:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 18 07:22:22 2025
Received: from localhost ([127.0.0.1]:55973 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkMcI-0001S6-74
	for submit <at> debbugs.gnu.org; Tue, 18 Feb 2025 07:22:22 -0500
Received: from mail-vk1-xa35.google.com ([2607:f8b0:4864:20::a35]:51279)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tkMcE-0001RQ-6u
 for 76235 <at> debbugs.gnu.org; Tue, 18 Feb 2025 07:22:19 -0500
Received: by mail-vk1-xa35.google.com with SMTP id
 71dfb90a1353d-521b188df16so383713e0c.2
 for <76235 <at> debbugs.gnu.org>; Tue, 18 Feb 2025 04:22:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739881332; x=1740486132; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=ZDM+HErI5zuKgNji5mTeyphbnLPuDyrTipoC2/fR9zk=;
 b=Tvca4Kgw6deTvFrHk1eybA4Yq7HiPA72Qo9BO6c2324T8c1hVJ1yQS8EGdmV6NpNdl
 h64oywxnzN28cxq5uh3ZCstZEOe564uEkeQUCvTP13luE+Xn/Zx3IOChJp1YdOYtgla4
 ClcaCtixkkWlCLO7M6mC4wBY3/Vf4vzVzAGlTYvB/vjBw+ImVVnfOO3tHtFA9zFH3oS6
 /yaD71/rdMaZtA2sp9eLtcAYtlLhy9R9EOUAX0C9OkX9q0xlbfFNnlrnm/PVddeloLQP
 RlWSgAs1Bit7BtaIy6XpKamlACWj9Db4GoTVLwSwUGF6WiWxd8Aqq/KwlLE93yjpxnln
 GF/Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739881332; x=1740486132;
 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=ZDM+HErI5zuKgNji5mTeyphbnLPuDyrTipoC2/fR9zk=;
 b=v2afS+81o7SHMrSzOSHMXes7SfYceTbOGl+4wBH3OjOAejg3ALZss98CxgvROdjo69
 KonJXphwcolfl5wofFgPBzND7mbRlvNw418P/yNdYUn6Ozgzvo/5jtS/swjxdb5YzoAi
 oYrdEExxyYwRJPAmdWEVbMtiYXbSNMBuIdAPiPJBpSAl1UwTzEBPQ8XpWW0GEgEGGFqy
 Y1T5EegGuhrke/0/qpSjQ9tdOwZOhcFgftDc84NYjkFT3oNhtgU2dxUoUHkYOCH5/5Zk
 tXu/RNvczDMjHaD07HSuFj17uwsCopVCWniHZNzDvFytS2Db5zHin6UiW8iqbVdlfem3
 o8Zg==
X-Forwarded-Encrypted: i=1;
 AJvYcCUuBXz3WYB23dIY8kgcurOzJEMUh0ukN7VaSIz1T+xehXwSNZBviRT12MVO2gkTniiUP0kviA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yw8OGQLo7DbNfO32WLc6GgxKQKI8ES6D05wYmuVZ2YI/b3QREzA
 1nJ/YKrVqRzZTdg+fypbOMMyOwiNJZnojmWU3anxVMhucof0cPOUzENiLRL0EPgC/eSbb2u/+gd
 sirt4f4todN6el0cSvs80teaIp2Xn9w==
X-Gm-Gg: ASbGnctYjuCcSOvkm6IODqQueLV2lzARz83z8ErSyCsufkG9HxVmd1zVJ8VsBvKUwpm
 AVzYaUEw/RvGKfJQCdXLXTJCS0iVilo2dzsBpuFqa4boO5Z0YswOrMteXNnMRncP0poijjCYI
X-Google-Smtp-Source: AGHT+IG+uPmZfkk9CKcbmtW28xFq3YjPt81/L7vNmRFFIe2PXDgw/D2nBAkjs8hrF9WqFJwEBgF2V5cDoZDn+qiIJZM=
X-Received: by 2002:a05:6122:1686:b0:51f:3ffb:79ab with SMTP id
 71dfb90a1353d-5209dc7d2fcmr5005552e0c.8.1739881332061; Tue, 18 Feb 2025
 04:22:12 -0800 (PST)
MIME-Version: 1.0
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
 <CADwFkm=N5Ui8Tehzjr-LMzr0kdwA6TbaeNO_-g4MD9xG5c8Cfw@HIDDEN>
 <60f5d992-ca01-4540-ba68-f4aed8abe600@HIDDEN>
 <CAN+1HbowaV4nVkrSyvcxvueWN5Eje8YgQwBNPLavOL2rsEE=GQ@HIDDEN>
 <10b188d2-b72a-452e-8c2f-7188ec717920@HIDDEN>
In-Reply-To: <10b188d2-b72a-452e-8c2f-7188ec717920@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Tue, 18 Feb 2025 07:22:00 -0500
X-Gm-Features: AWEUYZmuMPZw0IsX-OEVVUNVvw_FtqasCVyvnfxUsabXikxiCUAQPrMTZqbXulc
Message-ID: <CAN+1HbrYdNUVoNh-y09uF2oyjKE7JBYF3NDRXZm4vdJj4YV3Jw@HIDDEN>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Dmitry Gutov <dmitry@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000bfbd09062e69b00e"
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN>,
 Juri Linkov <juri@HIDDEN>
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 (/)

--000000000000bfbd09062e69b00e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Maybe "Command for:" vs "Command in:" since the context project and not a
directory--directory is an implementation detail, and
project-external-roots make the concept of a single directory ambiguous? Go
for it. We can always change it later.

On Mon, Feb 17, 2025 at 9:49=E2=80=AFPM Dmitry Gutov <dmitry@HIDDEN> wro=
te:

> On 17/02/2025 10:47, Ship Mints wrote:
> > Perhaps "invoke" instead of "execute" which sounds more natural for
> > commands, functions, keys sequences?
>
> Logically it makes sense, but could this term be too specialized?
>
> Having tried it in a prompt, it doesn't seem obvious enough. But then
> again, maybe it's just a matter of getting used. I don't have a strong
> opinion.
>

--000000000000bfbd09062e69b00e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">Maybe &quot;Command for:&quot; vs &quot;Command in:&quot; since the cont=
ext project and not a directory--directory is an implementation detail, and=
 project-external-roots make the concept of a single directory ambiguous? G=
o for it. We can always change it later.</div></div><br><div class=3D"gmail=
_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon,=
 Feb 17, 2025 at 9:49=E2=80=AFPM Dmitry Gutov &lt;<a href=3D"mailto:dmitry@=
gutov.dev">dmitry@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">On 17/02/2025 10:47, Ship Mints wrote:<br>
&gt; Perhaps &quot;invoke&quot; instead of &quot;execute&quot; which sounds=
 more natural for <br>
&gt; commands, functions, keys sequences?<br>
<br>
Logically it makes sense, but could this term be too specialized?<br>
<br>
Having tried it in a prompt, it doesn&#39;t seem obvious enough. But then <=
br>
again, maybe it&#39;s just a matter of getting used. I don&#39;t have a str=
ong <br>
opinion.<br>
</blockquote></div>

--000000000000bfbd09062e69b00e--




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

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


Received: (at 76235) by debbugs.gnu.org; 18 Feb 2025 02:49:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 17 21:49:15 2025
Received: from localhost ([127.0.0.1]:52253 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkDff-0006LF-7T
	for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 21:49:15 -0500
Received: from fout-b8-smtp.messagingengine.com ([202.12.124.151]:53029)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1tkDfa-0006Ka-EC
 for 76235 <at> debbugs.gnu.org; Mon, 17 Feb 2025 21:49:12 -0500
Received: from phl-compute-05.internal (phl-compute-05.phl.internal
 [10.202.2.45])
 by mailfout.stl.internal (Postfix) with ESMTP id 496E811400E9;
 Mon, 17 Feb 2025 21:49:04 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-05.internal (MEProxy); Mon, 17 Feb 2025 21:49:04 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :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=fm2; t=1739846944;
 x=1739933344; bh=KVntzvA4gnBTRg5ad9e6TMwQ6YH6myafNRvanMPAL4w=; b=
 LRIflTL8Fia9FBzva/baZ8apiCbe5x59yOcoQYHtUHS76NfGJUlGf057B7Qu4uTc
 7YVVzVNd8q0kHI74scBMaHFXGr+2oCKBukTm95URn9WPsq/KYk5sAbFBTJUkra8v
 jAmqWXKBwRWoHA04v8SibAx8DXn91h2JFZ9WOdl4+Ki1bwRAPGNZRXrMl9tEZzSB
 lt6ulAHkH3mTyj7FVOYrKtwvpsqli9Ir5cmQaaHKc4TNVS3IQJOI8CePDVpSZmG9
 ImuVevyGyNER4Mu+ht9+zSGD3ocXF2/+KKggIeysL4aIvBQI5NR3yHI8M6SUigts
 1kKDu6pCocnxbBarPQmtpQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc: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=fm3; t=1739846944; x=
 1739933344; bh=KVntzvA4gnBTRg5ad9e6TMwQ6YH6myafNRvanMPAL4w=; b=p
 PRCaHETyprtGy0svuXUvClfWw0VwK60l2INjeTAht9RQR/9UM5EkXmiASIGPFYI4
 Un/jmgJfGmMsgseaQYOpdchFXp7jk9IyYvgQJBgPslik1gpka9ykOKJoeDs9Gk/E
 xNBVHqU3IzK61TD0+/+4j3l2lLqLKYmQQ1EdUd+LV6Zw0UO/ilA5CnNoYSnOIfBP
 7Ce9Wldpwwe2YReJ2aJQ39hflzl4a9QYtDbVxTlsdOpTPDDzLT2RCTZ+NipocLn1
 k202lllh9A0u0Rrchq7ZovsK4kCBvZafdgvmreIV3QEvB3eWt6iiw9Y9EPQoPNgK
 t06l/+qCoBf2xtXIRYx2Q==
X-ME-Sender: <xms:H_WzZ-YWONMOv3UU3aaPwJDo9rCDm6P5iZKVsT7Z_wnrQR5tUWGryw>
 <xme:H_WzZxaAcitTcSP2xVb8dL0u24IDvn06-oiCSo3KvXd9d0qdru2rs51o73g5-EO5J
 irJznjZoIeuHYX8M7g>
X-ME-Received: <xmr:H_WzZ4-lfH4GSF0R_BNLpZJTjagwqjxhYcTOD-k4vDSNDGom54DLt6jAFwBE5w47L2k>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeitddufecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv
 jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd
 guvghvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeu
 fedtvddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht
 ohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhhihhpmhhinhhtshesgh
 hmrghilhdrtghomhdprhgtphhtthhopehsthgvfhgrnhhkrghnghgrshesghhmrghilhdr
 tghomhdprhgtphhtthhopehjuhhriheslhhinhhkohhvrdhnvghtpdhrtghpthhtohepje
 eivdefheesuggvsggsuhhgshdrghhnuhdrohhrgh
X-ME-Proxy: <xmx:H_WzZwpkiL4z0f5v-D2qMeXV9dbLSRPEl2njX_hNFwqPT2HVKQjt6g>
 <xmx:H_WzZ5pYb8vhefOQ_3PXo6Bzq-8vrpHERLPHcpuIRhOkJwTOhY_dug>
 <xmx:H_WzZ-Sx4WLuzNRIzbKDa-QFAqp0f8q1giZUuZurOxkOnDZif6qTbw>
 <xmx:H_WzZ5onuQge7Fu9LAfpmsXB9YcTS0DZxuQeVdJiSoqN2Iyq59fr-Q>
 <xmx:IPWzZ6lPqtN-mVEPyUF_bu7jgT10DM7P4gn82hIngHWRJfO6Zf0OjpDU>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 17 Feb 2025 21:49:02 -0500 (EST)
Message-ID: <10b188d2-b72a-452e-8c2f-7188ec717920@HIDDEN>
Date: Tue, 18 Feb 2025 04:49:00 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Ship Mints <shipmints@HIDDEN>
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
 <CADwFkm=N5Ui8Tehzjr-LMzr0kdwA6TbaeNO_-g4MD9xG5c8Cfw@HIDDEN>
 <60f5d992-ca01-4540-ba68-f4aed8abe600@HIDDEN>
 <CAN+1HbowaV4nVkrSyvcxvueWN5Eje8YgQwBNPLavOL2rsEE=GQ@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <CAN+1HbowaV4nVkrSyvcxvueWN5Eje8YgQwBNPLavOL2rsEE=GQ@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN>,
 Juri Linkov <juri@HIDDEN>
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 (-)

On 17/02/2025 10:47, Ship Mints wrote:
> Perhaps "invoke" instead of "execute" which sounds more natural for 
> commands, functions, keys sequences?

Logically it makes sense, but could this term be too specialized?

Having tried it in a prompt, it doesn't seem obvious enough. But then 
again, maybe it's just a matter of getting used. I don't have a strong 
opinion.




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

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


Received: (at 76235) by debbugs.gnu.org; 18 Feb 2025 02:38:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 17 21:38:25 2025
Received: from localhost ([127.0.0.1]:52196 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkDVB-0005TO-Dq
	for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 21:38:25 -0500
Received: from fhigh-b7-smtp.messagingengine.com ([202.12.124.158]:55573)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1tkDV5-0005Sl-Pi
 for 76235 <at> debbugs.gnu.org; Mon, 17 Feb 2025 21:38:22 -0500
Received: from phl-compute-08.internal (phl-compute-08.phl.internal
 [10.202.2.48])
 by mailfhigh.stl.internal (Postfix) with ESMTP id D9C622540169;
 Mon, 17 Feb 2025 21:38:12 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-08.internal (MEProxy); Mon, 17 Feb 2025 21:38:12 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :cc: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=fm2; t=1739846292; x=1739932692; bh=kDa4c4h2eb
 rV6IXtJDMdAEGHgUNN7BEHhbvNXAvht+8=; b=WrThaRDL6VHSBXgKTJdDwc6g5T
 Ed1B6VCA+TqjOhweOck8GLrqguOXFu8Q/eHoBgb/N74XMpyQW2yxHbso23NacoFT
 kcAfgsZUrRuuOMbdJN0BkBIjnqovfTfS2RMl0gY5785i4dwuPCElUra+6X15r0a0
 KQCya6DGJuJhbu4Ga/aF99R6aDfkcgB0fIhT1C4GaUV7cjEJXn06RbH0adG6pAsI
 t1IwOW8cY9Llra84YCXMb4SloVvAaVPyrOJl3dktmoeBbPcWQk5H9jRqChX8xIaa
 sEZCsYSUwoXz6ovEA8mshpJSYypxGHy6/n9giby9qsjxyH/U2+Z9SMgzSiQw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc: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=fm3; t=
 1739846292; x=1739932692; bh=kDa4c4h2ebrV6IXtJDMdAEGHgUNN7BEHhbv
 NXAvht+8=; b=IwsdftVMSLP1ojjXet/lPFnetjASOs3lZSl0DF1O1xg3fL/JvdN
 g/OZ1l3LHuZXMtgldQgTX5epv8xxfikyD7hzpLkFwtmced04XtGnHZcVZU2L0DJu
 4wwfoygH7+98dBVok6qS0nUjUh+4kk3PBCY0wx7KziNoPOMAoeao+ukEBstA+dqb
 XMBBbr7264jFkn64xHk2iuiUylT76nrpyfHyMv55/4ZDMiAnEeiS5Ua3GuAT3lcd
 7A/h9VCafOS42lLBWCYwnnioX406oPawoPP2jrpEHbQE3YbBygZcWtkT6gsF/wlT
 ksMLPyjoivDsy5H2tI/VN0b/hrz3bbMIt7A==
X-ME-Sender: <xms:lPKzZ5TGmTh4Dqc6wbdEvtsmqOFnwDPwewhjt3sHjDT6irbrcx78lw>
 <xme:lPKzZyyhSPIkbVncyzsZBRP2Rs1ecfw-warQf-u3oxKW61tJPM5X-0gw2dPwx7sg1
 7KUrOfmmxdNHeOwhhs>
X-ME-Received: <xmr:lPKzZ-1_qh39igES9vc3U8YbP6kwEZ3Z6qWYITl7jBUQmblki_eTxhLjwk0Nji1MA3s>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeitdduudcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpegtkfffgggfuffvvehfhfgjsehmtderredtvdej
 necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug
 gvvheqnecuggftrfgrthhtvghrnhepheelfedukeduudevkeeilefgieffvdekhfekleej
 ueejgeeukeevffekjeejveehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe
 hmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthho
 peefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehjuhhriheslhhinhhkohhvrd
 hnvghtpdhrtghpthhtohepshhhihhpmhhinhhtshesghhmrghilhdrtghomhdprhgtphht
 thhopeejiedvfeehseguvggssghughhsrdhgnhhurdhorhhg
X-ME-Proxy: <xmx:lPKzZxDS5olf6PSQi1MuktBNSX1tUTbFQ2Fq-MbRf6blTMlQMaHspw>
 <xmx:lPKzZyiVBdv-Iu1vxBdKxs5kctVZ5BNTR-UBTRiJ5pK6W1biKPr6PA>
 <xmx:lPKzZ1oOKff90AWLvPOOJxozqzyS_cWhiC-3eOOUsIEXA9jPCj0-nQ>
 <xmx:lPKzZ9iJ9dgWWPWRiqj8pLR8Ib2thLdSgf4gVkaNd9QRSeRzCOOwoA>
 <xmx:lPKzZzsl3zrq1eD1O2fFLJCltZf4ZdKPcle-k63XCfxKkN8qi_jMt0Hd>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 17 Feb 2025 21:38:10 -0500 (EST)
Content-Type: multipart/mixed; boundary="------------IBUu0iOVSlvBRjL0HK4b4Oi4"
Message-ID: <0557e997-0044-47b9-acf0-4835f98c00cb@HIDDEN>
Date: Tue, 18 Feb 2025 04:38:08 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Juri Linkov <juri@HIDDEN>
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
 <8734ghuhvg.fsf@HIDDEN>
 <d05983fc-f42a-4b70-887f-8868b1a2fbe1@HIDDEN>
 <87frkfgjim.fsf@HIDDEN>
 <76f5f9ee-9c21-49a0-a2b2-d961733c5698@HIDDEN>
 <87y0y5dnx1.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <87y0y5dnx1.fsf@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Ship Mints <shipmints@HIDDEN>
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 (-)

This is a multi-part message in MIME format.
--------------IBUu0iOVSlvBRjL0HK4b4Oi4
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 17/02/2025 09:35, Juri Linkov wrote:
>>> Maybe better to make the prompt configurable
>>> (not defcustom, but only a variable,
>>> so it's easy to apply properties with face).
>>> Then I'd like to change it to just "[%s]" to save space.
>>> A longer explanatory text is more suitable for everyone
>>> who use the command infrequently.
>> Could we reuse that variable in both commands?
> Sharing the same variable would be nice.

Like this?
--------------IBUu0iOVSlvBRjL0HK4b4Oi4
Content-Type: text/x-patch; charset=UTF-8; name="project-command-prompt.diff"
Content-Disposition: attachment; filename="project-command-prompt.diff"
Content-Transfer-Encoding: base64

ZGlmZiAtLWdpdCBhL2xpc3AvcHJvZ21vZGVzL3Byb2plY3QuZWwgYi9saXNwL3Byb2dtb2Rl
cy9wcm9qZWN0LmVsCmluZGV4IDM1YmY2NmM5ZmZiLi4xN2EyNjAzMjU2OCAxMDA2NDQKLS0t
IGEvbGlzcC9wcm9nbW9kZXMvcHJvamVjdC5lbAorKysgYi9saXNwL3Byb2dtb2Rlcy9wcm9q
ZWN0LmVsCkBAIC0yMDE3LDYgKzIwMTcsMTIgQEAgcHJvamVjdC1leGVjdXRlLWV4dGVuZGVk
LWNvbW1hbmQKICAgKGxldCAoKGRlZmF1bHQtZGlyZWN0b3J5IChwcm9qZWN0LXJvb3QgKHBy
b2plY3QtY3VycmVudCB0KSkpKQogICAgIChjYWxsLWludGVyYWN0aXZlbHkgIydleGVjdXRl
LWV4dGVuZGVkLWNvbW1hbmQpKSkKIAorKGRlZnZhciBwcm9qZWN0LWNvbW1hbmQtcHJvbXB0
IChjb25jYXQKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkNvbW1hbmQgaW4g
YCIKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHByb3BlcnRpemUgIiVzIiAn
ZmFjZSAnZm9udC1sb2NrLXN0cmluZy1mYWNlKQorICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAiJzogIikKKyAgIlByb21wdCBmb3JtYXQgdG8gdXNlIGZvciBjaG9vc2luZyBh
IGNvbW1hbmQgYnkga2V5IG9yIGtleSBzZXF1ZW5jZS4iKQorCiA7OzsjIyNhdXRvbG9hZAog
KGRlZnVuIHByb2plY3QtYW55LWNvbW1hbmQgKCZvcHRpb25hbCBvdmVycmlkaW5nLW1hcCBw
cm9tcHQtZm9ybWF0KQogICAiUnVuIHRoZSBuZXh0IGNvbW1hbmQgaW4gdGhlIGN1cnJlbnQg
cHJvamVjdC4KQEAgLTIwMzIsNyArMjAzOCw3IEBAIHByb2plY3QtYW55LWNvbW1hbmQKIGZy
b20gdGhhdCBtYXAgd2hpY2ggd2lsbCB0YWtlIHByaW9yaXR5IG92ZXIgdGhlIGdsb2JhbCBv
bmVzLiIKICAgKGludGVyYWN0aXZlKQogICAobGV0KiAoKHByIChwcm9qZWN0LWN1cnJlbnQg
dCkpCi0gICAgICAgICAocHJvbXB0LWZvcm1hdCAob3IgcHJvbXB0LWZvcm1hdCAiW2V4ZWN1
dGUgaW4gJXNdOiIpKQorICAgICAgICAgKHByb21wdC1mb3JtYXQgKG9yIHByb21wdC1mb3Jt
YXQgcHJvamVjdC1jb21tYW5kLXByb21wdCkpCiAgICAgICAgICAoY29tbWFuZCAobGV0ICgo
b3ZlcnJpZGluZy10ZXJtaW5hbC1sb2NhbC1tYXAgb3ZlcnJpZGluZy1tYXApKQogICAgICAg
ICAgICAgICAgICAgICAoa2V5LWJpbmRpbmcgKHJlYWQta2V5LXNlcXVlbmNlCiAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgKGZvcm1hdCBwcm9tcHQtZm9ybWF0IChwcm9q
ZWN0LXJvb3QgcHIpKSkKQEAgLTIyNDcsMTAgKzIyNTMsOCBAQCBwcm9qZWN0LS1zd2l0Y2gt
cHJvamVjdC1jb21tYW5kCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAoaGVscC1rZXktZGVzY3JpcHRpb24gY2hvaWNlIG5pbCkpKSkpCiAgICAgICAgIChzZXRx
IGNob2ljZSAocmVhZC1rZXktc2VxdWVuY2UgKGNvbmNhdAogICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAoaWYgZGlyCi0gICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAoZm9ybWF0LW1lc3NhZ2UgIkNvbW1hbmQgaW4gYCVz
JzogIgotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIChwcm9wZXJ0aXplCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRpciAnZmFjZQotICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAn
Zm9udC1sb2NrLXN0cmluZy1mYWNlKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgIChmb3JtYXQtbWVzc2FnZSBwcm9qZWN0LWNvbW1hbmQtcHJvbXB0
CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgZGlyKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICJDb21tYW5kOiAiKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICBwcm9tcHQpKSkKICAgICAgICAgKHdoZW4gKHNldHEgY29tbWFuZCAobG9va3VwLWtl
eSBjb21tYW5kcy1tYXAgY2hvaWNlKSkK

--------------IBUu0iOVSlvBRjL0HK4b4Oi4--




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

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


Received: (at 76235) by debbugs.gnu.org; 17 Feb 2025 08:47:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 17 03:47:27 2025
Received: from localhost ([127.0.0.1]:42463 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjwmk-0005Jb-IB
	for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 03:47:27 -0500
Received: from mail-vk1-xa30.google.com ([2607:f8b0:4864:20::a30]:46189)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tjwmh-0005Iv-Fl
 for 76235 <at> debbugs.gnu.org; Mon, 17 Feb 2025 03:47:24 -0500
Received: by mail-vk1-xa30.google.com with SMTP id
 71dfb90a1353d-51e902b58c0so2572854e0c.0
 for <76235 <at> debbugs.gnu.org>; Mon, 17 Feb 2025 00:47:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739782037; x=1740386837; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=7t/qGNQyESWT22gIgN+64z9XS2hwTiKsARWtlCRw0Z4=;
 b=b5eeuj6O9cAqLmFDQ2hyNUkWWjycKQbiak3CQMNuxJs/Es9coIzXRdolHFf6/QeMw4
 7E6DhkJLx74Dfa/xTt1a9TO4cmTFR6+b6dJ1vs0CQj7N/F0g9Bn+ITqy01rPtCxJHOjN
 ALcLKD+EfCcPJKxU8p7Ae/ufCI3pZy3UkF851sVn9AiYGkgJaEhmFRCFhnFyzeirNoN+
 eLrqf2e6cLcSyJnue1js/iEgscQqtzHsZar7p9SaTreFFQDrcvDA7IbI150J+kGP6PPk
 DDzBcb7GFs3Wa8Z2H2Sf5yMk1hsiyiNa3RbMxATcdLImP/FTSYOvgowZLhPoirVx/OG1
 PUyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739782037; x=1740386837;
 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=7t/qGNQyESWT22gIgN+64z9XS2hwTiKsARWtlCRw0Z4=;
 b=iAAPAnkCeyT8q9SO7tIDX1WCh6tbuqoI6ea7BFf/b6+5HkCNogtGT9gqG+toRTqOrL
 zzbH5JxMyvwvYfovjw4t64alzilPTk9uf2cW2DErUQvq/8eZQS1rrzoxQdK0wO0F+0ti
 yNCE2Hd2qJ+5kcb9cUIwauAiKUi3DZsK9YGaMJ4IDrL0412w6Y+CDBTex+pvn5QQ2KEM
 DYkPtVRHVUeW+z7qJMPbDOwdR0DsWz1h31dVm5/e0BPkqr0jJv6rVrQR5aB0SPHcqsyb
 fcpamcb7iTyEfehR+TLD81LLokoyJcCEd1CLxuaTL5/B/l25qIvZQdq8502C2aYG/bY8
 i6hA==
X-Forwarded-Encrypted: i=1;
 AJvYcCVL/PDZ2EIIkxoB/xa4Zs14AJ+VaY47rY77lA26H72IXlEaa5MP7Wb+jO9FyjwYzXdNUd/s7g==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YxyWPykF/QHBkQOpsrrvi7/UauzM+WV0y66vj4CASHm2iBU57xp
 1MLMgw3Wfmz0/Piri5I/H/c1/aywSp+vCk2zF5V8+0wqoVPQyDRAcobCvqR/RvYDIuzaga9nOKH
 +K1YvWgTnvETfS5lYRH2BTdA0NgE=
X-Gm-Gg: ASbGnctI8QZwXZL1nWbAtY5D1Wu8lAkouK2cxvhOF39kk+/9HWASjd66mfcaZrnyMWC
 Gm7LYr7zovzKT0bQJD0Vqhz7wkRGJad3lHhXARdj4bpKSGPr8qhJZzZuQJuANlPjjbcz/fgSG
X-Google-Smtp-Source: AGHT+IE4u7wtMFP4TE792wptUDsGgsgh3/+plAb8lQyOlk9+722bD1ocpCY9m8la94JIoteRdBH6DHDiMqvxbkrvVCg=
X-Received: by 2002:a05:6122:91c:b0:520:63e6:79d1 with SMTP id
 71dfb90a1353d-5209dcea152mr2666321e0c.10.1739782037638; Mon, 17 Feb 2025
 00:47:17 -0800 (PST)
MIME-Version: 1.0
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
 <CADwFkm=N5Ui8Tehzjr-LMzr0kdwA6TbaeNO_-g4MD9xG5c8Cfw@HIDDEN>
 <60f5d992-ca01-4540-ba68-f4aed8abe600@HIDDEN>
In-Reply-To: <60f5d992-ca01-4540-ba68-f4aed8abe600@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Mon, 17 Feb 2025 03:47:04 -0500
X-Gm-Features: AWEUYZlZ_S7SN2QuTqnUQdcfNj5ji_Daio9c3-xEZtVSVm6uzGFAj-GNkgz5grs
Message-ID: <CAN+1HbowaV4nVkrSyvcxvueWN5Eje8YgQwBNPLavOL2rsEE=GQ@HIDDEN>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Dmitry Gutov <dmitry@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000057151c062e52928f"
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN>,
 Juri Linkov <juri@HIDDEN>
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 (/)

--00000000000057151c062e52928f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Perhaps "invoke" instead of "execute" which sounds more natural for
commands, functions, keys sequences?

On Sun, Feb 16, 2025 at 10:14=E2=80=AFPM Dmitry Gutov <dmitry@HIDDEN> wr=
ote:

> On 14/02/2025 23:24, Stefan Kangas wrote:
> > I do find the current message unclear, so I'd suggest something like
> >
> >      [run command in %s]
> >
> > where %s has the string face, the colon is removed (because this is not
> > a prompt per se), and "execute" is changed to "run" (which AFAICT is th=
e
> > most commonly used terminology in Emacs, though there are exceptions).
>
> Hmm, when we look at how it gets displayed in practice, we show the
> prompt, and then either nothing, or the current prefix key sequence
> (after a timeout, the echo-keystrokes thing) - which might imply that
> the verb we use relates to the key sequence rather than the command
> invoked. And we "call" both commands and macros.
>
> I might be overthinking this.
>
> > Anyways, it's your call what to do here, but those are my two cents.
>
> No strong preference for me, and it's good to hear what others feel is
> acceptable.
>

--00000000000057151c062e52928f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">Perhaps &quot;invoke&quot; instead of &quot;execute&quot; which sounds m=
ore natural for commands, functions, keys sequences?</div></div><br><div cl=
ass=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_a=
ttr">On Sun, Feb 16, 2025 at 10:14=E2=80=AFPM Dmitry Gutov &lt;<a href=3D"m=
ailto:dmitry@HIDDEN">dmitry@HIDDEN</a>&gt; wrote:<br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">On 14/02/2025 23:24, Stefan Kangas =
wrote:<br>
&gt; I do find the current message unclear, so I&#39;d suggest something li=
ke<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 [run command in %s]<br>
&gt; <br>
&gt; where %s has the string face, the colon is removed (because this is no=
t<br>
&gt; a prompt per se), and &quot;execute&quot; is changed to &quot;run&quot=
; (which AFAICT is the<br>
&gt; most commonly used terminology in Emacs, though there are exceptions).=
<br>
<br>
Hmm, when we look at how it gets displayed in practice, we show the <br>
prompt, and then either nothing, or the current prefix key sequence <br>
(after a timeout, the echo-keystrokes thing) - which might imply that <br>
the verb we use relates to the key sequence rather than the command <br>
invoked. And we &quot;call&quot; both commands and macros.<br>
<br>
I might be overthinking this.<br>
<br>
&gt; Anyways, it&#39;s your call what to do here, but those are my two cent=
s.<br>
<br>
No strong preference for me, and it&#39;s good to hear what others feel is =
<br>
acceptable.<br>
</blockquote></div>

--00000000000057151c062e52928f--




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

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


Received: (at 76235) by debbugs.gnu.org; 17 Feb 2025 07:35:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 17 02:35:54 2025
Received: from localhost ([127.0.0.1]:41977 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjvfV-0004rx-O7
	for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 02:35:53 -0500
Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:58993)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tjvfS-0004rG-C4
 for 76235 <at> debbugs.gnu.org; Mon, 17 Feb 2025 02:35:51 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id 2D7224432D;
 Mon, 17 Feb 2025 07:35:41 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
In-Reply-To: <76f5f9ee-9c21-49a0-a2b2-d961733c5698@HIDDEN>
Organization: LINKOV.NET
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
 <8734ghuhvg.fsf@HIDDEN>
 <d05983fc-f42a-4b70-887f-8868b1a2fbe1@HIDDEN>
 <87frkfgjim.fsf@HIDDEN>
 <76f5f9ee-9c21-49a0-a2b2-d961733c5698@HIDDEN>
Date: Mon, 17 Feb 2025 09:35:06 +0200
Message-ID: <87y0y5dnx1.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: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdehjeejkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghofhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepffegteefveelhfeljeefueehieduiedtfffhuddtkeeffffghfevheetgeeukeehnecukfhppeeluddruddvledrleekrdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrdelkedrhedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepjeeivdefheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehshhhiphhmihhnthhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepughmihhtrhihsehguhhtohhvrdguvghv
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Ship Mints <shipmints@HIDDEN>
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 (-)

>> Maybe better to make the prompt configurable
>> (not defcustom, but only a variable,
>> so it's easy to apply properties with face).
>> Then I'd like to change it to just "[%s]" to save space.
>> A longer explanatory text is more suitable for everyone
>> who use the command infrequently.
>
> Could we reuse that variable in both commands?

Sharing the same variable would be nice.




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

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


Received: (at 76235) by debbugs.gnu.org; 17 Feb 2025 03:16:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 22:16:44 2025
Received: from localhost ([127.0.0.1]:40397 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjrci-00081p-72
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 22:16:44 -0500
Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]:56561)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1tjrcf-00081C-9D
 for 76235 <at> debbugs.gnu.org; Sun, 16 Feb 2025 22:16:41 -0500
Received: from phl-compute-06.internal (phl-compute-06.phl.internal
 [10.202.2.46])
 by mailfhigh.phl.internal (Postfix) with ESMTP id 0AB0E11400D3;
 Sun, 16 Feb 2025 22:16:36 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-06.internal (MEProxy); Sun, 16 Feb 2025 22:16:36 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :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=fm2; t=1739762196;
 x=1739848596; bh=hMMvo2Up4XDwYOiUL9s/M/xv9mkgj8iVFFnM+gqw0Gg=; b=
 PqXjIw+dp0eVLC4exvs3OD04DWuG/YzzInUrWL8AukgHn97f662/ZD9oEjplXNZm
 p3OVkkYUF/PDqn0HZn38TOWT6RJZ5iIO8Q03lPZr9LoaN7t0cly7gG3f1GsUpJbI
 rViCa+3e76GbX3pQ9cz+Cd8pBSJHGb7GaPnDI0cc4GjQd1FzNqJKYtWPNi84Y0in
 gtLnfDANFy9fIC9JoXIu/hBaRNsmO0oJxlGvmHlI4WTPwka7yAKYSPu5f/JuJVVo
 d8wAB1DxIF90Pjs5IN+qVspuMP2z/dTQcUqfVLqe8dAd5DRSIouJfSiOGibs/iNK
 2XclIEx9jnCeaO9moAAlKg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc: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=fm3; t=1739762196; x=
 1739848596; bh=hMMvo2Up4XDwYOiUL9s/M/xv9mkgj8iVFFnM+gqw0Gg=; b=A
 6RnuDlerD/GuSed4JKR55fQE/trDZFrPzDqOF42iZZrJCIShOVGSg+79QgtGd/6h
 8/IytKRx5iaB9QqCj3lModQTZVg+zbOdFSLe/605CegUYF6VzWZT2D1GRCcoEHWY
 AW6d7QtejI7p9rTZSrptRKu3E/RG/fESLn0Q9Y26KqzonmslR0sDiWUxbxgHsUMP
 PmFtVYjQC+SMLQfb9zYZi8rakryLXsEDl4y2DodF76mnr84at68eg2C9d8GhSGAz
 hn7Tw2vLLfaL1UCNWLORB2prJzzi3jb5CESOqymIdultNQqrisz/dqR7sCsdaZ3q
 tVs/+JMX7d7mIBN43e4AA==
X-ME-Sender: <xms:E6qyZ9GvolrNSNlUAIgzd7htchWz-ielupxb7W9xN-FqvyhTjpsf6g>
 <xme:E6qyZyW-3FukTu23BeYqVYwsnEwU1FSi13d8HDCXjTPzo-_1AG3m8Et7XbSgq_KXb
 5FKlmESa14surtHyVQ>
X-ME-Received: <xmr:E6qyZ_KLTsfYW4G0Rmd-iNn_ghY-bVhJOu6HE5w2hmTa3-YbaufNC1DbcoLo05JNtXEJ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdehjedviecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv
 jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd
 guvghvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeu
 fedtvddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht
 ohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhhurhhisehlihhnkhhovh
 drnhgvthdprhgtphhtthhopehshhhiphhmihhnthhssehgmhgrihhlrdgtohhmpdhrtghp
 thhtohepjeeivdefheesuggvsggsuhhgshdrghhnuhdrohhrgh
X-ME-Proxy: <xmx:E6qyZzFuKJIy8tOY064Y35hrkXbKLClz3py4rRu32uxiOKw4RNnVOQ>
 <xmx:E6qyZzW1pt3Wh74mrb_k0AryK0jII-oPQEshpo_6YI6lizh6QbgaKg>
 <xmx:E6qyZ-Nhi6pwoMlaJJUsCCCmKtprFJqr1ODiLtZ_zoogBJ3BePtufQ>
 <xmx:E6qyZy0xLGEY3lvFqAWJwnuK0mmth523YXQU5pfpBeiZGL54BzAV1w>
 <xmx:FKqyZ-QAO5Z3QSxrg0f0XbTiv3vdAtr3slzq9YiNk_Ucbhf_9B29USlJ>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun,
 16 Feb 2025 22:16:34 -0500 (EST)
Message-ID: <76f5f9ee-9c21-49a0-a2b2-d961733c5698@HIDDEN>
Date: Mon, 17 Feb 2025 05:16:33 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Juri Linkov <juri@HIDDEN>
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
 <8734ghuhvg.fsf@HIDDEN>
 <d05983fc-f42a-4b70-887f-8868b1a2fbe1@HIDDEN>
 <87frkfgjim.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <87frkfgjim.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Ship Mints <shipmints@HIDDEN>
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 (-)

On 15/02/2025 20:17, Juri Linkov wrote:
> Maybe better to make the prompt configurable
> (not defcustom, but only a variable,
> so it's easy to apply properties with face).
> Then I'd like to change it to just "[%s]" to save space.
> A longer explanatory text is more suitable for everyone
> who use the command infrequently.

Could we reuse that variable in both commands?




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

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


Received: (at 76235) by debbugs.gnu.org; 17 Feb 2025 03:15:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 22:15:13 2025
Received: from localhost ([127.0.0.1]:40385 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjrbE-0007vx-IX
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 22:15:12 -0500
Received: from [103.168.172.149] (port=34981
 helo=fout-a6-smtp.messagingengine.com)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1tjrbB-0007op-LO
 for 76235 <at> debbugs.gnu.org; Sun, 16 Feb 2025 22:15:10 -0500
Received: from phl-compute-04.internal (phl-compute-04.phl.internal
 [10.202.2.44])
 by mailfout.phl.internal (Postfix) with ESMTP id 151C91380145;
 Sun, 16 Feb 2025 22:14:55 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-04.internal (MEProxy); Sun, 16 Feb 2025 22:14:55 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :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=fm2; t=1739762095;
 x=1739848495; bh=k3/KZvnlJp3Zl2Ut9i5pxiW1OKAS/JJ0Ls2twE5l5fw=; b=
 QnNt1HCy3UUMRpeFxPAawx8Nzxaj0XKMqdMxqZHXc2qgKSgvF28Vn6KVhq/gf6jW
 2RuSq/NI73A1cVZF7THr8JncPwEOots/oc2EOXf1hxzqolIZAsj0jTD9dWAIikaW
 15VCyxSJkteW+NCuIwa0HOmfwRggl1gVNhtyVCyzp+XDzgJbEqvJtJ40SQLRWEdf
 U7szO7MWXcpFl+LCsE06gqFySlLFPA8aZ2e9liavwC/CGvTNr6OJdvN60VyG9DB+
 650y4cP/TcRp+j9iHcwKFB2iKFKHSu0N6i+3N0dici6DIULn6hOxt05Tkfjr2X6Z
 09f+4/zza3/SrTnfHFwn6Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc: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=fm3; t=1739762095; x=
 1739848495; bh=k3/KZvnlJp3Zl2Ut9i5pxiW1OKAS/JJ0Ls2twE5l5fw=; b=d
 6+G0ls3L+/+Nu5BV4dcCtGGZA604cWj5IoaniZch5qbHT0BFQFYuuHDvdqOunD56
 tsumBQDpJVsLJxZVjjkxyCRh4ON+eaYuYCjGrFst/A2pkpFWA7cHzxgXTPBg4nEO
 inQl/BGKwKpvVZoOP+yoQ94chSqlw8ovpThzI2lbgh/hkRGCemSo/nMPYFQTTcVD
 BO50eoxRalnIyQ7/PECErsI2A0QALq/sGH/vqpVh0o2epGPiYVVtqr4bOpW5hFjp
 2Jf/3AbxsCLIr3xZj0mqP0jV7cfygLrxZQYjTpAstlmuws7ZMqlZK4YSbxuAZH7e
 1uw3fCnWkhtXUW1AY6aVg==
X-ME-Sender: <xms:rqmyZ7zdC-ygIYiiu5s8S5jJtLTN2kl2xp0XJ5RSYWYkg6j5Im7tAQ>
 <xme:rqmyZzRtiuO5oPbn751MjxzeY1uxZ9OAfl1m3EONFZn9jE0BzxwOjxLZ9XAk548RM
 rHch1VYlMdmvk9ZFGY>
X-ME-Received: <xmr:rqmyZ1WPXfs8mF3h-R3RUh5ht-NqcMQAM49f42u8oTumOV6HfECEQQbOyNho9i1z8Wwk>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdehjedviecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv
 jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd
 guvghvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeu
 fedtvddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht
 ohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhtvghfrghnkhgrnhhgrg
 hssehgmhgrihhlrdgtohhmpdhrtghpthhtohepjhhurhhisehlihhnkhhovhdrnhgvthdp
 rhgtphhtthhopeejiedvfeehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtoh
 epshhhihhpmhhinhhtshesghhmrghilhdrtghomh
X-ME-Proxy: <xmx:rqmyZ1jR2zL_uvC3Innv03vAOjU4AQnUCnX81cWroSuHTkSR7BlUIw>
 <xmx:rqmyZ9D2EK9hDnqnaMpIxxuJjlWgpN-X8Pijselg1Xh1obdOBR4ONw>
 <xmx:rqmyZ-KSnjDYHDZRK0I1AfxOusr20Ru1naeCdyScIhCwPPg2tqrs5w>
 <xmx:rqmyZ8AncQLeOeP4Zp3VAIGJpwmlzuacmoNEHVpT875DK6vlq7yilA>
 <xmx:r6myZ4_u9-uHIveLoHAmRm9YNxEmBmptU7uIb01QaFVo1EIrdWkai8E0>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun,
 16 Feb 2025 22:14:53 -0500 (EST)
Message-ID: <60f5d992-ca01-4540-ba68-f4aed8abe600@HIDDEN>
Date: Mon, 17 Feb 2025 05:14:51 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Stefan Kangas <stefankangas@HIDDEN>, Juri Linkov <juri@HIDDEN>
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
 <CADwFkm=N5Ui8Tehzjr-LMzr0kdwA6TbaeNO_-g4MD9xG5c8Cfw@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <CADwFkm=N5Ui8Tehzjr-LMzr0kdwA6TbaeNO_-g4MD9xG5c8Cfw@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  On 14/02/2025 23:24, Stefan Kangas wrote: > I do find the
 current message unclear, so I'd suggest something like > > [run command in
 %s] > > where %s has the string face, the colon is removed (because [...]
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL
 blocklist [URIs: gutov.dev]
 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL
 blocklist [URIs: gutov.dev]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
 The query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [103.168.172.149 listed in sa-accredit.habeas.com]
 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
 query to Validity was blocked.  See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243
 for more information.
 [103.168.172.149 listed in bl.score.senderscore.com]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [103.168.172.149 listed in list.dnswl.org]
 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Ship Mints <shipmints@HIDDEN>
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 (/)

On 14/02/2025 23:24, Stefan Kangas wrote:
> I do find the current message unclear, so I'd suggest something like
> 
>      [run command in %s]
> 
> where %s has the string face, the colon is removed (because this is not
> a prompt per se), and "execute" is changed to "run" (which AFAICT is the
> most commonly used terminology in Emacs, though there are exceptions).

Hmm, when we look at how it gets displayed in practice, we show the 
prompt, and then either nothing, or the current prefix key sequence 
(after a timeout, the echo-keystrokes thing) - which might imply that 
the verb we use relates to the key sequence rather than the command 
invoked. And we "call" both commands and macros.

I might be overthinking this.

> Anyways, it's your call what to do here, but those are my two cents.

No strong preference for me, and it's good to hear what others feel is 
acceptable.




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

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


Received: (at 76235) by debbugs.gnu.org; 15 Feb 2025 18:21:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 15 13:21:49 2025
Received: from localhost ([127.0.0.1]:57841 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjMnU-00026I-O1
	for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 13:21:49 -0500
Received: from relay8-d.mail.gandi.net ([217.70.183.201]:55669)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tjMnC-00025b-NT
 for 76235 <at> debbugs.gnu.org; Sat, 15 Feb 2025 13:21:31 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id B3EA74441A;
 Sat, 15 Feb 2025 18:21:20 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
In-Reply-To: <d05983fc-f42a-4b70-887f-8868b1a2fbe1@HIDDEN>
Organization: LINKOV.NET
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
 <8734ghuhvg.fsf@HIDDEN>
 <d05983fc-f42a-4b70-887f-8868b1a2fbe1@HIDDEN>
Date: Sat, 15 Feb 2025 20:17:21 +0200
Message-ID: <87frkfgjim.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: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdehfedvgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghofhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepffegteefveelhfeljeefueehieduiedtfffhuddtkeeffffghfevheetgeeukeehnecukfhppeeluddruddvledrleekrdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrdelkedrhedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepjeeivdefheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehshhhiphhmihhnthhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepughmihhtrhihsehguhhtohhvrdguvghv
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Ship Mints <shipmints@HIDDEN>
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 (-)

>>> -  (project-any-command project-prefix-map "[execute in %s]:"))
>>> +  (project-any-command project-prefix-map
>>> +                       (concat
>>> +                        "Execute in `"
>>> +                        (propertize "%s" 'face 'font-lock-string-face)
>>> +                        "':")))
>> I think square brackets [execute in %s] look better
>> and will be in line with square brackets in defcustom crm-prompt
>> when we will push the patch from bug#76028 when no more fixes
>> for completing-read-multiple are needed to avoid merge conflicts.
>
> Okay, if you are sure.
>
> No curly quotes and no string face, then?

Maybe better to make the prompt configurable
(not defcustom, but only a variable,
so it's easy to apply properties with face).
Then I'd like to change it to just "[%s]" to save space.
A longer explanatory text is more suitable for everyone
who use the command infrequently.




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

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


Received: (at 76235) by debbugs.gnu.org; 14 Feb 2025 21:24:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 16:24:23 2025
Received: from localhost ([127.0.0.1]:52072 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tj3Ac-00042J-Vl
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 16:24:23 -0500
Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:45065)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1tj3Aa-000422-3H
 for 76235 <at> debbugs.gnu.org; Fri, 14 Feb 2025 16:24:20 -0500
Received: by mail-ed1-x536.google.com with SMTP id
 4fb4d7f45d1cf-5de56ff9851so4482197a12.2
 for <76235 <at> debbugs.gnu.org>; Fri, 14 Feb 2025 13:24:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739568253; x=1740173053; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=ip1CYPHmnBCzGsy1Voy70GF7C3aF/jHlhP8exl1DINU=;
 b=AbGihHEYmEiEmvcxnLncTBL/b8N4qvUr6YieH50bRsdugbnvGQacnq35GpfIenlWN8
 x8QSWvuOrIzBEge/ANMXcS/v0vMqtWsPP1p5R58XN/5G8gMTeBCx+9uIIlfidqAQJpDF
 zei9v5Q3ItuDsPjCRAwyXDiUOn81vrnNus2iC1c6FUEGj0188K0NBMtRSavRN1CtTtGj
 wMKo3NUalcAAkJ1YiwJY9ESjjY4VWflAOZ5htYt5h+Ojx7LGIw2c1/nLgTn+hn08yXTU
 qp/ji01ISABjA06Cq8fKf60zcJZd5lplHkNGj3N1mDynT5X/Ni8oQzRajFSoj8JfIZ+a
 xO1w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739568253; x=1740173053;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=ip1CYPHmnBCzGsy1Voy70GF7C3aF/jHlhP8exl1DINU=;
 b=daGxZHixdu0W6DTEFDo3EFzRmpO74lh9LXTdtYPMMEvtvIdM3gUbxoGh7w0gErO0Xq
 NqIVJPcqQfqxfagk+WYAHq/GNailuB4S1w9LZasBTWhhb4Gktmc55R53TTcSMQK6utfZ
 jZ4cfc48fZ5NCKy47Lb4R7buFqqg81kLRNB97fk/pib9Jf+bQT7Iopijs4FaEbvS9GC7
 Ac896SpUQjZYZf8KmsYgkX79l4fytMOr6JMRuFcIEcyLdb8wsOwk3/xJjXSdRCo4cmlE
 qqpZGNpJcturjKnUE0PLe3+wVKyv7d0PrxRh2ITeOkTM3KjGQJcuK3koLoGOZYtGrvVp
 Ft9Q==
X-Gm-Message-State: AOJu0Ywpack/zshL8rKZNakN4VKE6IIyenKWnzs8IZPmIFQuKrX1xieZ
 OtxJ++N2cJolIdCzcwhBhmBXaakb6XJkDMgSkg1Bh3joYVUHKNR2Qz/Yk+jxJi+Wz8kWzHlf3Xj
 rtbRJXKvRUGuXgT9tiMoBn1fnZlo=
X-Gm-Gg: ASbGnctLIBzW67l05sOc3NhHyO4t1dSLZAYDsjVrei3ONgpgMDHVQy73C/dc+zFIWzd
 bA2p97mH0mlqpHQXcL84edMVePqlrSuOmF+lLfOOFBkW2f9Z6pQ4wW3LoVIeOkGMNc5C6H4k=
X-Google-Smtp-Source: AGHT+IFrt02MSIz19VdrpntCPbcvpOGCeOZ1wniFYCvvUDdqVNuXjqmjV2kgjQRquS9c3ZbAJrbWjoV2KWSNOq1R3/0=
X-Received: by 2002:a05:6402:5246:b0:5db:f5e9:6745 with SMTP id
 4fb4d7f45d1cf-5e035f4cbcemr1062292a12.0.1739568253104; Fri, 14 Feb 2025
 13:24:13 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 14 Feb 2025 15:24:12 -0600
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
MIME-Version: 1.0
Date: Fri, 14 Feb 2025 15:24:12 -0600
X-Gm-Features: AWEUYZlunWOLVMSgQni2d4zaEgHlq0xZf341C5woOWzIvNT8hN1s9HOHFBuhhdE
Message-ID: <CADwFkm=N5Ui8Tehzjr-LMzr0kdwA6TbaeNO_-g4MD9xG5c8Cfw@HIDDEN>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Dmitry Gutov <dmitry@HIDDEN>, Juri Linkov <juri@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Ship Mints <shipmints@HIDDEN>
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 (/)

Dmitry Gutov <dmitry@HIDDEN> writes:

> Hey, do you think it should look more similar to the new addition as
> well? Something like:
>
> diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
> index 35bf66c9ffb..bbc65ddafb6 100644
> --- a/lisp/progmodes/project.el
> +++ b/lisp/progmodes/project.el
> @@ -2035,7 +2035,7 @@ project-any-command
>            (prompt-format (or prompt-format "[execute in %s]:"))
>            (command (let ((overriding-terminal-local-map overriding-map))
>                       (key-binding (read-key-sequence
> -                                  (format prompt-format (project-root pr)))
> +                                  (format-message prompt-format
> (project-root pr)))
>                                    t)))
>            (root (project-root pr)))
>       (when command
> @@ -2053,7 +2053,11 @@ project-prefix-or-any-command
>   Works like `project-any-command', but also mixes in the shorter
>   bindings from `project-prefix-map'."
>     (interactive)
> -  (project-any-command project-prefix-map "[execute in %s]:"))
> +  (project-any-command project-prefix-map
> +                       (concat
> +                        "Execute in `"
> +                        (propertize "%s" 'face 'font-lock-string-face)
> +                        "':")))
>
>   (defun project-remember-projects-under (dir &optional recursive)
>     "Remember projects below a directory DIR.

FWIW, I actually don't mind that they're different, because one is
asking for "any command" instead of just some predefined (and displayed)
keys.

I do find the current message unclear, so I'd suggest something like

    [run command in %s]

where %s has the string face, the colon is removed (because this is not
a prompt per se), and "execute" is changed to "run" (which AFAICT is the
most commonly used terminology in Emacs, though there are exceptions).

Anyways, it's your call what to do here, but those are my two cents.




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

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


Received: (at 76235) by debbugs.gnu.org; 14 Feb 2025 20:44:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 15:44:43 2025
Received: from localhost ([127.0.0.1]:52018 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tj2YE-0007TX-QS
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 15:44:43 -0500
Received: from mail-vk1-xa2b.google.com ([2607:f8b0:4864:20::a2b]:52670)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tj2YB-0007TC-Fa
 for 76235 <at> debbugs.gnu.org; Fri, 14 Feb 2025 15:44:40 -0500
Received: by mail-vk1-xa2b.google.com with SMTP id
 71dfb90a1353d-51f22008544so654626e0c.1
 for <76235 <at> debbugs.gnu.org>; Fri, 14 Feb 2025 12:44:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739565874; x=1740170674; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=Wgjt83iczhncxAWboc+brCC9WjkexmnAud5AGRkUVbI=;
 b=MfI281X6Sx1j9H/Qli6ArfnhemarMHXd3jWVS8+VkzveImu81T+o1QqtbNrWlg0K5h
 HAqbxH3tnTSNtF80JL7H6TPFUNCgRwfJ0V07RLPSrGKQI9j6zZOLBQXdfqkS624bO83Z
 PNWyi5Mnn+CM0aqpY70x5DXOGG4OEcqFhKKCuiBI3/zYhf7Z/O1Z3KQJBbeoR3ekDwka
 2VytaIIIaQqztX+jgywRMC/p5RqSfyiWE33UgOlSzTz2xGL6ud/PxJMoRFwpib7siDcG
 +1hwfkChhRdtFRjRZucgdUOkdtROOooIOlGrlNJq7vGDbdC0YITmj59dYjM8wdOEj/B0
 2uXQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739565874; x=1740170674;
 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=Wgjt83iczhncxAWboc+brCC9WjkexmnAud5AGRkUVbI=;
 b=N4JR7CxoTMXQo5YjZBlPRU9n3z/efHCVOWV1Kdqqlr0rV+GS3oJ/nDigcmOWkId6+n
 /S8TVImHqnsxYpbxpwELwoN2UqJHnaEi7ulU+g80pmwIysmyg7y3+v44tJhrvHJxWvZP
 K11MWmhLvpkLcntpaekzFwq2i9SMTOlrjAl+T33qyemwHg1/lOcMBTQobyH2n7poW0bN
 /fWhBsvh+LpYgtvcHAW2tA49Druyd16HrFadSz55LY5EC6ZOHAKG9t4GKSJA9bkc723k
 YYppVbuYtgZDJl1vYufOgoTr/HqdSLPFbZU5k5BV1YmtfyRF9+hyRgMncwJHdwNOkm/R
 sy2A==
X-Forwarded-Encrypted: i=1;
 AJvYcCVtn/bOgoiNIg0LGgFwmakzDyVJho6lJzkkgECk18hTDAHuUOi+f5oofcAvrOkMjvNTfseV5Q==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yz156GVjjwtrWzB8wBAHMnhvEVqW5033314f+cZJUZRUjnfKZ96
 H9ewTxWvL1pwBj75wkyf4fs3Dgsky1zEq/8pEc8tpDB0+DNpWc/n96n+leFzFCRfnyUz7AcuAmk
 SxhI9CzAy8wujdVduPiCOC1hhjcA=
X-Gm-Gg: ASbGnctWwJRqaWhUs8En319K2a80w86X2zEgal3PZjEjkDJjlGBKWiBgqaMzFT9bfvR
 vu2KXGKOZeXPLlBWkxIntrYeJ7WhwG4aawtnviC5xXiSE/3LxKaV5nGkL9W7bYzecke+v+lKg
X-Google-Smtp-Source: AGHT+IFp6DwzhgaqHUP+FmmC0TmEooO4rSJmAleCtFmFIiG/f9Sto4v+YSSZdwx3BYo25Dm/ZhHamUVTryQq4jiqqvA=
X-Received: by 2002:a05:6122:6415:b0:520:4d95:1319 with SMTP id
 71dfb90a1353d-5209e2c6d03mr297697e0c.4.1739565873766; Fri, 14 Feb 2025
 12:44:33 -0800 (PST)
MIME-Version: 1.0
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
 <8734ghuhvg.fsf@HIDDEN>
 <d05983fc-f42a-4b70-887f-8868b1a2fbe1@HIDDEN>
In-Reply-To: <d05983fc-f42a-4b70-887f-8868b1a2fbe1@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Fri, 14 Feb 2025 15:44:22 -0500
X-Gm-Features: AWEUYZkozVoH6hPK6i2fVDoY2LAoYS09Djlmo0k7YnflQ52BE6t5HIApS1CqyYA
Message-ID: <CAN+1HbozQ3aFVx3ui+-M-xazkLdMcG3Q_N=0KWKA_w1KC3_XEQ@HIDDEN>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Dmitry Gutov <dmitry@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000f82b44062e203db5"
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
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 (/)

--000000000000f82b44062e203db5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

See how brackets look with and without the face? I trust your taste.

On Fri, Feb 14, 2025 at 3:42=E2=80=AFPM Dmitry Gutov <dmitry@HIDDEN> wro=
te:

> On 14/02/2025 09:04, Juri Linkov wrote:
> >> Hey, do you think it should look more similar to the new addition as
> >> well? Something like:
> >>
> >> -  (project-any-command project-prefix-map "[execute in %s]:"))
> >> +  (project-any-command project-prefix-map
> >> +                       (concat
> >> +                        "Execute in `"
> >> +                        (propertize "%s" 'face 'font-lock-string-face=
)
> >> +                        "':")))
> > I think square brackets [execute in %s] look better
> > and will be in line with square brackets in defcustom crm-prompt
> > when we will push the patch from bug#76028 when no more fixes
> > for completing-read-multiple are needed to avoid merge conflicts.
>
> Okay, if you are sure.
>
> No curly quotes and no string face, then?
>

--000000000000f82b44062e203db5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">See how brackets look with and without the face? I trust your taste.</di=
v></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"lt=
r" class=3D"gmail_attr">On Fri, Feb 14, 2025 at 3:42=E2=80=AFPM Dmitry Guto=
v &lt;<a href=3D"mailto:dmitry@HIDDEN">dmitry@HIDDEN</a>&gt; wrote:<b=
r></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 14/02/2025 09:=
04, Juri Linkov wrote:<br>
&gt;&gt; Hey, do you think it should look more similar to the new addition =
as<br>
&gt;&gt; well? Something like:<br>
&gt;&gt;<br>
&gt;&gt; -=C2=A0 (project-any-command project-prefix-map &quot;[execute in =
%s]:&quot;))<br>
&gt;&gt; +=C2=A0 (project-any-command project-prefix-map<br>
&gt;&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0(concat<br>
&gt;&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 &quot;Execute in `&quot;<br>
&gt;&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 (propertize &quot;%s&quot; &#39;face &#39;font-lock-st=
ring-face)<br>
&gt;&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 &quot;&#39;:&quot;)))<br>
&gt; I think square brackets [execute in %s] look better<br>
&gt; and will be in line with square brackets in defcustom crm-prompt<br>
&gt; when we will push the patch from bug#76028 when no more fixes<br>
&gt; for completing-read-multiple are needed to avoid merge conflicts.<br>
<br>
Okay, if you are sure.<br>
<br>
No curly quotes and no string face, then?<br>
</blockquote></div>

--000000000000f82b44062e203db5--




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

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


Received: (at 76235) by debbugs.gnu.org; 14 Feb 2025 20:42:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 15:42:17 2025
Received: from localhost ([127.0.0.1]:52013 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tj2Vs-0007Oo-Lu
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 15:42:16 -0500
Received: from fhigh-b8-smtp.messagingengine.com ([202.12.124.159]:52835)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1tj2Vn-0007OD-1u
 for 76235 <at> debbugs.gnu.org; Fri, 14 Feb 2025 15:42:14 -0500
Received: from phl-compute-04.internal (phl-compute-04.phl.internal
 [10.202.2.44])
 by mailfhigh.stl.internal (Postfix) with ESMTP id C3B8B254017E;
 Fri, 14 Feb 2025 15:42:04 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-04.internal (MEProxy); Fri, 14 Feb 2025 15:42:04 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :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=fm2; t=1739565724;
 x=1739652124; bh=Qmn2lb5evySHkIZ6bs4OKE/DAyoZqxb2xwtK1BHBo30=; b=
 IWp5Ox8EOWm9GVqM7OF82jmES5O0UOGcnPOnuOUffuTKbxAkULKc+JK9y7MrSLfP
 00rQlm07f4OfeXwrD1qdO8zb9Sg1RJw25FcKMyU1K9hVyJPBdpspyzmDL25aBA0O
 jiv75gy7T3dE1d72xSPtXOHTdT0zz/NU60yqKGJK8dn52PUW2blSSVNbJUvvozhK
 eBC3nhZIkUXnimVlEazSDPmKAl24xSKcosqCSElncXH7ELgSKO+TrNaVgEahZ4JU
 OElAouTttmm2wzGXAQ4pkQ1b5MfrbnuFXCJhSBa8QwrfkYdecZaieb8pcoXBXc9o
 7ADaHjexdEYMuoWUZ6W8cg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc: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=fm3; t=1739565724; x=
 1739652124; bh=Qmn2lb5evySHkIZ6bs4OKE/DAyoZqxb2xwtK1BHBo30=; b=U
 h/IPdmnxt+y1UJpOxnICEVMXFHqpuR7AVPu7wE+VI3bkybYDutIAP3L3itxAMveS
 GQTRR3jCmI78ZEGpqWaAbuZzR1X2ZUtpaZTw0l6NF8+bHnYMUypuPkL6lC1H64NW
 +woMxZgBDtLjRj3AwZzHH/iyHXlvDXJf6yq9lF0pvgN4/nu/YCyBz74W9XgvXEyJ
 mfHGaxNpsQ4gSigWNCL6lXnSihg6/ZLe99qc0RnTBPc4U/ZAVEL0garrKz6Ldv6D
 q/LnACmimhF6ZBTVMS354KALdAHlRMP/bYH4hS4in9PsYi6IKOL3N/k63Yzl9D/W
 xzALsZOe12hnfRsP4NIHQ==
X-ME-Sender: <xms:nKqvZzpYPox0fXmjpYweExnDi9tngIgE-9vH_QYRuhPETa48AUAqyQ>
 <xme:nKqvZ9rIPaN-74Xv_mX5G05kcZ85s6j5kTGDnJ_FIUU4iOQZr1MVsbTeh-hPYiha2
 Q3x0fmot8sfiDW00ZI>
X-ME-Received: <xmr:nKqvZwO5GjBZXX7UMC8Q7CewsWHLpBO3vyCqNvaJ0NU5cSDgr6RxC9dU4P01CvZ4fws>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdehtdeigecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv
 jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd
 guvghvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeu
 fedtvddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht
 ohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhhurhhisehlihhnkhhovh
 drnhgvthdprhgtphhtthhopehshhhiphhmihhnthhssehgmhgrihhlrdgtohhmpdhrtghp
 thhtohepjeeivdefheesuggvsggsuhhgshdrghhnuhdrohhrgh
X-ME-Proxy: <xmx:nKqvZ27kQOuTtJ7NPE5WhoL1HQtj6eJ_RVTi2TIFDFA-COs5G3_Qig>
 <xmx:nKqvZy7bh63jMyElis8iLuVz144a9u7uRnIiTzwhth9dp8KsVp89WA>
 <xmx:nKqvZ-hCEmWuJiFnjLbCBRH9vAjE5gMkTHOYy1tpyIBKaU-iCcELuw>
 <xmx:nKqvZ05-YMFmJ46kuCsHL3cpV5TRHWtfRlw7BmQVVKkibiRwP8a5Qg>
 <xmx:nKqvZ4kdGQhJTFcvFY6fY4PbgZMCsRTaoBHKr2bKv3LY4k6lA0VaMESj>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 14 Feb 2025 15:42:02 -0500 (EST)
Message-ID: <d05983fc-f42a-4b70-887f-8868b1a2fbe1@HIDDEN>
Date: Fri, 14 Feb 2025 22:42:00 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Juri Linkov <juri@HIDDEN>
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
 <8734ghuhvg.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <8734ghuhvg.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Ship Mints <shipmints@HIDDEN>
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 (-)

On 14/02/2025 09:04, Juri Linkov wrote:
>> Hey, do you think it should look more similar to the new addition as
>> well? Something like:
>>
>> -  (project-any-command project-prefix-map "[execute in %s]:"))
>> +  (project-any-command project-prefix-map
>> +                       (concat
>> +                        "Execute in `"
>> +                        (propertize "%s" 'face 'font-lock-string-face)
>> +                        "':")))
> I think square brackets [execute in %s] look better
> and will be in line with square brackets in defcustom crm-prompt
> when we will push the patch from bug#76028 when no more fixes
> for completing-read-multiple are needed to avoid merge conflicts.

Okay, if you are sure.

No curly quotes and no string face, then?




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

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


Received: (at 76235) by debbugs.gnu.org; 14 Feb 2025 12:00:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 07:00:22 2025
Received: from localhost ([127.0.0.1]:47405 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiuMn-0002WG-Uk
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 07:00:22 -0500
Received: from mail-vs1-xe34.google.com ([2607:f8b0:4864:20::e34]:53726)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tiuMk-0002Vy-VG
 for 76235 <at> debbugs.gnu.org; Fri, 14 Feb 2025 07:00:19 -0500
Received: by mail-vs1-xe34.google.com with SMTP id
 ada2fe7eead31-4bbf5c10865so594671137.3
 for <76235 <at> debbugs.gnu.org>; Fri, 14 Feb 2025 04:00:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739534413; x=1740139213; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=WEgIg6LcUoUT1R9O6mgbLtQjdK+Br2QU34M613K3ork=;
 b=DpYhceczlm4vpaq3iFyRk8KhaWZ7Lgq2q97Kgyt7a5HPeV+Fd015kPCSuxMz2dR2DG
 4211rcmMqbH2bFfwUnhNChdAPl08zXz22iIMp2Vv6r0oMOiv/nBR/vNn90s3TZSx1TOy
 kDKL7R+XqmluEVkzp77I5+PlDTw2a2oobyHG7ZJ0JK7Z/XFG7ijBf0hk78yu7QRTKZfr
 rv2CD7/leSnZnVXcCJw5VYgH/U4ITvCamAAXWcV37O3BnbSsyhQmU4AJ5Q42IL+W16x1
 WReFgH8tsWz3nwQ6iVQ79rak0WcqSeXq3yeSupT0yl1HBTapjNmObuxvTVmSdvXDXtar
 cqyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739534413; x=1740139213;
 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=WEgIg6LcUoUT1R9O6mgbLtQjdK+Br2QU34M613K3ork=;
 b=QmFVJjf7Pj2jeElthxoWj5iUt3IwcFYrUBrT8cBmMr6EOKIX1m5DfKOLfiivcZz8ZR
 pqTZA3Q1KYMMYSHwelWLdIq/eXuJBWv25bwsguynzwy3+xEKZydcmDG4PCDJ19c5WuKz
 Rt5JGQPw/Spy+MvQ5BWviLs/yfqlg7VTkHC6Z0U/Z2tpUVpt9beF03daW06YkDoHmqMv
 qOw/tr5FtO6JwgWRJVNboriANzi148xFdnYGi9YNbMAjRJ704pxoL0UaybOn9ccVI2W2
 Q/aAYgziPL1kkoCh8OqRGOeILhkOMuDD0uv3vkVP1/ZzZ3zrA3wW8d5mD1kN3DRJauJu
 4X7A==
X-Forwarded-Encrypted: i=1;
 AJvYcCXVlgec3Q4hcrchmEAbTrgG0wUjip8JSAlywn/Wn1xh1AfHz7nkpRkcVdcvouAdDTjBOT1oSw==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwoVgvQyxgEg6ViizXzi96ocIZaJ9MRkC2OJnmtHgXb/t6uH9E2
 2duHI58MrhIywyaEJuFvRFLG0aNzjthY9LUy7x1RoINrUgNHzQolJn5qei5l7Jt37MCYILkoCja
 1/TfLdcsLVWaDZ4RA2JvIIgqfb35tqA==
X-Gm-Gg: ASbGnctoZVStBV5fTY/mS0zZsgvhq4/VNlwXGLpUKDUqhrSBv4YjkVBUWdWdbmaJWgL
 p+QOD+FMZW+14M5wOgwJl0xYWxfAagCq5VgFccbeNRqwvNRvkHbE+dd+SBGcwdB1lRT5qnJfh
X-Google-Smtp-Source: AGHT+IGiuSgvPe1QHNwybDA6YLQ8jh1B8Ky6jAt3xOSo/0F9r3I2qmQbWoWBLH+mkDn6fs9wVqjAMQLxKAK/2jFWjHA=
X-Received: by 2002:a05:6102:3050:b0:4bb:d7f0:6e74 with SMTP id
 ada2fe7eead31-4bc037bcc0fmr5277453137.21.1739534413149; Fri, 14 Feb 2025
 04:00:13 -0800 (PST)
MIME-Version: 1.0
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
 <8734ghuhvg.fsf@HIDDEN>
In-Reply-To: <8734ghuhvg.fsf@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Fri, 14 Feb 2025 07:00:01 -0500
X-Gm-Features: AWEUYZmpk04A4h8s5Uijf5ai1s_iv66IzsGd_JkQYBOacQhyO1nX3Qnkl8CER-Y
Message-ID: <CAN+1HboDvA7u7rCLAMiMfDLAZirqFuoV1O_5a=kR=K2GnWeKvQ@HIDDEN>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Juri Linkov <juri@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000c53cda062e18ea61"
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 76235
Cc: Dmitry Gutov <dmitry@HIDDEN>, 76235 <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: -0.3 (/)

--000000000000c53cda062e18ea61
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Square brackets are a good idea, and visually appealing, for these kinds of
context-hinted prompts.

On Fri, Feb 14, 2025 at 2:06=E2=80=AFAM Juri Linkov <juri@HIDDEN> wrote=
:

> >> Instead of project--switch-project-command, I'm using
> >> project-prefix-or-any-command that already has
> >> the project root in the prompt "[execute in %s]:".
> >> So it's nice that project--switch-project-command
> >> will have the same.
> >
> > Hey, do you think it should look more similar to the new addition as
> > well? Something like:
> >
> > -  (project-any-command project-prefix-map "[execute in %s]:"))
> > +  (project-any-command project-prefix-map
> > +                       (concat
> > +                        "Execute in `"
> > +                        (propertize "%s" 'face 'font-lock-string-face)
> > +                        "':")))
>
> I think square brackets [execute in %s] look better
> and will be in line with square brackets in defcustom crm-prompt
> when we will push the patch from bug#76028 when no more fixes
> for completing-read-multiple are needed to avoid merge conflicts.
>

--000000000000c53cda062e18ea61
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">Square brackets are a good idea, and visually appealing, for these kinds=
 of context-hinted prompts.</div></div><br><div class=3D"gmail_quote gmail_=
quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Feb 14, 2025=
 at 2:06=E2=80=AFAM Juri Linkov &lt;<a href=3D"mailto:juri@HIDDEN">juri=
@linkov.net</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">&gt;&gt; Instead of project--switch-project-command, I&#39;m usi=
ng<br>
&gt;&gt; project-prefix-or-any-command that already has<br>
&gt;&gt; the project root in the prompt &quot;[execute in %s]:&quot;.<br>
&gt;&gt; So it&#39;s nice that project--switch-project-command<br>
&gt;&gt; will have the same.<br>
&gt;<br>
&gt; Hey, do you think it should look more similar to the new addition as <=
br>
&gt; well? Something like:<br>
&gt;<br>
&gt; -=C2=A0 (project-any-command project-prefix-map &quot;[execute in %s]:=
&quot;))<br>
&gt; +=C2=A0 (project-any-command project-prefix-map<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0(concat<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 &quot;Execute in `&quot;<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 (propertize &quot;%s&quot; &#39;face &#39;font-lock-string-f=
ace)<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 &quot;&#39;:&quot;)))<br>
<br>
I think square brackets [execute in %s] look better<br>
and will be in line with square brackets in defcustom crm-prompt<br>
when we will push the patch from bug#76028 when no more fixes<br>
for completing-read-multiple are needed to avoid merge conflicts.<br>
</blockquote></div>

--000000000000c53cda062e18ea61--




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

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


Received: (at 76235) by debbugs.gnu.org; 14 Feb 2025 07:06:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 14 02:06:46 2025
Received: from localhost ([127.0.0.1]:46751 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tipmg-0002EL-3E
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 02:06:46 -0500
Received: from relay4-d.mail.gandi.net ([217.70.183.196]:46385)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tipme-0002E1-07
 for 76235 <at> debbugs.gnu.org; Fri, 14 Feb 2025 02:06:44 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id 25E0E4444D;
 Fri, 14 Feb 2025 07:06:35 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
In-Reply-To: <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
Organization: LINKOV.NET
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
 <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
Date: Fri, 14 Feb 2025 09:04:35 +0200
Message-ID: <8734ghuhvg.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: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdegledtudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghofhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepffegteefveelhfeljeefueehieduiedtfffhuddtkeeffffghfevheetgeeukeehnecukfhppeeluddruddvledrleekrdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrdelkedrhedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepjeeivdefheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehshhhiphhmihhnthhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepughmihhtrhihsehguhhtohhvrdguvghv
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Ship Mints <shipmints@HIDDEN>
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 (-)

>> Instead of project--switch-project-command, I'm using
>> project-prefix-or-any-command that already has
>> the project root in the prompt "[execute in %s]:".
>> So it's nice that project--switch-project-command
>> will have the same.
>
> Hey, do you think it should look more similar to the new addition as 
> well? Something like:
>
> -  (project-any-command project-prefix-map "[execute in %s]:"))
> +  (project-any-command project-prefix-map
> +                       (concat
> +                        "Execute in `"
> +                        (propertize "%s" 'face 'font-lock-string-face)
> +                        "':")))

I think square brackets [execute in %s] look better
and will be in line with square brackets in defcustom crm-prompt
when we will push the patch from bug#76028 when no more fixes
for completing-read-multiple are needed to avoid merge conflicts.




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

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


Received: (at 76235) by debbugs.gnu.org; 14 Feb 2025 03:52:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 22:52:55 2025
Received: from localhost ([127.0.0.1]:46432 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1timl5-0001BP-1E
	for submit <at> debbugs.gnu.org; Thu, 13 Feb 2025 22:52:55 -0500
Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]:45449)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1timl2-0001B5-0p
 for 76235 <at> debbugs.gnu.org; Thu, 13 Feb 2025 22:52:52 -0500
Received: from phl-compute-04.internal (phl-compute-04.phl.internal
 [10.202.2.44])
 by mailfhigh.stl.internal (Postfix) with ESMTP id 52944254010F;
 Thu, 13 Feb 2025 22:52:45 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-04.internal (MEProxy); Thu, 13 Feb 2025 22:52:45 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :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=fm2; t=1739505165;
 x=1739591565; bh=3vOrOnP481ToqOgezoHvg3Jf2PjpEyGU/XgeKYsgha0=; b=
 cj1svFavnMBt0wcwF8dI80ECKeQILgaPjYHCqarA2QBY6758V9oERMafCjvgzwJH
 HYYr2cOZCtIsFOQrZn27FXKJMf5qqe+7MgYI60rWQePveQTo7Ed2Sz8ZCD2gp/En
 8IluJKTWTqyWdHzw7SXwA/8EksbWiFipzx6CbEET7c0od77u63MOXTpwOa/xSOdV
 LnePNetZWgaAqhxFgClrmlIqUxnf78oCNVuOrh2YkEAcCqBrc1E8iC8uCGuo5Upq
 skRfRwrYU42Hw32m08GYgv9b0FAZ8kPMBLxumBXNHcAl9Sb75PNMePlArVEHw4QT
 1kNWDSIAZ0uWGtNfxBaWWw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc: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=fm3; t=1739505165; x=
 1739591565; bh=3vOrOnP481ToqOgezoHvg3Jf2PjpEyGU/XgeKYsgha0=; b=E
 btufQpA4kLTO4SkGTSqQK/toUopK4d+mloc9Z7KmJ9PiK5H3RR6qEGpjbdnctYFy
 xK6nMjEeqBJ9MaQMVXwbj6Px9EXqUcTlQ89mdQjf/N/aTqO5uMbo6IDKictTfTdD
 cxgGQipJFH7FTH1C8ujotqzGKRQzGgkevUvFgI4pughUi7L5EVzyBHO2hMrlnsvk
 4jlOv3N+ZJATbn9BOg9HXmomuIbu9ntEI51cwxv0ro5C1T8UMo2S99tw9Ec8ew7y
 4FwA31idDDGh2g+RAqg2LBx4IZywunzAfp30SxhDhWNY8uE4aabKq3EchjpTxi8m
 NxqrUyI1EYqqgWkHZHjGQ==
X-ME-Sender: <xms:DL6uZ2pojskowo5URAaMjPpj-HOR8fJHrZgiJE1m2oz0oxLOExKGQg>
 <xme:DL6uZ0rNHzmrW43xQNeEsDTY5nxmr-1RFYHbiQnnsiljDASQv_uFjVZR2H1-7k5pM
 67F1ocL6PCuCh2mMMw>
X-ME-Received: <xmr:DL6uZ7M8k0hVwguxBlW24pHH6KEkTeRIvR-Y-UrCjiY6OS5tv4wJflOfRWT1wgxObgc>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdegkeeiudcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv
 jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd
 guvghvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeu
 fedtvddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht
 ohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhhurhhisehlihhnkhhovh
 drnhgvthdprhgtphhtthhopehshhhiphhmihhnthhssehgmhgrihhlrdgtohhmpdhrtghp
 thhtohepjeeivdefheesuggvsggsuhhgshdrghhnuhdrohhrgh
X-ME-Proxy: <xmx:DL6uZ14WIaNwlwjeugHJfgLlJC53Jwqjv-K1W1vitwwS6O6a_liw_w>
 <xmx:DL6uZ16-Go6GifbjDEemF8E0fVmgAn5MDn2avS4dVJrvaGwiLgjP9A>
 <xmx:DL6uZ1ge-gtGqRdw0mzuUfeGqCS9uyBPWzRFxrkd2yPWhzZ0atNzdg>
 <xmx:DL6uZ_6Mf4yGaD3eXJSgFNt9v1covH6Ovmmk-cVvYqJ467s3_UDC2A>
 <xmx:Db6uZ_n2dtTlXUZz-NidwSnA3bnHXVPq7BiIsszkF2CX7bW8_HdLU-xq>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 13 Feb 2025 22:52:43 -0500 (EST)
Message-ID: <101f5fcc-3572-40b6-bd0b-60b2c0b50f77@HIDDEN>
Date: Fri, 14 Feb 2025 05:52:41 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Juri Linkov <juri@HIDDEN>
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <87y0yacq11.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <87y0yacq11.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Ship Mints <shipmints@HIDDEN>
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 (-)

On 13/02/2025 09:03, Juri Linkov wrote:
> Instead of project--switch-project-command, I'm using
> project-prefix-or-any-command that already has
> the project root in the prompt "[execute in %s]:".
> So it's nice that project--switch-project-command
> will have the same.

Hey, do you think it should look more similar to the new addition as 
well? Something like:

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 35bf66c9ffb..bbc65ddafb6 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -2035,7 +2035,7 @@ project-any-command
           (prompt-format (or prompt-format "[execute in %s]:"))
           (command (let ((overriding-terminal-local-map overriding-map))
                      (key-binding (read-key-sequence
-                                  (format prompt-format (project-root pr)))
+                                  (format-message prompt-format 
(project-root pr)))
                                   t)))
           (root (project-root pr)))
      (when command
@@ -2053,7 +2053,11 @@ project-prefix-or-any-command
  Works like `project-any-command', but also mixes in the shorter
  bindings from `project-prefix-map'."
    (interactive)
-  (project-any-command project-prefix-map "[execute in %s]:"))
+  (project-any-command project-prefix-map
+                       (concat
+                        "Execute in `"
+                        (propertize "%s" 'face 'font-lock-string-face)
+                        "':")))

  (defun project-remember-projects-under (dir &optional recursive)
    "Remember projects below a directory DIR.





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

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


Received: (at 76235) by debbugs.gnu.org; 13 Feb 2025 07:11:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 02:11:34 2025
Received: from localhost ([127.0.0.1]:39896 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiTNm-0003mq-Jl
	for submit <at> debbugs.gnu.org; Thu, 13 Feb 2025 02:11:34 -0500
Received: from relay7-d.mail.gandi.net ([2001:4b98:dc4:8::227]:49207)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tiTNk-0003mW-TI
 for 76235 <at> debbugs.gnu.org; Thu, 13 Feb 2025 02:11:33 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id B7CFB441E0;
 Thu, 13 Feb 2025 07:11:22 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
In-Reply-To: <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
Organization: LINKOV.NET
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
Date: Thu, 13 Feb 2025 09:03:30 +0200
Message-ID: <87y0yacq11.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: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdegiedugecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghofhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepffegteefveelhfeljeefueehieduiedtfffhuddtkeeffffghfevheetgeeukeehnecukfhppeeluddruddvledrleekrdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrdelkedrhedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepjeeivdefheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehshhhiphhmihhnthhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepughmihhtrhihsehguhhtohhvrdguvghv
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Ship Mints <shipmints@HIDDEN>
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 (-)

>> Improved prompt for 'project-switch-project' now displays the chosen 
>> project on which to invoke a command. The prompt now reads "Command for 
>> project "xxx": " vs "Choose: " which never read well to me.
>
> Thanks for the suggestion - I see the problem it aims to address.
>
> One minor problem is that the "menu" becomes less stable horizontally, 
> moving right or left depending on the directory name's length.
>
> Not sure if an ideal solution is possible, but here's a tweak with a 
> shorter prompt. WDYT?

Instead of project--switch-project-command, I'm using
project-prefix-or-any-command that already has
the project root in the prompt "[execute in %s]:".
So it's nice that project--switch-project-command
will have the same.




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

Message received at 76235-done <at> debbugs.gnu.org:


Received: (at 76235-done) by debbugs.gnu.org; 12 Feb 2025 22:37:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 17:37:28 2025
Received: from localhost ([127.0.0.1]:38808 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiLMF-0008I6-Sn
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 17:37:28 -0500
Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]:57905)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1tiLMD-0008Hp-Cc
 for 76235-done <at> debbugs.gnu.org; Wed, 12 Feb 2025 17:37:26 -0500
Received: from phl-compute-10.internal (phl-compute-10.phl.internal
 [10.202.2.50])
 by mailfhigh.phl.internal (Postfix) with ESMTP id AFCEE11400DA;
 Wed, 12 Feb 2025 17:37:19 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-10.internal (MEProxy); Wed, 12 Feb 2025 17:37:19 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :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=fm2; t=1739399839;
 x=1739486239; bh=VzSO5hlT9QHdjjG2Szzk6nKCYe63NduMJn6QUPtsc1w=; b=
 h/tZC6jLcIF0EP9kribXzYPaFrLMxgiZ+buZWYR1wwPr3uR7fKKWDPB/tWitZl5K
 sgi+R0M7Aeviy6Nt28Fu5Qx8MC8O8cTz4ChufauuBIPrRcUZT2RiT28K2SqlMSYe
 wEwbZFdjwtkel/GsrQBPWi3DCNnDi0SyIZkxByVUwKW6E2ARPoihS/JUFX5ELUeV
 TDlJzbsurAJNUxw0VY3ByEJ7/zW5V3XRNaqduSWeyFslcZn5pND+V+dOna3yeLzg
 1aisLEkYOMoEqw5dOhXtWKNvGMVCOI6mdfH0gq49GTJCCyMuClzoqksoCV81P3A+
 TGgIHJtBf0axGZZzYFVfXA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc: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=fm3; t=1739399839; x=
 1739486239; bh=VzSO5hlT9QHdjjG2Szzk6nKCYe63NduMJn6QUPtsc1w=; b=B
 PM+g2I7ihNgMP5MCFRcYEwGAeugGQBXwBs0rlqAf2XjCyAGrN60152Lg0hqnlI2j
 bSOJE+jphw2gelixdIWKCZz9LwiUqt+rHVZqrHwe+wtbSZlfTdsbyO0IZ12C+QyK
 /g3bGWHAsdP/ifgQzXp2cK6+ohfQicrGE7SArMCDsu85MlPYqH6Q7OmPHVH2Nqxg
 rG5jPx39sJYGJle+s5pvotXq3I3YwR1x8OFe7aIX15l0eYSlmpiCxyMcAFG+bdAw
 v6O40yeeuACKmd64ZyRiAciF8QZerrzjUrX62n76sXEKJjlfKVEalltlgTz0g7gp
 7cu5U6ERfuthBfsVcotxw==
X-ME-Sender: <xms:nyKtZ8tr9LDo9SeyImPWYIAZxN49iNyNpV1vJ9dKvY2hjdtBJIvt_A>
 <xme:nyKtZ5djBKL4d2dqc5Y-UxWAsEeZhxfKG_j8C6EKFGAdl7FM350as19FlzmnOTMZz
 KX8irZx1qqA2JkL-Io>
X-ME-Received: <xmr:nyKtZ3xp7KWFA_5NE5T5K-GRHxGF63_r3YJxX3O0csa6SG1W-ruvf4Ig5lnvKktZ46U>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeghedutdcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv
 jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd
 guvghvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeu
 fedtvddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht
 ohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhhihhpmhhinhhtshesgh
 hmrghilhdrtghomhdprhgtphhtthhopeejiedvfeehqdguohhnvgesuggvsggsuhhgshdr
 ghhnuhdrohhrghdprhgtphhtthhopehjuhhriheslhhinhhkohhvrdhnvght
X-ME-Proxy: <xmx:nyKtZ_O9oRcdtxobJ0Le80iEe3OxxQ9sK7A9y0qchGvM_K-w_jlYxw>
 <xmx:nyKtZ8_2zXKoeIY9DsR-ubz-h1hJj7FoxDvUDUBZpdUpjFWye3vrHQ>
 <xmx:nyKtZ3WsKnfF86bfbFC2c8LdWhIi8jUZI0G6SkYNzN_jVjrCGg3LGw>
 <xmx:nyKtZ1cdlvgxswMfKj6WKD2zymnGXhw4qH3i9beKZ-KB9xcvTPkQ0A>
 <xmx:nyKtZ7ZLLlsklIe2H1UdRUgHjz7c33QGFjqt8lpbsZQ8NKIJ606Mk00k>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 12 Feb 2025 17:37:18 -0500 (EST)
Message-ID: <ffa0ce06-0b76-419f-a262-ec5e08edc88b@HIDDEN>
Date: Thu, 13 Feb 2025 00:37:15 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Ship Mints <shipmints@HIDDEN>
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <CAN+1HbqMTN6qmFU3yvqfjVO0ncb=tm_moNTAYaPanRNLNJc=RQ@HIDDEN>
 <a30f6a74-14ea-409a-9eea-8ab414b0dbe5@HIDDEN>
 <CAN+1HbrxFv2V1RQNc=TjP6VoqsG1qvRY8JSqa2YoCL+EYm4GPg@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <CAN+1HbrxFv2V1RQNc=TjP6VoqsG1qvRY8JSqa2YoCL+EYm4GPg@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76235-done
Cc: 76235-done <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
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 (-)

On 12/02/2025 22:34, Ship Mints wrote:
> That looks nice. Revised patch attached.

Thanks, pushed to master, 86e17fbcbddb, with minor touches (using 
'format-message', commit message changes).




Notification sent to Ship Mints <shipmints@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Dmitry Gutov <dmitry@HIDDEN>:
You have taken responsibility. Full text available.

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


Received: (at 76235) by debbugs.gnu.org; 12 Feb 2025 20:34:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 15:34:29 2025
Received: from localhost ([127.0.0.1]:38557 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiJRF-0004f4-EN
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 15:34:29 -0500
Received: from mail-vk1-xa30.google.com ([2607:f8b0:4864:20::a30]:55352)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tiJRC-0004eo-SD
 for 76235 <at> debbugs.gnu.org; Wed, 12 Feb 2025 15:34:27 -0500
Received: by mail-vk1-xa30.google.com with SMTP id
 71dfb90a1353d-5205d9da0d7so31457e0c.2
 for <76235 <at> debbugs.gnu.org>; Wed, 12 Feb 2025 12:34:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739392461; x=1739997261; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=OkRhYI9J3ay7vDpA4dZnjRbTJrE+f012V0tLL3PtU0c=;
 b=bxCSDXxgcgJbkzn7iRIRIqPjSiINQhMQngVrlBNUwCD5hf0dN239JaNa8iYEpmY0AC
 WqjFM+ZdxVkn6TUl/scYpyYB5thxCaGoDOkwJTZ9EbBi7dGnTDjv4WBya/3t7BiTL/vG
 R8zKzUBEB2suk2zKFPdbIUEpnghqRTVavRIvo4ihFFkFtPJgHcYPMrmwRcPKyRZl2N+h
 ck2nOGLw7rSxt6J/RvnAJS9W6DK+/Adgqb4QNQ/rKtjC5nwBJB6EJ7np4L6gX9bZ99jX
 e8Q1ew09N57FQZwMC09sAjeBYV90poEzxG6Y24HpJu13kxHK5KuLwOFN+xSoaeGAcPrx
 BISw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739392461; x=1739997261;
 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=OkRhYI9J3ay7vDpA4dZnjRbTJrE+f012V0tLL3PtU0c=;
 b=Qwgj2ZnPWG01RB15VLdp3LNllDjtXvmMoitI2M6PdynmAftnwYdlHJ5pny9fXPOffo
 PsLzMp9mheIfgzS6qO47dLfNRMXHEmJNWbMGyPpkbUvAHC24y5NtOAVMXX6wNQPqK/DM
 ntO5lOAD26JkqR2elcPl6Toh5bf8JwG6tR71q7IYFArG7qjJV14GhfOgVyNMuELMLwZQ
 mtlVVxYu3HS0TdRU573/3mD07FjKh/kGxIsJwZo/1GQ2wwzkaASTUkoMyriDuySSpEgx
 Rjx8HQQn6nFzdjqgN7K8jrRZdHbtZVnLFFY5tbK5Tbnn3WbnWP3FjetQQ39V62acyiP7
 it8w==
X-Gm-Message-State: AOJu0YziYxx4Vs2WHwNX2rA1TjbYrWlYiuI4YFp35ooN3EazfLwJXSqe
 ze7pC0tgkCtueG6g5WUst2ZYgLpSeUE6tEg41aw1thqgP0JZpZuopNAyIJ/upXfy5BAM6H0QKd5
 PCcNO8wlMnpjM6zzjzbQZe8m6MuI=
X-Gm-Gg: ASbGncuryYBaSac2aBadPEczCeVE1xqqfVs8CQPyZ4CVMgZhhSm8UezUkIZw+EDsqJK
 IBEQdrPz8UuzDBLGLy7u5CvfcPtphIHJVTqOgZogP3Q90W0X1i0n89cy4F/2B6Szae/gLX0Dj
X-Google-Smtp-Source: AGHT+IEuIpQfz5UfFkK2CXkrI1JA3nN5Rq8Zy9weH+kgSByc7u9gCq8OealJut4owU/PUpMqN4wxHEs52yykBdkdO9k=
X-Received: by 2002:a05:6122:a12:b0:520:5185:1c83 with SMTP id
 71dfb90a1353d-52077f4c079mr878874e0c.11.1739392461041; Wed, 12 Feb 2025
 12:34:21 -0800 (PST)
MIME-Version: 1.0
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <CAN+1HbqMTN6qmFU3yvqfjVO0ncb=tm_moNTAYaPanRNLNJc=RQ@HIDDEN>
 <a30f6a74-14ea-409a-9eea-8ab414b0dbe5@HIDDEN>
In-Reply-To: <a30f6a74-14ea-409a-9eea-8ab414b0dbe5@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Wed, 12 Feb 2025 15:34:08 -0500
X-Gm-Features: AWEUYZl24Sfjd7eZfx0tQbBZ6MHSLdPxj3r5Qn3MgM5KCqtoH-vpjnqnhEJ0kYI
Message-ID: <CAN+1HbrxFv2V1RQNc=TjP6VoqsG1qvRY8JSqa2YoCL+EYm4GPg@HIDDEN>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Dmitry Gutov <dmitry@HIDDEN>
Content-Type: multipart/mixed; boundary="000000000000c41738062df7ddbe"
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
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 (/)

--000000000000c41738062df7ddbe
Content-Type: multipart/alternative; boundary="000000000000c41735062df7ddbc"

--000000000000c41735062df7ddbc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

That looks nice. Revised patch attached.

On Wed, Feb 12, 2025 at 3:28=E2=80=AFPM Dmitry Gutov <dmitry@HIDDEN> wro=
te:

> On 12/02/2025 22:13, Ship Mints wrote:
> > Sounds good. I'll update the patch now maybe with "Command in" or
> > "Command for" after I see how it looks on the screen.
>
> Thanks.
>
> > Dealing with text stability in the little one-line minibuffer prompt is
> > indeed a challenge. Perhaps we can propertize the prefix to be bold or
> > the menu option list to be bolded so that at least it stands out?
>
> Hm, I think bold might, conversely, call too much attention. It also
> depends on the individual system and font configuration.
>
> Perhaps orthogonally, we could use the string face for the directory
> name. It helps a little, it seems?
>
> diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
> index ff707437e95..a429c1d2c42 100644
> --- a/lisp/progmodes/project.el
> +++ b/lisp/progmodes/project.el
> @@ -2211,7 +2211,7 @@ project--menu-prompt
>      project-switch-commands
>      "  "))
>
> -(defun project--switch-project-command ()
> +(defun project--switch-project-command (&optional dir)
>     (let* ((commands-menu
>             (mapcar
>              (lambda (row)
> @@ -2241,7 +2241,14 @@ project--switch-project-command
>                                          (propertize "Unrecognized input"
>                                                      'face 'warning)
>                                          (help-key-description choice
> nil)))))
> -        (setq choice (read-key-sequence (concat "Choose: " prompt)))
> +        (setq choice (read-key-sequence (concat
> +                                         (if dir
> +                                             (format-message "Command
> in `%s': "
> +                                                             (propertize
> +                                                              dir 'face
> +
> 'font-lock-string-face))
> +                                           "Command: ")
> +                                         prompt)))
>           (when (setq command (lookup-key commands-map choice))
>             (when (numberp command) (setq command nil))
>             (unless (or project-switch-use-entire-map
> @@ -2266,7 +2273,7 @@ project-switch-project
>     (project--remember-dir dir)
>     (let ((command (if (symbolp project-switch-commands)
>                        project-switch-commands
> -                   (project--switch-project-command)))
> +                   (project--switch-project-command dir)))
>           (buffer (current-buffer)))
>       (unwind-protect
>           (progn
>
>

--000000000000c41735062df7ddbc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">That looks nice. Revised patch attached.</div></div><br><div class=3D"gm=
ail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On W=
ed, Feb 12, 2025 at 3:28=E2=80=AFPM Dmitry Gutov &lt;<a href=3D"mailto:dmit=
ry@HIDDEN">dmitry@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex">On 12/02/2025 22:13, Ship Mints wrote:<br>
&gt; Sounds good. I&#39;ll update the patch now maybe with &quot;Command in=
&quot; or <br>
&gt; &quot;Command for&quot; after I see how it looks on the screen.<br>
<br>
Thanks.<br>
<br>
&gt; Dealing with text stability in the little one-line minibuffer prompt i=
s <br>
&gt; indeed a challenge. Perhaps we can propertize the prefix to be bold or=
 <br>
&gt; the menu option list to be bolded so that at least it stands out?<br>
<br>
Hm, I think bold might, conversely, call too much attention. It also <br>
depends on the individual system and font configuration.<br>
<br>
Perhaps orthogonally, we could use the string face for the directory <br>
name. It helps a little, it seems?<br>
<br>
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el<br>
index ff707437e95..a429c1d2c42 100644<br>
--- a/lisp/progmodes/project.el<br>
+++ b/lisp/progmodes/project.el<br>
@@ -2211,7 +2211,7 @@ project--menu-prompt<br>
=C2=A0 =C2=A0 =C2=A0project-switch-commands<br>
=C2=A0 =C2=A0 =C2=A0&quot;=C2=A0 &quot;))<br>
<br>
-(defun project--switch-project-command ()<br>
+(defun project--switch-project-command (&amp;optional dir)<br>
=C2=A0 =C2=A0 (let* ((commands-menu<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (mapcar<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(lambda (row)<br>
@@ -2241,7 +2241,14 @@ project--switch-project-command<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(p=
ropertize &quot;Unrecognized input&quot;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&#39;face &#39;warning)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(h=
elp-key-description choice <br>
nil)))))<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq choice (read-key-sequence (concat &quot;=
Choose: &quot; prompt)))<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq choice (read-key-sequence (concat<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(i=
f dir<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0(format-message &quot;Command <br>
in `%s&#39;: &quot;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(prope=
rtize<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dir &=
#39;face<br>
+ <br>
&#39;font-lock-string-face))<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0&quot;Command: &quot;)<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0pr=
ompt)))<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (when (setq command (lookup-key commands=
-map choice))<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (when (numberp command) (setq com=
mand nil))<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (unless (or project-switch-use-en=
tire-map<br>
@@ -2266,7 +2273,7 @@ project-switch-project<br>
=C2=A0 =C2=A0 (project--remember-dir dir)<br>
=C2=A0 =C2=A0 (let ((command (if (symbolp project-switch-commands)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0project-switch-commands<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(proj=
ect--switch-project-command)))<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(proj=
ect--switch-project-command dir)))<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (buffer (current-buffer)))<br>
=C2=A0 =C2=A0 =C2=A0 (unwind-protect<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (progn<br>
<br>
</blockquote></div>

--000000000000c41735062df7ddbc--

--000000000000c41738062df7ddbe
Content-Type: application/octet-stream; 
	name="0001-Improve-prompt-for-project-switch-project.patch"
Content-Disposition: attachment; 
	filename="0001-Improve-prompt-for-project-switch-project.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_m72dcjaz0>
X-Attachment-Id: f_m72dcjaz0

RnJvbSAzZDE2NDRhMzg2NTg0Y2E0OTdmODAyYTMxMmM4ZWExYTM1NzdiMjlhIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBzaGlwbWludHMgPHNoaXBtaW50c0BnbWFpbC5jb20+CkRhdGU6
IFdlZCwgMTIgRmViIDIwMjUgMTI6NTE6NTggLTA1MDAKU3ViamVjdDogW1BBVENIXSBJbXByb3Zl
IHByb21wdCBmb3IgJ3Byb2plY3Qtc3dpdGNoLXByb2plY3QnCgoqIGxpc3AvcHJvZ21vZGVzL3By
b2plY3QuZWw6Cihwcm9qZWN0LXN3aXRjaC1wcm9qZWN0KTogY2FsbCBjb21tYW5kIGZ1bmN0aW9u
IHdpdGggZGlyIGFuZCBpbXByb3ZlCnByb21wdCB0byAiQ29tbWFuZCBmb3IgcHJvamVjdCB4eHg6
ICIuCihwcm9qZWN0LS1zd2l0Y2gtcHJvamVjdC1jb21tYW5kKTogb3B0aW9uYWwgZGlyIGFyZ3Vt
ZW50LS1vcHRpb25hbCBmb3IKYmFja3dhcmQgY29tcGF0aWJpbGl0eSBmb3IgdXNlcnMgdGhhdCBt
aWdodCBjYWxsIHRoaXMgbm9uLXB1YmxpYwpmdW5jdGlvbi4KLS0tCiBldGMvTkVXUyAgICAgICAg
ICAgICAgICAgIHwgIDQgKysrKwogbGlzcC9wcm9nbW9kZXMvcHJvamVjdC5lbCB8IDEzICsrKysr
KysrKystLS0KIDIgZmlsZXMgY2hhbmdlZCwgMTQgaW5zZXJ0aW9ucygrKSwgMyBkZWxldGlvbnMo
LSkKCmRpZmYgLS1naXQgYS9ldGMvTkVXUyBiL2V0Yy9ORVdTCmluZGV4IDUzYmM2ZmYyYWFhLi42
YzZlZmFmNjRiMCAxMDA2NDQKLS0tIGEvZXRjL05FV1MKKysrIGIvZXRjL05FV1MKQEAgLTI3OCw2
ICsyNzgsMTAgQEAgZG9jc3RyaW5nIGZvciBhcmd1bWVudHMgcGFzc2VkIHRvIGEgaGVscC10ZXh0
IGZ1bmN0aW9uLgogKioqIE5ldyBjb21tYW5kICdwcm9qZWN0LXJvb3QtZmluZC1maWxlJy4KIEl0
IGlzIGVxdWl2YWxlbnQgdG8gcnVubmluZyDigJhwcm9qZWN0LWFueS1jb21tYW5k4oCZIHdpdGgg
4oCYZmluZC1maWxl4oCZLgogCistLS0KKyoqKiBJbXByb3ZlZCBwcm9tcHQgZm9yICdwcm9qZWN0
LXN3aXRjaC1wcm9qZWN0Jy4KK1RoZSBwcm9tcHQgbm93IGRpc3BsYXlzIHRoZSBjaG9zZW4gcHJv
amVjdCBvbiB3aGljaCB0byBpbnZva2UgYSBjb21tYW5kLgorCiAtLS0KICoqKiBUaGUgTUFZQkUt
UFJPTVBUIGFyZ3VtZW50IG9mICdwcm9qZWN0LWN1cnJlbnQnIGNhbiBiZSBhIHN0cmluZy4KIFdo
ZW4gc3VjaCB2YWx1ZSBpcyB1c2VkLCB0aGUgJ3Byb2plY3QtcHJvbXB0ZXInIGlzIGNhbGxlZCB3
aXRoIGl0IGFzIHRoZQpkaWZmIC0tZ2l0IGEvbGlzcC9wcm9nbW9kZXMvcHJvamVjdC5lbCBiL2xp
c3AvcHJvZ21vZGVzL3Byb2plY3QuZWwKaW5kZXggZmU4YTc2NWQxOTQuLmVhMWViOWZjMDQ0IDEw
MDY0NAotLS0gYS9saXNwL3Byb2dtb2Rlcy9wcm9qZWN0LmVsCisrKyBiL2xpc3AvcHJvZ21vZGVz
L3Byb2plY3QuZWwKQEAgLTIxODMsNyArMjE4Myw3IEBAIHByb2plY3QtLW1lbnUtcHJvbXB0CiAg
ICBwcm9qZWN0LXN3aXRjaC1jb21tYW5kcwogICAgIiAgIikpCiAKLShkZWZ1biBwcm9qZWN0LS1z
d2l0Y2gtcHJvamVjdC1jb21tYW5kICgpCisoZGVmdW4gcHJvamVjdC0tc3dpdGNoLXByb2plY3Qt
Y29tbWFuZCAoJm9wdGlvbmFsIGRpcikKICAgKGxldCogKChjb21tYW5kcy1tZW51CiAgICAgICAg
ICAgKG1hcGNhcgogICAgICAgICAgICAobGFtYmRhIChyb3cpCkBAIC0yMjEzLDcgKzIyMTMsMTQg
QEAgcHJvamVjdC0tc3dpdGNoLXByb2plY3QtY29tbWFuZAogICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgKHByb3BlcnRpemUgIlVucmVjb2duaXplZCBpbnB1dCIKICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdmYWNlICd3YXJu
aW5nKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGhlbHAta2V5LWRl
c2NyaXB0aW9uIGNob2ljZSBuaWwpKSkpKQotICAgICAgICAoc2V0cSBjaG9pY2UgKHJlYWQta2V5
LXNlcXVlbmNlIChjb25jYXQgIkNob29zZTogIiBwcm9tcHQpKSkKKyAgICAgICAgKHNldHEgY2hv
aWNlIChyZWFkLWtleS1zZXF1ZW5jZSAoY29uY2F0CisgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgIChpZiBkaXIKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIChmb3JtYXQgIkNvbW1hbmQgaW4gYCVzJzogIgorICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAocHJvcGVydGl6ZQorICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlyICdmYWNl
CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAn
Zm9udC1sb2NrLXN0cmluZy1mYWNlKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAiQ29tbWFuZDogIikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgcHJvbXB0KSkpCiAgICAgICAgICh3aGVuIChzZXRxIGNvbW1hbmQgKGxvb2t1cC1r
ZXkgY29tbWFuZHMtbWFwIGNob2ljZSkpCiAgICAgICAgICAgKHdoZW4gKG51bWJlcnAgY29tbWFu
ZCkgKHNldHEgY29tbWFuZCBuaWwpKQogICAgICAgICAgICh1bmxlc3MgKG9yIHByb2plY3Qtc3dp
dGNoLXVzZS1lbnRpcmUtbWFwCkBAIC0yMjM4LDcgKzIyNDUsNyBAQCBwcm9qZWN0LXN3aXRjaC1w
cm9qZWN0CiAgIChwcm9qZWN0LS1yZW1lbWJlci1kaXIgZGlyKQogICAobGV0ICgoY29tbWFuZCAo
aWYgKHN5bWJvbHAgcHJvamVjdC1zd2l0Y2gtY29tbWFuZHMpCiAgICAgICAgICAgICAgICAgICAg
ICBwcm9qZWN0LXN3aXRjaC1jb21tYW5kcwotICAgICAgICAgICAgICAgICAgIChwcm9qZWN0LS1z
d2l0Y2gtcHJvamVjdC1jb21tYW5kKSkpCisgICAgICAgICAgICAgICAgICAgKHByb2plY3QtLXN3
aXRjaC1wcm9qZWN0LWNvbW1hbmQgZGlyKSkpCiAgICAgICAgIChidWZmZXIgKGN1cnJlbnQtYnVm
ZmVyKSkpCiAgICAgKHVud2luZC1wcm90ZWN0CiAgICAgICAgIChwcm9nbgotLSAKMi40Ny4xCgo=
--000000000000c41738062df7ddbe--




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

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


Received: (at 76235) by debbugs.gnu.org; 12 Feb 2025 20:28:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 15:28:09 2025
Received: from localhost ([127.0.0.1]:38537 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiJL6-0001Ln-S4
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 15:28:09 -0500
Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]:44373)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1tiJL4-0001LG-Kc
 for 76235 <at> debbugs.gnu.org; Wed, 12 Feb 2025 15:28:07 -0500
Received: from phl-compute-04.internal (phl-compute-04.phl.internal
 [10.202.2.44])
 by mailfout.phl.internal (Postfix) with ESMTP id 4F0A713808BB;
 Wed, 12 Feb 2025 15:28:01 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-04.internal (MEProxy); Wed, 12 Feb 2025 15:28:01 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :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=fm2; t=1739392081;
 x=1739478481; bh=Hjb3RI+O+iZEFyjoUbS/ZvTpug1YMDUOKAILeyFC8eE=; b=
 RFaWUj4oJboJrRwzju7Ym5uqhEcpplXHTOcPd0VYYE/u5h81gaHZa5hG1Su3ekCE
 mQiy9XJQBs/G/L0bs2mJGsL3CjNUNuqwKBy+dmwh93ejTvA4ryu/DTx2HgXtcoUV
 98Qm0db2VwuMFWafqDPC+G5MXMRy0b6qO6nb6RckBaNqeY4Sdbu4bmGKAe5qxHUd
 d1XYXqn7Bj6BUFjuu+Q3oNvYrcOcVw80joh4UtkgACf1AooqMYEc9iu7VvSzSHxC
 0IYaV3XGdST6QwqZ+pSwDqKsIb1SUVQSx9VIRN/MPdKW5SrO/On2QrmOAMV7c8O6
 gFXETW5TSgNQlZqyLrVeaQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc: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=fm3; t=1739392081; x=
 1739478481; bh=Hjb3RI+O+iZEFyjoUbS/ZvTpug1YMDUOKAILeyFC8eE=; b=w
 c02bH5MJHtC+vt+e5TZjIPGmgPyrP/0WyRfIVnRKu7YLlzduFLHbSlohtJD6W6ft
 B5WqG2ve7/xIPr74Ens7ljIT/FWmw8ufebxkiGQnVcq7+agC7uDVxxwMn/65AUO/
 ldDtJ+PVYj8vWO5y6dCzfiJY9tEjPjVQ0nF/J9CMKeD25EAFe8TPrO38JNRLT5Lg
 MVqQ+e1c1kc0EYb0YuPDqyVfE4jC56BdHYgf79XMEhltSH0HxK/BLPvFtvQEqt0v
 e4nSQrc4jtc4Y1Nj5iY/erArDnHMr34DVwAPEzcQmY2dgskGMIsdFpAUHAit4sA/
 CI6Cc9miI7qvfy5Ms4j1A==
X-ME-Sender: <xms:UQStZwHajWYXF8mGW7Z1x723SRUf5_SDiz6_pZp7nJAAMokYyp4Q1w>
 <xme:UQStZ5XUJDs7SUnMnlPdgfDyVH9HUPGxA8-SQVtcH4mtc4sS0cFft-K9h92zFVObB
 QSUs2XZYWRPwnQIkU4>
X-ME-Received: <xmr:UQStZ6K5aGy4xfS_fOiiXbg9pgDvPdMWJNrTf3WtnghvGxKJVbfARyLUVm0hH2CV44w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeggeekgecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv
 jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd
 guvghvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeu
 fedtvddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht
 ohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhhihhpmhhinhhtshesgh
 hmrghilhdrtghomhdprhgtphhtthhopeejiedvfeehseguvggssghughhsrdhgnhhurdho
 rhhgpdhrtghpthhtohepjhhurhhisehlihhnkhhovhdrnhgvth
X-ME-Proxy: <xmx:UQStZyECmiEd-xBkx6HQXNMcdlX6gCHSgsG23Jw6_DTSzFAP_bx2Zw>
 <xmx:UQStZ2VSLH27A1SVMocRnOT9NPEA38Si-_0Mcppbvru-PwXpJ6tsWg>
 <xmx:UQStZ1Nv6Cl8qAXOzgyGoo6463TQ_NGSpf4V5WRP22LjAzvXbk4gvw>
 <xmx:UQStZ92JHbkdftMoHtF2_omtKDjR66PSNfkPwVbLcsgwwpnJyzUmeQ>
 <xmx:UQStZ1RMwk3bc9CHjTptoWT6BE-htG464lrOipTPRvD_k2aC2PZ-uWGY>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 12 Feb 2025 15:27:59 -0500 (EST)
Message-ID: <a30f6a74-14ea-409a-9eea-8ab414b0dbe5@HIDDEN>
Date: Wed, 12 Feb 2025 22:27:57 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Ship Mints <shipmints@HIDDEN>
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
 <CAN+1HbqMTN6qmFU3yvqfjVO0ncb=tm_moNTAYaPanRNLNJc=RQ@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <CAN+1HbqMTN6qmFU3yvqfjVO0ncb=tm_moNTAYaPanRNLNJc=RQ@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
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 (-)

On 12/02/2025 22:13, Ship Mints wrote:
> Sounds good. I'll update the patch now maybe with "Command in" or 
> "Command for" after I see how it looks on the screen.

Thanks.

> Dealing with text stability in the little one-line minibuffer prompt is 
> indeed a challenge. Perhaps we can propertize the prefix to be bold or 
> the menu option list to be bolded so that at least it stands out?

Hm, I think bold might, conversely, call too much attention. It also 
depends on the individual system and font configuration.

Perhaps orthogonally, we could use the string face for the directory 
name. It helps a little, it seems?

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index ff707437e95..a429c1d2c42 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -2211,7 +2211,7 @@ project--menu-prompt
     project-switch-commands
     "  "))

-(defun project--switch-project-command ()
+(defun project--switch-project-command (&optional dir)
    (let* ((commands-menu
            (mapcar
             (lambda (row)
@@ -2241,7 +2241,14 @@ project--switch-project-command
                                         (propertize "Unrecognized input"
                                                     'face 'warning)
                                         (help-key-description choice 
nil)))))
-        (setq choice (read-key-sequence (concat "Choose: " prompt)))
+        (setq choice (read-key-sequence (concat
+                                         (if dir
+                                             (format-message "Command 
in `%s': "
+                                                             (propertize
+                                                              dir 'face
+ 
'font-lock-string-face))
+                                           "Command: ")
+                                         prompt)))
          (when (setq command (lookup-key commands-map choice))
            (when (numberp command) (setq command nil))
            (unless (or project-switch-use-entire-map
@@ -2266,7 +2273,7 @@ project-switch-project
    (project--remember-dir dir)
    (let ((command (if (symbolp project-switch-commands)
                       project-switch-commands
-                   (project--switch-project-command)))
+                   (project--switch-project-command dir)))
          (buffer (current-buffer)))
      (unwind-protect
          (progn





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

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


Received: (at 76235) by debbugs.gnu.org; 12 Feb 2025 20:14:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 15:14:15 2025
Received: from localhost ([127.0.0.1]:38463 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiJ7f-0000br-9X
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 15:14:15 -0500
Received: from mail-vk1-xa35.google.com ([2607:f8b0:4864:20::a35]:54694)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tiJ7d-0000bZ-KX
 for 76235 <at> debbugs.gnu.org; Wed, 12 Feb 2025 15:14:14 -0500
Received: by mail-vk1-xa35.google.com with SMTP id
 71dfb90a1353d-51f42b1a69fso31321e0c.1
 for <76235 <at> debbugs.gnu.org>; Wed, 12 Feb 2025 12:14:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739391247; x=1739996047; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=MFIAmdIaPLLNW4yOLfRPoGCmEBLrAzC8GWkYtEUeQOY=;
 b=GWEJTam3s1MCtx4FmA4vkBPhh1ipe3Ssz4URjoKZvnoFOiCpm/LW/qeBRBiOvAEvIE
 nPIMgzxvcI+hEwAknRdxjEHI23r9YoAD8Z9hzAeZIny0k4hNbm3UbT4Au7TDZ1AQMVzf
 O/GIxo2jxWRE0Tz0P59IPHSLxBvLxmw7nLwHYre3MlFnzIiM3KZUjD3jGTfce2ZFj/ag
 qpXWjcPd8VG+mJUnF1xffqzyLhmjQvoZVqhXZtS3BWE/N6uLrR/XVW2g3Uz3iL40JiOc
 bzh3bQUdO4d9d4DDRmBT2GWbioLVBevWsRfvKGB4B+2MFYeWE3YXrGXwvFho5CE8UDRd
 oQyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739391247; x=1739996047;
 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=MFIAmdIaPLLNW4yOLfRPoGCmEBLrAzC8GWkYtEUeQOY=;
 b=FQ/GAta8Ovo3ZOk30M7DJK0M4DcioEgU7vrc8P9SfilfPhfxX4EFC/fEUefJdQISrW
 R5IXyBQSwXh7eUaunfK130qviMVhy6WhlCgWRqNXGNsBMpplMjDLF+cqGGiG57+/ebY6
 pfDqAIasEBrEWEiwu0FuN01vvIdeROCNsBmLXJlRg8KJwEF46eAc0aWsFtGBt25RkwhQ
 iAjHx9hU32g1Qqi65O5yZClZb5UwXuqFQlXP54OKoXTQA0BS7vsHXchs9wmTdnbkdrLE
 BWT1va1OQwZVciFSdKueeqlULul9RxU6QaGdyj5UAYwFGfdsLRKHRZGIBh5AjohgYPvv
 0Mgw==
X-Gm-Message-State: AOJu0YzjZN/cbJUrKnjmAnSy+voqKIzs3z9rdJmcwY/tRsXheXtWqJ8t
 eCVfZXBa1vW7B/8d8VZGn0hOLN3xUD6mxFnrqn282estY3AW5QyBedsEDfpqyvyw0aGljTVPbkq
 KM6Elxcu4YpcidT1s45zHwmFcex53BA==
X-Gm-Gg: ASbGnct3McaauwQFIUQeosQB4qVb5u3RcRolZ8kyy2ZE02Xi7AtShUcozE1/DgH6xsC
 ifwhKGPh60iKoflFXITOO0wwY51hDTg3AvZALLM6r3Ec6au2QGCdmaLE4+EAVxe9FhkDKAPb1
X-Google-Smtp-Source: AGHT+IG1j7r3mmbLhpkGGgeRPMAdZpTTgJ2nH7ItBGoKrDtVe42Z34UeSjgSWlw7kY67LZfTevzBP+4LygvSYuMEHx8=
X-Received: by 2002:a05:6122:8292:b0:520:61ee:c7fc with SMTP id
 71dfb90a1353d-52077df02cemr1040606e0c.4.1739391247411; Wed, 12 Feb 2025
 12:14:07 -0800 (PST)
MIME-Version: 1.0
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
 <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
In-Reply-To: <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Wed, 12 Feb 2025 15:13:56 -0500
X-Gm-Features: AWEUYZn0P3g1yCnTl_EGWI1eFTOAMQ-Dv_OWjiCCna-5-fmXBIJ0LDh5uhYH_ME
Message-ID: <CAN+1HbqMTN6qmFU3yvqfjVO0ncb=tm_moNTAYaPanRNLNJc=RQ@HIDDEN>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Dmitry Gutov <dmitry@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000006d738f062df795ed"
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 76235
Cc: 76235 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
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 (/)

--0000000000006d738f062df795ed
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Sounds good. I'll update the patch now maybe with "Command in" or "Command
for" after I see how it looks on the screen.

Dealing with text stability in the little one-line minibuffer prompt is
indeed a challenge. Perhaps we can propertize the prefix to be bold or the
menu option list to be bolded so that at least it stands out?

On Wed, Feb 12, 2025 at 3:10=E2=80=AFPM Dmitry Gutov <dmitry@HIDDEN> wro=
te:

> Hi!
>
> On 12/02/2025 19:57, Ship Mints wrote:
> > Improved prompt for 'project-switch-project' now displays the chosen
> > project on which to invoke a command. The prompt now reads "Command for
> > project "xxx": " vs "Choose: " which never read well to me.
>
> Thanks for the suggestion - I see the problem it aims to address.
>
> One minor problem is that the "menu" becomes less stable horizontally,
> moving right or left depending on the directory name's length.
>
> Not sure if an ideal solution is possible, but here's a tweak with a
> shorter prompt. WDYT?
>
> diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
> index ff707437e95..e6280cd0883 100644
> --- a/lisp/progmodes/project.el
> +++ b/lisp/progmodes/project.el
> @@ -2211,7 +2211,7 @@ project--menu-prompt
>      project-switch-commands
>      "  "))
>
> -(defun project--switch-project-command ()
> +(defun project--switch-project-command (&optional dir)
>     (let* ((commands-menu
>             (mapcar
>              (lambda (row)
> @@ -2241,7 +2241,11 @@ project--switch-project-command
>                                          (propertize "Unrecognized input"
>                                                      'face 'warning)
>                                          (help-key-description choice
> nil)))))
> -        (setq choice (read-key-sequence (concat "Choose: " prompt)))
> +        (setq choice (read-key-sequence (concat
> +                                         (if dir
> +                                             (format-message "Command
> in `%s': " dir)
> +                                           "Command: ")
> +                                         prompt)))
>           (when (setq command (lookup-key commands-map choice))
>             (when (numberp command) (setq command nil))
>             (unless (or project-switch-use-entire-map
> @@ -2266,7 +2270,7 @@ project-switch-project
>     (project--remember-dir dir)
>     (let ((command (if (symbolp project-switch-commands)
>                        project-switch-commands
> -                   (project--switch-project-command)))
> +                   (project--switch-project-command dir)))
>           (buffer (current-buffer)))
>       (unwind-protect
>           (progn
>
>
> Or "Call in ...: ", or "Invoke in ...: ", or just "In ...: ".
>

--0000000000006d738f062df795ed
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">Sounds good. I&#39;ll update the patch now maybe with &quot;Command in&q=
uot; or &quot;Command for&quot; after I see how it looks on the screen.</di=
v><div class=3D"gmail_default" style=3D"font-family:monospace"><br></div><d=
iv class=3D"gmail_default" style=3D"font-family:monospace">Dealing with tex=
t stability in the little one-line minibuffer prompt is indeed a challenge.=
 Perhaps we can propertize the prefix to be bold or the menu option list to=
 be bolded so that at least it stands out?</div></div><br><div class=3D"gma=
il_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On We=
d, Feb 12, 2025 at 3:10=E2=80=AFPM Dmitry Gutov &lt;<a href=3D"mailto:dmitr=
y@HIDDEN">dmitry@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex">Hi!<br>
<br>
On 12/02/2025 19:57, Ship Mints wrote:<br>
&gt; Improved prompt for &#39;project-switch-project&#39; now displays the =
chosen <br>
&gt; project on which to invoke a command. The prompt now reads &quot;Comma=
nd for <br>
&gt; project &quot;xxx&quot;: &quot; vs &quot;Choose: &quot; which never re=
ad well to me.<br>
<br>
Thanks for the suggestion - I see the problem it aims to address.<br>
<br>
One minor problem is that the &quot;menu&quot; becomes less stable horizont=
ally, <br>
moving right or left depending on the directory name&#39;s length.<br>
<br>
Not sure if an ideal solution is possible, but here&#39;s a tweak with a <b=
r>
shorter prompt. WDYT?<br>
<br>
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el<br>
index ff707437e95..e6280cd0883 100644<br>
--- a/lisp/progmodes/project.el<br>
+++ b/lisp/progmodes/project.el<br>
@@ -2211,7 +2211,7 @@ project--menu-prompt<br>
=C2=A0 =C2=A0 =C2=A0project-switch-commands<br>
=C2=A0 =C2=A0 =C2=A0&quot;=C2=A0 &quot;))<br>
<br>
-(defun project--switch-project-command ()<br>
+(defun project--switch-project-command (&amp;optional dir)<br>
=C2=A0 =C2=A0 (let* ((commands-menu<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (mapcar<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(lambda (row)<br>
@@ -2241,7 +2241,11 @@ project--switch-project-command<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(p=
ropertize &quot;Unrecognized input&quot;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&#39;face &#39;warning)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(h=
elp-key-description choice <br>
nil)))))<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq choice (read-key-sequence (concat &quot;=
Choose: &quot; prompt)))<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq choice (read-key-sequence (concat<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(i=
f dir<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0(format-message &quot;Command <br>
in `%s&#39;: &quot; dir)<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0&quot;Command: &quot;)<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0pr=
ompt)))<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (when (setq command (lookup-key commands=
-map choice))<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (when (numberp command) (setq com=
mand nil))<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (unless (or project-switch-use-en=
tire-map<br>
@@ -2266,7 +2270,7 @@ project-switch-project<br>
=C2=A0 =C2=A0 (project--remember-dir dir)<br>
=C2=A0 =C2=A0 (let ((command (if (symbolp project-switch-commands)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0project-switch-commands<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(proj=
ect--switch-project-command)))<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(proj=
ect--switch-project-command dir)))<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (buffer (current-buffer)))<br>
=C2=A0 =C2=A0 =C2=A0 (unwind-protect<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (progn<br>
<br>
<br>
Or &quot;Call in ...: &quot;, or &quot;Invoke in ...: &quot;, or just &quot=
;In ...: &quot;.<br>
</blockquote></div>

--0000000000006d738f062df795ed--




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

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


Received: (at 76235) by debbugs.gnu.org; 12 Feb 2025 20:10:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 15:10:20 2025
Received: from localhost ([127.0.0.1]:38458 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiJ3r-0000Un-T9
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 15:10:20 -0500
Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]:52967)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1tiJ3p-0000P1-G8
 for 76235 <at> debbugs.gnu.org; Wed, 12 Feb 2025 15:10:18 -0500
Received: from phl-compute-02.internal (phl-compute-02.phl.internal
 [10.202.2.42])
 by mailfout.phl.internal (Postfix) with ESMTP id 4C04413801D4;
 Wed, 12 Feb 2025 15:10:12 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-02.internal (MEProxy); Wed, 12 Feb 2025 15:10:12 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :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=fm2; t=1739391012;
 x=1739477412; bh=OCV8m0/DGApXXvpEpM3CVKP/YVoIU0+rntdNra3Zu00=; b=
 XJkaygQIEiSlvy3qZ0KoW06LvljDeSYVScvzUJGlHAxpR0QTD9Gq8RBLJ90uvEcv
 e3X86XsUjRR0LBmyEhtteU1itBhX8oNz1/N5GskIh377gtFB7S8hNpw+YOW+OJ8p
 yHC/NPUV3t9D4vLf2HKh+hchR0QtL2htErgsTopDjU+2FTO/aMGir98h2Gwyka/D
 fzVEzakPxd24tNh2SvLHsKpJC2ZQJb2nHqSiLJ7wqg+AkxWKpO13WtxYBAxRlVsI
 XpAFIq+ckOwVwnB2M7YkspUOZ15VuFuXKXRDXD/PHjfmcizrAZmVfFY4GvlfbVgc
 Avd3/4Cayii7VhXRLXvvpA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc: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=fm3; t=1739391012; x=
 1739477412; bh=OCV8m0/DGApXXvpEpM3CVKP/YVoIU0+rntdNra3Zu00=; b=X
 7P6bQjjibjUzl8a9AxkXEjqXSfPSxQDSgxf+6YjSN4t8KKM6pstbP6egaK7JQBbr
 QU47eqZ7X9VRamxiNTQ5Fc++yHIpekgrI6tY55NwjjUtgbLjH9kAJ5/dcSoFyaKM
 HAje/WuV9aVU/SslWt0U97j+dUvfZniieI4wLd0VYQoDuaVjopD98JoRMLXbUxCU
 7OoDprOGwfw0zYBz/JgD6FOc6wqTZfPcoK7HEHaoLqfrvnr3FeW+1dW+kq6hNwpn
 SoHm9/UyzaSYmv73NeUWn+OTplhP6Qw7wk++pBObEb7VTTwaztMrlvBZaIMydBFu
 9AAWqUtLoatjYurXiOHKA==
X-ME-Sender: <xms:IwCtZ8sUFxbKtzKrAhiLCZgZLDY77Q9MK7oX6BMesLvERswXuzcu-w>
 <xme:IwCtZ5dYnKFTfnEVkJSOUlrYgAsNerHIybWJ5entMVkDbUDOXWHoCc5nCJvFPZ7TW
 DVHr44bXEnBM8Zm7s4>
X-ME-Received: <xmr:IwCtZ3y6vdu3MFz_1Ois8GUjQP7cxiGC-6WBE-8oM7UA0E7IWNPvR2Q91E2Z55lgua0>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeggeektdcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfevjggtgfesthejredttddv
 jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd
 guvghvqeenucggtffrrghtthgvrhhnpeetleehleejkeffhfeiieffveduvdelteetveev
 uefhkeeuueekieejudegvdehueenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht
 ohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhhihhpmhhinhhtshesgh
 hmrghilhdrtghomhdprhgtphhtthhopeejiedvfeehseguvggssghughhsrdhgnhhurdho
 rhhgpdhrtghpthhtohepjhhurhhisehlihhnkhhovhdrnhgvth
X-ME-Proxy: <xmx:IwCtZ_M6h7zltu-GdvxeL81R6hWC4i2begDYGTzaB2IOBloK33MI2w>
 <xmx:IwCtZ88v0hKRZn3d0DRum4Tuka2LbNCyyh81N5siHI7nCixW-Kf6fQ>
 <xmx:IwCtZ3XxLPDl_LZrWwZJiSyyjG6_tqx4ro5YZGUQSOzn5TndXQRDuA>
 <xmx:IwCtZ1d-iyQnXJTCuUeS1u7g88kgKeFCRb4gcHw5zxStlF-zvE021g>
 <xmx:JACtZ7YwVFbMqe3UGBOJ4BySKZuWfxlodQ3kgY3M38CCW07xnvtsx3jw>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 12 Feb 2025 15:10:10 -0500 (EST)
Message-ID: <c42341cb-bc64-4d50-9da2-4057fd907202@HIDDEN>
Date: Wed, 12 Feb 2025 22:10:08 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
To: Ship Mints <shipmints@HIDDEN>, 76235 <at> debbugs.gnu.org
References: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76235
Cc: Juri Linkov <juri@HIDDEN>
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 (-)

Hi!

On 12/02/2025 19:57, Ship Mints wrote:
> Improved prompt for 'project-switch-project' now displays the chosen 
> project on which to invoke a command. The prompt now reads "Command for 
> project "xxx": " vs "Choose: " which never read well to me.

Thanks for the suggestion - I see the problem it aims to address.

One minor problem is that the "menu" becomes less stable horizontally, 
moving right or left depending on the directory name's length.

Not sure if an ideal solution is possible, but here's a tweak with a 
shorter prompt. WDYT?

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index ff707437e95..e6280cd0883 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -2211,7 +2211,7 @@ project--menu-prompt
     project-switch-commands
     "  "))

-(defun project--switch-project-command ()
+(defun project--switch-project-command (&optional dir)
    (let* ((commands-menu
            (mapcar
             (lambda (row)
@@ -2241,7 +2241,11 @@ project--switch-project-command
                                         (propertize "Unrecognized input"
                                                     'face 'warning)
                                         (help-key-description choice 
nil)))))
-        (setq choice (read-key-sequence (concat "Choose: " prompt)))
+        (setq choice (read-key-sequence (concat
+                                         (if dir
+                                             (format-message "Command 
in `%s': " dir)
+                                           "Command: ")
+                                         prompt)))
          (when (setq command (lookup-key commands-map choice))
            (when (numberp command) (setq command nil))
            (unless (or project-switch-use-entire-map
@@ -2266,7 +2270,7 @@ project-switch-project
    (project--remember-dir dir)
    (let ((command (if (symbolp project-switch-commands)
                       project-switch-commands
-                   (project--switch-project-command)))
+                   (project--switch-project-command dir)))
          (buffer (current-buffer)))
      (unwind-protect
          (progn


Or "Call in ...: ", or "Invoke in ...: ", or just "In ...: ".




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

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


Received: (at submit) by debbugs.gnu.org; 12 Feb 2025 17:58:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 12:58:09 2025
Received: from localhost ([127.0.0.1]:38199 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiGzx-0007rL-GA
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 12:58:09 -0500
Received: from lists.gnu.org ([2001:470:142::17]:33048)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tiGzv-0007qt-PL
 for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 12:58:08 -0500
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 <shipmints@HIDDEN>)
 id 1tiGzp-0006yq-Qc
 for bug-gnu-emacs@HIDDEN; Wed, 12 Feb 2025 12:58:01 -0500
Received: from mail-vs1-xe2e.google.com ([2607:f8b0:4864:20::e2e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <shipmints@HIDDEN>)
 id 1tiGzo-0000fh-DW
 for bug-gnu-emacs@HIDDEN; Wed, 12 Feb 2025 12:58:01 -0500
Received: by mail-vs1-xe2e.google.com with SMTP id
 ada2fe7eead31-4bbdf3081acso1707517137.2
 for <bug-gnu-emacs@HIDDEN>; Wed, 12 Feb 2025 09:57:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739383079; x=1739987879; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=pneL68aQkUi/RaYqloxcd9V2T9yGkaKl59KkiJSPlVE=;
 b=VHjyXKrRfuyCfCnyTmZ1frGWIuVgdgIc6TGpy7OKORPT+dVdO032moKucuwmWqDdvq
 pPVAV9AecisaM68apLa8zQEyCVFS5u2x/Hn4KrACh8EnTLEhIzNpM/We63Atjsz5/M5n
 MyR46eO2NPXiHu4+9uTkLsnnamJFj6SaVvSxloqq0vqyAB4c55Eh0dfZo1Y3RsJAFXnD
 hKUFBfIa3RxIDOFKLnWVyOqczRWLzsBKCQGqJfOi/i9EEI+13eEC4ageT4x/Nv05IFGW
 hTYhxuWGQnj7NSod+TZwm5SedBMySLhxZfY5jdGukH3+FVQc/jE9ZBR2KkbqIo60iQiG
 tuiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739383079; x=1739987879;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=pneL68aQkUi/RaYqloxcd9V2T9yGkaKl59KkiJSPlVE=;
 b=NtDTBHmdZOMvcmJ1AG25D/qSqvBa5txYPpKl/j63PIUdRYf0O3HTFJSy2+RilVK+mf
 uvMv4s5ma8a3Yvp2JKpsu7a85fSEkS5OTIWRTu9hdoPnd6fU/9U/0SGZun2eV1L9Koct
 3PPs5S2Bq1xlLjUS+xHmberp17oqeN2C1e5tUV94HfXE6JGamjckHXqUcOvsVW1Ca6w5
 NQIy9rtojXZIWiKlHm41ng7cCoUTVx0ILzS+Mt9fWJhzZOtxuhQRW+k6Xqcs2rQJ2RD9
 Vg8/BHO2Jw23yr8L/kjXBOvDsDyXxQZZGEhf23ZBFpisYFt2aOBHx4F6lkIkHfpMPzNR
 f1Mg==
X-Gm-Message-State: AOJu0Yx6dJNxzFQjWsljFIkXqYqJNAW21kLBZGiyYdpMIBFarIVOt+z9
 SoplCWc2PlttIt49POYWTS9W2G0JHH/dbz4CMei/d/mBaF60bIbrU6AN6/t686y1uMcvCQN5GWS
 22g1326dAbTKda9N15/sUnx6UQhDiq8jc
X-Gm-Gg: ASbGncvxPbT5zwyHW5qH3VzaxDZQL6L37ZPoB7HFp3kKUKAMoCve5iM7ejmPa8OZgiI
 lo0vVo7a1gd5o8a/dystVSV0GoNp6lq+bDNX7Pt9/X/6eyNHz0Du3q8ksKVZAeNgsF3OCO/wJ
X-Google-Smtp-Source: AGHT+IGglmrRvJsUzN6MGf69FutMlF1ttdKhw+H1o4BLhmDk4LOvRj62w+Phsw+h1CJOtFzSrh39BKKZBpo6LyffHeY=
X-Received: by 2002:a05:6102:548d:b0:4bb:5d61:1283 with SMTP id
 ada2fe7eead31-4bbf2245d9emr4643620137.23.1739383079144; Wed, 12 Feb 2025
 09:57:59 -0800 (PST)
MIME-Version: 1.0
From: Ship Mints <shipmints@HIDDEN>
Date: Wed, 12 Feb 2025 12:57:47 -0500
X-Gm-Features: AWEUYZltUs6HGnuy9X-KiLMP_GWY3P3K4qCLiyg_p_eYDFkXWKYFGYPH5MGi74g
Message-ID: <CAN+1Hbr_D=rc6xr21emYdCtQiqvdLwiO0XxfJfQjUnA6G=9dhg@HIDDEN>
Subject: [PATCH] Improve prompt for 'project-switch-project'
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/mixed; boundary="0000000000008fd893062df5aec1"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e2e;
 envelope-from=shipmints@HIDDEN; helo=mail-vs1-xe2e.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-Spam-Score: 1.0 (+)
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.0 (/)

--0000000000008fd893062df5aec1
Content-Type: multipart/alternative; boundary="0000000000008fd892062df5aebf"

--0000000000008fd892062df5aebf
Content-Type: text/plain; charset="UTF-8"

Improved prompt for 'project-switch-project' now displays the chosen
project on which to invoke a command. The prompt now reads "Command for
project "xxx": " vs "Choose: " which never read well to me.

-Stephane

--0000000000008fd892062df5aebf
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">Improved prompt for &#39;project-switch-project&#39; now displays the ch=
osen project on which to invoke a command. The prompt now reads &quot;Comma=
nd for project &quot;xxx&quot;: &quot; vs &quot;Choose: &quot; which never =
read well to me.<br></div><div class=3D"gmail_default" style=3D"font-family=
:monospace"><br></div><div class=3D"gmail_default" style=3D"font-family:mon=
ospace">-Stephane</div></div>

--0000000000008fd892062df5aebf--

--0000000000008fd893062df5aec1
Content-Type: application/octet-stream; 
	name="0001-Improve-prompt-for-project-switch-project.patch"
Content-Disposition: attachment; 
	filename="0001-Improve-prompt-for-project-switch-project.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_m727rbim0>
X-Attachment-Id: f_m727rbim0

RnJvbSBkODk3NzZmNGViYzAwYWNkNDc4ZDdkNzUxNjA4ZDcxYzBhOGZmMTMxIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBzaGlwbWludHMgPHNoaXBtaW50c0BnbWFpbC5jb20+CkRhdGU6
IFdlZCwgMTIgRmViIDIwMjUgMTI6NTE6NTggLTA1MDAKU3ViamVjdDogW1BBVENIXSBJbXByb3Zl
IHByb21wdCBmb3IgJ3Byb2plY3Qtc3dpdGNoLXByb2plY3QnCgoqIGxpc3AvcHJvZ21vZGVzL3By
b2plY3QuZWw6Cihwcm9qZWN0LXN3aXRjaC1wcm9qZWN0KTogY2FsbCBjb21tYW5kIGZ1bmN0aW9u
IHdpdGggZGlyIGFuZCBpbXByb3ZlCnByb21wdCB0byAiQ29tbWFuZCBmb3IgcHJvamVjdCB4eHg6
ICIuCihwcm9qZWN0LS1zd2l0Y2gtcHJvamVjdC1jb21tYW5kKTogb3B0aW9uYWwgZGlyIGFyZ3Vt
ZW50LS1vcHRpb25hbCBmb3IKYmFja3dhcmQgY29tcGF0aWJpbGl0eSBmb3IgdXNlcnMgdGhhdCBt
aWdodCBjYWxsIHRoaXMgbm9uLXB1YmxpYwpmdW5jdGlvbi4KLS0tCiBldGMvTkVXUyAgICAgICAg
ICAgICAgICAgIHwgIDQgKysrKwogbGlzcC9wcm9nbW9kZXMvcHJvamVjdC5lbCB8IDEwICsrKysr
KystLS0KIDIgZmlsZXMgY2hhbmdlZCwgMTEgaW5zZXJ0aW9ucygrKSwgMyBkZWxldGlvbnMoLSkK
CmRpZmYgLS1naXQgYS9ldGMvTkVXUyBiL2V0Yy9ORVdTCmluZGV4IDUzYmM2ZmYyYWFhLi42YzZl
ZmFmNjRiMCAxMDA2NDQKLS0tIGEvZXRjL05FV1MKKysrIGIvZXRjL05FV1MKQEAgLTI3OCw2ICsy
NzgsMTAgQEAgZG9jc3RyaW5nIGZvciBhcmd1bWVudHMgcGFzc2VkIHRvIGEgaGVscC10ZXh0IGZ1
bmN0aW9uLgogKioqIE5ldyBjb21tYW5kICdwcm9qZWN0LXJvb3QtZmluZC1maWxlJy4KIEl0IGlz
IGVxdWl2YWxlbnQgdG8gcnVubmluZyDigJhwcm9qZWN0LWFueS1jb21tYW5k4oCZIHdpdGgg4oCY
ZmluZC1maWxl4oCZLgogCistLS0KKyoqKiBJbXByb3ZlZCBwcm9tcHQgZm9yICdwcm9qZWN0LXN3
aXRjaC1wcm9qZWN0Jy4KK1RoZSBwcm9tcHQgbm93IGRpc3BsYXlzIHRoZSBjaG9zZW4gcHJvamVj
dCBvbiB3aGljaCB0byBpbnZva2UgYSBjb21tYW5kLgorCiAtLS0KICoqKiBUaGUgTUFZQkUtUFJP
TVBUIGFyZ3VtZW50IG9mICdwcm9qZWN0LWN1cnJlbnQnIGNhbiBiZSBhIHN0cmluZy4KIFdoZW4g
c3VjaCB2YWx1ZSBpcyB1c2VkLCB0aGUgJ3Byb2plY3QtcHJvbXB0ZXInIGlzIGNhbGxlZCB3aXRo
IGl0IGFzIHRoZQpkaWZmIC0tZ2l0IGEvbGlzcC9wcm9nbW9kZXMvcHJvamVjdC5lbCBiL2xpc3Av
cHJvZ21vZGVzL3Byb2plY3QuZWwKaW5kZXggZmU4YTc2NWQxOTQuLjM3NzdkODgwYjkzIDEwMDY0
NAotLS0gYS9saXNwL3Byb2dtb2Rlcy9wcm9qZWN0LmVsCisrKyBiL2xpc3AvcHJvZ21vZGVzL3By
b2plY3QuZWwKQEAgLTIxODMsNyArMjE4Myw3IEBAIHByb2plY3QtLW1lbnUtcHJvbXB0CiAgICBw
cm9qZWN0LXN3aXRjaC1jb21tYW5kcwogICAgIiAgIikpCiAKLShkZWZ1biBwcm9qZWN0LS1zd2l0
Y2gtcHJvamVjdC1jb21tYW5kICgpCisoZGVmdW4gcHJvamVjdC0tc3dpdGNoLXByb2plY3QtY29t
bWFuZCAoJm9wdGlvbmFsIGRpcikKICAgKGxldCogKChjb21tYW5kcy1tZW51CiAgICAgICAgICAg
KG1hcGNhcgogICAgICAgICAgICAobGFtYmRhIChyb3cpCkBAIC0yMjEzLDcgKzIyMTMsMTEgQEAg
cHJvamVjdC0tc3dpdGNoLXByb2plY3QtY29tbWFuZAogICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgKHByb3BlcnRpemUgIlVucmVjb2duaXplZCBpbnB1dCIKICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdmYWNlICd3YXJuaW5n
KQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGhlbHAta2V5LWRlc2Ny
aXB0aW9uIGNob2ljZSBuaWwpKSkpKQotICAgICAgICAoc2V0cSBjaG9pY2UgKHJlYWQta2V5LXNl
cXVlbmNlIChjb25jYXQgIkNob29zZTogIiBwcm9tcHQpKSkKKyAgICAgICAgKHNldHEgY2hvaWNl
IChyZWFkLWtleS1zZXF1ZW5jZSAoY29uY2F0CisgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIChpZiBkaXIKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIChmb3JtYXQgIkNvbW1hbmQgZm9yIHByb2plY3QgXCIlc1wiOiAiIGRpcikKKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiQ29tbWFuZDogIikKKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJvbXB0KSkpCiAgICAgICAg
ICh3aGVuIChzZXRxIGNvbW1hbmQgKGxvb2t1cC1rZXkgY29tbWFuZHMtbWFwIGNob2ljZSkpCiAg
ICAgICAgICAgKHdoZW4gKG51bWJlcnAgY29tbWFuZCkgKHNldHEgY29tbWFuZCBuaWwpKQogICAg
ICAgICAgICh1bmxlc3MgKG9yIHByb2plY3Qtc3dpdGNoLXVzZS1lbnRpcmUtbWFwCkBAIC0yMjM4
LDcgKzIyNDIsNyBAQCBwcm9qZWN0LXN3aXRjaC1wcm9qZWN0CiAgIChwcm9qZWN0LS1yZW1lbWJl
ci1kaXIgZGlyKQogICAobGV0ICgoY29tbWFuZCAoaWYgKHN5bWJvbHAgcHJvamVjdC1zd2l0Y2gt
Y29tbWFuZHMpCiAgICAgICAgICAgICAgICAgICAgICBwcm9qZWN0LXN3aXRjaC1jb21tYW5kcwot
ICAgICAgICAgICAgICAgICAgIChwcm9qZWN0LS1zd2l0Y2gtcHJvamVjdC1jb21tYW5kKSkpCisg
ICAgICAgICAgICAgICAgICAgKHByb2plY3QtLXN3aXRjaC1wcm9qZWN0LWNvbW1hbmQgZGlyKSkp
CiAgICAgICAgIChidWZmZXIgKGN1cnJlbnQtYnVmZmVyKSkpCiAgICAgKHVud2luZC1wcm90ZWN0
CiAgICAgICAgIChwcm9nbgotLSAKMi40Ny4xCgo=
--0000000000008fd893062df5aec1--




Acknowledgement sent to Ship Mints <shipmints@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#76235; 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: Tue, 18 Feb 2025 12:30:03 UTC

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