emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Guy Haskin Fernald <guy@haskin.com>
To: emacs-orgmode@gnu.org
Subject: Org-mode 4.56 and Wanderlust 2.15.5
Date: Mon, 20 Nov 2006 16:05:17 -0800	[thread overview]
Message-ID: <m2slgdfyv6.wl%guy@haskin.com> (raw)

First of all, thanks for org-mode.  I've been using it for a little
while now and it has been great.

I'm also using Wanderlust 2.15.5 and I haven't been able to store and
follow links for Wanderlust messages with Org-mode 4.56.

The following patch to org.el seems to have fixed it for me.

Regards,

Guy

--- org.el.orig	2006-11-20 15:55:19.000000000 -0800
+++ org.el	2006-11-20 15:55:00.000000000 -0800
@@ -10448,8 +10448,8 @@ onto the ring."
 (defun org-follow-wl-link (folder article)
   "Follow a Wanderlust link to FOLDER and ARTICLE."
   (setq article (org-add-angle-brackets article))
-  (wl-summary-goto-folder-subr folder 'no-sync t nil t)
-  (if article (wl-summary-jump-to-msg-by-message-id article ">"))
+  (wl-summary-goto-folder-subr folder 'no-sync t nil t nil nil)
+  (if article (wl-summary-jump-to-msg-by-message-id article))
   (wl-summary-redisplay))
 
 (defun org-follow-rmail-link (folder article)
@@ -10818,8 +10818,12 @@ For file links, arg negates `org-context
       (let* ((msgnum (wl-summary-message-number))
 	     (message-id (elmo-message-field wl-summary-buffer-elmo-folder
 					     msgnum 'message-id))
-	     (wl-message-entity (elmo-msgdb-overview-get-entity
-				 msgnum (wl-summary-buffer-msgdb)))
+	     (wl-message-entity
+	      (if (fboundp 'elmo-message-entity)
+		  (elmo-message-entity
+		   wl-summary-buffer-elmo-folder msgnum)
+		  (elmo-msgdb-overview-get-entity
+		   msgnum (wl-summary-buffer-msgdb))))
 	     (author (wl-summary-line-from)) ; FIXME: correct?
 	     (subject "???"))   ; FIXME:
 	(setq message-id (org-remove-angle-brackets message-id))

             reply	other threads:[~2006-11-21  0:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21  0:05 Guy Haskin Fernald [this message]
2006-11-21  9:20 ` Org-mode 4.56 and Wanderlust 2.15.5 Carsten Dominik

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=m2slgdfyv6.wl%guy@haskin.com \
    --to=guy@haskin.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).