[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Inconsistent behaviour when #+setupfile is used recursively
From: |
Bastien |
Subject: |
Re: [O] Inconsistent behaviour when #+setupfile is used recursively |
Date: |
Mon, 25 Jul 2011 15:46:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Stefan,
Stefan Vollmar <address@hidden> writes:
> we use Org-mode for software documentation and have come across the
> following behaviour with version 7.6 (release_7.6.71.g22fa9):
>
> our documentation is located in the directory doc/usage,
> e.g. doc/usage/index.org or doc/usage/tutorial.org, whereas Org-Mode's
> setupfiles are stored in doc/common/org,
> e.g. doc/common/org/setup-toc-large or doc/common/org/setup-common. When we
> include a setupfile from doc/usage/index.org using
>
> #+setupfile: ../common/org/setup-toc-large
>
> everything works fine. The path of the setupfile is relative to the path of
> index.org.
>
> However, when setup-toc-large itself includes another setupfile with
> setup-common using a relative path, the path is still treated as relative
> to index.org, not relative to setup-toc-large. Therefore, when using the
> line
>
> #+setupfile: setup-common
>
> within setup-toc-large, Org-Mode fails to find setup-common.
This is fixed in latest git. Thanks for signaling this bug.
Best,
--
Bastien