From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: Re: Problem with org-gnus-follow-link Date: Fri, 12 Dec 2008 09:17:41 +0100 Message-ID: References: <8763lt8euq.fsf@thinkpad.tsdh.de> <87oczjg85v.fsf@thinkpad.tsdh.de> <87zlj39dqj.fsf@thinkpad.tsdh.de> <87ej0eajb5.fsf@thinkpad.tsdh.de> <87abb2aeoh.fsf@thinkpad.tsdh.de> <87y6ymvanx.fsf@thinkpad.tsdh.de> <877i6550ye.fsf@thinkpad.tsdh.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LB3Do-0004H4-2s for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 03:18:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LB3Dl-0004Gs-EJ for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 03:18:02 -0500 Received: from [199.232.76.173] (port=55501 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB3Dl-0004Gp-8v for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 03:18:01 -0500 Received: from mx20.gnu.org ([199.232.41.8]:22250) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LB3Dk-0007Bv-VG for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 03:18:01 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LB3Dk-0004J9-8x for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 03:18:00 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LB3Di-00031m-3Q for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 08:17:58 +0000 Received: from london.zeitform.net ([146.140.213.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 08:17:58 +0000 Received: from ulf-news by london.zeitform.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 08:17:58 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Tassilo, Tassilo Horn wrote: > Ulf Stegemann writes: > >> Besides, my Gnus holds `gnus-large-newsgroup' as a string not as >> integer. > > What?!? Do you set it somewhere? The docs say it should be a number or > nil. Yes, I was investigating that, too ... and indeed I found that the value was user set. What had driven me to set it as string remains a mystery to me, I wasn't even aware I'd ever touched that value. So I think it's save to assume that `gnus-large-newsgroup' is an integer or nil ;) >> Just one other comment: After failure to get a summary buffer by >> reading the last article you try it with reading 1- >> gnus-large-newsgroup articles. I'd assume that in most cases where >> the first call to gnus-group-read-group fails only one or a few more >> articles have been deleted in the group in question. In that case, it >> might be quicker if `org-gnus-follow-link' increases the number of >> articles to be read by one and tries `gnus-group-read-group' again >> until the call succeeds. > > Yeah, I'll implement like that. But incrementing one by one is not > optimal. When a user deletes all messages (including the linked one) > the summary cannot be opened anyway and you'll loop till the maximum > integer (or whatever you use as upper bound). So I think I'll try > increasing by one till 16 and then start doubling. Yes, increasing the interval is certainly a good idea. But how about using the Fibonacci sequence (1, 2, 3, 5, 8 ...) for this :) Ulf