From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 2COhOqpnc2VhIwAAG6o9tA:P1 (envelope-from ) for ; Fri, 08 Dec 2023 19:59:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2COhOqpnc2VhIwAAG6o9tA (envelope-from ) for ; Fri, 08 Dec 2023 19:59:55 +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 822A1114F7 for ; Fri, 8 Dec 2023 19:59:54 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QxWuRTAL; 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=1702061994; 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=AUprd7ON0kexg223GwThvAMAtDdlOHpeo9gpYfkyxds=; b=oYH+qotN0lbTBCRVdVcpLdS48ExJOQopIpEPQUgKAoHgcd4hNzxPnvQEIB5t9iNEjypYwn oX1eY/8AvCjxCDjaKcKZFb0qKInqPK5v+tmBVXRS74m3Jm0nJzVEZwyLgRZUZj5unYEzgD UOGzoTri+YUIZZi9iF+NhKxRCO7ioaVAKxVhizEw3xukjdlc2JNJXsOo2dE8iTPnny3WxX I2HwzHwPLpAFBn/2BuRCJeuALP6UHtLHCNhplde2Z6yvF0xXiagqyvP/xXMzXNYVbcohd8 c2oUAvpbhb4qsrMUA44TudoZn6uChpUiJLt4GJdIV+N0It/Hjhfbupn2gmDzUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QxWuRTAL; 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=1702061994; a=rsa-sha256; cv=none; b=q98fkT7xAjv3Mbp4MB4KMciw8JUo7G1xi6FuTLNNSjEYfApcDj0FMCQUTsOws1JtrRwNFb wRKmZ7lWyLtf3Zqi/XA0lXa1sPL9waynhpUTul1cutI55yDkQZ2dReA2yoR3vi9ori85w9 jITUGMkY0R8MthWMpW6+WE6SmnzjDXrNr4aSmFShG/1AwQNCy5GMkiOC6M3bHnXdqe5R/Z abICMc0sy1c+IjZSzT+sjoiE8CriiZG1SeAAZQcB4hgI9xzJ1gzTf3nrTzaF82Z3/ZN8VG 5OdIc0kcJzhdavSfWVGiYTMpQUiiEPUTvrj/wTqTRsGAh1HBLQme8IXoiRiAng== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBg3v-0005xP-Mi; Fri, 08 Dec 2023 13:58:59 -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 1rBg3u-0005xG-5j for emacs-orgmode@gnu.org; Fri, 08 Dec 2023 13:58:58 -0500 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 1rBg3s-0000NM-5X for emacs-orgmode@gnu.org; Fri, 08 Dec 2023 13:58:57 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8E826240103 for ; Fri, 8 Dec 2023 19:58:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1702061933; bh=XBVRPTX2Xt9YjHXzTqXIckzd8qiMO5edbMPw0oU7Hfs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=QxWuRTAL12S5zWqPDTa25o6H8bT9kIXWZRRj5En/IGwsHNhKZPbWVNEL5e+MdNHpk h3FzS6i5xEnUQGTm9c74Tcdh/AqZEN1wNbCGr+uQNIDknOgbZOZnMwcjlZ5R4sYkQj bQRr57VE5c/9WPmt8ZezgRyUexlYcsWLK5VWORjey1PjME03vrbeURB4u568oS706B UBy6aBfq4PdQibwgXkwz92yv91JzTr0jnTtJEaqd2B0N0GpHNIHMaHATni4n6UV9Ql xbi2nqfEZmBsw3+6Ukn8DUdImFovtH9Vl8xmSh79oolvpCrTJZEcCz7Si6bBez6RNh 42WSSnb1EX/iQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Sn0mD6WkHz6txL; Fri, 8 Dec 2023 19:58:52 +0100 (CET) From: Ihor Radchenko To: Kenny Ballou Cc: yantar92@gmail.com, emacs-orgmode@gnu.org Subject: Re: [PATCH] lisp/org-capture.el: use link ID's for %K In-Reply-To: <874jgsa5nh.fsf@devnulllabs.io> References: <87y2byx8ml.fsf@localhost> <20231207185326.7937-1-kb@devnulllabs.io> <87a5qkssq6.fsf@localhost> <874jgsa5nh.fsf@devnulllabs.io> Date: Fri, 08 Dec 2023 19:01:51 +0000 Message-ID: <875y18cycg.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, 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-Spam-Score: -6.36 X-Spam-Score: -6.36 X-Migadu-Queue-Id: 822A1114F7 X-Migadu-Scanner: mx10.migadu.com X-TUID: 2eCppyplSfXQ Kenny Ballou writes: > I'm currently struggling through modifying it to work with > `org-store-link'. Something, save-excursion -> org-clock-goto -> > org-store-link -> org-insert-link is what I'm trying for now, but that's > not quite working. I'll come back to this in a few hours. The last step is unnecessary. You may just examine `org-stored-links' (documented in the docstring of `org-store-link') or `org-store-link-plist' (undocumented, but containing more info and also used by `org-capture-fill-template'). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at