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

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

bug#39820: wrong face is assigned to comment delimiter in lisp-mode


From: chuntaro
Subject: bug#39820: wrong face is assigned to comment delimiter in lisp-mode
Date: Fri, 28 Feb 2020 19:26:58 +0900
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

Start emacs -Q and evaluate the following with *scratch*.

(set-face-foreground 'font-lock-comment-face "green")
(set-face-foreground 'font-lock-comment-delimiter-face "red")

Open `foo.lisp' with C-x C-f and enter as follows.

#|
comment
|#

As a result, the correct face is not assigned to the closing delimiter.

#|      <- font-lock-comment-delimiter-face
comment <- font-lock-comment-face
|#      <- font-lock-comment-face <- Wrong face

Occurs in Emacs 25.2, 26.1 and 27.0.60.

Normally, both colors are the same, so no one may have noticed until now.
I noticed recently because I was using a zenburn theme with slightly
different colors.

-- 
chuntaro

Attachment: bug.png
Description: PNG image


reply via email to

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