From unknown Mon Aug 18 14:20:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17730 <17730@debbugs.gnu.org> To: bug#17730 <17730@debbugs.gnu.org> Subject: Status: 24.4.50; (elisp) `Syntactic Font Lock': undescribed OTHER-VARS Reply-To: bug#17730 <17730@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:20:10 +0000 retitle 17730 24.4.50; (elisp) `Syntactic Font Lock': undescribed OTHER-VARS reassign 17730 emacs submitter 17730 Drew Adams severity 17730 minor tag 17730 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 08 00:24:21 2014 Received: (at submit) by debbugs.gnu.org; 8 Jun 2014 04:24:21 +0000 Received: from localhost ([127.0.0.1]:40865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WtUea-0002Tv-Jx for submit@debbugs.gnu.org; Sun, 08 Jun 2014 00:24:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54318) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WtUeY-0002Te-QS for submit@debbugs.gnu.org; Sun, 08 Jun 2014 00:24:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtUeJ-0005cM-EB for submit@debbugs.gnu.org; Sun, 08 Jun 2014 00:24:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtUeJ-0005c9-B2 for submit@debbugs.gnu.org; Sun, 08 Jun 2014 00:24:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtUeA-0004v5-AN for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2014 00:24:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtUe1-0005Vj-Jd for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2014 00:23:54 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:35404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtUe1-0005Vc-D9 for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2014 00:23:45 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s584NfhP009136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 8 Jun 2014 04:23:42 GMT Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s584Neci027286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 8 Jun 2014 04:23:41 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s584NcHr014693 for ; Sun, 8 Jun 2014 04:23:39 GMT MIME-Version: 1.0 Message-ID: <7823b16e-d906-47b3-a05f-c094aa795555@default> Date: Sat, 7 Jun 2014 21:23:41 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.4.50; (elisp) `Syntactic Font Lock': undescribed OTHER-VARS X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] 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: -4.0 (----) 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: -4.0 (----) The doc refers to "an OTHER-VARS element in `font-lock-defaults': Variable: font-lock-syntactic-face-function If this variable is non-`nil', it should be a function to determine which face to use for a given syntactic element (a string or a comment). The value is normally set through an OTHER-VARS element in `font-lock-defaults'. Incomprehensible. There is no "an OTHER-VARS element" described anywhere in the doc of `font-lock-defaults' or in the link in the next paragraph (node `Faces for Font Lock'). And there is no "OTHER-VARS" anywhere in the Emacs Lisp code, other than a presumably unrelated (and just as undescribed) occurrence in pcase.el. In GNU Emacs 24.4.50.1 (i686-pc-mingw32) of 2014-06-01 on ODIEONE Bzr revision: 117212 michael.albinus@gmx.de-20140601104945-g88x0mwrxorz302h Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/snapshot/trunk --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib 'CPPFLAGS=3D-DGC_MCHECK=3D1 -Ic:/Devel/emacs/include'' From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 29 16:41:49 2016 Received: (at 17730) by debbugs.gnu.org; 29 Apr 2016 20:41:49 +0000 Received: from localhost ([127.0.0.1]:55952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awFES-0005lH-Vs for submit@debbugs.gnu.org; Fri, 29 Apr 2016 16:41:49 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:50541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awFER-0005l9-Ct for 17730@debbugs.gnu.org; Fri, 29 Apr 2016 16:41:47 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awFEO-0002cu-LT; Fri, 29 Apr 2016 22:41:46 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#17730: 24.4.50; (elisp) `Syntactic Font Lock': undescribed OTHER-VARS References: <7823b16e-d906-47b3-a05f-c094aa795555@default> Date: Fri, 29 Apr 2016 22:41:44 +0200 In-Reply-To: <7823b16e-d906-47b3-a05f-c094aa795555@default> (Drew Adams's message of "Sat, 7 Jun 2014 21:23:41 -0700 (PDT)") Message-ID: <87fuu4p2pj.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17730 Cc: 17730@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 refers to "an OTHER-VARS element in `font-lock-defaults': > > Variable: font-lock-syntactic-face-function > If this variable is non-`nil', it should be a function to determine > which face to use for a given syntactic element (a string or a > comment). The value is normally set through an OTHER-VARS element > in `font-lock-defaults'. > > Incomprehensible. There is no "an OTHER-VARS element" described > anywhere in the doc of `font-lock-defaults' or in the link in the next > paragraph (node `Faces for Font Lock'). After looking through font-core.el for several seconds, I don't have any idea, either, what this is supposed to mean. This is the full text: The previous version was: -Specify this variable using @var{other-vars} in @code{font-lock-defaults}. and -Major modes normally set this variable with @var{other-vars} in -@code{font-lock-defaults}. but vc-region-history on the doc string of that variable seems to say that it has never talked about "other-vars". Anybody want to take a guess at what this is supposed to mean? -- Variable: font-lock-syntactic-face-function If this variable is non-=91nil=92, it should be a function to determine which face to use for a given syntactic element (a string or a comment). The value is normally set through an OTHER-VARS element in =91font-lock-defaults=92. The function is called with one argument, the parse state at point returned by =91parse-partial-sexp=92, and should return a face. The default value returns =91font-lock-comment-face=92 for comments and =91font-lock-string-face=92 for strings (*note Faces for Font Lock::). --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 30 19:06:26 2016 Received: (at 17730) by debbugs.gnu.org; 30 Apr 2016 23:06:26 +0000 Received: from localhost ([127.0.0.1]:58804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awdxu-0006L6-7J for submit@debbugs.gnu.org; Sat, 30 Apr 2016 19:06:26 -0400 Received: from mout.web.de ([212.227.15.4]:58503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awdxp-0006Kq-9m for 17730@debbugs.gnu.org; Sat, 30 Apr 2016 19:06:21 -0400 Received: from drachen.dragon ([94.217.122.112]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0MXYTG-1b9JOd2Obm-00WYgt; Sun, 01 May 2016 01:06:05 +0200 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#17730: 24.4.50; (elisp) `Syntactic Font Lock': undescribed OTHER-VARS References: <7823b16e-d906-47b3-a05f-c094aa795555@default> <87fuu4p2pj.fsf@gnus.org> Date: Sun, 01 May 2016 01:06:04 +0200 In-Reply-To: <87fuu4p2pj.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 29 Apr 2016 22:41:44 +0200") Message-ID: <87inyyae8z.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:AiB2WlLB//gLmLZaFc0RhOxCZteQ5YHA9b3+6VxGFO2lAnYq8Sg Z6dFamk29mVljTAZZXJKIa6ReuPwsLJWs21aEoY7L47IOsBkmeYDfP17WRN85b0bKpQPt9x jdiIGbthV0CnQVG87eIffO24dIX0g8yX3M7/63qYYXL3e0xgSnrNVXDxOhNVh0UOopfMtot 9jVCFz8DNOp8ZYG1DP+ZA== X-UI-Out-Filterresults: notjunk:1;V01:K0:y/1DjgoxHsc=:RFJvP/GDq/52oKsuUBWcFk maNGmloJkAHGe4vOivdMAVBwH8HPQFHNbxdRCSXXMbYQF7Yih9fV+E/NLvCTMEy8a+x6GV+4/ LGjovhFWnuKTU8QF5lSvPFDKDImppe1Qh/7Bm0746TKQMS2PqnYY4K6pEEzma7Mhjq0+xJBUY cPjdBuAH9FJ0yMxIhWYXWosFa31/QVxDU6ds9YIF271EzpKVyrWz3laAoSGmqEaGOekyHY38H 6WZHs3CPt3cNuyciEDDecZ7iEpI8TikhwQ8jRzDpfjUWVomylPzn0PxVFY5s/veK67J/6D06M KSDibEtKmZYdt7GG8UxWQH7Pdrwx6pKZ2yJ2Afg7R0JSp7sdohHASIw9jVtYec1RCcY2iIY0A hdWut2k5lu2WJNCXxHaCE+4mCv2Ti47px1z/TnlJOMKDGZAToKrtzah1pociOwNK+nzXS5gg5 5CeQuMZkJpaT8v4JmxwjTwiKbGXoSgzr7kMWKNUQriFNLY0ZH3dRHbDalKzpQP+BQGSiGMmJ9 7qrkk+LTOQpcl+bSwVOhdUAfc9UxnYrQHGzhEuVO77tElAEWIHwkF9eKhz8y4OoZYFAIOHL7j BEE7km3AGuUqHZDsL5ctP7olj42cn4HtWnxYYgVjsdGW/whKV5k6V041E3bAW6tD+jBVUnovi +dSjJBNRezuYwUX21XL62GRRIr4dF1i0DDmb2BTtTAzgg52ws0ZAzvtl+upPgSaFXaNSvU7/X MecJjqO4/N6EIP+da21zyOIByqk3rTpANRR/iJNu7J1fMKX4mL8ADL8xP/gE7kI5Mdv70CsCl MzsQrs9 X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 17730 Cc: 17730@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) Lars Ingebrigtsen writes: > Anybody want to take a guess at what this is supposed to mean? Looks like this refers to this thing described in the doc of `font-lock-defaults': "Further item elements are alists of the form (VARIABLE . VALUE) and are in no particular order. Each VARIABLE is made buffer-local before set to VALUE." Also see the following sentences. Maybe the docstring of `font-lock-defaults' has been changed, and a further version used the name "OTHER-VARS". Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 03 11:20:24 2019 Received: (at 17730) by debbugs.gnu.org; 3 Nov 2019 16:20:24 +0000 Received: from localhost ([127.0.0.1]:34891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRIc4-0007WQ-4o for submit@debbugs.gnu.org; Sun, 03 Nov 2019 11:20:24 -0500 Received: from quimby.gnus.org ([80.91.231.51]:45372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRIc1-0007WE-QY for 17730@debbugs.gnu.org; Sun, 03 Nov 2019 11:20:22 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iRIbv-0007KE-Pc; Sun, 03 Nov 2019 17:20:19 +0100 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: bug#17730: 24.4.50; (elisp) `Syntactic Font Lock': undescribed OTHER-VARS References: <7823b16e-d906-47b3-a05f-c094aa795555@default> <87fuu4p2pj.fsf@gnus.org> <87inyyae8z.fsf@web.de> Date: Sun, 03 Nov 2019 17:20:15 +0100 In-Reply-To: <87inyyae8z.fsf@web.de> (Michael Heerdegen's message of "Sun, 01 May 2016 01:06:04 +0200") Message-ID: <87woch9bk0.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Heerdegen writes: > Lars Ingebrigtsen writes: > >> Anybody want to take a guess at what this is supposed to mean? > > Looks like this refers to this thing described in the doc of > `font-lock-defaults' [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17730 Cc: 17730@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) Michael Heerdegen writes: > Lars Ingebrigtsen writes: > >> Anybody want to take a guess at what this is supposed to mean? > > Looks like this refers to this thing described in the doc of > `font-lock-defaults': > > "Further item elements are alists of the form (VARIABLE . VALUE) and are > in no particular order. Each VARIABLE is made buffer-local before set > to VALUE." > > Also see the following sentences. > > Maybe the docstring of `font-lock-defaults' has been changed, and a > further version used the name "OTHER-VARS". Yup; that makes sense. I've now adjusted the manual and added a real-life example to help make it obvious what we're talking about. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 03 11:20:26 2019 Received: (at control) by debbugs.gnu.org; 3 Nov 2019 16:20:26 +0000 Received: from localhost ([127.0.0.1]:34894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRIc6-0007Wk-GK for submit@debbugs.gnu.org; Sun, 03 Nov 2019 11:20:26 -0500 Received: from quimby.gnus.org ([80.91.231.51]:45386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRIc5-0007Wa-IQ for control@debbugs.gnu.org; Sun, 03 Nov 2019 11:20:25 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iRIc2-0007KL-OC for control@debbugs.gnu.org; Sun, 03 Nov 2019 17:20:24 +0100 Date: Sun, 03 Nov 2019 17:20:22 +0100 Message-Id: <87v9s19bjt.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17730 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 17730 fixed close 17730 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) tags 17730 fixed close 17730 27.1 quit From unknown Mon Aug 18 14:20:10 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, 02 Dec 2019 12:24:06 +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