all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Patch to fix a Gnus link bug
@ 2007-02-08  4:43 Leo
  0 siblings, 0 replies; only message in thread
From: Leo @ 2007-02-08  4:43 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

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.


[-- Attachment #2: Type: text/plain, Size: 567 bytes --]

--- 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)

[-- Attachment #3: Type: text/plain, Size: 83 bytes --]


Thanks
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

[-- Attachment #4: Type: text/plain, Size: 149 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-08  4:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-08  4:43 Patch to fix a Gnus link bug Leo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.