emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Hans Halvorson" <cstaralgebra@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-store-link with wanderlust
Date: Sat, 29 Dec 2007 13:55:29 -0500	[thread overview]
Message-ID: <f719e2840712291055v1840164fr8b43a16bbdb9bf7e@mail.gmail.com> (raw)
In-Reply-To: <87tzm1obg6.fsf@bzg.ath.cx>

After applying the patch, and trying M-x org-store-link on your
messasge, I get the new error:

Debugger entered--Lisp error: (wrong-type-argument listp "Bastien")
  car("Bastien")
  (let* ((msgnum ...) (message-id ...) (wl-message-entity ...) (from
...) (to ...) (subject ...)) (org-store-link-props :type "wl" :from
from :to to :subject subject :message-id message-id) (setq message-id
(org-remove-angle-brackets message-id)) (setq cpltxt
(org-email-link-description)) (setq link (org-make-link "wl:"
wl-summary-buffer-folder-name "#" message-id)))
  (cond ((run-hook-with-args-until-success ...) (setq link ... desc
...)) ((eq major-mode ...) (let ... ... ...)) ((eq major-mode ...)
(setq link ...) (setq cpltxt ...) (org-store-link-props :type "info"
:file Info-current-file :node Info-current-node)) ((eq major-mode ...)
(let ... ... ...)) ((or ... ...) (and ... ...)
(vm-follow-summary-cursor) (save-excursion ... ...)) ((eq major-mode
...) (let* ... ... ... ... ...)) ((or ... ...) (let ... ... ... ...))
((eq major-mode ...) (save-excursion ...)) ((eq major-mode ...) (let
... ... ... ...)) ((memq major-mode ...) (and ... ...) (let* ... ...
... ...)) ((eq major-mode ...) (setq cpltxt ... link ...)
(org-store-link-props :type "w3" :url ...)) ((eq major-mode ...) (setq
cpltxt ... link ...) (org-store-link-props :type "w3m" :url ...))
((setq search ...) (setq link ...) (setq cpltxt ...)) ((eq major-mode
...) (setq cpltxt ... link ...) (org-store-link-props :type "image"
:file buffer-file-name)) ((eq major-mode ...) (setq cpltxt ... link
...)) ((and buffer-file-name ...) (setq cpltxt ...) (when ... ...) (if
... ...) (setq link ...)) ((buffer-file-name ...) (setq cpltxt ...)
(when ... ... ...) (setq link ...)) ((interactive-p) (error "Cannot
link to a buffer which is not visiting a file")) (t (setq link nil)))
  (let (link cpltxt desc description search txt) (cond (... ...) (...
...) (... ... ... ...) (... ...) (... ... ... ...) (... ...) (... ...)
(... ...) (... ...) (... ... ...) (... ... ...) (... ... ...) (... ...
...) (... ... ...) (... ...) (... ... ... ... ...) (... ... ... ...)
(... ...) (t ...)) (if (consp link) (setq cpltxt ... link ...)) (setq
link (or link cpltxt) desc (or desc cpltxt)) (if (equal desc "NONE")
(setq desc nil)) (if (and ... link) (progn ... ...) (and link ...)))
  org-store-link(nil)
  call-interactively(org-store-link t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)


On Dec 29, 2007 8:52 AM, Bastien <bzg@altern.org> wrote:
>
> > 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.
>
>
> --
> Bastien
>
>

  reply	other threads:[~2007-12-29 18:55 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
2007-12-29 18:55   ` Hans Halvorson [this message]
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=f719e2840712291055v1840164fr8b43a16bbdb9bf7e@mail.gmail.com \
    --to=cstaralgebra@gmail.com \
    --cc=bzg@altern.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).