From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 SH8fMnfl3WZUDQEA62LTzQ:P1 (envelope-from ) for ; Sun, 08 Sep 2024 17:57:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SH8fMnfl3WZUDQEA62LTzQ (envelope-from ) for ; Sun, 08 Sep 2024 19:57:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dwPtrMVS; dmarc=pass (policy=none) header.from=posteo.net; 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=1725818231; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=J+VE8tcoptUp+u1P9bxATXjH2U2Z02G1MD7tMju9xro=; b=HFCVaqOoiy1bUzY6q4sJ2DWN5R5UTmL3c4SiOt6xZciz26jWjiuQ5F05S7mX5UNgoeJOpJ YH0voeUaqfDzPAPpxJA2GzuHaOMlR8z2B141sJBuSyZtiM6V0rM+14AEEGHXg3g/IMbVY+ DeIGEYOreWVS3zjMbBJCGwEdXPF1wVjdtLTblj8vMDU8iAPZMw7Thk2+8IHCEJC1HtK1ba POF3IV56wU76HKPNC7ZyrXVjcMNkFDqwWyJIfbEX1LC9bnIlszMC6KmmRLaXxgjHu9rM4F w6WYKPZGaB+YxDwmW7jNcZr0mUzxpNr9NoS+dZ+Zt6dnHzQ8/nBhcBFpPbGCEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725818231; a=rsa-sha256; cv=none; b=mpDILOVDUGyPxrvbuBf5N8rqR4t6GumQ4CQ1ELT5edBHi+TtmO5blX1x94rHZ/1peDPm2M 6VpymlKAQuRx/mXpQKo+9TNBfYpmh1Eu3yqrFhpQNHhMX9GNi9Y2hcw1XZTleGlGaMmQCS eb3UD62aD/qaZz1A0K5qPB0DLrFrkEZDanEZr+VrOt6PlAApWEjJre4/cPvuLgmZys2kwq BMLDf3ZrcYdmu43lsSVSaapPXtz/CUChhgcNrHa9j40EuwZaGB95IgLOG97nx8cT+pkPtP ukaNMXydwj9up+KDMbQc7P4XLeDVKcJKNH34/yjBLuiGx044VBu6FETLMHQEcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dwPtrMVS; dmarc=pass (policy=none) header.from=posteo.net; 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 8AB4E6D455 for ; Sun, 08 Sep 2024 19:57:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snM92-0002Ha-NM; Sun, 08 Sep 2024 13:56:16 -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 1snM90-0002GU-SK for emacs-orgmode@gnu.org; Sun, 08 Sep 2024 13:56:14 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snM8v-000821-H7 for emacs-orgmode@gnu.org; Sun, 08 Sep 2024 13:56:11 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BC138240027 for ; Sun, 8 Sep 2024 19:56:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1725818166; bh=vYxmMrG/SZ5JzqpWFpjyRPCoGcAatBBuZ/8jRRZ6qIQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=dwPtrMVScGGNr/4FDFyqeg6OOYiax7xtT7E5pz6XSY3gw8c7mdyAzJlE9XRj8jA6E EUXsx9KSM1qStVqyPc4Fgi4xU5cZYFD/CJAVm98ReJvaqjhTU2q72sK2yAjrrT8vkL 4idYlIzdhIiB7+utcAOxp3MjxEpXZASJOQg6WtZbG8X+qUz8vhf6bspwJVSavSpdPO 3Vkte4KUY4JNNwENDQpMWiGvcWqAifDxn7GeysxU5mRnJE9+QF1kRNaXHud4oDeW4C SOTUOf75eI25/JRxaFrA3CjsRdGI3LcmfFaDSOx0rXIME5Ge5rp2W4etkjoASVTBkZ PgpNUv5/7fwcQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X1yLt0BmZz9rxM; Sun, 8 Sep 2024 19:56:05 +0200 (CEST) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: emacs-orgmode@gnu.org Subject: Re: Org exports broken ID links In-Reply-To: References: <87plpolo5t.fsf@localhost> <875xrf8qhk.fsf@localhost> Date: Sun, 08 Sep 2024 17:57:32 +0000 Message-ID: <875xr6rptf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: -6.71 X-Spam-Score: -6.71 X-Migadu-Queue-Id: 8AB4E6D455 X-Migadu-Scanner: mx11.migadu.com X-TUID: GBTF1IsVkHZ1 Rudolf Adamkovi=C4=8D writes: >>> `ox-texinfo' exports the link as >>>=20 >>> @uref{file://test.org,Foo} >> >> the link points to the test.org file. It is not broken - the relevant >> heading is present in the .org file even though it is absent in the >> exported .texi file. > > Oh, I see now. OMG, I would have never guessed that! > > [It definitely is not intuitive.] Depends. Consider, for example, subtree export with subtree containing links to the rest of the Org file. Then, it makes more sense, I think. > Either way, thank you for re-explaining. :) I actually spoke too soon. * Foo :noexport: :PROPERTIES: :ID: xxx :END: * Bar [[id:xxx][Foo]] does produce invalid link in the html export. More specifically, it first produces .org link, but then `org-html-link-org-files-as-html' comes into play, and HTML exporter assumes that the whole original .org file has been exported, converting the link back into internal html link. So... Confirmed. However, the fix would be more or less easy just for links to the current .org file. It is not clear what to do with links to external org files - we have no information whether the link target (or even the linked org file) is exported or not. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at