all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* wrong-type-argument avl-tree- (org-persist-write-all-buffers) [org main + emacs emacs-28]
@ 2021-11-05 13:57 Kaushal Modi
  2021-11-05 14:26 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Kaushal Modi @ 2021-11-05 13:57 UTC (permalink / raw)
  To: emacs-org list

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wrong-type-argument avl-tree- (org-persist-write-all-buffers) [org main + emacs emacs-28]
  2021-11-05 13:57 wrong-type-argument avl-tree- (org-persist-write-all-buffers) [org main + emacs emacs-28] Kaushal Modi
@ 2021-11-05 14:26 ` Ihor Radchenko
  2021-11-05 15:33   ` Kaushal Modi
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2021-11-05 14:26 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-org list

Kaushal Modi <kaushal.modi@gmail.com> writes:

> 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>)

Fixed on main. Thanks for reporting!

Best,
Ihor


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wrong-type-argument avl-tree- (org-persist-write-all-buffers) [org main + emacs emacs-28]
  2021-11-05 14:26 ` Ihor Radchenko
@ 2021-11-05 15:33   ` Kaushal Modi
  0 siblings, 0 replies; 3+ messages in thread
From: Kaushal Modi @ 2021-11-05 15:33 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-org list

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]

On Fri, Nov 5, 2021 at 10:25 AM Ihor Radchenko <yantar92@gmail.com> wrote:

> Fixed on main. Thanks for reporting!
>

Thanks! I confirm the fix.

[-- Attachment #2: Type: text/html, Size: 449 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-05 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-05 13:57 wrong-type-argument avl-tree- (org-persist-write-all-buffers) [org main + emacs emacs-28] Kaushal Modi
2021-11-05 14:26 ` Ihor Radchenko
2021-11-05 15:33   ` Kaushal Modi

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.