emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [org-cite, oc-basic] configurable open-at-point, font-locking when j


From: Nicolas Goaziou
Subject: Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json?
Date: Tue, 08 Jun 2021 22:25:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hello,

"Bruce D'Arcus" <bdarcus@gmail.com> writes:

> On Tue, Jun 8, 2021 at 7:36 AM Bruce D'Arcus <bdarcus@gmail.com> wrote:
>
>> (org-cite-register-processor 'bibtex
>>     :follow #'bibtex-completion-open-any)
>
> Actually, looking at the docstrings, I don't think this will work as
> is, as the follow processor "accepts two arguments, the citation or
> citation reference object at point", while the bibtex-completion
> functions take a list of keys.
>
> So I guess for that I'd need a little wrapper to call that function.

Indeed.

> Still, I'm confused why the basic font-locking doesn't work in this case.

I know it is not terribly useful but… it works here. For example, if no
bibliography is defined, all cite keys are red (error face).

Regards,
-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]