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

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

bug#50041: Add font-lock-doc-markup-face


From: Mattias Engdegård
Subject: bug#50041: Add font-lock-doc-markup-face
Date: Fri, 13 Aug 2021 16:08:59 +0200

13 aug. 2021 kl. 15.08 skrev Eli Zaretskii <eliz@gnu.org>:

> Which one of these justifies having these faces in font-lock.el, as
> opposed in markdown mode itself, or in rst.el?

All of them -- it's not primarily intended for editing whole texts in those 
formats (and modes) but for doc comments specific to each programming language. 
Fontifying those is done by the respective language mode, such as haskell-mode 
or java-mode.

Sorry if I was unclear on that point. I've made the NEWS entry a bit less 
ambiguous.

>  It is unusual to have
> mode-specific faces in a general-purpose Lisp file, let alone a
> preloaded one.

The face is not mode-specific. It's like font-lock-doc-face.


13 aug. 2021 kl. 14.15 skrev Lars Ingebrigtsen <larsi@gnus.org>:

> Should have a :version.

Yes it should, thank you! Added.

Revised patch attached.

Attachment: 0001-Add-font-lock-doc-markup-face-bug-50041.patch
Description: Binary data


reply via email to

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