From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: Problem with org-gnus-follow-link Date: Tue, 09 Dec 2008 13:24:28 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LA1ds-0003YG-Ay for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 07:24:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LA1dq-0003WY-Bs for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 07:24:42 -0500 Received: from [199.232.76.173] (port=48221 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LA1dp-0003W9-FJ for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 07:24:41 -0500 Received: from main.gmane.org ([80.91.229.2]:36499 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 1LA1dp-0007GE-7j for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 07:24:41 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LA1dl-0004Hc-7Q for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 12:24:37 +0000 Received: from london.zeitform.net ([146.140.213.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2008 12:24:37 +0000 Received: from ulf-news by london.zeitform.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2008 12:24:37 +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 (Org as of 2008-12-08, Gnus/5.110009 (No Gnus v0.9), XEmacs/21.4.21 (linux)) Hi, I've encountered a problem with `org-gnus-follow-link' which sometimes fails to fetch the appropriate article in Gnus. This does not happen when a buffer is visiting the group the link points to. 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 (this is re-producable here). Inserting a new article into the group (e.g. by moving an article from that group into the same group again) solves the problem. I'm not quite sure how to address the problem or the other way round: is this a bug in `gnus-group-read-group' that should never return nil if the first argument is 1 and there's at least one article in the group or is it a bug in `org-gnus-follow-link' that counts on `gnus-group-read-group' returning an article. Ulf