GNU bug report logs - #10464
24.0.92; mouse highlight regression

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> gnu.org>

Date: Mon, 9 Jan 2012 10:18:01 UTC

Severity: normal

Found in version 24.0.92

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 10464 <at> debbugs.gnu.org
Subject: bug#10464: 24.0.92; mouse highlight regression
Date: Mon, 09 Jan 2012 22:48:26 +0200
> From: Chong Yidong <cyd <at> gnu.org>
> Date: Mon, 09 Jan 2012 18:16:38 +0800
> 
> With latest trunk, the (non-automated) redisplay testsuite is failing in
> Test 2.  Here is a simplified recipe:
> 
> emacs -Q
> 
> Insert the following:
> 
>   (let ((opoint (point))
> 	overlay)
>     (insert "XXX")
>     (setq overlay (make-overlay opoint (point)))
>     (overlay-put overlay 'display "XXX")
>     (overlay-put overlay 'mouse-face 'highlight))
> 
> M-x eval-buffer RET
> Move the mouse over the XXX that was inserted.
> 
> Result: multiple lines are highlighted, from the end of the first buffer
> line to the end of the display string.
> 
> Expected result (works in Emacs 23): only the XXX is highlighted.

I think I fixed this (trunk revision 106827), but please test,
including any variations on this theme you can come up with.  The
bidi-aware mouse highlight is tricky business, especially when display
strings are involved.




This bug report was last modified 13 years and 190 days ago.

Previous Next


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