Kyle Meyer <[email protected]> writes:

>> Kyle, on Emacs repository side, we have /etc/org/. Do you think it will
>> be OK to put a .py file in there?
>
> I think that should be fine.  (I don't recall any objections from the
> Emacs side when etc/org/csl/ was added.)
>
> It's probably also worth considering org-cite-csl--etc-dir's logic:
>
>   (defconst org-cite-csl--etc-dir
>     (let ((oc-root (file-name-directory (locate-library "oc"))))
>       (cond
>        ;; First check whether it looks like we're running from the main
>        ;; Org repository.
>        ((let ((csl-org (expand-file-name "../etc/csl/" oc-root)))
>           (and (file-directory-p csl-org) csl-org)))
>        ;; Next look for the directory alongside oc.el because package.el
>        ;; and straight will put all of org-mode/lisp/ in org-mode/.
>        ((let ((csl-pkg (expand-file-name "etc/csl/" oc-root)))
>           (and (file-directory-p csl-pkg) csl-pkg)))
>        ;; Finally fall back the location used by shared system installs
>        ;; and when running directly from Emacs repository.
>        (t
>         (expand-file-name "org/csl/" data-directory))))
>     "Directory containing CSL-related data files.")

Jack, did you have a chance to look into this?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to