I've just recalled a limitation of CRM while testing: the separator must not be part of the completion candidate strings. "," and ";" are common in the authors field, other punctuations may appear in article names, too. Perhaps that's reason CRM wasn't used by oc-basic.el in the first place?
Daanturo On Mar 15 2025, at 8:01 pm, Ihor Radchenko <yanta...@posteo.net> wrote: > Daan Ro <daant...@gmail.com> writes: > > >> How does \cites have anything to do with interactive selection of > >> multiple citations at once? > > > > An analogy, especially when exporting. Single selection of a citation > > -> \cite, multiple selections -> \cites. > > This is a strange analogy. It is extremely common to cite multiple > references via \cite{ref1, ref2, ...}. > > >> That's what I am leaning to - modifying oc-basic.el rather than oc.el > >> itself. > > > > Thank you, I think the CRM approach is even simpler than the current > > prompt-building one. But do we keep the latter? > > Yes, of course. Not keeping it would be a breaking change. > Instead, we should make the completion function customizeable. > > -- > Ihor Radchenko // yantar92, > Org mode maintainer, > Learn more about Org mode at <https://orgmode.org/>. > Support Org development at <https://liberapay.com/org-mode>, > or support my work at <https://liberapay.com/yantar92> >