From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Problem with org-gnus-follow-link Date: Thu, 11 Dec 2008 12:02:12 +0100 Message-ID: <87zlj39dqj.fsf@thinkpad.tsdh.de> References: <8763lt8euq.fsf@thinkpad.tsdh.de> <87oczjg85v.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 1LAjJK-0002lG-Jb for emacs-orgmode@gnu.org; Thu, 11 Dec 2008 06:02:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAjJI-0002kU-Mt for emacs-orgmode@gnu.org; Thu, 11 Dec 2008 06:02:25 -0500 Received: from [199.232.76.173] (port=40732 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAjJI-0002kP-Er for emacs-orgmode@gnu.org; Thu, 11 Dec 2008 06:02:24 -0500 Received: from main.gmane.org ([80.91.229.2]:41391 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 1LAjJH-000241-P7 for emacs-orgmode@gnu.org; Thu, 11 Dec 2008 06:02:24 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LAjJF-0007tr-7G for emacs-orgmode@gnu.org; Thu, 11 Dec 2008 11:02:21 +0000 Received: from dhcp182.uni-koblenz.de ([141.26.71.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Dec 2008 11:02:21 +0000 Received: from tassilo by dhcp182.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Dec 2008 11:02:21 +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, >> 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? Bye, Tassilo