From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WkchE5W93l5IYgAA0tVLHw (envelope-from ) for ; Mon, 08 Jun 2020 22:37:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8CPYDpW93l5VWAAAB5/wlQ (envelope-from ) for ; Mon, 08 Jun 2020 22:37:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 734189404D3 for ; Mon, 8 Jun 2020 22:37:08 +0000 (UTC) Received: from localhost ([::1]:60284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiQO9-0006fm-Gz for larch@yhetil.org; Mon, 08 Jun 2020 18:37:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiQNi-0006fe-2T for emacs-orgmode@gnu.org; Mon, 08 Jun 2020 18:36:38 -0400 Received: from mail-bn8nam11on2135.outbound.protection.outlook.com ([40.107.236.135]:8897 helo=NAM11-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiQNg-0007O2-08 for emacs-orgmode@gnu.org; Mon, 08 Jun 2020 18:36:37 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jQ9nRUjvqoYeGdHmoKoDazyJqoKUhwwx4HvffWjWCmY2/+5I/1rUWAb8vbNLp+LY4aO24tpjXLGxe3A1VaQmmMQQXUqW3up06n2euibogFxdXFVANi6oKgdR7bnWYJRU1onN90cfHyKi6N2egaExsgYJpxYKQ7Ev2fEUJjuLPw6iKemFrNU3coLpBQLw4cEEGprW9m9Qo+jH+KexNm3ZnEOb9Rz2/2S413N/LFD5k+j0BYg4VhmZb/geZbfccyEyO86+0F3Nm/TQKS83kf4BFnFzAauDPmxkCn6HNsLOTUrWccuKMUxM5I6X5kNOQZjasbgxZeFzwQqmu/q4VTAwWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tXog6SJrLBJgQp4V4stwKACmnHzCw8h3i8JE7KZdgMo=; b=PTkgeNOAwyz6+tvV2A0iODc8DLGYeajFarLLq4OpM1LzCNpttxsKto4OldQ/hXgUUAp1tAdUpFDmSpQitMU2M0LgtXRJP8G9tUbSkB33dI++a/OaUWtyyXNMD4DDk6+k2luvc+KlZdzfwxUREHwkOcpXqQy0kZEQHoe5xxt+5GtNxbbVKGmEpAOYJqEOs/mQ/e42jv0k33sfAdTmAJlyQbVcXd/X8inzUppTDjH4oS/y3ToGI3xmteqRo9Yg5Ix7BDKQS/IkLLc/lFdP/wU3MUgDHsr3dH29b7VUuZ1oXdEOg3bRuvv1AnaCwKyrxQVZjGbvaMqM19s7HmuLiioOjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucmerced.edu; dmarc=pass action=none header.from=ucmerced.edu; dkim=pass header.d=ucmerced.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=merced.onmicrosoft.com; s=selector1-merced-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tXog6SJrLBJgQp4V4stwKACmnHzCw8h3i8JE7KZdgMo=; b=ClJhMO+Hx2wf1b7f7xFQMdt9yWDETvy8O8XghtJrHGAwGyEBqXYpF5e4ssyOYGoLFqKgbuyhSHONWLagszexzZAdSaIK4sBk9JhuAOQSIVUm1cFi5pJa3l+NfN2Vut781ncqakavretTh+4lfH53XS/VKpFU9WiGonM4dqjIIX4= Received: from BYAPR06MB5638.namprd06.prod.outlook.com (2603:10b6:a03:a8::26) by BYAPR06MB5559.namprd06.prod.outlook.com (2603:10b6:a03:dd::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.20; Mon, 8 Jun 2020 22:21:29 +0000 Received: from BYAPR06MB5638.namprd06.prod.outlook.com ([fe80::d1f7:96b4:19d7:1cdc]) by BYAPR06MB5638.namprd06.prod.outlook.com ([fe80::d1f7:96b4:19d7:1cdc%7]) with mapi id 15.20.3066.023; Mon, 8 Jun 2020 22:21:29 +0000 Subject: Re: org-babel-tangle not using relative links From: Jeremias Gonzalez To: emacs-orgmode@gnu.org References: <6fb12326-52d3-7177-eff5-62603261b388@ucmerced.edu> Message-ID: Date: Mon, 8 Jun 2020 15:21:29 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Thunderbird/79.0a1 In-Reply-To: <6fb12326-52d3-7177-eff5-62603261b388@ucmerced.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BYAPR02CA0064.namprd02.prod.outlook.com (2603:10b6:a03:54::41) To BYAPR06MB5638.namprd06.prod.outlook.com (2603:10b6:a03:a8::26) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [IPv6:2601:203:4000:91d0:444a:5ba4:dcd3:1f63] (2601:203:4000:91d0:444a:5ba4:dcd3:1f63) by BYAPR02CA0064.namprd02.prod.outlook.com (2603:10b6:a03:54::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18 via Frontend Transport; Mon, 8 Jun 2020 22:21:29 +0000 X-Originating-IP: [2601:203:4000:91d0:444a:5ba4:dcd3:1f63] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 341f5adb-1492-48e9-d30b-08d80bfa4aa2 X-MS-TrafficTypeDiagnostic: BYAPR06MB5559: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 042857DBB5 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HZt+ckhZKZeD9TaRlenhLVJzycM8GjnVtG+NIKT7ITyxqCcaKVMVHvfnB9Be89HrQoTfsXMXAE4nzo0iW8yDvOm98FHf2hVClimY4W1zfs6pSwkLgoWzKISssdE6ZGCvC7Rkfr/TD6cnG2Zwj0PCfPymx47TH9RnsdJPYKvIBlgk04nO05NmeD08yoasdLQz755BqKbO9NumdjKAiHa0GMLgs9T1QU8d38+Ml5LXmBgCWWEp9uL7WeO6LwOnfd+M/sjRQOPaD3n1R6y601LVYbUo/n0w0KXN/EmmHyW3yyndyc0xI2ykFGpgVaYMb+bCjktDkFz7RhbOyu4NeDfJmRwgUMwci5Qv63PFpIcCu2UWuUgftG6xmjLXuA3rE/nh X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR06MB5638.namprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(366004)(39860400002)(136003)(376002)(396003)(2906002)(31696002)(66556008)(5660300002)(36756003)(2616005)(6486002)(66946007)(66476007)(31686004)(186003)(8936002)(86362001)(52116002)(16526019)(8676002)(316002)(786003)(75432002)(478600001)(6916009)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: HBs2DSTFxGB44e9RzX8NeDh4bk3fJIP4V4BbuRF32aPbcJXctarCsuwitG/gzFDZrQtx6nc/n9ExFlMmYtC4+NgdcB70201Xl5scPvSVP84mmt36NewwljYJ4B/4joOwEwnRbBx0DwJGPZrPV9TLhhjaUizyqrLWZzk08pxmFbqXeLkhaV85ljEN8BLt90BqW8t2lCZFsiNpJmtc6LOquSM15spQ1FkbokUUDuOLEs0TG1dbrIzGr2wOSfEmkNOu45y05SprjS2RIofFOoKecQ8obCtEyPcowOD+vEQqBhoWEfx1OpFCeV3dtj0KNq9xWzcp9IER8l5nMqSts9HARtJGkamOKGAQU9599aQ5LvZA+krBCoYIZLGRrh0jfNAJEJ9T9J/EfAnV5lGSxuaw+nhPKfDTtQBGjX9SbUqBJdNuIpes/TYFsBSq3YF0UhHLsAwBGTdtChUqkmSz/83x/UZwo9s8fNy8QqjXatHBH+TbNqAuv6u8MQ9EnLnq15nb0FhcQp1mUKrDEFno8wW1lqbBXy1cEn8TOp/yZlYE75E= X-OriginatorOrg: ucmerced.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 341f5adb-1492-48e9-d30b-08d80bfa4aa2 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2020 22:21:29.7667 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f4dfe9a3-ca78-4998-b7a7-e6d0692eace6 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CjUdtNQsKDDBm1ZWU6ZefEl2ml/HZ0PMM3hbv4+jtvgfmJhupHCjYEejSnGMfq/ZT+sm1VzXx2CM9ahZ3Lc53hjzRZfiqlsheh302tHePEw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR06MB5559 Received-SPF: pass client-ip=40.107.236.135; envelope-from=jgonzalez49@ucmerced.edu; helo=NAM11-BN8-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/08 18:36:33 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=merced.onmicrosoft.com header.s=selector1-merced-onmicrosoft-com header.b=ClJhMO+H; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -2.21 X-TUID: lrgRrvWJW8PO With some further testing regarding the issue, I have been able to replicate the problem, with the relative links setting in org babel being ignored, using "emacs -Q" on Ubuntu with the emacs version installed from their package repository. The test.org file is the same as before, and again the absolute path of the folder being shown in the link comments in the output test.py file: # [[file:~/mytest/test.org::*My%20top%20level][My top level:1]] print("This is my code") # My top level:1 ends here Here is the bug report system info: Emacs : GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14) of 2020-03-26, modified by Debian Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/) I was also able to replicate the problem using the bleeding edge version of org mode, with the same absolute path result as above. The bug report system info reports this org mode version: Package: Org mode version 9.3.7 (release_9.3.7-627-g0eeee1 @ /home/test/elisp/org-mode/lisp/) Let me know if I can provide any further information, thank you very much for your help.