emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] c-csl : accept relative CSL filenames


From: Nicolas Goaziou
Subject: Re: [PATCH] c-csl : accept relative CSL filenames
Date: Fri, 19 Nov 2021 13:54:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hello,

Emmanuel Charpentier <emm.charpentier@free.fr> writes:

> 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 ?)

There's no such thing.

>       4. if 3. unsuccessfull, fail.

I think `org-cite-csl-styles-dir' trumps buffer default directory as
much as explicit trumps implicit. If you need to override the variable,
you can still use an absolute file name.

I think a better order for a relative file name would be:

 1. relatively to `org-cite-csl-styles-dir',
 2. relatively to buffer's default directory,
 3. failure.

WDYT?
 
Regards,
-- 
Nicolas Goaziou



reply via email to

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