emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: planner and vm


From: Markus Hoenicka
Subject: [emacs-wiki-discuss] Re: planner and vm
Date: Sun, 24 Apr 2005 01:26:59 +0200

Sacha Chua writes:
 > That's odd. Did the vm-message-list variable contain a list of
 > plausible messages? planner-vm-browse-url is supposed to go through
 > them looking for the message-id. Would you feel comfortable edebugging
 > this code and figuring out where it gets confused? It's supposed to work...
 > 

First of all, I apologize that it took me so long to have a closer
look at this issue. I'm not familiar with edebug, so I resorted to the
good old printf debugger (or rather 'message' in the case of
elisp) in the while loop:

(message "%s<<%s<<" message-id (vm-message-id-of (car mp)))

The first value printed is the message ID that the planner link points
to. The second value is the value that vm extracts in each iteration
of the loop. What I see is that the call (vm-message-id-of (car mp))
does not return a value for all messages. A random snippet of my debug
version's output looks like this:

<address@hidden><<nil<< [2 times]
<address@hidden><<<address@hidden><<
<address@hidden><<nil<< [6 times]
<address@hidden><<<address@hidden><<
<address@hidden><<nil<< [43 times]
<address@hidden><<<address@hidden><<
<address@hidden><<nil<< [2 times]
<address@hidden><<<address@hidden><<
<address@hidden><<nil<< [22 times]

That is, for the majority of messages the message ID is nil, although
all emails sure do contain a Message-Id field in the header, and
planner-create-task-from buffer is able to extract it correctly.

This moves the problem from planner to vm itself. I'll see what
I can find out. I'm just wondering why no one else stumbled over this
problem before.

regards,
Markus

-- 
Markus Hoenicka
address@hidden
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de





reply via email to

[Prev in Thread] Current Thread [Next in Thread]