emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Patch to fix a Gnus link bug
Date: Thu, 08 Feb 2007 04:43:55 +0000	[thread overview]
Message-ID: <m2abzpgsxg.fsf@sl392.st-edmunds.cam.ac.uk> (raw)

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

                 reply	other threads:[~2007-02-08  4:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2abzpgsxg.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).