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#57972: 29.0.50; Autoloaded function raises (void-function org-element-cache-reset) when called within major-mode body Date: Wed, 21 Sep 2022 17:27:12 +0300 Message-ID: <83zgesu7jz.fsf@gnu.org> References: <87fsglxh24.fsf@localhost> <83k05xufhf.fsf@gnu.org> <8735clx8cl.fsf@localhost> <83edw4vqsq.fsf@gnu.org> <838rmcvphe.fsf@gnu.org> <8335ckvn5p.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23368"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57972@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 21 16:29:15 2022 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 1ob0ix-0005xo-7W for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 16:29:15 +0200 Original-Received: from localhost ([::1]:47916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ob0iw-0001lP-70 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 10:29:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ob0hn-0001gJ-6f for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 10:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35918) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ob0hm-0000sI-St for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 10:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ob0hm-0003bu-JJ for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 10:28: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: Wed, 21 Sep 2022 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57972 X-GNU-PR-Package: emacs Original-Received: via spool by 57972-submit@debbugs.gnu.org id=B57972.166377043313820 (code B ref 57972); Wed, 21 Sep 2022 14:28:02 +0000 Original-Received: (at 57972) by debbugs.gnu.org; 21 Sep 2022 14:27:13 +0000 Original-Received: from localhost ([127.0.0.1]:34996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ob0gz-0003aq-Bo for submit@debbugs.gnu.org; Wed, 21 Sep 2022 10:27:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ob0gx-0003ad-Al for 57972@debbugs.gnu.org; Wed, 21 Sep 2022 10:27:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ob0gs-0000jX-1w; Wed, 21 Sep 2022 10:27:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hGKszYUTU9W//exrr+VlFXYwBPp2Un9TXURWS2ArNRo=; b=OXuYu+Of6gQi qLNbAzeE2+X0lDhpdfwsAb3xG/W/V1xJH4wiBEdqa35qISh7pAoKyHGhrlngfipUGErgpt7QRG3lh srihSner5h4a6ghsxuDnwDG2JO3EPcUuOEAj8RmebCpN8Ha6yYiSwg/KGLBHDUz0Q5J6co8vuXym1 9FuuJHgNdDdeO3/KbCh8xy2FHRnU/hjEbO112p79qVslhisbB2vGlYYxUfQsmTFvNBUSMTUuX5w4b 4H4wPAUTA5OqQBkKZfZSMIPQxeMi4fkX5LPC3wXz41351bjeRpAnIsCnLoK9+KglgBAeC9bv4lE4X RoQXeuzTngiilVxJr3DQVg==; Original-Received: from [87.69.77.57] (port=2068 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ob0gq-0000fQ-2L; Wed, 21 Sep 2022 10:27:05 -0400 In-Reply-To: (message from Ihor Radchenko on Wed, 21 Sep 2022 22:10:24 +0800) 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:243361 Archived-At: > From: Ihor Radchenko > Date: Wed, 21 Sep 2022 22:10:24 +0800 > Cc: 57972@debbugs.gnu.org > > > I cannot reproduce on stable branch either. Only on main. > > Then why do you think this is a problem in the core? > > As I said in my first message, I either misunderstand something about autoload or it is some kind of > Emacs bug. > > Note that doing emacs -Q -l /tmp/bug.el vs emacs -Q /tmp/bug.el + eval-buffer yields different results. > I cannot possibly see how it can be anything to do with Org and I have no clue how to approach debugging > this. Fair enough. Would it help to make the backtrace more detailed? Right now, we don't see anything between the call to normal-mode and the error. If you manually "M-x load-file RET files.el RET" before doing eval-buffer, do you get a more detailed backtrace? And another thing: do you have any clue (or maybe more than a clue) what changes in Org wrt what's on the Emacs master branch could have caused this? If you do, can you show those changes, or point to the specific places in Org files where those changes can be eye-balled?