On Sat, Jun 5, 2021 at 12:13 PM Bruce D'Arcus <bdar...@gmail.com> wrote:
>
> I've been struggling with this for a while, and am a mediocre programmer, so 
> thought I'd ask for help here.

I made progress on this, with one question, for Nicolas:

What's the best way to constrain the capf?

Idea is if a user is within a citation, and types "@a", it activates.

Here's what I have now, but it's too tight; I'm assuming that second
line is the issue.

  (when (and (eq major-mode 'org-mode)
             (eq (car (org-element-context)) 'citation)
             (looking-back "@[a-zA-Z]*" 5))

Bruce

Reply via email to