emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ulf Stegemann
Subject: [Orgmode] Re: Problem with org-gnus-follow-link
Date: Thu, 11 Dec 2008 14:52:28 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.21 (linux)

Hi Tassilo,

Tassilo Horn <address@hidden> wrote:

> Ulf Stegemann <address@hidden> 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 `org-store-link' was called with a prefix arg the 
>>> meaning of
>>>    (funcall (cdr (assq 'gnus org-link-frame-setup)))
>>>    (if gnus-other-frame-object (select-frame gnus-other-frame-object))
>>>    (cond ((and group article)
>>> +    (gnus-activate-group group t)
>>>      (gnus-group-read-group 1 nil group)
>>> -    (gnus-summary-goto-article
>>> -     (if (string-match "[^0-9]" article)
>>> -         article
>>> -       (string-to-number article))
>>> -     nil t))
>>> +    (gnus-summary-goto-article article nil t))
>>>     (group (gnus-group-jump-to-group group))))
>>>  
>>>  (defun org-gnus-no-new-news ()
>>
>> Unfortunately, it doesn't work. The behaviour is the same as with the
>> original version: jumping to the article works if the last article in
>> the group in question hasn't been deleted, otherwise it fails.
>
> I tried exactly that and it solved the problem for me.  Did you apply
> the patch and eval the function thereafter?  Or did you recompile
> org-mode if you restarted emacs for the test?

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 the old Gnus "wrong article count problem". AFAIK
there was never a solution for this apart from moving articles into
groups or temporarily renaming groups (see also
`gnus-group-compact-group').

Ulf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]