From: Ulf Stegemann <ulf-news@zeitform.de>
To: emacs-orgmode@gnu.org
Subject: Re: Problem with org-gnus-follow-link
Date: Fri, 12 Dec 2008 09:17:41 +0100 [thread overview]
Message-ID: <zf.upniqpp4xju.fsf@zeitform.de> (raw)
In-Reply-To: 877i6550ye.fsf@thinkpad.tsdh.de
Hi Tassilo,
Tassilo Horn <tassilo@member.fsf.org> wrote:
> Ulf Stegemann <ulf-news@zeitform.de> 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
next prev parent reply other threads:[~2008-12-12 8:18 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-09 12:24 Problem with org-gnus-follow-link Ulf Stegemann
2008-12-09 16:58 ` Tassilo Horn
2008-12-10 10:08 ` Ulf Stegemann
2008-12-10 19:08 ` Tassilo Horn
2008-12-11 10:09 ` Ulf Stegemann
2008-12-11 11:02 ` Tassilo Horn
2008-12-11 13:52 ` Ulf Stegemann
2008-12-11 14:16 ` Tassilo Horn
2008-12-11 15:37 ` Ulf Stegemann
2008-12-11 15:56 ` Tassilo Horn
2008-12-11 16:18 ` Ulf Stegemann
2008-12-11 16:41 ` Tassilo Horn
2008-12-11 18:17 ` Tassilo Horn
2008-12-11 21:51 ` Ulf Stegemann
2008-12-12 7:04 ` Tassilo Horn
2008-12-12 8:17 ` Ulf Stegemann [this message]
2008-12-12 10:31 ` Tassilo Horn
2008-12-12 14:21 ` Ulf Stegemann
2008-12-11 8:15 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=zf.upniqpp4xju.fsf@zeitform.de \
--to=ulf-news@zeitform.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.