Subject: Re: bug#76461: 31.0.50; CRM tries to insert candidate in prompt read-only zone

From: Juri Linkov <[email-masked]>
Date: Thu, 27 Feb 2025 20:33:53 +0200

>> This bug happens as well on 30.1, I am closing bug#76520 (useless
>> duplicate).
>> I modified the patch (only commit message)
>
> Seems it is cleaner to write it like this:
>
>     (if (and (re-search-backward crm-separator nil t)
>              ;; Matches end of prompt (:) when sep is ":".
>              (not (field-at-pos (point))))
>         (1+ (point))
>       (minibuffer-prompt-end))
>
> Have a look.

Maybe Dmitry could confirm if this is the right fix
for completing-read-multiple recently fixed in
bug#48356 and bug#76010.