From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Emmanuel Charpentier <emm.charpentier@free.fr>
Cc: post+orgmodeml@guelker.eu, emacs-orgmode@gnu.org
Subject: Re: [PATCH] c-csl : accept relative CSL filenames
Date: Fri, 10 Dec 2021 10:20:52 +0100 [thread overview]
Message-ID: <87h7bgstmz.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <b813970be78cebb275a7ac04a7b10dacb71b7766.camel@free.fr> (Emmanuel Charpentier's message of "Fri, 05 Nov 2021 18:56:09 +0100")
Hello,
Emmanuel Charpentier <emm.charpentier@free.fr> writes:
> 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...).
Since you are probably busy, I implemented this on your behalf. The new
behaviour is in main branch. Thank you.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2021-12-10 10:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-05 17:56 [PATCH] c-csl : accept relative CSL filenames Emmanuel Charpentier
2021-11-19 12:54 ` Nicolas Goaziou
2021-11-19 18:10 ` M. ‘quintus’ Gülker
2021-12-10 9:20 ` Nicolas Goaziou [this message]
2022-02-18 14:51 ` Kaushal Modi
2022-02-18 18:16 ` Nicolas Goaziou
2022-02-18 19:17 ` Kaushal Modi
-- strict thread matches above, loose matches on Subject: below --
2021-10-19 18:24 Emmanuel Charpentier
2021-11-03 16:19 ` Nicolas Goaziou
2021-11-04 16:25 ` Emmanuel Charpentier
2021-11-04 22:16 ` Nicolas Goaziou
2021-11-04 22:36 ` Bruce D'Arcus
2021-11-05 12:18 ` Eric S Fraga
2021-11-05 9:38 ` M. ‘quintus’ Gülker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h7bgstmz.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=emm.charpentier@free.fr \
--cc=post+orgmodeml@guelker.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).