Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: How to get a reference to a mail to come back to it ?
Date: Mon, 24 Nov 2003 14:23:33 -0500	[thread overview]
Message-ID: <4n65h9fu4q.fsf@lockgroove.bwh.harvard.edu> (raw)
In-Reply-To: <s02ptfi89n3.fsf@wasabi.inria.fr>

On 24 Nov 2003, francois.fleuret@inria.fr wrote:

> I was wondering if there is a way to get a reference to a mail (no
> idea what this could be, filename, Xref, whatever ?) so that one
> could come back to it later.

As content, you can use the message ID.  As actual data stored, you
can use the group name and article number.  It depends on what you
need.

> Thus, I'd need two functions, one get-mail-reference, which can be
> called either in summary or article mode and returns an object
> standing for the mail reference. And the second one
> go-to-mail-reference which switches to the mail whose reference is
> given in parameter and setups the article mode on it.

Well, if you have the article number and group name, it's very easy to
get the articles with the built-in Gnus functions.  With the message
ID only, you could use the gnus-registry to remember the group and
number of the article, and then retrieve them appropriately.

Hope that helps...

Ted


       reply	other threads:[~2003-11-24 19:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <s02ptfi89n3.fsf@wasabi.inria.fr>
2003-11-24 19:23 ` Ted Zlatanov [this message]
2003-11-24 20:04   ` Reiner Steib
2003-11-26  8:41     ` François Fleuret

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=4n65h9fu4q.fsf@lockgroove.bwh.harvard.edu \
    --to=tzz@lifelogs.com \
    /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).