From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kFDEFMMULWN8bQEAbAwnHQ (envelope-from ) for ; Fri, 23 Sep 2022 04:06:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SN/DFMMULWNwGgAA9RJhRA (envelope-from ) for ; Fri, 23 Sep 2022 04:06:59 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F071517506 for ; Fri, 23 Sep 2022 04:06:58 +0200 (CEST) Received: from localhost ([::1]:57980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obY5h-00065E-P7 for larch@yhetil.org; Thu, 22 Sep 2022 22:06:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obY58-00064m-7K for emacs-orgmode@gnu.org; Thu, 22 Sep 2022 22:06:22 -0400 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]:39797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obY56-0005Gi-Gv; Thu, 22 Sep 2022 22:06:21 -0400 Received: by mail-pg1-x531.google.com with SMTP id b5so2770690pgb.6; Thu, 22 Sep 2022 19:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=XotYHRqnnm2f8nrescS3ZwqJfMRx0iwqUxR2+kQipo0=; b=O9Ggfca6tt2UO3kl0zNEMo1sKWGCEZuVziBz6ZEqnTTfwQf+nh48slrvkfgoJvAoxl sHvOqBq6GFElq1lxFXoYLXY71VRSSVKpCvy6+D0am2MayJ7+kKJQTDDAiUPdF9lUbFOP MEl86YpznVjG3Dnvr9EPAnhy53exl/Bu/Xzpo7BVQ4akQ6ftiMaKQobTsvrYtOYNN4qC vhCWkQMD1iTu1JLhMt6axDeZ8WT3Sr5wtMfiYSe16MK+04BfmD04MULDgrzjilWuL4Uc PvFTcqq/SN2lwsSTu1DReYRYeCZexz6i/GoFZg4S3V5uAIR6epicxIO7OcaEIdOO2e3n BsOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=XotYHRqnnm2f8nrescS3ZwqJfMRx0iwqUxR2+kQipo0=; b=kOCx9U+iX8q68LQC4Vs9djRq1TdJbN+o6c3uqaoObTFPlMa61cTc3SpphJITt9okDy 6fkKWFyTS1lBTGUKJruIy73bBNUZtBcN3Yrv5Bcfw0kmVNlZsew3Of8KLz4yjhrdIvRQ gym5k1Z6I/nsbU14MjwleQq3eH8A1FupnOz6xrhu/MRJojndHS0nlsVpf0MJ9SZJKknI jyb8tLCweA1ZDN5DIvh3+Oq1i4iWgjoyyJhyEW5QSR4VKAqKINnWtoEkpEs3rc6TdYXK s67ef3ub+j4aBd+7E8y0//ABNXusRef2+jTZjrhpeebPqNdyFgtasV+SmGdmrHHiCPz7 gWyg== X-Gm-Message-State: ACrzQf2oO/g1HNNpowBbf2zaS6u3r8Ok57q0JpF086RKk/rp3fjPbf1P FpTuj3jwW3P+P8yT40EXWhc= X-Google-Smtp-Source: AMsMyM6Nv5p7FSPgQvLWZqzI4RuhqEIlXDsMWC0soa1FpW6WIE9E2cjJ4vmlvz0ImI97Z87QXhnUeQ== X-Received: by 2002:a62:6406:0:b0:54e:fa79:ba40 with SMTP id y6-20020a626406000000b0054efa79ba40mr6693499pfb.60.1663898778568; Thu, 22 Sep 2022 19:06:18 -0700 (PDT) Received: from localhost ([1.83.154.224]) by smtp.gmail.com with ESMTPSA id im22-20020a170902bb1600b001709b9d292esm4649308plb.268.2022.09.22.19.06.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 19:06:17 -0700 (PDT) From: Ihor Radchenko To: Daniel Ortmann , Bastien Cc: emacs-orgmode@gnu.org Subject: Re: [External] : Re: strange errors with org-element-cache-reset and jit-lock-function void-variable org-element-citation-prefix-re In-Reply-To: <293cb6bc-db03-3c4f-125f-96a84b4d2e8d@oracle.com> References: <4a9d4298-4af6-3e11-63c3-87bf7125f61b@oracle.com> <87bkr9xgwd.fsf@localhost> <293cb6bc-db03-3c4f-125f-96a84b4d2e8d@oracle.com> Date: Fri, 23 Sep 2022 10:07:10 +0800 Message-ID: <874jwyalo1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=yantar92@gmail.com; helo=mail-pg1-x531.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663898819; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=XotYHRqnnm2f8nrescS3ZwqJfMRx0iwqUxR2+kQipo0=; b=eZO8Ntu4EZYCnSmMiMmkBq4OtgIh8mVDOe+URNhoZTRdY9jM5efOrA3dPc3+R92KCopVsY 0obZBC9RkJ42Lq8/oCzL0cqDCeCsCDaM9VqRrChhy7mcYyRHKUpfV/Ls5WnNK8WI2RYX1i mMey1hAhtpl2aGVes7IU51gGJBKDcOfNhonLoByOQ4OEYtzajQ+gzx/wnDaiF8nIxW9SVd 8+uVUd6/Kl3hkbZD1EWU9XfAAQyaKLnDP9/wtHLsAl4b7gJdU2zS0sk/8RCU/XlXhJNMis UbfBSzaxSh+jCrmOKqi34Jgpp0NvT9xgmNg8q0x+m2hNB+0w9uYkPZm0fIoQmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663898819; a=rsa-sha256; cv=none; b=dj4TxscV4kF/e7ObpVyrwcF9J/8DRVFVMH19oSXcRzMJb49yOorfRvIo1KLWqIwJm8cjEC LLTpCQuR0VGU9ciV1hbhHWXbk41TXacrOvnbz9xv3GdNz79WAMAIMpkHpJelNgITh7u53k Bw3QFR9ybTG7j7dnCGf1X30G5Gaev5s2Ra3NO5ZYk2SIoA6KouCAkUYpV4lXCEuqZdPBWv ZJQyYa0ENloKdBHNchoQt5gjawTgt7zHCmBJTpIeJ0E/0G0/vPkExLHXIGKwCBssIrPvel ZQUWSeKEf7DPZ+f0gO9m5urr4NW5jXq0Mofcw6WkqlxQc1R7wDCi/AEGRrrmjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=O9Ggfca6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.35 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=O9Ggfca6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F071517506 X-Spam-Score: -3.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: Qql6xffVeuiJ Daniel Ortmann writes: > Was Eli Z's observation the key?=C2=A0 Of code not autoloading when=20 > eval-buffer is running? Yes, it is. Bastien, In f36b19eef, you introduced the following code into org.el: (or (eq this-command 'eval-buffer) (condition-case nil (load (concat (file-name-directory load-file-name) "org-loaddefs.el") nil t t t) (error (message "WARNING: No org-loaddefs.el file could be found from where= org.el is loaded.") (sit-for 3) (message "You need to run \"make\" or \"make autoloads\" from Org li= sp directory") (sit-for 3)))) The commit message explains why we display warning, but it is unclear why (eq this-command ...) check is performed. This check is causing the issue herein. Also, see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57972 I am leaning towards removing `this-command' check, unless there are important reasons to keep it. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92