From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Patch to fix a Gnus link bug Date: Thu, 08 Feb 2007 04:43:55 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HF18A-0002TK-B3 for emacs-orgmode@gnu.org; Wed, 07 Feb 2007 23:43:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HF187-0002ST-V2 for emacs-orgmode@gnu.org; Wed, 07 Feb 2007 23:43:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HF187-0002SQ-Nl for emacs-orgmode@gnu.org; Wed, 07 Feb 2007 23:43:31 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HF187-0005rt-5a for emacs-orgmode@gnu.org; Wed, 07 Feb 2007 23:43:31 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HF183-0008Pw-RE for emacs-orgmode@gnu.org; Thu, 08 Feb 2007 05:43:27 +0100 Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Feb 2007 05:43:27 +0100 Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Feb 2007 05:43:27 +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: emacs-orgmode@gnu.org --=-=-= Hello, I just found out that if two gnus links are in the same group, sequential opening the links will only work for the first one. Try opening the second link will only bring up the frame. I have tested the following patch with NoGnus 0.6. It is working fine. If someone using Gnus 5.11 could give a feedback on the patch that would be the best. --=-=-= Content-Disposition: attachment --- org.el 2007/02/06 15:27:55 1.1 +++ org.el 2007/02/08 04:35:10 1.3 @@ -9657,8 +9657,8 @@ (funcall (cdr (assq 'gnus org-link-frame-setup))) (if gnus-other-frame-object (select-frame gnus-other-frame-object)) (cond ((and group article) - (gnus-group-read-group t nil group (list (string-to-number article))) - (gnus-summary-select-article)) + (gnus-group-read-group 0 nil group) + (gnus-summary-goto-article (string-to-number article) nil t)) (group (gnus-group-jump-to-group group)))) (defun org-follow-vm-link (&optional folder article readonly) --=-=-= Thanks -- Leo (GPG Key: 9283AA3F) --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--