* lisp/test-ox.el (test-org-export/expand-include): Modify the
INCLUDE test to ensure that a.org including subdir/b.org including
c.org causes subdir/c.org to be read, not c.org.
TINYCHANGE
---
testing/examples/include.org| 2 +-
testing/examples/{include2.org => include3.org}
* lisp/ox.el (defun org-export-expand-include-keyword): cd instead of
passing DIR to expand-file-name so that if the INCLUDE file has a
SETUPFILE line with a relative pathname the full pathname to the
SETUPFILE will be expanded properly.
Assume the following files:
/home/foo/a.org:
#+INCLU
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 e
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-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 relat
On 2015-09-19 18:43, Kyle Meyer wrote:
> Richard Hansen writes:
>
>> (with-temp-buffer
>> + (cd (file-name-directory file))
>> (org-mode)
>> (insert (o
* 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 relat
On 2015-09-19 04:16, Nicolas Goaziou wrote:
> Hello,
>
> Richard Hansen writes:
>
>> * lisp/org.el (org--setup-collect-keywords): 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 relative pathnames
in the SETUPFILE are expanded properly.
* lisp/ox.el (org-export--get-inbuffer-options): cd to the directory
containing the SETUPFILE before recursing so that relat
On 2013-07-01 17:46, Rasmus wrote:
>
> Hi Richard,
>
>> I recently upgraded from 7.8.03 to current master (actually
>> release_8.0.3-299-g1d606c0) and now when I export to LaTeX, the following:
>>
>>#+DATE: %Y-%m-%d
>>
>> no longer causes the date to be the current date in ISO 8601 format. I
Hi all,
I recently upgraded from 7.8.03 to current master (actually
release_8.0.3-299-g1d606c0) and now when I export to LaTeX, the following:
#+DATE: %Y-%m-%d
no longer causes the date to be the current date in ISO 8601 format. It
now simply prints "%Y-%m-%d".
I tried:
#+DATE: {{{date(
* lisp/ob-core.el: (org-babel-check-confirm-evaluate): Fix handling of
`org-confirm-babel-evaluate' when it is a function.
When `org-confirm-babel-evaluate' is a function, this construct:
(or (when (functionp org-confirm-babel-evaluate)
(funcall org-confirm-babel-evaluate lang blo
12 matches
Mail list logo