From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Gnus link bug Date: Tue, 25 Aug 2009 10:43:40 +0800 Message-ID: <87vdkc395v.fsf@bzg.ath.cx> References: <87ljlafkjd.fsf@bzg.ath.cx> 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 1MfrdX-0004Cf-2q for emacs-orgmode@gnu.org; Tue, 25 Aug 2009 04:44:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfrdS-00049G-JJ for emacs-orgmode@gnu.org; Tue, 25 Aug 2009 04:44:14 -0400 Received: from [199.232.76.173] (port=37051 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfrdS-00049D-C8 for emacs-orgmode@gnu.org; Tue, 25 Aug 2009 04:44:10 -0400 Received: from mail-yw0-f184.google.com ([209.85.211.184]:53832) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfrdS-0007rr-1I for emacs-orgmode@gnu.org; Tue, 25 Aug 2009 04:44:10 -0400 Received: by ywh14 with SMTP id 14so4030691ywh.1 for ; Tue, 25 Aug 2009 01:44:08 -0700 (PDT) In-Reply-To: (Leo's message of "Mon, 24 Aug 2009 14:38:54 +0100") 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: Leo Cc: Tassilo Horn , emacs-orgmode@gnu.org Hi Leo, Leo writes: > I feel there's something we can simplify. Also the old code for handling > gnus-article-mode moves the cursor around. > > So I simplified org-gnus-store-link as follows: As long as (header (with-current-buffer gnus-summary-buffer (gnus-summary-article-header))) fetches the right header, I think it's okay to use your code. Thanks for this! -- Bastien