unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Markus Triska <triska@metalevel.at>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	35005@debbugs.gnu.org, emacs-devel@gnu.org
Subject: bug#35005: 27.0.50; Fontification unexpectedly works with anonymous faces
Date: Sat, 09 Nov 2019 16:10:58 -0500	[thread overview]
Message-ID: <jwvd0e0u5f7.fsf-monnier+emacs__12604.8844352894$1573333940$gmane$org@gnu.org> (raw)
In-Reply-To: <87imnszrsx.fsf@metalevel.at> (Markus Triska's message of "Sat, 09 Nov 2019 22:02:54 +0100")

> 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.


        Stefan






  parent reply	other threads:[~2019-11-09 21:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-26 16:37 bug#35005: 27.0.50; Fontification unexpectedly works with anonymous faces Markus Triska
2019-03-28 16:14 ` Eli Zaretskii
2019-10-31 17:24   ` Lars Ingebrigtsen
2019-10-31 20:38     ` Stefan Monnier
2019-11-01 13:13       ` Lars Ingebrigtsen
     [not found]       ` <871rur4u4j.fsf@gnus.org>
2019-11-02  9:10         ` Markus Triska
     [not found]         ` <87sgn6abjw.fsf@metalevel.at>
2019-11-02 15:07           ` Lars Ingebrigtsen
     [not found]           ` <87mudee2pk.fsf@gnus.org>
2019-11-09 17:43             ` Markus Triska
     [not found]             ` <87y2wpndxs.fsf@metalevel.at>
2019-11-09 18:01               ` Stefan Monnier
     [not found]               ` <jwva795ue1u.fsf-monnier+emacs@gnu.org>
2019-11-09 20:02                 ` Lars Ingebrigtsen
     [not found]                 ` <87tv7czulh.fsf@gnus.org>
2019-11-09 21:02                   ` Markus Triska
     [not found]                   ` <87imnszrsx.fsf@metalevel.at>
2019-11-09 21:10                     ` Stefan Monnier [this message]
2019-11-10  1:52                     ` Drew Adams
     [not found]                     ` <jwvd0e0u5f7.fsf-monnier+emacs@gnu.org>
2019-11-09 21:29                       ` Markus Triska
2019-11-14  9:00                       ` Eli Zaretskii
2019-10-31 21:09     ` Markus Triska

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jwvd0e0u5f7.fsf-monnier+emacs__12604.8844352894$1573333940$gmane$org@gnu.org' \
    --to=monnier@iro.umontreal.ca \
    --cc=35005@debbugs.gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=triska@metalevel.at \
    /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 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).