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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: ynyaaa <at> gmail.com
Cc: 39098 <at> debbugs.gnu.org
Subject: bug#39098: 26.3; bug of mouse-face including linebreak
Date: Mon, 13 Jan 2020 10:01:49 +0200
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".




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.