From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#13917: 24.3.50; Elisp manual: Font Lock Mode Date: Mon, 31 May 2021 08:52:53 -0400 Message-ID: References: <87txojjjkq.fsf@phil.uni-goettingen.de> <877e4jy244.fsf@gnus.org> <875yyzjthx.fsf@gnus.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24550"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 13917@debbugs.gnu.org, Joost Kremers To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 31 14:54:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnhQq-00069c-PJ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 14:54:12 +0200 Original-Received: from localhost ([::1]:34234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnhQp-0003TH-2m for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 08:54:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnhQg-0003Qs-Gm for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 08:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnhQg-0001n8-9E for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 08:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnhQg-0007dX-7Q for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 08:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 May 2021 12:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13917 X-GNU-PR-Package: emacs Original-Received: via spool by 13917-submit@debbugs.gnu.org id=B13917.162246558629290 (code B ref 13917); Mon, 31 May 2021 12:54:02 +0000 Original-Received: (at 13917) by debbugs.gnu.org; 31 May 2021 12:53:06 +0000 Original-Received: from localhost ([127.0.0.1]:32959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnhPm-0007cM-55 for submit@debbugs.gnu.org; Mon, 31 May 2021 08:53:06 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:13982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnhPh-0007bp-PG for 13917@debbugs.gnu.org; Mon, 31 May 2021 08:53:04 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 1AB33100201; Mon, 31 May 2021 08:52:56 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id AC97D100006; Mon, 31 May 2021 08:52:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1622465574; bh=k8nGBhk5bWZnkYMlyI9HlPcCd7hucJNYxifEkQpiE8M=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=fjqVNYlIuI3WNkJrePA+HWlrtKxu0vzcLxi0fabV+TTUoMFhmYYanvTb1FJf4IcQx nI1RoFPph3MPZp69H2rPunPxNfyrW7c9jjNPNOr0cEYMPOvqnA3QYE7gytPWW53zHZ gYUcRWrWeVLuZ/KbmrHx3VSfX6FKb83+hhrAPefaHQcDn/x2aNyiAITPaMf2wTtCdg x/lREp4OXFiOIn9ZXloDjhzIdJby5gOqcmkOfdH/hV6G78sWODbRaeGkbE/cH57b5Z 3Kpq+ZcFOMUG3gWT9KRhJZ6a42IlJo4j4jr+ChF82/2mk6K3wOyQIu/AAl/Rj2CSCQ XzRiQIUBFRX7g== Original-Received: from alfajor (69-196-163-239.dsl.teksavvy.com [69.196.163.239]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7855D120E84; Mon, 31 May 2021 08:52:54 -0400 (EDT) In-Reply-To: <875yyzjthx.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 31 May 2021 08:40:42 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207697 Archived-At: Lars Ingebrigtsen [2021-05-31 08:40:42] wrote: > Lars Ingebrigtsen 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. I don't know if there might be some conflict with existing syntax. Personally I dislike this support for those different syntaxes, it just makes the doc and the code more complex without any clear benefit. Stefan