Skip to content

Fix: (orq-ql-view--link-follow) Get the car of alist-get results#442

Open
snogge wants to merge 1 commit intoalphapapa:masterfrom
snogge:fix-for-different-read-in-emacs-30
Open

Fix: (orq-ql-view--link-follow) Get the car of alist-get results#442
snogge wants to merge 1 commit intoalphapapa:masterfrom
snogge:fix-for-different-read-in-emacs-30

Conversation

@snogge
Copy link

@snogge snogge commented Jun 27, 2024

The `read' function of Emacs 30 no longer accepts a list containing a string as if it was a string. This may be a bug in Emacs.

This avoids jorgenschaefer/emacs-buttercup#247 . The actual bug is probably some problem with the stacktraces. Your solution from jorgenschaefer/emacs-buttercup#218 (comment) might also work around the problem.

The `read' function of Emacs 30 no longer accepts a list containing a
string as if it was a string.  This may be a bug in Emacs.
@snogge snogge changed the title Fix: (orq-ql-view--link-follow) Get the car' of alist-get' results Fix: (orq-ql-view--link-follow) Get the car of alist-get results Jun 27, 2024
@danielfleischer
Copy link

danielfleischer commented Aug 14, 2024

Alternatively, you can create conses instead of lists in org-ql-view--link-store but then it bothers url-build-query-string. The car solution seems like the simplest, but is it Emacs < 30 compatible?

@snogge
Copy link
Author

snogge commented Aug 15, 2024

As far as I know it is Emacs < 30 compatible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments