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 `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 _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode