From: Kaushal Modi <kaushal.modi@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: wrong-type-argument avl-tree- (org-persist-write-all-buffers) [org main + emacs emacs-28]
Date: Fri, 5 Nov 2021 09:57:35 -0400 [thread overview]
Message-ID: <CAFyQvY1rEbL8LJWSR-q6sNgwS1_+Assyd=Jmv1YgeeQ_R3Yn5g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1363 bytes --]
Hello all,
For few days now, I have been seeing the "wrong-type-argument avl-tree-"
error when I try to kill a buffer where org-persist has run.
I am seeing this with the latest build of emacs-28 branch plus org main
branch as of today.
Here's the backtrace:
Debugger entered--Lisp error: (wrong-type-argument avl-tree- nil)
avl-tree-mapc(#<subr
F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_80> nil)
org-element--cache-persist-before-write(org-element--cache #<buffer NEWS>)
run-hook-with-args-until-success(org-element--cache-persist-before-write
org-element--cache #<buffer NEWS>)
#f(compiled-function (v) #<bytecode
-0x12583f23e316161a>)(org-element--cache)
#f(compiled-function (elt) #<bytecode
-0x5162c688172baba>)(org-element--cache)
mapc(#f(compiled-function (elt) #<bytecode -0x5162c688172baba>)
(org-element--headline-cache org-element--cache))
seq-do(#f(compiled-function (elt) #<bytecode -0x5162c688172baba>)
(org-element--headline-cache org-element--cache))
seq-find(#f(compiled-function (v) #<bytecode -0x12583f23e316161a>)
(org-element--headline-cache org-element--cache))
org-persist-write((org-element--headline-cache org-element--cache)
#<buffer NEWS>)
org-persist-write-all(#<buffer NEWS>)
org-persist-write-all-buffer()
kill-buffer("NEWS")
Are there any pointers on how to fix this?
Thanks!
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 1819 bytes --]
next reply other threads:[~2021-11-05 14:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-05 13:57 Kaushal Modi [this message]
2021-11-05 14:26 ` wrong-type-argument avl-tree- (org-persist-write-all-buffers) [org main + emacs emacs-28] Ihor Radchenko
2021-11-05 15:33 ` Kaushal Modi
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='CAFyQvY1rEbL8LJWSR-q6sNgwS1_+Assyd=Jmv1YgeeQ_R3Yn5g@mail.gmail.com' \
--to=kaushal.modi@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).