From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52925 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Getting message details from message-sent-hook Date: Thu, 29 May 2003 13:30:23 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4nznl5slsg.fsf@lockgroove.bwh.harvard.edu> References: <874r3f7ydu.fsf@kruhft.vc.shawcable.net> <87fzmy50x2.fsf@kruhft.vc.shawcable.net> <87r86h3i5q.fsf@kruhft.vc.shawcable.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054229357 17544 80.91.224.249 (29 May 2003 17:29:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 29 May 2003 17:29:17 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M1469@lists.math.uh.edu Thu May 29 19:29:16 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19LRDA-0004YC-00 for ; Thu, 29 May 2003 19:29:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19LREY-0000Rm-00; Thu, 29 May 2003 12:30:34 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19LRES-0000Rh-00 for ding@lists.math.uh.edu; Thu, 29 May 2003 12:30:28 -0500 Original-Received: (qmail 19959 invoked by alias); 29 May 2003 17:30:28 -0000 Original-Received: (qmail 19954 invoked from network); 29 May 2003 17:30:26 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by sclp3.sclp.com with SMTP; 29 May 2003 17:30:26 -0000 Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h4THUNI18179; Thu, 29 May 2003 13:30:25 -0400 (EDT) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h4THUN004611; Thu, 29 May 2003 13:30:23 -0400 (EDT) Original-To: Burton Samograd 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" Mail-Followup-To: Burton Samograd , ding@gnus.org In-Reply-To: <87r86h3i5q.fsf@kruhft.vc.shawcable.net> (Burton Samograd's message of "29 May 2003 08:08:01 -0700") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52925 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52925 On 29 May 2003, kruhft@hotmail.com wrote: > Bill White writes: > >> Now, can some function grab the message id and jump to that >> article? Perhaps using Ted's registry stuff? > > I was thinking that there would be something available to select a > message-id but I haven't gotten around to looking for it. It just > seemed like a good thing to have in there because I'm sure someone > will write that functionality someday (maybe even me if I get > inspired :) The registry can help: gnus-registry-fetch-group is a compiled Lisp function in `gnus-registry'. (gnus-registry-fetch-group ID) Get the group of a message, based on the message ID. Returns the first place where the trail finds a group name. Three issues: - the group name is currently not prefixed, so you don't know the server. I'll work on that, but time has been short lately. - the registry may be inaccurate, e.g. someone deletes a IMAP message outside this instance of Gnus - there may be more than one copy of the message (and thus, multiple groups in the registry trail) If anyone is interested in using the registry as a generic message-ID locator, patches or ideas are welcome. Ted