From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Problem with org-gnus-follow-link Date: Fri, 12 Dec 2008 08:04:09 +0100 Message-ID: <877i6550ye.fsf@thinkpad.tsdh.de> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LB24V-00049M-NQ for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 02:04:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LB24T-00048n-TT for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 02:04:23 -0500 Received: from [199.232.76.173] (port=51143 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB24T-00048k-QF for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 02:04:21 -0500 Received: from main.gmane.org ([80.91.229.2]:46653 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 1LB24T-0001pA-BS for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 02:04:21 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LB24Q-0000Um-BW for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 07:04:18 +0000 Received: from p54af0ea7.dip0.t-ipconnect.de ([84.175.14.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 07:04:18 +0000 Received: from tassilo by p54af0ea7.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 07:04:18 +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 Ulf Stegemann writes: Hi Ulf, > this works after some modifications (patch attached). XEmacs does not > know `substring-no-properties' but org-compat has > `org-substring-no-properties'. Ah, ok. > 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. > 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. Bye, Tassilo