From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: Gnus link bug Date: Thu, 27 Aug 2009 16:54:34 +0100 Message-ID: References: <87ljlafkjd.fsf@bzg.ath.cx> <87vdkc395v.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 1MghJE-0004ji-Ke for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 11:54:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MghJ9-0004hs-OE for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 11:54:43 -0400 Received: from [199.232.76.173] (port=39719 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MghJ9-0004hQ-FY for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 11:54:39 -0400 Received: from mx20.gnu.org ([199.232.41.8]:47097) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MghJ9-0004iv-0i for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 11:54:39 -0400 Received: from ppsw-7.csi.cam.ac.uk ([131.111.8.137]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MghJ7-00068t-8R for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 11:54:37 -0400 In-Reply-To: <87vdkc395v.fsf@bzg.ath.cx> (Bastien's message of "Tue, 25 Aug 2009 10:43:40 +0800") 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: Bastien Cc: Tassilo Horn , emacs-orgmode@gnu.org Hi Bastien, On 2009-08-25 03:43 +0100, Bastien wrote: >> 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! Could you install that in org.git? Cheers, Leo -- Emacs uptime: 10 days, 1 hour, 37 minutes, 36 seconds