bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#489: marked as done (Mouse highlighting bug)


From: Emacs bug Tracking System
Subject: bug#489: marked as done (Mouse highlighting bug)
Date: Mon, 22 Jun 2009 02:05:12 +0000

Your message dated Sun, 21 Jun 2009 22:03:37 -0400
with message-id <address@hidden>
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 address@hidden
immediately.)


-- 
489: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=489
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Mouse highlighting bug Date: Thu, 26 Jun 2008 17:39:02 -0400
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.



--- End Message ---
--- Begin Message --- Subject: Re: Mouse highlighting bug Date: Sun, 21 Jun 2009 22:03:37 -0400
> (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.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]