[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Re: master 513c5d827d: Use `format-prompt' in
From: |
Robert Pluim |
Subject: |
Re: [External] : Re: master 513c5d827d: Use `format-prompt' in |
Date: |
Mon, 05 Sep 2022 18:10:04 +0200 |
>>>>> On Mon, 05 Sep 2022 16:02:36 +0000, Gregory Heytings
>>>>> <gregory@heytings.org> said:
>>> My admittedly not well-calibrated lisp tasteʼoʼmeter doesnʼt find
>>>
>>> (format-prompt "Prompt" nil :default "all")
>>>
>>> all that appealing either
>>
>> <Shrug> Then I hope someone will come up with a better idea.
>>
>> My point is that using format-prompt obfuscates the code to some
>> degree, and we should try to find a way of avoiding that, while
>> keeping its advantages.
>>
Gregory> FWIW, I'm not sure using minibuffer-default-prompt-format is
optimal
Gregory> in this specific case. Before the change the prompt said:
Gregory> Character (Unicode name or hex, default all):
Gregory> Now it says:
Gregory> Unicode name, single char, or hex (default all):
Gregory> or, with minibuffer-default-prompt-format set to "":
My understanding is that if you break it, you get to keep both pieces.
Gregory> Unicode name, single char, or hex:
Gregory> IMO, the original prompt was much clearer, and I don't think those
who
Gregory> customized minibuffer-default-prompt-format would have protested
that
Gregory> this specific prompt does not obey their customization: "Unicode
name
Gregory> or hex, default all" is an explanation about the kind of input
that is
Gregory> expected, like the one we have for C-x 8 RET, which says:
I think Iʼve reached my limit on this issue. Patch away to your
heartʼs content.
Robert
--
- Re: master 513c5d827d: Use `format-prompt' in, (continued)
- Re: master 513c5d827d: Use `format-prompt' in, Eli Zaretskii, 2022/09/03
- RE: [External] : Re: master 513c5d827d: Use `format-prompt' in, Drew Adams, 2022/09/03
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Richard Stallman, 2022/09/05
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Robert Pluim, 2022/09/05
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Eli Zaretskii, 2022/09/05
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Robert Pluim, 2022/09/05
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Eli Zaretskii, 2022/09/05
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Robert Pluim, 2022/09/05
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Eli Zaretskii, 2022/09/05
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Gregory Heytings, 2022/09/05
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in,
Robert Pluim <=
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Richard Stallman, 2022/09/06
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Eli Zaretskii, 2022/09/06
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Richard Stallman, 2022/09/06
- Re: [External] : Re: master 513c5d827d: Use `format-prompt' in, Robert Pluim, 2022/09/07