Closed krisbalintona closed 11 months ago
Finally, if this pull request goes through, I think it would be a good idea to (i) have citar-org-update-prefix-suffix be run after inserting a citation and (ii) have a customizable option to have toggle this behavior, potentially having it enabled by default.
Yeah; I was wondering about that after testing it. ;-)
Perhaps on that you could also update the documentation?
https://github.com/emacs-citar/citar#org-cite-1
Thanks!
To resolve #607 and #606. The following pull request does the following:
citar-org-update-pre-suffix
tocitar-org-update-prefix-suffix
. I found the initial naming potentially misleading. This rename may increase the discoverability of the command.citar-org--update-prefix-suffix
.This new functionality uses purely the org-element API, meaning this should be a robust solution.
Additionally, I have manually tested the pull request through several edge cases, and have detected no bugs.
Finally, if this pull request goes through, I think it would be a good idea to (i) have
citar-org-update-prefix-suffix
be run after inserting a citation and (ii) have a customizable option to have toggle this behavior, potentially having it enabled by default.