On Fri, Jul 2, 2021 at 5:21 PM Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > > Hello, > > John Kitchin <jkitc...@andrew.cmu.edu> writes: > > > I would not use a prefix arg here. you should just check what is at the > > point, and if it is a citation then append it after the citation at point, > > and if not insert a new one (maybe after moving the point to an appropriate > > place if needed). > > Well, currently, if there's a reference at point, the function updates > it, which I think is also a valid behaviour. > > On other parts of the citation, the function updates its style.
Is it possible to have three options? 1. if on "cite" prefix, edit style 2. if on citation-reference, edit reference 3. else (like where point is after a semi-colon but within the citation), append reference So the difference with current behavior is 1 would be more constrained, and 3 would be a new option. Bruce