From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sKceJRNHul9qHAAA0tVLHw (envelope-from ) for ; Sun, 22 Nov 2020 11:10:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mN/aIBNHul/tRwAAbx9fmQ (envelope-from ) for ; Sun, 22 Nov 2020 11:10:11 +0000 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 01E7C940357 for ; Sun, 22 Nov 2020 11:10:10 +0000 (UTC) Received: from localhost ([::1]:59770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgnFx-0005ct-DC for larch@yhetil.org; Sun, 22 Nov 2020 06:10:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgnDK-0005ai-14 for emacs-orgmode@gnu.org; Sun, 22 Nov 2020 06:07:26 -0500 Received: from mx1.polytechnique.org ([129.104.30.34]:43671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgnDF-0000MD-74 for emacs-orgmode@gnu.org; Sun, 22 Nov 2020 06:07:25 -0500 Received: from set (cbg35-2-78-242-14-140.fbx.proxad.net [78.242.14.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 11E22564EDE; Sun, 22 Nov 2020 12:07:17 +0100 (CET) From: Alan Schmitt To: Ihor Radchenko , emacs-orgmode Subject: Re: storing a link to a task from an agenda view In-Reply-To: <87d006eyw3.fsf@localhost> References: <87h7pjgipj.fsf@m4x.org> <87d006eyw3.fsf@localhost> Date: Sun, 22 Nov 2020 12:07:08 +0100 Message-ID: <87mtz9ejkz.fsf@m4x.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sun Nov 22 12:07:17 2020 +0100 (CET)) X-Org-Mail: alan.schmitt.1995@polytechnique.org Received-SPF: pass client-ip=129.104.30.34; envelope-from=SRS0=0Qbx=E4=polytechnique.org=alan.schmitt@bounces.m4x.org; helo=mx1.polytechnique.org X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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.23 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" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: DTp15zpPe6xs --=-=-= Content-Type: text/plain On 2020-11-22 13:36, Ihor Radchenko writes: >> Do you have suggestions on how to store such a link from an agenda view? >> It can either end up in ~org-stored-links~ or captured in a variable. > > (org-store-link nil) -> (org-store-link nil 'interactive) > > Or you can just save the return value of (org-store-link nil) Thanks a lot, that worked great! I've written a small post about it (which is a bit org-roam specific) here: https://org-roam.discourse.group/t/daily-task-management-with-org-agenda-and-org-roam-dailies/989 Best, Alan --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE6lXof/BsSVW56ZmGBA0KO07S5ccFAl+6RlwfHGFsYW4uc2No bWl0dEBwb2x5dGVjaG5pcXVlLm9yZwAKCRAEDQo7TtLlx+dfCADAk3Qw5KD61O4S zV1mgtqAoVTK0N+XJgLbOgjui0NZzGHe/rTSWfKeqBMt2nVoux4tV/imu0ie5Ddu HyRHzEJdX8aUW8dQxaX+HABvoADSKTeTGXezWb2FRMyJDhH2z2cONnytqQsTAwa3 6MQaPlNADMxWlv8fWnMXWHPkmO5MrunNsc2zdMuYoSZfJJfWLLM/x+r3vjOVCdkD tmnGNxFptejUKBgq2nStW4OnC/O8ryFPAKIv3riBRqoxn+0hmsGewTU/lXhGfcNW knmy/YqLvhzqvo2eM4/+C4LbOjPCmVU4Ft0Vm9Ng3GxsfTxRlH+nZdUEqlDjxLg9 SG7WdnF0 =7w27 -----END PGP SIGNATURE----- --=-=-=--