From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp1.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id UFolHPHZnWaDgwEA62LTzQ:P1
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 22 Jul 2024 04:02:57 +0000
Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1.migadu.com with LMTPS
	id UFolHPHZnWaDgwEA62LTzQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 22 Jul 2024 06:02:57 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=i8gNDUjN;
	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";
	dmarc=pass (policy=none) header.from=gnu.org
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1721620977;
	h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=422psN9lihXdu+0/vkw5jGRaIYJyYi4bKMzrBASGdUg=;
	b=XEJNX1qyNZ5WN2uWmGOztb22kfDQZJhpHmFxEkhQxmS5hms4MUAQtiqOz182twf1yw/JRT
	RrSVsvUDIFTuMCUh6H7iINhX73LZQmLDJl3+m/D1og6ATcxIbBXCTBohxvf9rIiwFQcOkf
	Bva9X/041a6USsVPOiPMDgVsVLKoY2L9zHxekbPiDFLMIAUOaCfNUm86JU2QxZCw/br/xK
	epdrpFAWT8WIth7oIuI0BGo9DJeitAITrWlxU3Eszs/AbHYBvDJ5uPKCapDI1QmHu0Rim9
	bvXUhNn3K6Luz7oY86PVYZBLGaT+4Env3Rxe98KNoirmGyd6a3+p3YoM3z1FgA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=i8gNDUjN;
	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";
	dmarc=pass (policy=none) header.from=gnu.org
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721620977; a=rsa-sha256; cv=none;
	b=XepJ85fZdUVm0xkHKpHAQJluMuPEblxWzH4X4Vjx/J8A7tLif6XfTchGRl0gWpk+Pata8V
	EZM+5sYymf8Qw3toMM9FKN7RWWTqimdkZscC6LwQ0Fila3e5gScqb+xc0F1inlTsdSshNp
	cYQnIB9rvgfZjpEXk6uJDUomLm4vWn+EaH63fhr7n4q9/cXm8EBzVvRvr5iZiD+fSQE1K8
	wZOWcaTd3gOQFQjLF7kM8Ryqv6P8BKDtvq5MWxZcqfPtTHQ7tlifs8YfZwzNivpVsGo/1N
	g86zDgavzUnI+z4nKULiiWrG9NeqTrzPt1Z65zKBW9dnt8ZeKpyQ/kJfQyEdKA==
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 CDD026C7CD
	for <larch@yhetil.org>; Mon, 22 Jul 2024 06:02:56 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1sVkFU-0000qx-Nx; Mon, 22 Jul 2024 00:02:09 -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 <rsw@gnu.org>) id 1sVkFS-0000qf-94
 for emacs-orgmode@gnu.org; Mon, 22 Jul 2024 00:02:06 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rsw@gnu.org>) id 1sVkFQ-0000z2-SP
 for emacs-orgmode@gnu.org; Mon, 22 Jul 2024 00:02:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=To:Subject:Date:From:In-Reply-To:References:
 MIME-Version; bh=422psN9lihXdu+0/vkw5jGRaIYJyYi4bKMzrBASGdUg=; b=i8gNDUjNkaKA
 AVL9Sj/GasOiAtEqawXGTum4+VZTa/YQWsztloawftl1EGvMDV6B2+ucW4IiQxdq/hlJxuwRoASsi
 WEKV1/he5aGkZ6dfoBz2MQXyCF9IW3BGagOXn/NZ+jiLjK1xImbJ3zoDuXY50ReeunIH3jthvOBs6
 K66Lc6H+vk/kgjAs2CfAe5T92yN+OxyXnVmyD1sDqIVSDxwGPxSqosU4Oc0x7ce0ksLJCO3/AhWSg
 aSLGBBjHv8G3hvWycBOLKiqUGHlQ4HTw430B1cEOULWA7tgLM0lLNNdFj4A050ZDXfzEotZPYzNKV
 S+oZCQZIbltbDxVT4dqiHw==;
X-Gm-Message-State: AOJu0Yxpm4bse9QObLue9llCx1HAxeyC+6SwwNgeY97UsKvl1phNwGPD
 MRIuydBM3FgPhvY0ZH9Ynf+7OHC4hRNtik34hFtd2Ucha1p6yShNln/jYbXa3BM5BYIb21js32f
 MH/T22pHbeG6FMDp/8AKA1sce9fk=
X-Google-Smtp-Source: AGHT+IHrZlw+bc4dSlC6NAO7uYCmaP3RobSlWaEvHQxq778ghDBwXCaO38Uqex7PSEzUvg7vPEABcsvSzCruzxuZXeg=
X-Received: by 2002:a05:6122:2003:b0:4f5:1978:d23f with SMTP id
 71dfb90a1353d-4f51978d8c7mr1266137e0c.1.1721620919724; Sun, 21 Jul 2024
 21:01:59 -0700 (PDT)
MIME-Version: 1.0
References: <CA+OMD9hhWTcHiEC9gwNx-gJdUv_JxGJ3dfQepZ=N2jHkpus5TA@mail.gmail.com>
 <Zp1RJo5SGiFsmmiu@orm-t14s>
 <CA+OMD9hTSVZEn=fFQsjSr1Pz1EBR65nJciiguMQvVSEzYVDE-w@mail.gmail.com>
In-Reply-To: <CA+OMD9hTSVZEn=fFQsjSr1Pz1EBR65nJciiguMQvVSEzYVDE-w@mail.gmail.com>
From: Robert Weiner <rsw@gnu.org>
Date: Mon, 22 Jul 2024 00:01:33 -0400
X-Gmail-Original-Message-ID: <CA+OMD9h7uNQwL9ipe+CFixHvw54KUD66FVh8XjmSKYcfg=A9Fw@mail.gmail.com>
Message-ID: <CA+OMD9h7uNQwL9ipe+CFixHvw54KUD66FVh8XjmSKYcfg=A9Fw@mail.gmail.com>
Subject: Re: How to fully control parsing of Org mode links during export
To: emacs-orgmode@gnu.org
Content-Type: multipart/alternative; boundary="0000000000005bbe0a061dce1bab"
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Reply-To: rswgnu@gmail.com
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Migadu-Queue-Id: CDD026C7CD
X-Migadu-Scanner: mx13.migadu.com
X-Migadu-Spam-Score: -11.11
X-Spam-Score: -11.11
X-TUID: K9kbZstQSDqb

--0000000000005bbe0a061dce1bab
Content-Type: text/plain; charset="UTF-8"

Sorry, I mistyped the first example in my message, it should read:

1. When exporting from an Org file to html, I want this
     [[Emacs#Section-One]]
   to be converted into this:
     <a href="Emacs.html#Section-One">Emacs#Section-One</a>
   but instead Org export produces:
     <a href="Emacs.html">Emacs</a>#Section-One

-- rsw

--0000000000005bbe0a061dce1bab
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace,monospace">Sorry, I mistyped the first example in my mes=
sage, it should read:</div><div class=3D"gmail_default" style=3D"font-famil=
y:monospace,monospace"><br></div><div class=3D"gmail_default" style=3D"font=
-family:monospace,monospace">1. When exporting from an Org file to html, I =
want this<br>=C2=A0 =C2=A0 =C2=A0[[Emacs#Section-One]]<br>=C2=A0 =C2=A0to b=
e converted into this:<br>=C2=A0 =C2=A0 =C2=A0&lt;a href=3D&quot;Emacs.html=
#Section-One&quot;&gt;Emacs#Section-One&lt;/a&gt;<br>=C2=A0 =C2=A0but inste=
ad Org export produces:<br>=C2=A0 =C2=A0 =C2=A0&lt;a href=3D&quot;Emacs.htm=
l&quot;&gt;Emacs&lt;/a&gt;#Section-One<br></div></div><div><br></div><div><=
div style=3D"font-family:monospace,monospace" class=3D"gmail_default">-- rs=
w<br></div><br></div></div>

--0000000000005bbe0a061dce1bab--