From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iFRLCjXTbWVgCAEAauVa8A:P1 (envelope-from ) for ; Mon, 04 Dec 2023 14:25:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iFRLCjXTbWVgCAEAauVa8A (envelope-from ) for ; Mon, 04 Dec 2023 14:25:09 +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 9958F2046E for ; Mon, 4 Dec 2023 14:25:08 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ricklupton.name header.s=fm3 header.b=xmNJZRwX; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=CtMN0yBF; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701696309; 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=L9BV9nouvq6aWyAEDnrdSqZIsivcF40LdlwNzt9RgAM=; b=M7GxwrZPBPCHZANjAoTXA/5a2LGz4JcNPuuGJHSOPQInofYZ4nUZmH8Bvc7PkHFeFM5F73 uTFmH40dcUg+2UjE4W0w2fB9CCW0JE6EE4YFan3l2XInhOaIdZuW7aqJfkth5D+zLfRluB 9Q5yWAUFs2y00FC9L5GRRebt0YLpVp7DA7Zwtv4gkIwEH47gnAmAZSIHDWXZ0HOnmVR1SJ RH0e6epGD2iwUS2H9XUUCzSCxNcWNk4URE8dvBaJomv3tiryU6kZ47xn3njNscDbAqey79 LSmDCMDjnAkg7VfMV+RY3T98TH5suclhP4aft5NRWH/7h3Pxg0DH2qH+kR51Ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ricklupton.name header.s=fm3 header.b=xmNJZRwX; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=CtMN0yBF; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701696309; a=rsa-sha256; cv=none; b=HgZPP+mdgVVwSfvBdCJXv7NsNU1U3HbhwF7iU8dkBFGRQq4jCQmUydXIjoYWncjUA2+faX 21jW+kG3TErccwOUfMYMWBiBlE/xdvCdj0FhcDjFTLN5zCZ+Ar5zhp+DL2qv9GcKtXqUei p0PQpLjSTOWacG9Ffzm6PHa8QgeKHf66pWRpRn3hkAHbIHtwuJpCj/O3U95HYQLUc3aoiB YfiXjQW6GIbtqCsoYq0ePw/ej2DOTF5Q4heR5hJwVDdvUO0zX1v/dBi68CfTp18xBu37al oPqR5Ig2hdK+/4RxdL1oKYtwKp6aCvV8DNrf4qhfxEukAZ5Dj/1laM9d23xLvw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rA8vz-0005tf-Jy; Mon, 04 Dec 2023 08:24:27 -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 1rA8vy-0005tK-4i for emacs-orgmode@gnu.org; Mon, 04 Dec 2023 08:24:26 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rA8vw-0000rc-0H for emacs-orgmode@gnu.org; Mon, 04 Dec 2023 08:24:25 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 062093200258; Mon, 4 Dec 2023 08:24:20 -0500 (EST) Received: from imap50 ([10.202.2.100]) by compute2.internal (MEProxy); Mon, 04 Dec 2023 08:24:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ricklupton.name; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to; s=fm3; t=1701696260; x=1701782660; bh=L9BV9nouvq6aWyAEDnrdSqZIs ivcF40LdlwNzt9RgAM=; b=xmNJZRwXE4TF2+UU3+nO8DmzKyCD6oaQnSgaVhgsI rJdhdYkls8JsJ7T7noT/Y06jfuP2Wa5cSf/EwXjKU/eOiYIVObM0U8RewTBmG03S sRaREFERGaNSRDxXiFfcsF4+TFWfu2H594BMOgM08XeOMPPZFl7iGniUENnQmaAz 2ihJun+K/kx9lLAlgZXnr7xVSiH6aFlyRTkODIQ+mx1BhyXOOkk7eOKsIWqi9Rrm S8rhqhPdTLLjly/ly9t2udHvu99nRUFG7JmZwvmXGcytEbZSKXOysTYnDu03MeZ6 utaDxZDfQ3NT2HO+S5WwkUHqALMx0cMQnqLArSdnF1JSA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1701696260; x=1701782660; bh=L9BV9nouvq6aWyAEDnrdSqZIsivcF40Ldlw Nzt9RgAM=; b=CtMN0yBFKi2GnoehnLUaK2YwIKoD+hQf+kni5c9Wl4H/AHsIsmN BH7x69vVAw0R9lo1VKo6l6HeEwGPPbWr2ogNZ0yA9XqMWzkrWqGUcSaivyEnBHBv fBxbYod8vRsWUpuoCltMjieDZNjYxs3GvquLawZSrshICai7eJDaCN3JQaGRN9Bk sv+xhblTAWJPv6bOzuDlWJQyr6CBTocwKVoYz3MmJNrhtJZpim2VxnF6j5Zi9SS5 UwBF80kqePnNwGGb6eqkqXeq8PuCETcGwcy+TBqqr6g1nyNNwWSvRouuRhNJWSRy /9GeHJdmCz5xKqCnXboyGWPFexGy6717TVA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudejiedgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvvefutgfgse htqhertderreejnecuhfhrohhmpedftfhitghkucfnuhhpthhonhdfuceomhgrihhlsehr ihgtkhhluhhpthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeetffffuddvffehte eileffledvfffgkeeiheefhfekuefhffevjedtteevkefggfenucffohhmrghinhepohhr ghhmohguvgdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehmrghilhesrhhitghklhhuphhtohhnrdhnrghmvg X-ME-Proxy: Feedback-ID: i0143436f:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1DC7B1700090; Mon, 4 Dec 2023 08:24:20 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1178-geeaf0069a7-fm-20231114.001-geeaf0069 MIME-Version: 1.0 Message-Id: <04db45ea-fe4c-4c14-ae3a-88a64c3533a0@app.fastmail.com> In-Reply-To: References: <118435e8-0b20-46fd-af6a-88de8e19fac6@app.fastmail.com> <87edkwsafe.fsf@localhost> <87cywh2ad6.fsf@localhost> Date: Mon, 04 Dec 2023 13:23:59 +0000 From: "Rick Lupton" To: "Ihor Radchenko" Cc: "Y. E." Subject: Re: [PATCH] org-id: allow using parent's existing id in links to headlines Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.147.123.24; envelope-from=mail@ricklupton.name; helo=wout1-smtp.messagingengine.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9958F2046E X-Spam-Score: -5.23 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.23 X-TUID: Ridv7rtVE66t Hi, I can=E2=80=99t see this patch listed at https://tracker.orgmode.org/ so= just wanted to check it hasn=E2=80=99t got lost? Thanks Rick On Sun, 19 Nov 2023, at 3:21 PM, Rick Lupton wrote: > Here's an updated patch, which adds (optional) search strings to ID=20 > links, and the option to inherit ID targets from parent headline / the=20 > top level file properties. I've also updated ORG-NEWS and the manual,=20 > and added tests. > > I think I've fixed all the issues with my first patch about which=20 > headline gets used for the description when inheriting IDs, what=20 > happens if there is no ID, etc. > >> Ideally, we should have all the necessary logic to store the link wit= hin `org-id-store-link' and then use `org-link-set-parameters' to config= ure id links. >> ... >> I think that we need to make a change in the rules for :store functio= ns. `interactive?' may be passed as the argument to these functions. > > I've also moved the org-id specific logic from `org-store-link` to=20 > `org-id-store-link`, and added the `interactive?` argument to link=20 > store functions as discussed. > >>> So my question is: should search strings be added to all org-id link= s? >> Sounds as a reasonable default, but users should have an option to re= vert to previous behaviour with heading id being stored. > > The default value for the new option `org-id-link-use-context` is `t`,=20 > but it can be set to `nil` (or disabled with a prefix argument to=20 > `org-store-link` temporarily). This is a change in default behaviour=20 > when storing ID links with point at a subheading, named block, or=20 > target, or with an active region. > > The option `org-id-link-consider-parent-id` I've left with a default=20 > value of `nil`, since I'm not sure if everyone will want this behaviou= r. > > Thanks > Rick > > Attachments: > * 0001-org-id.el-Extend-links-with-search-strings-inherit-p.patch