From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mPa7KFBadGXhIAEA9RJhRA:P1 (envelope-from ) for ; Sat, 09 Dec 2023 13:15:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mPa7KFBadGXhIAEA9RJhRA (envelope-from ) for ; Sat, 09 Dec 2023 13:15:12 +0100 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 5A51216A96 for ; Sat, 9 Dec 2023 13:15:12 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HNGhuNPV; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702124112; 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=wZt9g+pNDPI2Dy+Nm/sgRZgBitivP9xx0iaP9RZWM3U=; b=AtZhAgmBs+aLnNW3C/oeIt7dkeRkvoRFMQYtuzKtE9TLp8+uBnzj7Q71zMZ3DFyDL9oFN5 IXgoE4eHXawaysUwd44E46DogqEZS9+ReN7MCGCMbIene3gNroq3lNSl8y6Xl9DmhOHrkw Eo/OABxZTbxlcjByWZrbgA7sGHxVAkvcgDfGIL6iPrxqRP8RbYR8VvSZt4SmAaJKo691Cx 0WhrCo6aH88MM87iecaO5kwmYNumuYyA2vyBA3OP9DaJzqP6sja6yRDi7RVJjAkRaZiyzR c1ase3iZlZ2yVAwq44fQqbCTfW9XdKsHzDB90QXQqzXVkR1LDJe6TB0aqkwtMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HNGhuNPV; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702124112; a=rsa-sha256; cv=none; b=VK3OhpJL06CNu/FbwAVAHSMxDSmnCKO/Q4ODCE/b4da7CmShk1RSwKQJlLuT+P7RNRLRsR itdsFVwdWabtVhEd9OzmULEuvzUk0x1QjSu1+/TlZ/ea5tT/FWm9OBoMiqXKOB1fAOMWlu Kj1HZGmUFI7CSHk5SF1v3tGO4LKjFOI7JJkKmlCZ9qiYXqlV/k9x9kVhCa2aOzU+MACF6L rGfM/EjUy3bc2c562WDvvv58AoNehXcnmAIEme/r3QN/MTeMvo1dKu9TnVEzusLge2B/ug kMNLJX/dZ2AGkZANYK72J1tE2+NTD4iN4oV7yMbbHrgfpNAzNldVicaZ+WUMVA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBwDx-00041x-Mi; Sat, 09 Dec 2023 07:14:25 -0500 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 1rBwDv-00041f-S9 for emacs-orgmode@gnu.org; Sat, 09 Dec 2023 07:14:23 -0500 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 1rBwDt-0005RK-A2 for emacs-orgmode@gnu.org; Sat, 09 Dec 2023 07:14:23 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E5642240027 for ; Sat, 9 Dec 2023 13:14:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1702124057; bh=ZEQZr7D+Uv7gMH9uFRwVGVxoNlvmTqPEee31a8JuB2Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=HNGhuNPVurOeOKrQhFqne6RB/EY2tDj/FzdcIdwiQuvGxkbo7y1vm3L1TYS8DVJxh gAmpiQo7w0cHnYQOA0u7k62oQpw/Y3T/iQ56Cqc/g/4nu398PmXUmOhc/0YOJuqQCF hDf8XS1qfh2obrXvJ+2tBwq5tvrIX5oekPSRBX89mnPPpU0oNC3NYydGbc+c5sn0J7 55D86jSbk3ID4jrAxkuxG1L9I7YU1xOkQmi25NJriz0oKFV1PUNXUjqg5vyxmPFUcW OOUvscLf5cPMI2Jkpd0RyJuMQyM4M2fDRwXf88UuTYKAWvhXzFOjMk2BwdM/LQmHl7 VC5qoxUQQuUHA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SnRkx2G3Vz6tsj; Sat, 9 Dec 2023 13:14:17 +0100 (CET) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: emacs-orgmode@gnu.org Subject: Re: Case insensitivity of simple [[links]] In-Reply-To: References: <87o7ht2oak.fsf@localhost> <87zg198b8s.fsf@localhost> <87edi9i3by.fsf@localhost> <87sf6dbmrp.fsf@localhost> <87jzrlfrql.fsf@localhost> Date: Sat, 09 Dec 2023 12:17:25 +0000 Message-ID: <871qbvsh7u.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.31 X-Spam-Score: -2.31 X-Migadu-Queue-Id: 5A51216A96 X-TUID: JU+uKK8kY1uI Rudolf Adamkovi=C4=8D writes: > Actually, dang! I spoke too soon. While links now work consistently > before and after exports, their description matches the destination > heading, not the source link. But if we case-fold now, it would make a > lot more sense to match the case of the source link, as it enables one > to link [[capitalized heading]]s. Otherwise, we case-fold with no > significant benefits, as far as I can see. > > Without also fixing this part, my problem with Org remains. :( What you want is very hard to implement in Org mode for all the backends - the export API, when querying a link target, returns that target as AST element. Individual backends then decide what to do with that target in order to extract the actual exported link text. And we have no control over the third-party export backends. What you may do instead is to create a custom element in `org-export-filter-parse-tree-functions' that will force description in the fuzzy links. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at