Re: [O] [PATCH v3] fix SETUPFILE pathname expansion with subdirectories

2015-09-25 Thread Nicolas Goaziou
Hello, Richard Hansen writes: > The intended meanings of #+INCLUDE and #+SETUPFILE have never been clear > to me, so I have a couple of questions: INCLUDE is only expanded during export. SETUPFILE are parsed when refreshing document properties (e.g., when using C-c C-c on a

Re: [O] [PATCH v3] fix SETUPFILE pathname expansion with subdirectories

2015-09-24 Thread Nicolas Goaziou
Hello, Richard Hansen writes: > Any other feedback on this patch? Apparently, no. Applied. Thank you. Would it make sense to do the same for INCLUDE? If so, would you want to have a look at it? Regards, -- Nicolas Goaziou

Re: [O] [PATCH v3] fix SETUPFILE pathname expansion with subdirectories

2015-09-24 Thread Richard Hansen
On 2015-09-24 04:22, Nicolas Goaziou wrote: > Applied. Thank you. Thank you! > > Would it make sense to do the same for INCLUDE? If so, would you want to > have a look at it? A chain of #+INCLUDEs already works OK. I'll send a patch that tweaks the test-org-export/expand-include test case to

Re: [O] [PATCH v3] fix SETUPFILE pathname expansion with subdirectories

2015-09-22 Thread Richard Hansen
Any other feedback on this patch? Thanks, Richard On 2015-09-20 01:28, Richard Hansen wrote: > * lisp/org-macro.el (org-macro--collect-macros): cd to the directory > containing the SETUPFILE before recursing so that relative pathnames > in the SETUPFILE are expanded properly. > > * lisp/org.el

[O] [PATCH v3] fix SETUPFILE pathname expansion with subdirectories

2015-09-19 Thread Richard Hansen
* lisp/org-macro.el (org-macro--collect-macros): cd to the directory containing the SETUPFILE before recursing so that relative pathnames in the SETUPFILE are expanded properly. * lisp/org.el (org--setup-collect-keywords): cd to the directory containing the SETUPFILE before recursing so that