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

Previous Next

Package: emacs;

Reported by: Ship Mints <shipmints <at> gmail.com>

Date: Wed, 12 Feb 2025 17:59:02 UTC

Severity: normal

Tags: patch

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


Message #46 received at 76235 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 76235 <at> debbugs.gnu.org, Ship Mints <shipmints <at> gmail.com>
Subject: Re: bug#76235: [PATCH] Improve prompt for 'project-switch-project'
Date: Sat, 15 Feb 2025 20:17:21 +0200
>>> -  (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.




This bug report was last modified 88 days ago.

Previous Next


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