From: chuntaro@sakura-games.jp
To: 39820@debbugs.gnu.org
Subject: bug#39820: wrong face is assigned to comment delimiter in lisp-mode
Date: Fri, 28 Feb 2020 19:26:58 +0900 [thread overview]
Message-ID: <7c57c5bb-168e-b946-8d47-3ad823e4ea06@sakura-games.jp> (raw)
[-- 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 --]
next reply other threads:[~2020-02-28 10:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-28 10:26 chuntaro [this message]
2021-01-29 6:41 ` bug#39820: wrong face is assigned to comment delimiter in lisp-mode Lars Ingebrigtsen
2021-01-31 6:59 ` Lars Ingebrigtsen
[not found] ` <86h7munbxs.fsf@sakura-games.jp>
2021-02-02 9:19 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7c57c5bb-168e-b946-8d47-3ad823e4ea06@sakura-games.jp \
--to=chuntaro@sakura-games.jp \
--cc=39820@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.