From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Vollmar Subject: Inconsistent behaviour when #+setupfile is used recursively Date: Wed, 13 Jul 2011 09:49:09 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Apple-Mail-24--623815461; protocol="application/pkcs7-signature"; micalg=sha1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QguC8-0001q9-Io for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 03:49:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QguC4-0002aa-1O for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 03:49:20 -0400 Received: from mail.nf.mpg.de ([134.107.209.50]:51921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QguC3-0002Zi-OD for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 03:49:15 -0400 Received: from [10.206.47.100] (tmo-096-60.customers.d1-online.com [80.187.96.60]) by mail.nf.mpg.de (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTPSA id <0LO900N65HTJ0B00@mail.nf.mpg.de> for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 09:51:21 +0200 (MEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Mode --Apple-Mail-24--623815461 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi, 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. When = changing the above line to #+setupfile: ../common/org/setup-common the documentation builds successfully.=20 We would expect Org-mode to search for an include file relative to the = file that contains the setupfile-statement. Maybe a simple solution = would be to temporarily set the current working dir to the path of the = including file (around line 17620 in org.el)? Many thanks in advance! Warm regards, Stefan --=20 Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut f=FCr neurologische Forschung Gleuelerstr. 50, 50931 K=F6ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 E-Mail: vollmar@nf.mpg.de http://www.nf.mpg.de --Apple-Mail-24--623815461 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIOHTCCBCEw ggMJoAMCAQICAgDHMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNEZXV0 c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVyMSMwIQYDVQQD ExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw0wNjEyMTkxMDI5MDBaFw0xOTA2MzAyMzU5 MDBaMFoxCzAJBgNVBAYTAkRFMRMwEQYDVQQKEwpERk4tVmVyZWluMRAwDgYDVQQLEwdERk4tUEtJ MSQwIgYDVQQDExtERk4tVmVyZWluIFBDQSBHbG9iYWwgLSBHMDEwggEiMA0GCSqGSIb3DQEBAQUA A4IBDwAwggEKAoIBAQDpm8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