GNU bug report logs - #77966
30.1; Text wrongly displayed with font-lock-warning-face

Previous Next

Package: emacs;

Reported by: Vangelis Evangelou <evangelou <at> gmail.com>

Date: Mon, 21 Apr 2025 17:05:02 UTC

Severity: normal

Tags: notabug

Found in version 30.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vangelis Evangelou <evangelou <at> gmail.com>
Cc: 77966 <at> debbugs.gnu.org
Subject: Re: bug#77966: 30.1;
 Text wrongly displayed with font-lock-warning-face
Date: Mon, 21 Apr 2025 21:32:28 +0300
tags 77966 notabug
thanks

> From: Vangelis Evangelou <evangelou <at> gmail.com>
> Date: Mon, 21 Apr 2025 18:03:35 +0100
> 
> Start emacs with emacs -Q and paste the following text in the scratch buffer
> 
> ;;;; Start copy ;;;;
> (defun test (nil)
>   (test1
>     (test2
>     "") "***"))
> ;;;; End copy ;;;;
> 
> You will see that the last 7 characters of the last line, i.e., "***")) are shown with the wrong face. If you insert
> a new line before those characters, the correct face is shown.

It's a feature, not a bug.  Move your mouse pointer so it's over the
text displayed in warning face, and read what the tooltip says to
understand why Emacs does that.




This bug report was last modified 25 days ago.

Previous Next


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