From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yDb9MKcpOmUqOQEAauVa8A:P1 (envelope-from ) for ; Thu, 26 Oct 2023 10:56:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yDb9MKcpOmUqOQEAauVa8A (envelope-from ) for ; Thu, 26 Oct 2023 10:56:07 +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 CD1B042FB3 for ; Thu, 26 Oct 2023 10:56:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kxGy1KuM; 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=1698310567; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DWGF2O5pbduGXd/P6op//UJmu/AOtpHLOzhD4x/UIQQ=; b=OruoAppd51HHU9nbJAE+RKXGrWmSJ5fOZd9oyntvSd1cSEkVCVf64X+AROzaKDBJMVxqkO hzt/RHr2q6W8NZpx3fvUxW0BNSUvDYFwcpK8NnnffMMhccvKY/HXqkMAqCda3ZnqWbn6i3 tVjeaoevqaJVgrirrDyvlBHj5iSpj+vI3byruQx11QZkn7Xpf0Tel7E6TRTP32PV/JYpWD EhfRHdYBBxWUtBAV/YEsXQZ9oC677iCYI0/Z7mJ5TGvkiGJbiV+6jEMTThMsG82HPg55j9 hHMBC5BJmmrazzMswHK1utEr1X/jAOGmHQAqJlTwX7M5wEc2CcjEPRMoyVi5eA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698310567; a=rsa-sha256; cv=none; b=et8FylT0css0Aia/bpQE0QiKI+loZdl0LxOSFz2PWWkGSzBZB3A41RiRtxYbFsgAH45dmT kr92VjxdDTQrjhtnWCJjCpbYeVUxKTr7zG0fo7OoGGp2aRJBw+ccbnzFVK6X2D8kQ0WUS9 PAKe8Pb8S25BXweMKl/lVR4Me+RCjrxAYxhx9lEAHgh4HUUoffDyFZMuPxH92CASMRzlSY GQWmK5rYCUApe3UpXRD/ClCwaONmyRU5vM0zXvzGiKyY7SZNHEPAK6CWJTJAoGzKiXL8Pj r/crv7iTJYhQ5UOWnHCNkyqo/cGuLLMlFL0T2tPngMbM4BIqGfYQX/bKBQvCgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kxGy1KuM; 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 localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvw94-0004oa-OJ; Thu, 26 Oct 2023 04:55:14 -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 1qvw8s-0004mq-GO for emacs-orgmode@gnu.org; Thu, 26 Oct 2023 04:55:10 -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 1qvw8p-0005Y6-Nh for emacs-orgmode@gnu.org; Thu, 26 Oct 2023 04:55:01 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8CF66240104 for ; Thu, 26 Oct 2023 10:54:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1698310497; bh=8xZMa1aQF4NnUMlXpXdDTH9KwreX59OeITQQtM8ii98=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=kxGy1KuMuGXSL6TuqTfutrXzqeeM+IPj7BH1e3GCUtVipBQHknGxHmuSL4K+reI0L KlYJGnm0XLmLVWQCj8pW6wxYLh/OEpMoAmf76yrge1ex+bDBFiJc79T+uLpnZJUv4c W9uuK9tVh2MeBJ51u3yimle1cYTVwQzvWeNsnYVDySd01F/L45lrrY/dpPkAMc/zfA UOqAqp8rq3b6ucc+y2U8ZJ9mtBFYz9dUVh4i+TG4BcfvfjTHgcYXpXch+YXfYcOytm jjInZEpTd3zh8VGiiplhjhj9fQtXjr4u0zByRLH8U8obCyUQodp28XXp7RQPmSEF7b 4cV8HljyZE8Lg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SGKPD29D1z9rxH; Thu, 26 Oct 2023 10:54:55 +0200 (CEST) From: Ihor Radchenko To: Tor Erlend Fjelde Cc: emacs-orgmode@gnu.org Subject: Re: Feature request: IDs for everything In-Reply-To: <87bkclyjpe.fsf@tor-Prestige-15-A10SC.mail-host-address-is-not-set> References: <877cnhyuom.fsf@tor-Prestige-15-A10SC.mail-host-address-is-not-set> <87o7gst9b4.fsf@localhost> <87bkclyjpe.fsf@tor-Prestige-15-A10SC.mail-host-address-is-not-set> Date: Thu, 26 Oct 2023 08:56:36 +0000 Message-ID: <87lebpdanv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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 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: mx1.migadu.com X-Migadu-Spam-Score: -6.35 X-Migadu-Queue-Id: CD1B042FB3 X-Spam-Score: -6.35 X-TUID: zt6ASmtDjNkC Tor Erlend Fjelde writes: >> If we simply allow id: links to point to non-headings, it will be a >> major breaking change that may affect third-party packages. So, we >> need to design the extended ids carefully to avoid breakage. For >> example, `org-id-find' and other API function may need to work in two >> modes: (1) legacy, only searching for headings; (2) new, searching for >> anything. This can, for example, be done via an extra optional argument. > > This is a very good point, and definitively makes things non-trivial. > Nonetheless, I'd be happy to have a go at it if this seems like the way > to go! But I'll probably need quite a bit of help in the process as I > haven't contributed to Org before. This is a moderately difficult contribution. As a first step, you will need to study org-id.el and see what should be changed there to support the new feature. If you encounter any difficulties, feel free to ask here. Also, before you invest too much time into this, please check if you can do FSF copyright assignment (see https://orgmode.org/worg/org-contribute.html#copyright). As a GNU project, we cannot accept large contributions without this paperwork. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at