[Top][All Lists]

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

[org-cite] issues with org-cite-make-insert-processor select-style

From: Bruce D'Arcus
Subject: [org-cite] issues with org-cite-make-insert-processor select-style
Date: Wed, 21 Jul 2021 11:14:02 -0400

I have run into a problem in implementing a "select-style" function
for an org-cite-insert-processor.

The WIP code is here:


It was running correctly yesterday morning, but now it doesn't.

I have two related issues:

1. I think, but am not sure, I may have run into a bug in
org-cite-make-insert-processor, as the function I am using for the
select-style parameter runs correctly outside of the insert processor,
and returns the same results as the "org-cite-basic--complete-style"
function. But when I uncomment the parameter to use it on the org-cite
insert processor, it not only doesn't work correctly, but Emacs won't
even load fully.

2. The error I get "wrong type" is so general it literally took me
hours to realize it was coming from this function; I was looking
elsewhere for the issue.

So if I'm right about a bug, obviously it would be great if that could be fixed.

But better error handling and reporting would also be really great.


PS - I"m still learning elisp, and so am not super knowledgeable about
debugging in general. If anyone has any tips on that, that could help
me narrow down the source of the error, that would be much

reply via email to

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