[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: citations: rx problems with emacs-26.3
From: |
Nicolas Goaziou |
Subject: |
Re: citations: rx problems with emacs-26.3 |
Date: |
Sat, 07 Aug 2021 22:27:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Maxim Nikulin <manikulin@gmail.com> writes:
> I think citation support is a great feature. (Sorry, I do not work
> with references now, so I can tell nothing concerning implementation
> for org.)
>
> It seems, rx e.g. in emacs-26.3 does not support all features used in
> oc.el and oc-csl.el. Loading an org file using git master, I get
> a warning
>
>> Eager macro-expansion failure: (error "rx form ‘regexp’ requires args
>> satisfying ‘stringp’")
>
> It looks like (rx (regexp ...)) require namely literal, variables are
> not supported yet. In additional (rx (literal ...)) is not supported
> as well.
>
>> Eager macro-expansion failure: (error "Unknown rx form ‘literal’")
>
> In a couple of places `rx-to-string' likely could be used instead of
> just `rx'. I have no idea yet what could be done with (pcase-let* ((rx
> ...))) in `org-cite-adjust-note'.
>
>> diff --git a/lisp/oc-basic.el b/lisp/oc-basic.el
Thanks. Could you send the patch again with a proper commit message,
using git format-patch?
Regards,
--
Nicolas Goaziou
- Re: citations: rx problems with emacs-26.3,
Nicolas Goaziou <=
Re: citations: rx problems with emacs-26.3, Maxim Nikulin, 2021/08/09