jkitchin / org-ref-cite

An org-cite processor that is like org-ref.
42 stars 6 forks source link

Spurious semi-colon when shifting references within a citation #13

Closed bdarcus closed 3 years ago

bdarcus commented 3 years ago

If I insert this citation:

[cite:@kaye2017;@amin2008;@kohn2001]

... and then shift any citation, I end up with a spurious semi-colon at the end.

[cite:@kaye2017;@kohn2001;@amin2008;]

Though, I guess this relates to earlier discussion about global vs local affixes, and isn't technically wrong.

jkitchin commented 3 years ago

I don't think it is spurious. It is how org-element-interpret-data sees a citation:

#+BEGIN_SRC emacs-lisp
(org-element-interpret-data `(citation-reference (:key "test")))
#+END_SRC

#+RESULTS:
: @test;
bdarcus commented 3 years ago

OK no problem.