From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Org-mode 4.56 and Wanderlust 2.15.5 Date: Tue, 21 Nov 2006 10:20:50 +0100 Message-ID: <539a8e724338b2f89f23ef9abaeae95d@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GmRoI-0003nX-Au for emacs-orgmode@gnu.org; Tue, 21 Nov 2006 04:20:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GmRoH-0003lQ-Aj for emacs-orgmode@gnu.org; Tue, 21 Nov 2006 04:20:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmRoG-0003l9-Tx for emacs-orgmode@gnu.org; Tue, 21 Nov 2006 04:20:57 -0500 Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GmRoG-0004lv-JD for emacs-orgmode@gnu.org; Tue, 21 Nov 2006 04:20:56 -0500 In-Reply-To: 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: Guy Haskin Fernald Cc: emacs-orgmode@gnu.org Thanks for the fix. I am not using Wanderlust, so I cannot test this. Is there anyone else on this group who can confirm the problem and test the patch? If not, I will simply apply it for 4.57. Thanks a lot. - Carsten On Nov 21, 2006, at 1:05, Guy Haskin Fernald wrote: > 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)) > > > > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477