From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uJ2wK0nAeGNnKgAAbAwnHQ (envelope-from ) for ; Sat, 19 Nov 2022 12:38:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eKOVK0nAeGM4TgEAauVa8A (envelope-from ) for ; Sat, 19 Nov 2022 12:38:49 +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 70C6B3C836 for ; Sat, 19 Nov 2022 12:38:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owMAX-00044k-H5; Sat, 19 Nov 2022 06:37:57 -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 1owMAW-00044c-3i for emacs-orgmode@gnu.org; Sat, 19 Nov 2022 06:37:56 -0500 Received: from mr85p00im-zteg06011501.me.com ([17.58.23.182]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owMAU-0008Bl-IV for emacs-orgmode@gnu.org; Sat, 19 Nov 2022 06:37:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1668857871; bh=acVlvkHqUiXxRKGQysDLiYZ+afxbXiAsj8Pc5EeMteM=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=akGkS0wkya3T8htjEIsS3CuIGzgV/YvWbP+EUQNB0XUggGke25PzkGn93droFSDiL RZdo9Mobgy/I7H1sT8pTOpML/yWD8piLVm2lCV6xA2VMkAMd3hqL5F+PzNmMz+LNJ6 +Idt08WeSN6mYnTIwWalztnSD4Fdwuw9qHUcOgHh8DWOwkeAILx2fok+nvMpCKZZxl JlKGqMg0PFzTb9eriTpdODgX751ar+fEr+8uPAhDrYBrq7/O9OfDiyLeLniNNXWs7g 8/bahSWeCuiqE6PNUDP78Mucr/tlGfJCPABglR1aVJVIWPOLqVZJoF8QIKkwsVN111 gYy2XAQ02jaZQ== Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06011501.me.com (Postfix) with ESMTPSA id D9CFE480594 for ; Sat, 19 Nov 2022 11:37:50 +0000 (UTC) From: =?utf-8?Q?Rudolf_Adamkovi=C4=8D?= To: emacs-orgmode@gnu.org Subject: Make fuzzy links practical Date: Sat, 19 Nov 2022 12:37:46 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: sYCsSGZqhSsq7-W7BQlAjYI07Y0dciX8 X-Proofpoint-ORIG-GUID: sYCsSGZqhSsq7-W7BQlAjYI07Y0dciX8 X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.816,17.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2022-01-18=5F01:2022-01-14=5F01,2022-01-18=5F01,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 bulkscore=0 malwarescore=0 mlxscore=0 clxscore=1015 spamscore=0 suspectscore=0 mlxlogscore=737 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2211190086 Received-SPF: pass client-ip=17.58.23.182; envelope-from=salutis@me.com; helo=mr85p00im-zteg06011501.me.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668857929; 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=acVlvkHqUiXxRKGQysDLiYZ+afxbXiAsj8Pc5EeMteM=; b=d9bBKNvFsdnChfj0+fxILj4+mj5dXwSAHxhLHctNQAO3UQu2+PDT2k+Ip9dWz+h8sxjEbJ mpiZb48rEy3oaeXHZb532cLIrHm70tYJCig0Up/R8lRBUwbfGn90mqfspjkMD9zNFknmQ1 JKk0rCS4OQXvH8WRXqPydBep2tKC64Nq5n9EpiIQexit9gKzqClJL4belzR6/DI1i9DFVA uZUvEZz9J1ASu7qDqhcz5QDpNCafPZ8zo3VGSHPhi9KM/vG+/tr8PPAK/k8ePLFa2Lcjnd 70lY/JFrXLIsy75EmCF81+TT8Dp/M5/6+JkwYWvN8Wk6ynNYJFb78qlxoP5mPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668857929; a=rsa-sha256; cv=none; b=Z3lTybjMtvb+MwMH8wIc60NZgL7R3+4TBP47jvX8/VxQuQD4v7KqexLKgTYkswtQIrJln2 NS8NWxxQOKcsXUHIT8siVzTQdNoAD0Sl+sqE80Jys3Wk0bRrmsbOVyfUg60J+i6UF6a+/i 3cTD22MtG+8//Jul/YIibvj5aI5qRPpwbUB88UtCLHB2K8AF1SVnPy/iF7uzKkHGl7ZpwN TWj1sCj92I9EKVjZ2PiogQrtlUveE31Vf2PtgKm3Q9aQfV3ULQsk8LtrV9aakPNvHmmwOQ 2DlB9tUe0mPXJI89A/IO0SfMUyzfvE0ZOk/ou26VdXenIKrwOmXRdn4m+a9HFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=akGkS0wk; dmarc=pass (policy=quarantine) header.from=me.com; 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" X-Migadu-Spam-Score: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=akGkS0wk; dmarc=pass (policy=quarantine) header.from=me.com; 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" X-Migadu-Queue-Id: 70C6B3C836 X-Spam-Score: -2.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: UMIz201yTiBF Hello everyone! Given a fuzzy link [[word]], Org by default searches for a headline "* word". If no such headline exists, Org asks the user if they wish to create one. Then, the user can also set `org-link-search-must-match-exact-headline' to nil, in which case, Org will search the buffer for a case-folded "word", such as "word" or "Word". I find this *almost* practical because, in the Org world, we normally write headlines in either sentence case or title case, with the first word capitalized. But currently, if I have the text > * Aneuploid > > An [[organism]] with a [[chromosomal abnormality]] regarding the > number of [[chromosome]]s. Includes [[monosomic]] and [[trisomic]] > individuals. the target headlines must appear in lowercase, such as * chromosomal abnormality instead in the common form * Chromosomal abnormality Based on my research, it seems that Org has changed how fuzzy links match headlines, case sensitively or insensitively, multiple times. To make fuzzy links more practical, we have more options, including: 1. case-fold headlines by default, optimizing for the common use case 2. add `'case-fold' to `org-link-search-must-match-exact-headline' 3. obey `case-fold-search' option set by the user What do you folks think? Rudy --=20 "Thinking is a momentary dismissal of irrelevancies." -- Richard Buckminster Fuller, 1969 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia