Subject: bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy)

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 11 Sep 2020 14:53:14 +0200

Andrii Kolomoiets <[email-masked]> writes:

> Is it possible that changes related to this bug leads to broken
> minibuffer-electric-default-mode?
>
> 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no