unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39820: wrong face is assigned to comment delimiter in lisp-mode
@ 2020-02-28 10:26 chuntaro
  2021-01-29  6:41 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: chuntaro @ 2020-02-28 10:26 UTC (permalink / raw)
  To: 39820

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

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 #2: bug.png --]
[-- Type: image/png, Size: 89947 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-02  9:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-28 10:26 bug#39820: wrong face is assigned to comment delimiter in lisp-mode chuntaro
2021-01-29  6:41 ` Lars Ingebrigtsen
2021-01-31  6:59   ` Lars Ingebrigtsen
     [not found]     ` <86h7munbxs.fsf@sakura-games.jp>
2021-02-02  9:19       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).