From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YP9dJAIMtmbyvQAAe85BDQ:P1 (envelope-from ) for ; Fri, 09 Aug 2024 12:30:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YP9dJAIMtmbyvQAAe85BDQ (envelope-from ) for ; Fri, 09 Aug 2024 14:30:58 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=metacode.biz header.s=key1 header.b=Ta+fNEwG; dmarc=pass (policy=reject) header.from=metacode.biz; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723206658; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2agRWWkXcBH5izE0qaYPKZSUi7yqewKItBGdn14xVyM=; b=oMU/1llGKHhkhjhq7CmeLwOeDNO4z0W85PGOyKbx36aP2iB6EZ0BjMzkn5PFhgDv+amBo9 KooMc0q8tbr3mfUhOUN4YdWo+KqAlmmXbM22i2dGtpXQk/G2rfqazm7WGw5q9B2+t+P6Vw 4/ZAf1C5EZXRAwSOw6wWhwS+/tBBDUcUjY/eaZhGsb8oYPAdFpN+KaBC89OQs+jp03ehMB S0w6CJFcM1QbQOfP5Wc93CdKLmAT1TzJLssoY8BtC0UNRLHf4JuEIEDSmdSH5K/cPqrNGY ZQ6cXAV/Th1QqGdWO1gCaBd8/tkimhGqbSq9HXiW7xFt6Sgiv3wYK39ZSjlHuQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723206658; a=rsa-sha256; cv=none; b=ll3VjXHnnWISJ8z3KU2i7Ag3i9QO+Fgh3xxA+OZGRjW7bSMhB/BcdSdjzU20W/9dlSAbRQ GfJDW8jDdUEoP5Cz7vBh0kxqi2twuKGp2lTccl65g/xlmdihBs5dbbHjRRkajx4gZzC8RY Sm7ENGmxG0vvoGYdmWpsCTTGP7LY0He2Cna6N8uzjQW3ZITydfLpfnMYOYqfuzsvIoYB+y Cum726TG5+uTSC5DDsFnufTcWtQ/6sEVZO+ZYtM/pd5l/HUC6bKn5tVx/4mPl4WRcEN+lD Xx9Y22nV2xFtyQzJR/7X4zEncC7hUg23VEVkdPL5coNaEXAK8ZyFWfRjqj+l4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=metacode.biz header.s=key1 header.b=Ta+fNEwG; dmarc=pass (policy=reject) header.from=metacode.biz; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" 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 2EB697D0CB for ; Fri, 09 Aug 2024 14:30:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scOks-0002Gl-UO; Fri, 09 Aug 2024 08:30:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sc263-000220-4D for emacs-orgmode@gnu.org; Thu, 08 Aug 2024 08:18:23 -0400 Received: from out-179.mta1.migadu.com ([95.215.58.179]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sc25x-0004Iz-5Y for emacs-orgmode@gnu.org; Thu, 08 Aug 2024 08:18:22 -0400 Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=metacode.biz; s=key1; t=1723119488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2agRWWkXcBH5izE0qaYPKZSUi7yqewKItBGdn14xVyM=; b=Ta+fNEwGA+/ixgnZmhYUfYBcLHBBq5VkW6/vR0Vu/km5lYVOwd3n9plrNXVTBmkxZWIK92 vEsZHjyI1woilK41RJxCAm7vXOowHjBNGGGjrGy9o1NaeO6ryYqbApdIorarEHthHcq463 3ggSui52+HxWH8jaTi9q6FenCT7p2qk= Date: Thu, 8 Aug 2024 14:18:04 +0200 MIME-Version: 1.0 Content-Language: en-US, pl-PL X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Wiktor Kwapisiewicz Subject: Question about relative paths generated by Org Organization: Metacode To: emacs-orgmode@gnu.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=95.215.58.179; envelope-from=wiktor@metacode.biz; helo=out-179.mta1.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 09 Aug 2024 08:30:00 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.75 X-Spam-Score: -3.75 X-Migadu-Queue-Id: 2EB697D0CB X-Migadu-Scanner: mx11.migadu.com X-TUID: UpnNqMN7st49 Hello, I'm using Org-mode's clock feature and it's really great! One thing bothers me: the links generated by the ":link t" option on the clocktable [0] are absolute [1] and it causes problems when using the same file on two different machines: #+BEGIN: clocktable :scope file :maxlevel 3 :link t #+CAPTION: Clock summary at [2024-08-08 Thu 11:02] | Headline | Time | | |--------------+--------+------| | *Total time* | *4:32* | | |--------------+--------+------| | [[file:/home/runner/work/org-test/org-test/README.org::Project][Project]] | 4:32 | | | \_ [[file:/home/runner/work/org-test/org-test/README.org::Task 1][Task 1]] | | 3:30 | | \_ [[file:/home/runner/work/org-test/org-test/README.org::Task 3][Task 3]] | | 1:02 | #+END: I've tried adjusting that with `(setq org-link-file-path-type 'relative)` but it doesn't seem to have any effect on the automatically generated clocktable (I ran emacs -nw README.org so the PWD should be correct). Is there anything I could try to make the links relative so that they look like this: [[file:README.org::Task 3][Task 3]] ? I've made a repository for reproducing this case: https://github.com/wiktor-k/org-test and I'm using emacs 29.4 and org 9.6.15. Thank you for your time and help! Kind regards, Wiktor [0]: https://github.com/wiktor-k/org-test/blob/main/README.org?plain=1#L39 [1]: https://github.com/wiktor-k/org-test/blob/main/README.org?plain=1#L46