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

2021-07-22 Thread Bruce D'Arcus
Matt - that's not really the problem. In general, these core org-cite functions (org-cite-make-insert-processor and org-cite-register-processor) must be loaded after anything they refer to; e.g. placed at the end of the package file. But if they aren't, the resulting error message is really

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

2021-07-22 Thread Matt Price
Bruce, are you loading this code with use-package? If so, and if I'm reading this right, you can perhaps add the missing functions to the :commands directive for org-mode? IIUC that should ensure that they are available to your package, as long as you have an :after (org oc) line in the

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

2021-07-22 Thread Bruce D'Arcus
The problem was load order I guess; putting this of the file fixes it. So when org-citemake-insert-processor is first loaded, it looks for the two functions, which haven't been loaded yet. I still think a) the error message could say that (that the functions aren't found or some such), and b)

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

2021-07-22 Thread Bruce D'Arcus
Another odd thing. If I comment out those lines and use the oc-basic style selector instead to start emacs, and from there reactivate this function and compile and reload the code from the buffer, THEN it works without error. On Wed, Jul 21, 2021 at 10:17 PM Bruce D'Arcus wrote: > > BTW, here's

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

2021-07-21 Thread Bruce D'Arcus
BTW, here's the info from the debugger: Debugger entered--Lisp error: (error "Wrong argument type(s)") error("Wrong argument type(s)") org-cite-make-insert-processor(bibtex-actions-org-cite-insert bibtex-actions-org-cite-select-style) (org-cite-register-processor 'bibtex-actions-org-cite :insert