From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6491 invoked from network); 26 Jul 2020 15:18:31 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 26 Jul 2020 15:18:31 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1jziPP-003FJg-OS; Sun, 26 Jul 2020 10:17:51 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1jziPL-003FHp-3l for ding@lists.math.uh.edu; Sun, 26 Jul 2020 10:17:47 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1jziPH-00D6rK-PM for ding@lists.math.uh.edu; Sun, 26 Jul 2020 10:17:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Di5tkjSy8KjSRU6jzbK4/y31/IZCz6O36mnEiZ82xxw=; b=k/qvKsm/tyTJviIl0VitZRTyjQ LDweNhG1xAhCTiX0MnxNQpwfuQuXvfzPtQjHCpD6pCLdqw6FEJ37+sWe/gFksOTBmWO21VJNOMS9o pdFqfuchUn/JjJjHgOPpm8JHBfB4H0SdxaDS0WnYeA7ALUYiSSKZTvxOA8wKBaL9acSw=; Received: from eggs.gnu.org ([2001:470:142:3::10]) by quimby with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jziP8-000387-LC for ding@gnus.org; Sun, 26 Jul 2020 17:17:38 +0200 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36178) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jziP6-000103-Ei for ding@gnus.org; Sun, 26 Jul 2020 11:17:32 -0400 Received: from [2607:fea8:3fe0:17d::7] (port=60798 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jziP6-0004XE-3n for ding@gnus.org; Sun, 26 Jul 2020 11:17:32 -0400 From: Amin Bandali To: ding@gnus.org Subject: Re: how to visit a message by its ID and group name? Organization: GNU References: <87lfj9wamx.fsf@mat.ucm.es> <87wo2sr2s0.fsf@ebih.ebihd> <87lfj8dphb.fsf@mat.ucm.es> <87blk3r3iv.fsf@ebih.ebihd> <87h7tubx77.fsf@mat.ucm.es> Date: Sun, 26 Jul 2020 11:17:30 -0400 In-Reply-To: <87h7tubx77.fsf@mat.ucm.es> Message-ID: <874kpunw51.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-ID: Precedence: bulk --=-=-= Content-Type: text/plain Uwe Brauer writes: [...] > > This function is called when I am sending a message and stored in the > diary. > The point is, maybe in 3 weeks I want to read it again, so I visit the > diary and just want to click on its ID. That is the use case For Org, there is ol-gnus.el: You can call `org-store-link' in `gnus-summary-mode' or `gnus-article-mode', and it will save a link to the current article. You can the insert that link into an Org buffer using `org-insert-last-stored-link'. So, if you'd like to store links to Gnus messages in Org files, you can use ol-gnus.el out of the box, and only add bindings for the store and insert functions for convenience. If you'd like to make links in non-Org files, you may find it useful to look through ol-gnus.el as a starting point. Hope this helps. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEEObM8jZRIDS3cwqSYi0Sgzce5VvIFAl8dnooQHGJhbmRhbGlA Z251Lm9yZwAKCRCLRKDNx7lW8sYHD/9zo4WJVlohMdJqYwJqEMUazjBVfER1Lhc3 A3MObwAAUobtHhaRUXUBnWJbcxTqlPFEkuyQAa624OMCxnNJ7iUKAkodJUc/LYx5 TTAiaDmLdDOFYaDOibH/N+GCCAHYN/91rIRrXDiiP18q335jYhfT5gkH7sYrD6nj YC8R1P/EVKPsZz5sEKp1cScPT3PT7rLh7lZXcsP/E3FBD6szf4bR1j1Ml3GmKZB5 qQJSDpaYH4Cal5GXnBPoEkfPfCTUCYicHGVTbGgF6kj/0NUODjVUPb/0oHxK+GDv AJPz5Z736Udpe9Dgi2xjGuD/VEQzOAl+I9OhWmhw0zf5TrbKzhe4R6lXZKK8oowS GvKJgvzxpu0IcQ0Ab4c3pcF3YjiQV+1PQMKF09yRfS59FUBranMhsx4A3gKNabYm J026FKMZzct5ssyN8v4OtQ9Or/uMn2QAGotfS4KtNu6O5Y1T4KxBRjpiSHA6QWp9 j3+R4K+c3KWVSUFDDmAKdOMvhYWKnSg/iRx7CPGLIneXnlz87sx1KjhJqKimn0GL 51/kquL+fReOg0L/7Z5/ldAF9CZ5gD4bKINzmKPBVvQxrkB0paBHIl6xEj7wNF0t 4tnJn3mdxyx+oIqsBa0c48WecX9i040oF7w2YQFNQI6NxyZ+6nB9wTbERiHjqtsl VSCOCHk7ew== =Zid6 -----END PGP SIGNATURE----- --=-=-=--