From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Fwd: Flymake and the 'face' property Date: Tue, 29 Jan 2019 21:17:54 +0200 Message-ID: <837een2rz1.fsf@gnu.org> References: <20190128152540.6870.46132@vcs0.savannah.gnu.org> <20190128152541.12A4D20B50@vcs0.savannah.gnu.org> <30bm401x64.fsf@fencepost.gnu.org> <83r2cw35jq.fsf@gnu.org> <83munk33gj.fsf@gnu.org> <83h8dr2yll.fsf@gnu.org> <83bm3z2vyv.fsf@gnu.org> <87munj2tzz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="105274"; mail-complaints-to="usenet@blaine.gmane.org" Cc: joaotavora@gmail.com, emacs-devel@gnu.org To: Johan =?iso-8859-1?Q?Bockg=E5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 29 20:18:27 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goYtu-000RIH-RY for ged-emacs-devel@m.gmane.org; Tue, 29 Jan 2019 20:18:26 +0100 Original-Received: from localhost ([127.0.0.1]:54278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goYtt-0005ua-GF for ged-emacs-devel@m.gmane.org; Tue, 29 Jan 2019 14:18:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goYtb-0005to-TE for emacs-devel@gnu.org; Tue, 29 Jan 2019 14:18:08 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goYtb-00083b-G0; Tue, 29 Jan 2019 14:18:07 -0500 Original-Received: from [176.228.60.248] (port=3677 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1goYta-0000l6-Qr; Tue, 29 Jan 2019 14:18:07 -0500 In-reply-to: <87munj2tzz.fsf@gnu.org> (message from Johan =?iso-8859-1?Q?B?= =?iso-8859-1?Q?ockg=E5rd?= on Tue, 29 Jan 2019 19:34:08 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:232805 Archived-At: > From: Johan Bockgård > Cc: João Távora , > emacs-devel@gnu.org > Date: Tue, 29 Jan 2019 19:34:08 +0100 > > > A 'face' property is documented for general use only for text, not for > > symbol plists. > > The `category' feature for text/overlays uses symbol plists to define > its default properties. `face' is probably one the more common > properties to use in a category. Let's see... > > > ...a few minutes later, I find this in rng-valid.el: > > > (defface rng-error '((t (:inherit font-lock-warning-face))) > [...] > (overlay-put overlay 'category 'rng-error) > [...] > (put 'rng-error 'face 'rng-error) I don't see how this contradicts what I said. Do you?