From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3205 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.user Subject: Re: How to get a reference to a mail to come back to it ? Date: Mon, 24 Nov 2003 14:23:33 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Message-ID: <4n65h9fu4q.fsf@lockgroove.bwh.harvard.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669386 18009 80.91.229.2 (31 Jan 2006 01:03:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:03:06 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:51 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!lockgroove.bwh.harvard.EDU!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: lockgroove.bwh.harvard.edu (134.174.9.133) Original-X-Trace: news.uni-berlin.de 1069701885 62924144 134.174.9.133 (16 [177066]) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (usg-unix-v) Cancel-Lock: sha1:hwg1AqU1EiWiFmfF/NRt7G9LrMI= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3346 Original-Lines: 24 X-Gnus-Article-Number: 3346 Tue Jan 17 17:31:51 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3205 Archived-At: 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