From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 17 13:33:53 2013 Received: (at submit) by debbugs.gnu.org; 17 Aug 2013 17:33:53 +0000 Received: from localhost ([127.0.0.1]:37111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VAkNs-0008ID-QD for submit@debbugs.gnu.org; Sat, 17 Aug 2013 13:33:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37287) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VAkNq-0008Hy-UV for submit@debbugs.gnu.org; Sat, 17 Aug 2013 13:33:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAkNa-0002Hm-Rf for submit@debbugs.gnu.org; Sat, 17 Aug 2013 13:33:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-100.5 required=5.0 tests=BAYES_05, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAkNa-0002Hi-Or for submit@debbugs.gnu.org; Sat, 17 Aug 2013 13:33:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAkNS-0006VA-6C for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2013 13:33:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAkNJ-0002Fk-Kx for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2013 13:33:26 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:18654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAkNJ-0002Fd-FH for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2013 13:33:17 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r7HHXF65018180 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 17 Aug 2013 17:33:16 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r7HHXFug005769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 17 Aug 2013 17:33:15 GMT Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r7HHXFZ8009283 for ; Sat, 17 Aug 2013 17:33:15 GMT MIME-Version: 1.0 Message-ID: <4e841492-80d7-45a1-b874-afc15d2701c6@default> Date: Sat, 17 Aug 2013 10:33:13 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.3.50; (elisp) `Search-based Fontification': unspecified MATCHER cases X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) The doc string is good in this regard, but the Elisp manual is not. The manual says that an element can be FUNCTION. OK. And it says, for (MATCHER . SUBEXP), that MATCHER can be a function. OK. But it does not say that for all of the other (MATCHER . *) patterns MATCHER can also be a function. In fact, for the others MATCHER is left unspecified. And for (MATCHER . SUBEXP-HIGHLIGHTER) the doc actually refers to a "SUBEXP in MATCHER", which suggests, but does not specify, that MATCHER in this case can be or perhaps even *must be* a REGEXP. Follow the example of the doc string, or state somewhere that MATCHER, in all that follows, can be either a regexp or a function... IOW, make clear just what MATCHER can be, in general or in each of the cases. In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-08-07 on ODIEONE Bzr revision: 113750 lekktu@gmail.com-20130808011911-0jzpc9xuncegg6x9 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs CFLAGS=3D-O0 -g3 LDFLAGS=3D-Lc:/Devel/emacs/lib CPPFLAGS=3D-Ic:/Devel/emacs/include' From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 08 00:07:34 2014 Received: (at 15120) by debbugs.gnu.org; 8 Feb 2014 05:07:34 +0000 Received: from localhost ([127.0.0.1]:56022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WC08b-0000Cn-SQ for submit@debbugs.gnu.org; Sat, 08 Feb 2014 00:07:34 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:36623) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WC08a-0000Ce-2B for 15120@debbugs.gnu.org; Sat, 08 Feb 2014 00:07:32 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WC08L-0005OZ-52; Sat, 08 Feb 2014 06:07:17 +0100 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#15120: 24.3.50; (elisp) `Search-based Fontification': unspecified MATCHER cases References: <4e841492-80d7-45a1-b874-afc15d2701c6@default> Date: Fri, 07 Feb 2014 21:06:09 -0800 In-Reply-To: <4e841492-80d7-45a1-b874-afc15d2701c6@default> (Drew Adams's message of "Sat, 17 Aug 2013 10:33:13 -0700 (PDT)") Message-ID: <87a9e242im.fsf@building.gnus.org> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1WC08L-0005OZ-52 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392440838.11927@069MQBUoH+GN2zToZJnkjw X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15120 Cc: 15120@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Drew Adams writes: > The doc string is good in this regard, but the Elisp manual is not. > > The manual says that an element can be FUNCTION. OK. > > And it says, for (MATCHER . SUBEXP), that MATCHER can be a function. OK. > > But it does not say that for all of the other (MATCHER . *) patterns > MATCHER can also be a function. In fact, for the others MATCHER is left > unspecified. > > And for (MATCHER . SUBEXP-HIGHLIGHTER) the doc actually refers to a > "SUBEXP in MATCHER", which suggests, but does not specify, that MATCHER > in this case can be or perhaps even *must be* a REGEXP. > > Follow the example of the doc string, or state somewhere that MATCHER, > in all that follows, can be either a regexp or a function... > > IOW, make clear just what MATCHER can be, in general or in each of the > cases. I see what you mean, but if you read the page from the start to finish, you see that it explains what all meta-syntactical are once. It says what MATCHER is the first time it talks about it, and then it just describes what each new element is. So I think the page is OK as is. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 08 00:07:38 2014 Received: (at control) by debbugs.gnu.org; 8 Feb 2014 05:07:39 +0000 Received: from localhost ([127.0.0.1]:56025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WC08g-0000D4-Ij for submit@debbugs.gnu.org; Sat, 08 Feb 2014 00:07:38 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:36629) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WC08f-0000Cx-EE for control@debbugs.gnu.org; Sat, 08 Feb 2014 00:07:37 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WC08R-0005Oh-KL for control@debbugs.gnu.org; Sat, 08 Feb 2014 06:07:24 +0100 Date: Fri, 07 Feb 2014 21:06:15 -0800 Message-Id: <878utm42ig.fsf@building.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #15120 X-MailScanner-ID: 1WC08R-0005Oh-KL X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392440844.25613@5/YxUzvB2G2iCjvFZ5JCcA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tags 15120 wontfix close 15120 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 19:03:05 2014 Received: (at 15120) by debbugs.gnu.org; 10 Feb 2014 00:03:05 +0000 Received: from localhost ([127.0.0.1]:32793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCeL2-0002av-SJ for submit@debbugs.gnu.org; Sun, 09 Feb 2014 19:03:05 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:30068) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCeL0-0002aX-FF for 15120@debbugs.gnu.org; Sun, 09 Feb 2014 19:03:04 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1A02xRr031248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 10 Feb 2014 00:03:00 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1A02wlt000131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Feb 2014 00:02:59 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1A02w59000124; Mon, 10 Feb 2014 00:02:58 GMT MIME-Version: 1.0 Message-ID: <4d6326cc-875a-4581-8ed9-c084dffdda08@default> Date: Sun, 9 Feb 2014 16:02:56 -0800 (PST) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#15120: 24.3.50; (elisp) `Search-based Fontification': unspecified MATCHER cases References: <4e841492-80d7-45a1-b874-afc15d2701c6@default> <87a9e242im.fsf@building.gnus.org> In-Reply-To: <87a9e242im.fsf@building.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 15120 Cc: 15120@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) > > The doc string is good in this regard, but the Elisp manual is > > not. > > > > The manual says that an element can be FUNCTION. OK. > > > > And it says, for (MATCHER . SUBEXP), that MATCHER can be a > > function. OK. > > > > But it does not say that for all of the other (MATCHER . *) > > patterns MATCHER can also be a function. In fact, for the others > > MATCHER is left unspecified. > > > > And for (MATCHER . SUBEXP-HIGHLIGHTER) the doc actually refers to > > a "SUBEXP in MATCHER", which suggests, but does not specify, that > > MATCHER in this case can be or perhaps even *must be* a REGEXP. > > > > Follow the example of the doc string, or state somewhere that > > MATCHER, in all that follows, can be either a regexp or a function... > > > > IOW, make clear just what MATCHER can be, in general or in each of > > the cases. >=20 > I see what you mean,=20 No, I don't think you do. > but if you read the page from the start to finish, I certainly did that. Did you? > you see that it explains what all meta-syntactical are once. Not at all. > It says what MATCHER is the first time it talks about it, and then it > just describes what each new element is. So I think the page is OK as > is. You are just not reading. What it says, at the place where you apparently think that it introduces MATCHER for the entire page, is this: "In this kind of element, MATCHER is..." ^^^^^^^^^^^^^^^^^^^^^^^ IN THIS KIND OF ELEMENT! Why on Earth does it say that? It is specifying what MATCHER means in the form `(MATCHER . SUBEXP)', where SUBEXP must be... And by taking the pains to specify explicitly that this applies to this kind of element, the suggestion is that it does NOT necessarily apply to the other kinds of element shown on the page. Otherwise, why say that? That's the point: each of these kinds of "element" is specified separately, and it says so explicitly. If you want to make the current description of MATCHER apply to the whole page, then it needs to be introduced at the outset as applying to the whole page. And the text certainly should NOT then say that the description applies to some particular kind of element. IOW, remove that "In this kind of element...", as well. Again, please _read_ the bug report. Among other things, it says that the doc string gets it right. Use it, if it helps, as your inspiration for actually _fixing_ this bug. From unknown Sun Aug 10 16:45:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Mon, 10 Feb 2014 00:04:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 03:04:45 2014 Received: (at 15120) by debbugs.gnu.org; 10 Feb 2014 08:04:45 +0000 Received: from localhost ([127.0.0.1]:33963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WClrA-0006yX-62 for submit@debbugs.gnu.org; Mon, 10 Feb 2014 03:04:44 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:34650) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WClr4-0006xa-Sa for 15120@debbugs.gnu.org; Mon, 10 Feb 2014 03:04:40 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WClql-0001YF-JX; Mon, 10 Feb 2014 09:04:20 +0100 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#15120: 24.3.50; (elisp) `Search-based Fontification': unspecified MATCHER cases References: <4e841492-80d7-45a1-b874-afc15d2701c6@default> <87a9e242im.fsf@building.gnus.org> <4d6326cc-875a-4581-8ed9-c084dffdda08@default> Date: Mon, 10 Feb 2014 00:03:06 -0800 In-Reply-To: <4d6326cc-875a-4581-8ed9-c084dffdda08@default> (Drew Adams's message of "Sun, 9 Feb 2014 16:02:56 -0800 (PST)") Message-ID: <87wqh3xumd.fsf@building.gnus.org> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1WClql-0001YF-JX X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392624262.02002@34EBkRqORrg5xwW8i2ZFlA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15120 Cc: 15120@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Drew Adams writes: > You are just not reading. > > What it says, at the place where you apparently think that it > introduces MATCHER for the entire page, is this: > > "In this kind of element, MATCHER is..." > ^^^^^^^^^^^^^^^^^^^^^^^ > > IN THIS KIND OF ELEMENT! Why on Earth does it say that? > > It is specifying what MATCHER means in the form `(MATCHER . SUBEXP)', > where SUBEXP must be... And by taking the pains to specify > explicitly that this applies to this kind of element, the > suggestion is that it does NOT necessarily apply to the other > kinds of element shown on the page. Otherwise, why say that? And in the next paragraphs it doesn't define MATCHER, because, well, it's the same. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 03:04:50 2014 Received: (at control) by debbugs.gnu.org; 10 Feb 2014 08:04:50 +0000 Received: from localhost ([127.0.0.1]:33966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WClrF-0006z8-5E for submit@debbugs.gnu.org; Mon, 10 Feb 2014 03:04:49 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:34660) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WClrA-0006yZ-Qv for control@debbugs.gnu.org; Mon, 10 Feb 2014 03:04:45 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WClqr-0001Yd-RY for control@debbugs.gnu.org; Mon, 10 Feb 2014 09:04:26 +0100 Date: Mon, 10 Feb 2014 00:03:12 -0800 Message-Id: <87vbwnxum7.fsf@building.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #15120 X-MailScanner-ID: 1WClqr-0001Yd-RY X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392624268.06874@21dCOY+g7I+bbmHxcCoJwg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) close 15120 From unknown Sun Aug 10 16:45:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 10 Mar 2014 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator