From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code Date: Sat, 22 Apr 2023 12:39:42 +0000 Message-ID: <878rekum41.fsf@localhost> References: <17b74a48-94e1-9106-cc79-d31972313910@gutov.dev> <837cujaqzq.fsf@gnu.org> <87wn2ilwed.fsf@localhost> <83zg7ealrd.fsf@gnu.org> <87pm8a8dx4.fsf@localhost> <8335569rs7.fsf@gnu.org> <87jzyi8cu2.fsf@localhost> <83wn2i8bht.fsf@gnu.org> <875ya18oaz.fsf@localhost> <83zg7d78wv.fsf@gnu.org> <87fs94faes.fsf@localhost> <83zg7c41qq.fsf@gnu.org> <87h6tjeuei.fsf@localhost> <83o7nr4yrp.fsf@gnu.org> <87a5zb7rgu.fsf@localhost> <83pm85ctf5.fsf@gnu.org> <83edod4fzw.fsf@gnu.org> <87r0sdp859.fsf@localhost> <83o7ng1c1p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6387"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bzg@gnu.org, dmitry@gutov.dev, 62762@debbugs.gnu.org, Stefan Monnier To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 22 14:38:21 2023 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 1pqCVR-0001Uh-Jd for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Apr 2023 14:38:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqCVB-0000kY-Cl; Sat, 22 Apr 2023 08:38:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqCV9-0000jU-7X for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 08:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pqCV8-0007PK-NS for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 08:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqCV7-000163-VU for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 08:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Apr 2023 12:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62762 X-GNU-PR-Package: emacs Original-Received: via spool by 62762-submit@debbugs.gnu.org id=B62762.16821670334146 (code B ref 62762); Sat, 22 Apr 2023 12:38:01 +0000 Original-Received: (at 62762) by debbugs.gnu.org; 22 Apr 2023 12:37:13 +0000 Original-Received: from localhost ([127.0.0.1]:42064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqCUK-00014o-EN for submit@debbugs.gnu.org; Sat, 22 Apr 2023 08:37:12 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:34547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqCUG-00014T-7W for 62762@debbugs.gnu.org; Sat, 22 Apr 2023 08:37:11 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id AFEB72401E7 for <62762@debbugs.gnu.org>; Sat, 22 Apr 2023 14:37:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1682167022; bh=BLkHb5l52eYOvkhkegvRjyTZGh2wnh0cns2pY0oNw18=; h=From:To:Cc:Subject:Date:From; b=jizqF8m2ZLLbzEpM+uajxR6gGJtjiPn05/fyep7A+5Gu/t/MR/d1DIeECwFKdRtE7 Bj2ue8B/wemp6RA7kKkAnHDP7vrtArcEEwNM7Z1pKn8I+kzThkxMc5MxB37yqboqUj K0+f8n5IvFFKcLTSjPGt2x09Hi6Wkujqib6k/o1Q/oMKW6wv1NDmdKH9GndFQq/wbV vVh+fDvcP7WYqJb4No4sPeWcYI/2V9EN6vBsuF/yQyWYxXIc93qIdiJ1JMN+R/D34s ROglH+3dbBTjj0LSi/yV3N9I0VUElqerrQG8MTT1n1mpmXUumamdwZetqn/FIGNaNG cwaXuJ4nrJH2g== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q3W9n4bTWz6ty6; Sat, 22 Apr 2023 14:37:01 +0200 (CEST) In-Reply-To: <83o7ng1c1p.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260469 Archived-At: Eli Zaretskii writes: > I think it's the defconst thingy. E.g., with foo.el which says > > (defconst my-foo nil) > > I cannot override the value from the command line: > > emacs -Q -batch --eval "(setq my-foo t)" -l foo.el --eval "(message \"%s\" my-foo)" > => nil > > But if I replace defconst with defvar, it yields t, as I'd expect. > > So I think org--built-in-p should be a defvar, not defconst. Or maybe > you can teach me how to override a defconst? Stefan, any ideas? Well. I think I missed that `defconst', unlike `defvar', overrides the existing variable value. Switching to `defvar' is ok. (Or, it might be something like (eval-after-load 'org-macs ...), but I see no reason to prefer it over switching to defvar). I think it will be best to install the change in Emacs and then back-port it to Org. Will it be ok? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at