From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80070 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: Creating an ephemeral group for a single article? Date: Tue, 27 Sep 2011 12:51:32 -0400 Message-ID: References: <87pqinxdif.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317143003 14736 80.91.229.12 (27 Sep 2011 17:03:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2011 17:03:23 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28364@lists.math.uh.edu Tue Sep 27 19:03:18 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R8b3r-0004lZ-0K for ding-account@gmane.org; Tue, 27 Sep 2011 19:03:15 +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 1R8b3H-0002ys-RV; Tue, 27 Sep 2011 12:02:39 -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 1R8b3G-0002yh-9g for ding@lists.math.uh.edu; Tue, 27 Sep 2011 12:02:38 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1R8b3E-0005Om-Is for ding@lists.math.uh.edu; Tue, 27 Sep 2011 12:02:37 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1R8b3B-0004sp-Q3 for ding@gnus.org; Tue, 27 Sep 2011 19:02:33 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R8b3B-0004Kn-De for ding@gnus.org; Tue, 27 Sep 2011 19:02:33 +0200 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2011 19:02:33 +0200 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2011 19:02:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) Cancel-Lock: sha1:sP2ojmrFRwaoy/lfLNZ6Dmg6jCI= X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80070 Archived-At: on Mon Sep 26 2011, Ted Zlatanov wrote: > On Thu, 15 Sep 2011 16:32:52 -0400 Dave Abrahams wrote: > > DA> on Wed Sep 14 2011, John Wiegley wrote: > >>> I'd like to write a function that I could call from, say, Org. It should take >>> a Message-Id, and create an ephemeral group containing that one message, found >>> by the same mechanism that uses gnus-refer-article-method -- so that it can >>> find the message wherever it might be. And if it truly can't find the >>> message, it should ding and say that. >>> >>> What I have now is a half solution, as it inserts the message into my INBOX >>> summary: >>> (defun gnus-goto-article (message-id) >>> (gnus-summary-read-group "INBOX" nil t) >>> (gnus-summary-refer-article message-id)) > > DA> John, did you see > DA> [[gnus:nntp%2BLocalNNTP:gmane.emacs.gnus.general#m2r53hslyd.fsf@pluto.luannocracy.com][this > DA> article]]? > > That seems like a very useful function. Dave, can your version (or > whatever works for the most cases) go into Gnus if there's nothing > already in there? Sure, feel free to take it... but it's still only a half-solution. If Gnus would let me enter an empty group, it would be a full solution pretty quickly, but I don't know how to code around Gnus' limitations in that respect -- Dave Abrahams BoostPro Computing http://www.boostpro.com