[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] c-csl : accept relative CSL filenames
From: |
Emmanuel Charpentier |
Subject: |
Re: [PATCH] c-csl : accept relative CSL filenames |
Date: |
Fri, 05 Nov 2021 18:56:09 +0100 |
User-agent: |
Evolution 3.42.0-2 |
Quintus' example illustrates why I think my proposed patch is useful
(or, rather, will be when corrected :-)), and why the order of research
should be from most-specific to less-specific.
If a finename is not absolute, search :
1. relatively to the buffer's default directory
2. if 1. unsuccessfull, relatively to`org-cite-csl-styles-dir'
3. if 2. unsuccessfull, relatively to emacs' default directory
(BTW : what is this ? How to retrieve it ?)
4. if 3. unsuccessfull, fail.
BTW : my current code does *not* work, and I do not understand why my
test used to succeed... A better patch will follow ( but not
tonight...).
HTH,
--
Emmanuel Charpentier