From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84591 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: getting article numbers from message-ids? Date: Mon, 02 Jun 2014 16:15:43 +0800 Message-ID: <87lhtfk9qo.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1401696871 22549 80.91.229.3 (2 Jun 2014 08:14:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Jun 2014 08:14:31 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32836@lists.math.uh.edu Mon Jun 02 10:14:19 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WrNNr-00059A-Dg for ding-account@gmane.org; Mon, 02 Jun 2014 10:14:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1WrNM6-000819-Dy; Mon, 02 Jun 2014 03:12:30 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1WrNM5-000813-AR for ding@lists.math.uh.edu; Mon, 02 Jun 2014 03:12:29 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1WrNM3-00065M-Uo for ding@lists.math.uh.edu; Mon, 02 Jun 2014 03:12:28 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1WrNM1-0007VE-RT for ding@gnus.org; Mon, 02 Jun 2014 10:12:25 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WrNLz-0003cD-Bl for ding@gnus.org; Mon, 02 Jun 2014 10:12:23 +0200 Original-Received: from 114.248.18.151 ([114.248.18.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jun 2014 10:12:23 +0200 Original-Received: from eric by 114.248.18.151 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jun 2014 10:12:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.248.18.151 User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:zsInR8I8XfrXWGndZKidgQOxndw= X-Spam-Score: -1.4 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84591 Archived-At: I'm starting with a list of org-gnus links, and trying to create an ephemeral group (via nnir) displaying those messages. I think everything's working, except that what I've got is each message's Message-ID, and nnir wants article numbers: Incoming: "nnimap+Server:group-name#A9ED-1B41EF8FC63E@example-server.fr" Outgoing: ["group-name" ARTICLE_NUMBER 100] I could, for each message link, use org-gnus-open to actually visit the message in its home group and get the article with `gnus-summary-article-number', but I'm hoping there's a more direct way. These message could be coming from any backend -- I can't know for sure if they'll be imap, or maildir, or what have you. Can the registry be used to save information like this? It would be nice to look first in the registry, which I assume would be quickest, and then fall back to something more manual and expensive. Anyway, any tips would be much appreciated! Eric