Gnus development mailing list
 help / color / mirror / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: ding@gnus.org
Subject: Re: how to visit a message by its ID and group name?
Date: Sun, 26 Jul 2020 21:12:58 +0200	[thread overview]
Message-ID: <87eeoy9jk5.fsf@mat.ucm.es> (raw)
In-Reply-To: <874kpunw51.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]

>>> "AB" == Amin Bandali <bandali@gnu.org> writes:

> Uwe Brauer <oub@mat.ucm.es> 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:
> <https://code.orgmode.org/bzg/org-mode/src/master/lisp/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.


That sound indeed interesting, I would then modify my diary function
accordingly.

Thanks!

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

  reply	other threads:[~2020-07-26 19:14 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-24  9:00 Uwe Brauer
2020-07-24 12:11 ` dick.r.chiang
2020-07-24 16:08   ` Uwe Brauer
2020-07-24 17:20   ` Eric Abrahamsen
2020-07-24 22:01 ` Emanuel Berg
2020-07-25  7:26   ` Uwe Brauer
2020-07-25 15:57     ` Emanuel Berg
2020-07-26  6:35       ` Uwe Brauer
2020-07-26 15:17         ` Amin Bandali
2020-07-26 19:12           ` Uwe Brauer [this message]
2020-07-26 15:45         ` two questions on archive (was: Re: how to visit a message by its ID and group name?) Emanuel Berg
2020-07-26 16:03           ` Emanuel Berg
2020-07-27  8:32           ` [(message-news-p)???] (was: two questions on archive) Uwe Brauer
2020-07-27  8:43             ` [(message-news-p)???] Adam Sjøgren
2020-07-27 10:14               ` [(message-news-p)???] Uwe Brauer
2020-07-28  3:16             ` [(message-news-p)???] Emanuel Berg
2020-08-03 20:48           ` two questions on archive David Rogers
2020-08-03 20:56             ` Emanuel Berg
2020-07-26 15:39 ` how to visit a message by its ID and group name? Christian Barthel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eeoy9jk5.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).