emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Markert <markert.michael@googlemail.com>
To: emacs-orgmode@gnu.org
Cc: Julien Danjou <julien@danjou.info>
Subject: Re: Adjust org-contacts-wl functions to used standards
Date: Thu, 12 May 2011 20:04:10 +0200	[thread overview]
Message-ID: <87mxir4wyt.wl%markert.michael@googlemail.com> (raw)
In-Reply-To: <87zkn0ta79.wl%markert.michael@googlemail.com>


[-- Attachment #1.1: Type: text/plain, Size: 133 bytes --]

Hi,

I missed a nasty bit: `org-contacts-wl-get-name-email' was not updated
and contained another bug.
:(

Patch appended.

Michael


[-- Attachment #1.2: 0001-Fix-org-contacts-wl-get-name-email.patch --]
[-- Type: text/plain, Size: 1192 bytes --]

From 0417bb6f11828ef55bd451d7523f4f954963bd87 Mon Sep 17 00:00:00 2001
Message-Id: <0417bb6f11828ef55bd451d7523f4f954963bd87.1305223167.git.markert.michael@googlemail.com>
From: Michael Markert <markert.michael@googlemail.com>
Date: Thu, 12 May 2011 19:55:10 +0200
Subject: [PATCH] Fix `org-contacts-wl-get-name-email'.
To: emacs-orgmode@gnu.org

---
 contrib/lisp/org-contacts.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/lisp/org-contacts.el b/contrib/lisp/org-contacts.el
index ff4374d..192cb45 100644
--- a/contrib/lisp/org-contacts.el
+++ b/contrib/lisp/org-contacts.el
@@ -423,9 +423,9 @@ Depends on Wanderlust been loaded."
 (defun org-contacts-wl-get-name-email ()
   "Get name and email address from wanderlust email.
 See `org-contacts-wl-get-from-header-content' for limitations."
-  (let ((from (wl-get-from-header-content)))
+  (let ((from (org-contacts-wl-get-from-header-content)))
     (when from
-      (cons (wl-address-header-extract-realname from)
+      (list (wl-address-header-extract-realname from)
 	    (wl-address-header-extract-address from)))))

 (defun org-contacts-template-wl-name (&optional return-value)
--
1.7.5.1


[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2011-05-12 18:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-06 10:06 Adjust org-contacts-wl functions to used standards Michael Markert
2011-05-12 18:04 ` Michael Markert [this message]
2011-05-12 18:25   ` Julien Danjou
2011-05-12 19:15     ` Michael Markert
2011-05-24 10:50       ` Carsten Dominik
2011-05-24 17:41         ` Michael Markert

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=87mxir4wyt.wl%markert.michael@googlemail.com \
    --to=markert.michael@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=julien@danjou.info \
    /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).