GNU bug report logs - #76461
31.0.50; CRM tries to insert candidate in prompt read-only zone

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thievol <at> posteo.net>

Date: Fri, 21 Feb 2025 08:08:02 UTC

Severity: normal

Tags: patch

Found in version 31.0.50

Fixed in version 30.2

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Thierry Volpiatto <thievol <at> posteo.net>
Cc: Dmitry Gutov <dmitry <at> gutov.dev>, 76461 <at> debbugs.gnu.org
Subject: bug#76461: 31.0.50; CRM tries to insert candidate in prompt read-only zone
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.




This bug report was last modified 160 days ago.

Previous Next


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