From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8828 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.gnus.user Subject: Re: Fetch an article from another package Date: Mon, 26 Mar 2007 19:28:52 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1174933758 24281 80.91.229.12 (26 Mar 2007 18:29:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2007 18:29:18 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Mar 26 20:29:11 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HVtwM-0008RR-N8 for gegu-info-gnus-english@m.gmane.org; Mon, 26 Mar 2007 20:29:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVtyd-00076x-0h for gegu-info-gnus-english@m.gmane.org; Mon, 26 Mar 2007 13:31:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVtya-00076i-Or for info-gnus-english@gnu.org; Mon, 26 Mar 2007 14:31:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVtyY-00076W-9K for info-gnus-english@gnu.org; Mon, 26 Mar 2007 14:31:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVtyY-00076T-2B for info-gnus-english@gnu.org; Mon, 26 Mar 2007 13:31:26 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HVtwG-00024w-JD for info-gnus-english@gnu.org; Mon, 26 Mar 2007 14:29:04 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HVtw4-0001sC-Pv for info-gnus-english@gnu.org; Mon, 26 Mar 2007 20:28:52 +0200 Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Mar 2007 20:28:52 +0200 Original-Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Mar 2007 20:28:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sl392.st-edmunds.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUKDAg1NjRWV1V9fnyg op/DxcLk5uP8/voi63ReAAAACXBIWXMAAAWJAAAFiQFtaJ36AAAAB3RJTUUH1goZAgAz00bgXgAA AeVJREFUKM9lk0Fz2jAQhQXJD3CCO70CmcC1YMtcWyTZ14Bl69xats4N9r6/3zWQBlodNKNPu/s0 b1cCQFuZGpfVVh3vAvBJolIXRkapSuoRUtIdFyo1Y5xSdlAj7OtvD1XnXxmWRi+eWgcxyCed1lVV B1CrKyujMoi+eLA5kU1SsjoHlW+nQjTtFxk4MXgrOxvIqzoTZR8XgPaLl419zgsMaSGFPiUOZCIh thsx5Xy9NsK8Kwf/JoQgMxcVJ301HKkcSWaT0O7FY056J4U9xcYfnmVXG4801lW6lqwu2nKFZoHC HuzvaTVndZ+LaRQgZdthXw1cpynEkLEwyFHXk/aIxNQ6QeooJuzPMB+wn+D7JJNsiCcVA13/A3h/ xE9J+WidpAwoYNmRFwyvSRhNVtsdaAewzZZP5uw82QL9+tyNfocyP0McAzICUr5Mk9RdIjWasUNx aIIt6NK4ZtXIMdfMQt3nuMAyWbLI4DqZ4xPq/ag8jPond4XU/cLuOgw6XCFX/YCUfcDAMMH58fD4 G9kDchwfqVefkBwup2uZM+Q4WhJt5jN3AxXCsaS2yXEDuWgS8VOzW0gFjhEPmLyFMKBFaLb1HRwc DiaKwx0EeTMRYnYPQRW3PP4HApvlMv0PttX5v/D6Aws3IOSEwzmLAAAAAElFTkSuQmCC User-Agent: No Gnus v0.6, Emacs/22.0.95.6 (2007-03-18), Fedora 6 gnu/linux Cancel-Lock: sha1:twygOYr/X7vyERvfgaxVNzu+iog= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8828 Archived-At: On 2007-03-25, Reiner Steib said: > On Sun, Mar 25 2007, Leo wrote: > >> OrgĀ¹ mode uses the following function to open a Gnus link. However, >> the downside it has when entering a large group is that Gnus will >> prompt for how many articles to read. I'd like this function to just >> get the article with minimal user interaction. It seems by changing >> (gnus-group-read-group 0 nil group) to (gnus-group-read-group 1 nil >> group) can solve this issue. >> >> I am wondering is this the recommended way? Any comments? >> >> ,---- >> | (defun org-follow-gnus-link (&optional group article) >> | "Follow a Gnus link to GROUP and ARTICLE." > > I'd suggest to use the functions from `gnus-art.el' that handle > buttons like or > : [...] > `gnus-large-ephemeral-newsgroup' might also be useful. > > Bye, Reiner. The link is of the format: gnus:gmane.emacs.gnus.user#8816 it is then parsed into two variables GROUP and ARTICLE and passed to org-follow-gnus-link. It seems gnus-button-fetch-group is not the right function for this task and gnus-large-ephemeral-newsgroup does not help either. Let me rephrase the question, I now have group name and article number outside gnus, what's the best way to fetch that article? Thanks, -- Leo (GPG Key: 9283AA3F)