GNU bug report logs - #41957
27.0.91; overlay-put freeze with auto-composition-mode ligatures

Previous Next

Package: emacs;

Reported by: "James N. V. Cash" <james.nvc <at> gmail.com>

Date: Fri, 19 Jun 2020 22:00:02 UTC

Severity: normal

Found in version 27.0.91

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 41957-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "James N. V. Cash" <james.nvc <at> gmail.com>
Cc: 41957-done <at> debbugs.gnu.org
Subject: Re: bug#41957: 27.0.91;
 overlay-put freeze with auto-composition-mode ligatures
Date: Sat, 20 Jun 2020 09:52:38 +0300
> From: "James N. V. Cash" <james.nvc <at> gmail.com>
> Date: Fri, 19 Jun 2020 17:05:30 -0400
> 
> It seems that when putting the after-string property to an overlay, if
> auto-composition-mode is enabled and the string contains a ligature,
> Emacs freezes in overlay-put.
> 
> The below code freezes when starting with emacs -Q:
> 
> 
>     (auto-composition-mode)
>     (set-char-table-range composition-function-table ?= `(["=>" 0 compose-gstring-for-graphic]))
>     (let ((o (make-overlay (point-min) (+ (point-min) 3) (current-buffer))))
>       (overlay-put o 'after-string "=>"))

Thanks, this is a known bug that is already fixed on the master
branch, and will be available in Emacs 28.




This bug report was last modified 5 years and 54 days ago.

Previous Next


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