org-ql icon indicating copy to clipboard operation
org-ql copied to clipboard

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

Open snogge opened this issue 1 year ago • 2 comments

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 https://github.com/jorgenschaefer/emacs-buttercup/issues/247 . The actual bug is probably some problem with the stacktraces. Your solution from https://github.com/jorgenschaefer/emacs-buttercup/issues/218#issuecomment-1151658577 might also work around the problem.

snogge avatar Jun 27 '24 23:06 snogge

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?

danielfleischer avatar Aug 14 '24 11:08 danielfleischer

As far as I know it is Emacs < 30 compatible

snogge avatar Aug 15 '24 06:08 snogge