Error when trying to bookmark an Org QL view
- Lingua principale
- Emacs Lisp
- Stelle
- 1.6k
- Fork
- 120
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### OS/platform
Linux
### Emacs version and provenance
Emacs 29.1, distro packages
### Emacs command
emacs
### Org version and provenance
Org 9.7-pre, Org development branch.
### org-ql package version and provenance
0.9-pre, commit 9606aaf81230d1faf2c7f54925b45e527fa32bf0, straight.el recipe, straight.el
### Actions taken
1. Run `org-ql-search` and pick `org-agenda-files` in the completing-read menu with the prompt `"Buffers/Files: "`
2. Try to bookmark the view buffer that is generated with `C-x r m`, `bookmark-set`
### Observed results
The bookmark is not set, I get the error: `cl-etypecase failed: org-agenda-files, (string buffer list)`
### Expected results
The bookmark to be set.
### Backtrace
```elisp
Debugger entered--Lisp error: (error "cl-etypecase failed: org-agenda-files, (string buffer list)")
error("cl-etypecase failed: %s, %s" org-agenda-files (string buffer list))
org-ql-view-bookmark-make-record()
bookmark-make-record()
bookmark-set-internal("Set bookmark named" nil overwrite)
bookmark-set(nil nil)
funcall-interactively(bookmark-set nil nil)
command-execute(bookmark-set)
```
### Etc.
The error is connected to the value of the infix option "In buffers/files" in this transient:

If appears to be set to the symbol `org-agenda-files`. If I refresh it by pressing `i` again it is set to the value of this symbol instead:

then it passes the `cl-etypecase` test in `org-ql-view-bookmark-make-record`(since it's a list) and I can bookmark it without errors.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.