bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsi


From: Andrii Kolomoiets
Subject: bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy)
Date: Mon, 14 Sep 2020 11:40:59 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Andrii Kolomoiets <andreyk.mad@gmail.com> writes:
>
>> Code to evaluate:
>>
>>     (custom-set-variables
>>      '(minibuffer-eldef-shorten-default t))
>>     (minibuffer-electric-default-mode)
>>     (read-string "prompt (default foo): ")
>>
>> In Emacs 27 prompt looks like "prompt [foo]: ". After input "z" prompt
>> will looks like "prompt: z".
>>
>> In Emacs 28 prompt looks like "prompt (default foo): ". And after input
>> "z" prompt will looks like "promptz".
>
> Yup -- it was 19bff57f609854f257780f20043e96fb2eddc713 that included the
> ": " bit in the portion to be replaced.  This should now be fixed on the
> trunk.

Indeed. Thanks!

But the 'minibuffer-eldef-shorten-default' variable is still ignored.  The
"(default ...)" part of the prompt is not shortened to "[...]".





reply via email to

[Prev in Thread] Current Thread [Next in Thread]