emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: [BUG] org-element-cache bug: org-persist-read persists seemingly forever
Date: Thu, 23 Dec 2021 18:26:23 -0700	[thread overview]
Message-ID: <CAJcAo8tUwbaCdAd_Krq51BEnck68qnTK2zGhXoV39Pz7NT74_A@mail.gmail.com> (raw)

this reproduces most or all of the time.  idk if it is ueful to
anybody, but i thought i would post it in case it is instantly
recognizable.

emacs 25.  latest 9.5 org main.

Debugger entered--Lisp error: (quit)
  read(#<buffer  *temp*>)
  org-persist-read(org-element--cache #<buffer other--a.org>)
  org-mode()
  set-auto-mode-0(org-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer other--a.org> "org/other--a.org" nil
nil "org/other--a.org" (27263474 65025))
  find-file-noselect("org/other--a.org" nil nil nil)
  find-file("org/other--a.org")
  alpha-org-find-agenda-files()
  run-hooks(after-init-hook delayed-warnings-hook)
  command-line()
  normal-top-level()


On 12/23/21, Samuel Wales <samologist@gmail.com> wrote:
> more below.
>
> On 12/20/21, Ihor Radchenko <yantar92@gmail.com> wrote:
>> Thanks for reporting!
>>
>> I just pushed the fix upstream.
>
> thank you.
>
> fyi, i am still trying to get main to work.  there is bug in most
> recent main where org element use cache being set to t makes loading
> infinite.  and another where c-x c-c is very slow but there aren't
> messages saying what it is doing.
>
> the cache bug reproduced a few times reliably and i finally figured
> out getting it to debug on quit to give you a bt but then it didn't
> reproduce, so idk if it is intermittent or my brain is not working.
> also, if i quit at the wrong time, cache tells me to hit quit more
> times because it captures that signal.  as i am limited in computer
> use upgrading org is going to take some time.  however, the only
> reason i want to try main is to run the fast batch archiving.  maybe
> bugfix would work for ordinary use.  have not tried it yet.
>
>> supporting latest Emacs - 2 versions [1]. Emacs 28 is going to be
>> released in a few months, bundling Org 9.5. If you can, please update
>> your Emacs to at least version 26.
>
> [thanks.  i dread this.  i have been dreading having to upgrade debian
> and idk when i will be able to but have to do it.  and getting a
> signed emacs and installing it might be more trouble than it seems at
> first as every sw [even org] seems to be.]  still trying.
>


-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com


             reply	other threads:[~2021-12-24  1:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-24  1:26 Samuel Wales [this message]
2021-12-24 11:46 ` [BUG] org-element-cache bug: org-persist-read persists seemingly forever Ihor Radchenko
2021-12-24 23:06   ` Samuel Wales
2021-12-25 15:43     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJcAo8tUwbaCdAd_Krq51BEnck68qnTK2zGhXoV39Pz7NT74_A@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).