emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jemarch@gnu.org
To: emacs-orgmode@gnu.org
Subject: [patch] Fix wanderlust in `org-store-link'
Date: Sat, 06 Oct 2007 22:48:45 +0200	[thread overview]
Message-ID: <868x6gezpu.wl%jemarch@gnu.org> (raw)


Hello.

This tiny patch (against org version 5.10b, i didnt found a suitable
CVS repository to get non-released code) fixes `org-store-link' for
wanderlust summary mode. 

In both the latest wanderlust version (2.14.0) and in CVS wanderlust
the function `elmo-message-entity-field' do not return a list, but a
string containing the field contents.


2007-10-06  Jose E. Marchesi  <jemarch@gnu.org>

	* org.el (org-store-link): Expect a string from the call to
	`elmo-message-entity-field' instead of a list.



--- org.el	2007-10-04 22:34:15.000000000 +0200
+++ org-foo.el	2007-10-06 22:44:10.000000000 +0200
@@ -10969,7 +10969,7 @@
 		  (elmo-msgdb-overview-get-entity
 		   msgnum (wl-summary-buffer-msgdb))))
 	     (from (wl-summary-line-from))
-	     (to (car (elmo-message-entity-field wl-message-entity 'to)))
+	     (to (elmo-message-entity-field wl-message-entity 'to))
 	     (subject (let (wl-thr-indent-string wl-parent-message-entity)
 			(wl-summary-line-subject))))
 	(org-store-link-props :type "wl" :from from :to to

             reply	other threads:[~2007-10-06 20:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-06 20:48 jemarch [this message]
2007-10-08 11:21 ` [patch] Fix wanderlust in `org-store-link' 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=868x6gezpu.wl%jemarch@gnu.org \
    --to=jemarch@gnu.org \
    --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).