GNU bug report logs -
#35005
27.0.50; Fontification unexpectedly works with anonymous faces
Previous Next
Reported by: Markus Triska <triska <at> metalevel.at>
Date: Tue, 26 Mar 2019 16:36:01 UTC
Severity: normal
Tags: fixed
Found in version 27.0.50
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Date: Sat, 09 Nov 2019 16:10:58 -0500
> Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 35005 <at> debbugs.gnu.org,
> emacs-devel <at> gnu.org
>
> > Therefore, the description now still does not make clear that anonymous
> > faces can be used here.
>
> Maybe we should simply better document the general rules about where
> anonymous faces can usually be used and where they usually can't be used
> (AFAICT they can be used where they affect the redisplay (e.g. in the
> `face` and `font-lock-face` properties) but they can't be passed to face
> manipulation functions like `set-face-attributes` and `describe-face`).
> Their usage in font-lock is a natural consequence of those general
> rules and doesn't merit extra discussion in the font-lock-keywords
> doc which is already complex enough IMO.
If someone knows enough to write a documentation patch about this,
please feel free, and TIA.
This bug report was last modified 5 years and 188 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.