[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] When calling org-tree-to-indirect-buffer: (wrong-type-argument
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] When calling org-tree-to-indirect-buffer: (wrong-type-argument listp org-fold-outline) in org-fold-core-get-folding-spec-from-alias [9.6.6 (release_9.6.6 @ /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/org/)] |
Date: |
Fri, 25 Aug 2023 08:19:24 +0000 |
Adam Porter <adam@alphapapa.net> writes:
> Since upgrading to Emacs 29.1 and Org 9.6.6, I am getting an error when
> opening a bookmark to an Org subtree buffer created with burly.el. When
> opening the bookmark, burly calls org-tree-to-indirect-buffer to make a
> new indirect buffer showing the subtree in question. This worked fine
> in Emacs 28 and the previous Org version I was using, 9.5.something,
> IIRC. Now I get this error (please see the attached backtrace, which is
> abbreviated, and some functions were re-evaluated so as to be interpreted).
Thanks for reporting!
> Debugger entered--Lisp error: (wrong-type-argument listp org-fold-outline)
> car(org-fold-outline)
> alist-get(org-fold-outline ((:alias . org-link) (org-link . org-link)
> (:alias . org-link-description) (org-link-description . org-link-description)
> (property-drawer . org-fold-drawer) (drawer . org-fold-drawer) (:alias .
> org-fold-drawer) (org-fold-drawer . org-fold-drawer) (verse-block .
> org-fold-block) (src-block . org-fold-block) (special-block . org-fold-block)
> (quote-block . org-fold-block) (export-block . org-fold-block) (example-block
> . org-fold-block) (dynamic-block . org-fold-block) (comment-block .
> org-fold-block) (center-block . org-fold-block) (block . org-fold-block)
> (:alias . org-fold-block) (org-fold-block . org-fold-block) (plain-list .
> org-fold-outline) (inlinetask . org-fold-outline) (outline .
> org-fold-outline) (heading . org-fold-outline) (headline . org-fold-outline)
> (:alias . org-fold-outline) (org-fold-outline . org-fold-outline)))
> org-fold-core-get-folding-spec-from-alias(org-fold-outline)
> org-fold-core--property-symbol-get-create(org-fold-outline)
This is a very strange backtrace.
When I run that `alist-get' call manually, there is no error. And
`alist-get' does not call `car'.
May you try to re-generate the backtrace again?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>