GNU bug report logs -
#10464
24.0.92; mouse highlight regression
Previous Next
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
[Message part 1 (text/plain, inline)]
Your message dated Wed, 11 Jan 2012 21:47:26 +0200
with message-id <831ur6dnsh.fsf <at> gnu.org>
and subject line Re: bug#10464: 24.0.92; mouse highlight regression
has caused the debbugs.gnu.org bug report #10464,
regarding 24.0.92; mouse highlight regression
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
10464: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10464
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.
In GNU Emacs 24.0.92.9 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0)
of 2012-01-09 on furball
Windowing system distributor `The X.Org Foundation', version 11.0.11004000
configured using `configure '--with-x-toolkit=gtk3' 'CFLAGS=-g''
[Message part 3 (message/rfc822, inline)]
> From: Chong Yidong <cyd <at> gnu.org>
> Cc: 10464 <at> debbugs.gnu.org
> Date: Tue, 10 Jan 2012 12:21:10 +0800
>
> Thanks for the very quick fix.
>
> This specific case is indeed fixed, but there is still a failing corner
> case in the redisplay testsuite. Load test/redisplay-testsuite.el, do
> M-x test-redisplay, and go to the very last case in Test 2.
>
> When the mouse is over the XXX, the highlight only extends to the end of
> the text, whereas it's expected to go to the end of the line. This is
> the case where there's an overlay with "XXX\n" as the display string and
> a mouse face.
Fixed (trunk revision 106848).
This bug report was last modified 13 years and 191 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.