[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-12 Thread Ulf Stegemann
Hi Tassilo, Tassilo Horn wrote: > Ulf Stegemann writes: > >> Yes, increasing the interval is certainly a good idea. But how about >> using the Fibonacci sequence (1, 2, 3, 5, 8 ...) for this :) > > The fibonacci sequence increases too slow. The current implementation > (which should hit the ma

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-12 Thread Tassilo Horn
Ulf Stegemann writes: Hi Ulf, > Yes, increasing the interval is certainly a good idea. But how about > using the Fibonacci sequence (1, 2, 3, 5, 8 ...) for this :) The fibonacci sequence increases too slow. The current implementation (which should hit the main tree soon) increases step by step

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-12 Thread Ulf Stegemann
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

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Tassilo Horn
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

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Ulf Stegemann
Hi Tassilo, Tassilo Horn wrote: > please try this one. this works after some modifications (patch attached). XEmacs does not know `substring-no-properties' but org-compat has `org-substring-no-properties'. Besides, my Gnus holds `gnus-large-newsgroup' as a string not as integer. Unfortunately,

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Tassilo Horn
Hi Ulf, please try this one. diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el index 7231538..3cf4b1e 100644 --- a/lisp/org-gnus.el +++ b/lisp/org-gnus.el @@ -74,11 +74,11 @@ If `org-store-link' was called with a prefix arg the meaning of (if (and (string-match "^nntp" group) ;; Only for nntp

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Tassilo Horn
Ulf Stegemann <[EMAIL PROTECTED]> writes: >>> but again the summary buffer is not opened. >> >> That's really strange. BTW: What backend did you use for testing? I >> used nnimap. MAybe that makes the difference... > > Gotcha! It works on nnimap but not on nnml which I was using for the > tests

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Ulf Stegemann
Hi Tassilo, Tassilo Horn <[EMAIL PROTECTED]> wrote: > Ulf Stegemann <[EMAIL PROTECTED]> writes: > >>> Please do a test for me: >>> >>> 1. Enter a group in Gnus >>> 2. Delete the last article >>> 3. Exit summary >>> 4. Try `C-u 1 RET' on the group. It should issue "No unread news". >>> 5. Do `M-:

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Tassilo Horn
Ulf Stegemann <[EMAIL PROTECTED]> writes: Hi Ulf, >> Please do a test for me: >> >> 1. Enter a group in Gnus >> 2. Delete the last article >> 3. Exit summary >> 4. Try `C-u 1 RET' on the group. It should issue "No unread news". >> 5. Do `M-: (gnus-activate-group "" t) RET' >> 6. Try `C-u 1 RET'

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Ulf Stegemann
Hi Tassilo, Tassilo Horn <[EMAIL PROTECTED]> wrote: > Ulf Stegemann <[EMAIL PROTECTED]> writes: > >> huh, that's strange. The patched version was really in effect here >> when the tests failed. I've just updated Gnus to the latest (CVS) >> version but again, it's not fixed for me ... and maybe it

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Tassilo Horn
Ulf Stegemann <[EMAIL PROTECTED]> writes: Hi Ulf, > huh, that's strange. The patched version was really in effect here > when the tests failed. I've just updated Gnus to the latest (CVS) > version but again, it's not fixed for me ... and maybe it cannot be > fixed. The whole subject reminds me of

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Ulf Stegemann
Hi Tassilo, Tassilo Horn <[EMAIL PROTECTED]> wrote: > Ulf Stegemann <[EMAIL PROTECTED]> writes: > >>> please try this one: >>> >>> diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el >>> index 7231538..05bed5b 100644 >>> --- a/lisp/org-gnus.el >>> +++ b/lisp/org-gnus.el >>> @@ -157,12 +157,9 @@ If `

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Tassilo Horn
Ulf Stegemann <[EMAIL PROTECTED]> writes: Hi Ulf, >> please try this one: >> >> diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el >> index 7231538..05bed5b 100644 >> --- a/lisp/org-gnus.el >> +++ b/lisp/org-gnus.el >> @@ -157,12 +157,9 @@ If `org-store-link' was called with a prefix arg the >> me

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Ulf Stegemann
Hi Tassilo, Tassilo Horn <[EMAIL PROTECTED]> wrote: > Ulf Stegemann <[EMAIL PROTECTED]> writes: > >> this works in principle but is not really an option. Since first >> argument 't' to `gnus-group-read-group' makes every article readable >> in a group, building the summary buffer takes far too lo

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-11 Thread Tassilo Horn
Hi Ulf, please try this one: --8<---cut here---start->8--- diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el index 7231538..05bed5b 100644 --- a/lisp/org-gnus.el +++ b/lisp/org-gnus.el @@ -157,12 +157,9 @@ If `org-store-link' was called with a prefix arg the me

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-10 Thread Tassilo Horn
Ulf Stegemann <[EMAIL PROTECTED]> writes: Hi Ulf, > this works in principle but is not really an option. Since first > argument 't' to `gnus-group-read-group' makes every article readable > in a group, building the summary buffer takes far too long for groups > with many articles. Try it with gro

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-10 Thread Ulf Stegemann
Hi Tassilo, Tassilo Horn <[EMAIL PROTECTED]> wrote: > Please try this patch and report back if it works. [...] > - (gnus-group-read-group 1 nil group) > - (gnus-summary-goto-article > - (if (string-match "[^0-9]" article) > - article > - (string-to-number artic

[Orgmode] Re: Problem with org-gnus-follow-link

2008-12-09 Thread Tassilo Horn
Ulf Stegemann <[EMAIL PROTECTED]> writes: Hi Ulf, > After a bit of investigation I found out that the problem is > `gnus-group-read-group' which is called by `org-gnus-follow-link'. > `gnus-group-read-group' does not return an article but nil if the last > message of the group has been deleted (t