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.devel Subject: Re: bug#35005: 27.0.50; Fontification unexpectedly works with anonymous faces Date: Sat, 09 Nov 2019 13:01:05 -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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="63063"; 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: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 09 19:01:46 2019 Return-path: Envelope-to: ged-emacs-devel@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 1iTV3R-000GG6-92 for ged-emacs-devel@m.gmane.org; Sat, 09 Nov 2019 19:01:45 +0100 Original-Received: from localhost ([::1]:39062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTV3P-0007v3-Ub for ged-emacs-devel@m.gmane.org; Sat, 09 Nov 2019 13:01:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36352) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTV2v-0007ud-9O for emacs-devel@gnu.org; Sat, 09 Nov 2019 13:01:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTV2t-0007Qd-SH for emacs-devel@gnu.org; Sat, 09 Nov 2019 13:01:12 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:65169) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iTV2t-0007Pk-Iu for emacs-devel@gnu.org; Sat, 09 Nov 2019 13:01:11 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 89758449A5F; Sat, 9 Nov 2019 13:01:10 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 4E2A14499E3; Sat, 9 Nov 2019 13:01:09 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1573322469; bh=NA8cE3pGrHsS9a9JPwg46V3SuAhSPxlfNSj4yUVW69s=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=fT9u4obk8tHUlknxjNiBHTPO3I7WoBOeQgi22DiFj0f/AI1CyGeYElJh3LwKVINly DIDd6pn3t0PZZijl57BUexFc+qN/VmyrDU7ficAZzFh9GTP3fj3YN23vwxOkhE0hRR QeQqmTGNKesz8cEsf7K/9UYQZRfOyRfoAulujTWccSY+cbMWHy5xmuNGDQpfNrQGwd XGu7ChRLzlsxJiWoYSUSAdmNrZBL6xYIqcs1+g3Lz1de3iji/VHPPD6lkqrWVdpckY qB5uGlA+Lc1fmS7C9LpZMkS8A/muxl7NzsC6AphGNNQ72SL7pMHzJhZ2KZcjdVHLYQ GPHeDaCc6YCZQ== Original-Received: from pastel (unknown [216.154.47.134]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DD5F01210DA; Sat, 9 Nov 2019 13:01:08 -0500 (EST) In-Reply-To: <87y2wpndxs.fsf@metalevel.at> (Markus Triska's message of "Sat, 09 Nov 2019 18:43:11 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242050 Archived-At: > FACENAME is an expression whose value is the face name to use. > Instead of a face, FACENAME can evaluate to a property list of > the form (face FACE PROP1 VAL1 PROP2 VAL2 ...) in which case all > the listed text-properties will be set rather than just FACE. > > This currently states that a face name is expected. > > Since the Elisp documentation also states: "Unless otherwise stated, we > will use the term =E2=80=9Cface=E2=80=9D to refer only to named faces.", = the notion of > "face" in the description above also does not include anonymous faces. > > Would it work to mention that "face FACE" can also be omitted, i.e., > that an anonymous face can also be specified here? No, the `face FACE` *cannot* be omitted: the `face' symbol in the car is tested to distinguish this case. Note also that the `PROP1 VAL1 ...` are *not* face properties, they are *text* properties. The above docstring should probably replace "face name" by "face" but other than that it looks about right. Stefan