GNU bug report logs -
#36647
26.1; Please align examples of search-based fontification with recommendations
Previous Next
Reported by: Markus Triska <triska <at> metalevel.at>
Date: Sun, 14 Jul 2019 09:11:01 UTC
Severity: wishlist
Tags: notabug
Found in version 26.1
Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
In 39.12.2 Defining Faces, the documentation of defface includes the text:
"You should not quote the symbol FACE, and
it should not end in ‘-face’ (that would be redundant)."
Yet, 23.6.2 Search-based Fontification repeatedly mentions fubar-face as
example face, and its name does end in -face:
;; Highlight occurrences of ‘fubar’,
;; using the face which is the value of ‘fubar-face’.
("fubar" . fubar-face)
The docstring of font-lock-keywords also repeatedly mentions fubar-face
as example:
(\"fubar\" . fubar-face)
Occurrences of \"fubar\" in the value of `fubar-face'.
To ensure exemplary face names and internal consistency of the manual,
it seems appropriate to change the example face names to names that are
in alignment with the manual's recommendations.
For instance, the cited examples could maybe be changed, respectively, to
;; Highlight occurrences of ‘fubar’,
;; using the face which is the value of ‘fubar’.
("fubar" . fubar)
and:
(\"fubar\" . fubar)
Occurrences of \"fubar\" in the value of the face `fubar'.
to follow the recommendations?
Thank you and all the best,
Markus
In GNU Emacs 26.1 (build 1, x86_64-apple-darwin15.3.0, X toolkit, Xaw scroll bars)
of 2018-09-22 built on laptop
Windowing system distributor 'The X.Org Foundation', version 11.0.11502000
This bug report was last modified 6 years and 39 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.