emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Cc: Hans Halvorson <cstaralgebra@gmail.com>
Subject: Re: org-store-link with wanderlust
Date: Sat, 29 Dec 2007 14:52:09 +0100	[thread overview]
Message-ID: <87tzm1obg6.fsf@bzg.ath.cx> (raw)
In-Reply-To: <f719e2840712120721v3d73da9rada8c864e1670c25@mail.gmail.com> (Hans Halvorson's message of "Wed, 12 Dec 2007 10:21:39 -0500")

[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]

"Hans Halvorson" <cstaralgebra@gmail.com> writes:

> When I try 'M-x org-store-link' in the wanderlust summary buffer, I
> get an error (have tried with many messages).  For example:
>
> Debugger entered--Lisp error: (error "Invalid address: (Brad Pitt
> <bpitt@Elites.COM>)")
>   signal(error ("Invalid address: (Brad Pitt <bpitt@Elites.COM>)"))
>   error("Invalid address: %s" ("Brad Pitt <bpitt@Elites.COM>"))
>   mail-extract-address-components(("Brad Pitt <bpitt@Elites.COM>"))
>   org-store-link-props(:type "wl" :from "Jolie, Angelina" :to ("Brad
> Pitt <bpitt@Elites.COM>") :subject "RE: u r hot" :message-id
> "<664F5EF544B264BEFE154B2FE40A770279053@CREXUSER08.foobar.com>")
>   org-store-link(nil)
>   call-interactively(org-store-link)
>   execute-extended-command(nil)
>   call-interactively(execute-extended-command)
>
> The address reported in the backtrace has, of course, been changed ...
> but it is structurally original to the original valid address.

Looks like wl-summary-line-from return a list, not a string.

Please check the following patch against Org 5.17a.  


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org.el.patch --]
[-- Type: text/x-diff, Size: 667 bytes --]

diff -u /home/guerry/elisp/testing/org/ /home/guerry/elisp/testing/bzg/org.el
--- /home/guerry/elisp/testing/org/org.el	2007-12-20 14:38:42.000000000 +0100
+++ /home/guerry/elisp/testing/bzg/org.el	2007-12-29 14:50:20.000000000 +0100
@@ -11762,7 +11762,7 @@
 		   wl-summary-buffer-elmo-folder msgnum)
 		  (elmo-msgdb-overview-get-entity
 		   msgnum (wl-summary-buffer-msgdb))))
-	     (from (wl-summary-line-from))
+	     (from (car (wl-summary-line-from)))
 	     (to (elmo-message-entity-field wl-message-entity 'to))
 	     (subject (let (wl-thr-indent-string wl-parent-message-entity)
 			(wl-summary-line-subject))))

Diff finished.  Sat Dec 29 14:50:25 2007

[-- Attachment #3: Type: text/plain, Size: 13 bytes --]


-- 
Bastien

[-- Attachment #4: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2007-12-29 13:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-12 15:21 org-store-link with wanderlust Hans Halvorson
2007-12-29 13:52 ` Bastien [this message]
2007-12-29 18:55   ` Hans Halvorson
2007-12-29 19:55   ` Hans Halvorson
2008-01-02 22:13     ` Carsten Dominik
  -- strict thread matches above, loose matches on Subject: below --
2008-01-05 13:42 Hans Halvorson

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=87tzm1obg6.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=cstaralgebra@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).