From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#35005: 27.0.50; Fontification unexpectedly works with anonymous faces Date: Sat, 09 Nov 2019 16:10:58 -0500 Message-ID: References: <83r2arj7rv.fsf@gnu.org> <87o8xw6d61.fsf@gnus.org> <871rur4u4j.fsf@gnus.org> <87sgn6abjw.fsf@metalevel.at> <87mudee2pk.fsf@gnus.org> <87y2wpndxs.fsf@metalevel.at> <87tv7czulh.fsf@gnus.org> <87imnszrsx.fsf@metalevel.at> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="23298"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 35005@debbugs.gnu.org, emacs-devel@gnu.org To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 09 22:12:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iTY1k-0005uY-89 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 22:12:12 +0100 Original-Received: from localhost ([::1]:39868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTY1j-0003sI-0u for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 16:12:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52570) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTY1b-0003q8-R1 for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 16:12:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTY1a-0002hB-Q4 for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 16:12:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTY1a-0002ge-Ni for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 16:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTY1a-0006Xk-Gv for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 16:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2019 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35005 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 35005-submit@debbugs.gnu.org id=B35005.157333387225047 (code B ref 35005); Sat, 09 Nov 2019 21:12:02 +0000 Original-Received: (at 35005) by debbugs.gnu.org; 9 Nov 2019 21:11:12 +0000 Original-Received: from localhost ([127.0.0.1]:50353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTY0m-0006Vu-3v for submit@debbugs.gnu.org; Sat, 09 Nov 2019 16:11:12 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:50542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTY0k-0006Vd-BH for 35005@debbugs.gnu.org; Sat, 09 Nov 2019 16:11:10 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id F345C449A6B; Sat, 9 Nov 2019 16:11:04 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C06AD449A51; Sat, 9 Nov 2019 16:10:59 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1573333859; bh=rFXaP7nOVIbq83EERK1RX8yve7hB9K936Fjbm47v1Dk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=VeigqjMUBqvg3WRKoWqvTh7wXAOGVdBs8XwI+2Acwwcd+5d8Fu+9sxN5vON7rnsJu YmxP9li8/xBJG55c8icXuxMYw/F05R0O4tViax1oBDkF9j0kAqWLZCqEf49O9h+ae7 aecfs2RRhHszOhSrYVnZwM+I+Yyhh8Q90ICzupulkBmww9DBpQZQpGq0NDpdxKXxqc DVksxuatF8gpEJRNO3R5ZHYqMpNuTWpM7kplakIGCrWPNf/BL1VnpGgXdpq9uxwp95 OkDgN5u0ngkPDa3umFLTggYf/mQ7CoJgSwoKThzlusFA4/hfo1t27HLRZnRwArWMdi 23zSz1/vGCj6Q== Original-Received: from pastel (unknown [216.154.47.134]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 827F7120F1E; Sat, 9 Nov 2019 16:10:59 -0500 (EST) In-Reply-To: <87imnszrsx.fsf@metalevel.at> (Markus Triska's message of "Sat, 09 Nov 2019 22:02:54 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171358 Archived-At: > 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