Setting `ivy-bibtex-default-action` to `bibtex-completion-edit-notes` doesn't work
Closed this issue · 2 comments
fapdash commented
Reproduction
My config looks something like this:
(use-package ivy-bibtex
:ensure t
:after org-ref
:bind ("C-c n b" . ivy-bibtex)
:config
(setq
;; more config..
bibtex-completion-pdf-field "file"
ivy-bibtex-default-action 'bibtex-completion-edit-notes))
Expected
Creates new note or shows existing note file.
Actual
Fails with the following warning:
Warning (:warning): Bibtex-completion couldn't find entry with key "2017 How to Take Smart Notes Sönkre Ahrens book Ahrens2017a".
Editing the note by keying M-o
-> e
(edit notes via ivy context menu) works without problems.
Assumption
It seems that the key that gets passed to bibtex-completion-edit-notes
is wrong.
"2017 How to Take Smart Notes Sönkre Ahrens book Ahrens2017a
instead of Ahrens2017a
?
tmalsburg commented
Instead of bibtex-completion-edit-notes
please try ivy-bibtex-edit-notes
.
fapdash commented
Oh, that was easy. Thanks you!