GNU bug report logs - #39098
26.3; bug of mouse-face including linebreak

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Sun, 12 Jan 2020 13:33:02 UTC

Severity: normal

Tags: notabug

Found in version 26.3

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 39098 <at> debbugs.gnu.org (full text, mbox):

From: ynyaaa <at> gmail.com
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 39098 <at> debbugs.gnu.org
Subject: Re: bug#39098: 26.3; bug of mouse-face including linebreak
Date: Mon, 13 Jan 2020 23:44:51 +0900
Eli Zaretskii <eliz <at> gnu.org> writes:

> On January 13, 2020 8:53:07 AM GMT+02:00, ynyaaa <at> gmail.com wrote:
>> 
>> Why is the out-of-range character highlighted only if it is at the
>> beginning of line?
>
> Because you've covered the newline with mouse-face.  Newlines leave no
> glyphs on display, so the next character gets highlighted instead.  If
> you don't want this, exclude the newline from the mouse-face
> propertized part, it is unnecessary anyway, because a newline can
> never be "mouse-sensitive".

Conversely, is there any way to disable 'mouse-face hilighting at blank
areas when the region contains more than two lines?
Just like 'underline face does not draw line to the right edge.




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

Previous Next


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