From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6JC1Ene5DmVc+gAAG6o9tA:P1 (envelope-from ) for ; Sat, 23 Sep 2023 12:09:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6JC1Ene5DmVc+gAAG6o9tA (envelope-from ) for ; Sat, 23 Sep 2023 12:09:59 +0200 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 C48B84734C for ; Sat, 23 Sep 2023 12:09:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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=fail reason="SPF not aligned (strict), No valid DKIM" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695463799; 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; bh=CGFlExDaKSgrcCYL6ZRLVPbHRY/AyOJ9dZFgQPiNAy4=; b=cIo+V1jcbNsw5xxSdCtNCgv/xheWMBGmc9UjBK5z8XvQQrPfooIA2Qp5o7/mdHMoDX4Nz5 uXAkXV+fuqvsBWpTFm5aYUQ8hrj/kWxXlNOJHCdc2voknkRkIuP7l/z1dNPG4eEEjx5TTC 511ArVO7NKi12Zw/ulDKmzHVCOsNINjErYvbmYjnBsUokDn9Eg5XkIs09NV8XlmFP2krCt hAR9YkeRbjozlDJSjYJMLaXRvYhtQmlHgunf7FVIvPqkamd6DWasnFWiFvXsV2qXzUt79f lJdyuYZzGKAogC3gIGPOIVjC8zkqhrDFqUg39jgh4iifYwQlmcHtiCCs99aUKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695463799; a=rsa-sha256; cv=none; b=q81YspeDUngjhUxjD/VNAarfWowM7cb8KCcZDwQT1UtVgQcGIp8VKBGqkEuuptdPbPyi5P XWfL5ijBf7p+XImQfcEtNhp/LRclqie0PEGXGa1zIe5WqU+KeWSak5blVD6u3RwRXuw6ZT 0p8MMon/6aIgaVu7r6++06+ljPYg45EO/1tw0K3SUDSt5uh3yCB/Icw9w6jcjWbM+0j/Ff v/IhcRa7iBBN5YsmDC9Ae+gXIsCkvENvVTzLOxi0EwJ2Ws97c3i0Df5Z3Y1tjw0khqOn6a T7Apcje1+FP4VajNRALJ5zaFvuD4yb7pbOK8E53AVwLtNQ+GNUMQtQRK6kIyog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=fail reason="SPF not aligned (strict), No valid DKIM" header.from=posteo.net (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjzZW-0005ma-5j; Sat, 23 Sep 2023 06:09:10 -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 1qjzZU-0005mO-QK for emacs-orgmode@gnu.org; Sat, 23 Sep 2023 06:09:08 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjzZN-0005vq-Qf for emacs-orgmode@gnu.org; Sat, 23 Sep 2023 06:09:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8C02B240101 for ; Sat, 23 Sep 2023 12:08:55 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rt4bp6S8Jz6tv5; Sat, 23 Sep 2023 12:08:54 +0200 (CEST) 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: Date: Sat, 23 Sep 2023 10:10:11 +0000 Message-ID: <87o7ht2oak.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.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, 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 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-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -2.84 X-Spam-Score: -2.84 X-Migadu-Queue-Id: C48B84734C X-TUID: +2xUkbKySMdl Rudolf Adamkovi=C4=8D writes: > A while ago, I asked about case insensitivity of the syntactically > simplest "[[links]]" in Org. I am interested in using these links > because they are the most practical with the "literal" view. > > In 'emacs -Q' Org 9.6.9, "[[links]]" are case _sensitive_ when looking > for headings. This was originally not the case, and case _insensitive_ > linking was broken in Org 7 and then fixed in Org 8, as per [1] and [2]. > Is it broken again? I ask because 'org-link-search' documentation says > that search is "case-insensitive and ignores white spaces". Currently, headline matching in `org-link-search' and `org-export-resolve-fuzzy-link' is case-sensitive. > On top of the above, yesterday I noticed that > > (setq org-link-search-must-match-exact-headline nil) > > makes "[[link]]" find "* Link" when clicked. My joy was short-lived, > however, as I soon found that I cannot export anything due to > > org-export-data: Unable to resolve link: "link". This is because of different reason - Org export is not able to export fuzzy links that do not point to a named target: (defun org-export-resolve-fuzzy-link (link info &rest pseudo-types) "Return LINK destination. =20=20=20=20 INFO is a plist holding contextual information. =20=20=20=20 Return value can be an object or an element: =20=20=20=20 - If LINK path matches a target object (i.e. <>) return it. =20=20=20=20 - If LINK path exactly matches the name or results affiliated keyword (i.e. #+NAME: path or #+RESULTS: name) of an element, return that element. =20=20=20=20 - If LINK path exactly matches any headline name, return that element. =20=20=20=20 - Otherwise, throw an error. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at