GNU bug report logs -
#489
Mouse highlighting bug
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 21 Jun 2009 22:03:37 -0400
with message-id <87prcxdnye.fsf <at> stupidchicken.com>
and subject line Re: Mouse highlighting bug
has caused the Emacs bug report #489,
regarding Mouse highlighting bug
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)
--
489: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=489
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
There seems to be a bug is how mouse-face highlighting handles extending
faces to the end of the line:
(global-set-key [f1]
(lambda () (interactive)
(switch-to-buffer "asdf")
(erase-buffer)
(insert "123456\n890")
(put-text-property 4 9 'mouse-face 'highlight)
(put-text-property 4 9 'face (list :underline t))))
Put the mouse over the region with mouse-highlight, then remove it.
Result: the space after the first line becomes underlined.
[Message part 3 (message/rfc822, inline)]
> (global-set-key [f1]
> (lambda () (interactive)
> (switch-to-buffer "asdf")
> (erase-buffer)
> (insert "123456\n890")
> (put-text-property 4 9 'mouse-face 'highlight)
> (put-text-property 4 9 'face (list :underline t))))
>
> Put the mouse over the region with mouse-highlight, then remove it.
> Result: the space after the first line becomes underlined.
I've checked a fix for this into the trunk, which involves changing
x_draw_glyph_string so that the underline (and overline) is not extended
into the end-of-line padding. This is similar to the behavior of
strike-through.
This bug report was last modified 15 years and 245 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.