From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#43037: Eval error in the =?UTF-8?Q?=E2=80=98c-lang-defvar=E2=80=99?= or =?UTF-8?Q?=E2=80=98c-lang-setvar=E2=80=99?= Date: Fri, 16 Oct 2020 18:45:43 +0300 Message-ID: <83h7quuqc8.fsf@gnu.org> References: <8324B5F4-699B-40D2-86E8-4E54C59D5815@gmail.com> <87o8l2mv4x.fsf@gnus.org> <731EBF4B-3950-4E2E-A44E-DA2291052CAD@gmail.com> <834kmuwisx.fsf@gnu.org> <20201016144353.GA7085@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, achirvasub@gmail.com, 43037@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 16 17:46:17 2020 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 1kTRvs-0009mM-Ux for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 17:46:16 +0200 Original-Received: from localhost ([::1]:44658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTRvr-0002JX-T2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 11:46:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTRve-0002I6-Ia for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 11:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTRve-0003hg-7i for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 11:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTRve-0001qV-6p for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 11:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2020 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43037 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 43037-submit@debbugs.gnu.org id=B43037.16028631516483 (code B ref 43037); Fri, 16 Oct 2020 15:46:02 +0000 Original-Received: (at 43037) by debbugs.gnu.org; 16 Oct 2020 15:45:51 +0000 Original-Received: from localhost ([127.0.0.1]:60605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTRvT-0001gA-I9 for submit@debbugs.gnu.org; Fri, 16 Oct 2020 11:45:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTRvR-0001Zy-VH for 43037@debbugs.gnu.org; Fri, 16 Oct 2020 11:45:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35076) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTRvM-0003hA-Fb; Fri, 16 Oct 2020 11:45:44 -0400 Original-Received: from [176.228.60.248] (port=2521 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kTRvL-0002sn-VL; Fri, 16 Oct 2020 11:45:44 -0400 In-Reply-To: <20201016144353.GA7085@ACM> (message from Alan Mackenzie on Fri, 16 Oct 2020 14:43:53 +0000) 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:190714 Archived-At: > Date: Fri, 16 Oct 2020 14:43:53 +0000 > Cc: AC , larsi@gnus.org, 43037@debbugs.gnu.org > From: Alan Mackenzie > > > Eval error in the ‘c-lang-defvar’ or ‘c-lang-setvar’ for > > ‘font-lock-comment-end-skip’ (fallback source eval - js-mode > > compiled with CC Mode 5.34 but loaded with 5.34.1): (error > > "‘c-font-lock-comment-end-skip’ got no (prior) value in js-mode > > (might be a cyclic reference)") > > > Alan, can you take a look, please? > > Yes, I think the problem is precisely what the error message said. > js-mode.el was compiled (quite a long time ago) when c-version was still > 5.34, but since then c-version has become 5.34.1. So their is a clash > between what js-mode.el was compiled with and the CC Mode current in the > Emacs version. > > To resolve this, I think deleting lisp/progmodes/js-mode.elc and > compiling lisp/progmodes/js-mode.el again should sort out the problem. You are right. > This problem has happened more than once. I think the solution should > be in the Makefile to add a dependency of js-mode.elc on cc-defs.el. Yes, please. On the emacs-27 branch, please. Thanks.