From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 eEN1MwU9lmLp4gAAbAwnHQ (envelope-from ) for ; Tue, 31 May 2022 18:06:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QMw9MwU9lmJbSQAAauVa8A (envelope-from ) for ; Tue, 31 May 2022 18:06:29 +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 6AFC116F86 for ; Tue, 31 May 2022 18:06:29 +0200 (CEST) Received: from localhost ([::1]:56860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw4O4-0000v3-6A for larch@yhetil.org; Tue, 31 May 2022 12:06:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw4K9-0000P1-31 for emacs-orgmode@gnu.org; Tue, 31 May 2022 12:02:26 -0400 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:43652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nw4K2-0001Vx-5C for emacs-orgmode@gnu.org; Tue, 31 May 2022 12:02:24 -0400 Received: by mail-qk1-x72b.google.com with SMTP id r84so13405691qke.10 for ; Tue, 31 May 2022 09:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharpleaf-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kaOCB8x6BymKzEuK0TYMgnQaozDo2MDoWkKcWNMh0HE=; b=I7dw9So8I0QQ6QIxYqdRWK08DZ5l0u35ygO17WinUIOHpOtLsyoKg7TcrTHzxuFvdQ owi4I26FJLCEarb8D8oXEEvlXyCNj/mxkb4QxDPjzE1OH623aDKqo41pNUfTDXAYEPe5 lW7g6zcKPPVuxK5dykJ84W6WU67yUHau765uIued4Q67pXe5Uu797+NvYPGLXz0ud+YB i6ooyuE2BFm7A5lea5k5nOAk9YpIMk8K6Tp2aMFvSpmXp9sJYG0u0SB3m7owcOmZpyFg DLrEOhIXT8mxKGHyeZn3wo8H6LnmforcW593Bou5Oh5F0+FlLUAXXk/bwHubAG7XofBk WqQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kaOCB8x6BymKzEuK0TYMgnQaozDo2MDoWkKcWNMh0HE=; b=5RiY9ACSptKlO7F8wvPGoeRU+yFmXDKfG3XiNRnIE3sygnqKitROn9o59YKLzMTKih 9Vgg0/vUnF8SIODGr1ejmqDUxEgBC6D4KCYgx3TNvdlxwmVAXmHJOx0KKxFhMU2rlCIZ X0VDeMimV+YK5Gqe8Q9FdnEYrqzXm3fJSfGfwqCYTXk0Y0P/CbbtE0W3BpicxGARRevs X1uA7NpRWq6ApUuBihuBy7eD6tZcfTCHUy16Msh0SZ1kTFF9MVql2wCO2aoL/3zadXcq kx2kzt3PI/WWliv0GAA0F+YFAbQsJBiqTxmyvWXCbUiV2EuH2OcOiT2SZAsSuZ5dHk8D pdkg== X-Gm-Message-State: AOAM531mjn1Q1ged5Qdc8prauBgBpj4CUYt2xhrQnU96YXVBBgxRqH3h V5+4e1maC15HQTF+zD8ScQtSjvOXdbmssTpbCnmHGzwh5D9hZg== X-Google-Smtp-Source: ABdhPJwufh5YAirNiLw3Nj//7npa9pr/i5VWXEwctdDd+O/tIM0nwCmg4WraWr5aDak554gmqOnfMrI8T1vN/nqoZ3c= X-Received: by 2002:a05:620a:4484:b0:6a6:4990:a577 with SMTP id x4-20020a05620a448400b006a64990a577mr4824502qkp.353.1654012936889; Tue, 31 May 2022 09:02:16 -0700 (PDT) MIME-Version: 1.0 References: <871qwa1e5i.fsf@localhost> In-Reply-To: <871qwa1e5i.fsf@localhost> From: Scott Otterson Date: Tue, 31 May 2022 09:01:40 -0700 Message-ID: Subject: Re: [BUG] org-element--cache: Unregistered buffer [9.5.3 (9.5.3-g4dda0d @ c:/Users/scott/.emacs.d/straight/build/org/)] To: Ihor Radchenko Cc: "Emacs-orgmode@gnu.org" Content-Type: multipart/alternative; boundary="0000000000008ebb5c05e050e518" Received-SPF: pass client-ip=2607:f8b0:4864:20::72b; envelope-from=scotto@sharpleaf.org; helo=mail-qk1-x72b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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=1654013189; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kaOCB8x6BymKzEuK0TYMgnQaozDo2MDoWkKcWNMh0HE=; b=KacQMFK71OEMhpKSqG5Uof/V/7VL/uJUltfgLKpYxgzMWn4QJJSiVExEg7kGyP6CuQJ88O aTZlFlm/h30qleL6x7bE8DPLNq3BkM5DcBEHcOPiGI7Jlf9uN1tJ5vVJOrFC70IXEqA9dC H3DUaba9zRXNoBf1CqW0wLvGS3h4WdGLF8RxjnmQorbmsKnEYJ6LsSWJdk/ioKl0+Dps5Y 5NV7HwXsTN98/gVe7RyFC6237e/tmqTItYyhz6BqGi70AI3ip04qsEoHSeeROZkKciwakk Pn+rbD/mB4aR3JvWNCwPRROYQAVtZHEpWg8mZneXTCciHoE2XVffTBlbk+uqYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654013189; a=rsa-sha256; cv=none; b=l34UmUf+lBM2/Lfr7xFUBZ1De5hZGrYkD13+1LkEtgLwuudkzLuKxISmPgmdYGlc+FJUl/ OUKTl+p9E5ensbUZ8UvFoLw8o9Z1xm618NXJbpPC2BWkLVQTalcRBx2nv1GwiuqKxo6ow+ hWhIiHHtKkaYUJd1dzpxLZ7OtNnCCpaLjWf1pskXgBQtDyGsg5Fz3twEBHP5l+bCU0gsDK mTDe9HREZ9mf5+saQcBUM2ge0ILDrT/o/2MOcCuVM8ZfN8grGOFllOaGoAKwhVR8VLG4lZ TIr7PEz3H+n5TpEKit6LRK1k7oUm8G+BQBAChAhHQe2McyLajNinnSVG6FXIbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=sharpleaf-org.20210112.gappssmtp.com header.s=20210112 header.b=I7dw9So8; dmarc=none; 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.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=sharpleaf-org.20210112.gappssmtp.com header.s=20210112 header.b=I7dw9So8; dmarc=none; 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: 6AFC116F86 X-Spam-Score: -3.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: GeSW+M0eLtaZ --0000000000008ebb5c05e050e518 Content-Type: text/plain; charset="UTF-8" Hi Ihor, With straight.el, it's Org mode version 9.5.3. If I open the file with emacs -Q, I'm surprised to see that I get a different warning message: File mode specification error: (void-variable org-fold-core-style) This is on emacs 28.1, which uses Org mode version 9.5.2 On Mon, May 30, 2022 at 10:09 PM Ihor Radchenko wrote: > Scott Otterson writes: > > > Having just updated to emacs 28.1, I'm seeing the warning > > > > org-element--cache: Unregistered buffer > > > > every time I open a .org file. I also notice that org-superstar no > longer > > works. > > > > These problems persist if I delete my .emacs.d and let straight.el > rebuild > > everything. > > Thanks for reporting! You appear to use straight.el. Can you please > share the output of M-x org-version? straight.el is known to create > problems when Org is loaded late in you config. > See https://github.com/radian-software/straight.el/issues/947 > > Also, can you try to open the problematic files using bare Emacs > starting from emacs -Q? See https://orgmode.org/manual/Feedback.html > > Best, > Ihor > --0000000000008ebb5c05e050e518 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Ihor,

With straight.el, i= t's Org mode version 9.5.3.

If I open the file= with emacs -Q, I'm surprised to see that I get a different warning mes= sage:

File mode specification error: (void-variabl= e org-fold-core-style)

This is on emacs 28.1, whic= h uses Org mode version 9.5.2

On Mon, May 30, 2022 at 10:09 PM Ihor Ra= dchenko <yantar92@gmail.com>= ; wrote:
Scott O= tterson <scott= o@sharpleaf.org> writes:

> Having just updated to emacs 28.1, I'm seeing the warning
>
> org-element--cache: Unregistered buffer
>
> every time I open a .org file.=C2=A0 I also notice that org-superstar = no longer
> works.
>
> These problems persist if I delete my .emacs.d and let straight.el reb= uild
> everything.

Thanks for reporting! You appear to use straight.el. Can you please
share the output of M-x org-version? straight.el is known to create
problems when Org is loaded late in you config.
See https://github.com/radian-software/stra= ight.el/issues/947

Also, can you try to open the problematic files using bare Emacs
starting from emacs -Q? See https://orgmode.org/manual/Feedb= ack.html

Best,
Ihor
--0000000000008ebb5c05e050e518--