GNU bug report logs - #13917
24.3.50; Elisp manual: Font Lock Mode

Previous Next

Package: emacs;

Reported by: Joost Kremers <joost.kremers <at> phil.uni-goettingen.de>

Date: Sun, 10 Mar 2013 18:26:02 UTC

Severity: minor

Found in version 24.3.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 13917 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Joost Kremers <joost.kremers <at> phil.uni-goettingen.de>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 13917 <at> debbugs.gnu.org
Subject: Re: bug#13917: 24.3.50; Elisp manual: Font Lock Mode
Date: Mon, 31 May 2021 08:40:42 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>> However, a font lock entry of the type
>>
>> ,----
>> | (MATCHER . (face FACE PROP1 VAL1 PROP1 VAL2))
>> `----
>>
>> does not actually work. What works is any of the forms:
>>
>> ,----
>> | (MATCHER . (0 (face FACE PROP1 VAL1 PROP1 VAL2)))
>> | (MATCHER 0 (face FACE PROP1 VAL1 PROP1 VAL2))
>> | (MATCHER (0 (face FACE PROP1 VAL1 PROP1 VAL2)))
>> `----
>>
>> (Where the first two are of course equivalent).
>
> Hm...  is this a bug in the documentation or the code, though?  It seems
> like it would be logical for the described syntax to work, doesn't it?

Perhaps Stefan as an opinion; added to the CCs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.