-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(int) Bibtex-actions support #212
Conversation
`orb-edit-notes` can accept a list of strings or a list of lists whose element lists start with strings. See #211.
Just to clarify, this last point wouldn't be a problem actually. It's true (funcall bibtex-actions-file-open-note-function key entry))) .. since the first arg is just the E.g. I'd change that part of the function like so: (dolist (key-entry keys-entries)
(funcall bibtex-actions-file-open-note-function (car key-entry) (cdr key-entry))) Given that, why not just modify |
- New function `orb-bibtex-actions-edit-note` for use with Bibtex-actions - Rename `orb-edit-notes` to `orb-bibtex-completion-edit-note` - Adjust `org-roam-bibtex-mode` accordingly - Minor refactoring
I would do that if the entry could seamlessly be propagated to In principle, I like the idea of the completion system supplying the BibTeX information to As a current solution, I created a new function Would this work for you? |
Right.
Yes, I see that.
Yes, I think so. Thanks! |
orb-edit-notes
Great, I'm merging the changes then. |
I started the change here: Will finish (mainly adding documentation) later today. |
Better aligns with org-roam-bibtex. See org-roam/org-roam-bibtex#212
orb-edit-notes
can accept a list of strings or a list of lists whoseelement lists start with strings.
See #211.
@bdarcus On another thought I decided to not modify
orb-edit-note
. By design, it accepts a single argument, a citation key as string, and should probably stay as such. It would anyway require additional destructuring because plain(defun orb-edit-note (citekey &optional entry)
would not work because (KEY . ENTRY) is still a single argument.I instead modified the function
orb-edit-notes
, which is meant to be plugged in intobibtex-completion-edit-notes-function
orbibtex-actions-file-open-note-function
. This function used to accept a list of keys as returned bybibtex-comletion
. Now it also accepts a list of lists to supportbibtex-actions
. Note the function still does not support "multi-editing". That is if more than one entry is selected, it will proceed only with the first entry.Please check if this works for you and I'll merge it.