Hi Ihor,
On 8/25/23 03:19, Ihor Radchenko wrote:
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?
It is indeed strange. I generated the backtrace several times over
several sessions before reporting. I also can reproduce it in a clean
Emacs configuration like so:
Using with-emacs.sh on Emacs 29.1:
1. Run "with-emacs.sh -i burly"
2. "C-x C-f /tmp/test.org RET"
3. Input a file like so:
* Heading A
** Heading A1
4. With point on Heading A1, "C-c C-x b".
5. "M-x delete-other-windows RET" to show only the subtree buffer.
6. "M-x burly-bookmark-windows RET", input name, save bookmark.
7. Kill the file's buffer and delete-other-windows.
8. "C-x r b" select bookmark that was created, and open it.
9. You should get the error, and with debug-on-error, the backtrace.
This bug breaks burly's functionality to bookmark and restore subtree
buffers, which worked fine before upgrading to Emacs 29.1.
Thanks,
Adam