🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #564

vm-message-id-of fails for most messages

#564
From: Markus Hoenicka
Date: Sun, 24 Apr 2005 20:24
32 lines
2250 bytes
While using planner-mode (see
http://www.emacswiki.org/cgi-bin/wiki/PlannerMode) I came across a
problem with VM. Planner allows to create a link from an email in the
VM summary buffer to a Planner task page. The link contains the
Message-Id of the email message. When following the link, Planner uses
the function vm-message-id-of while looping over all messages in a
mailbox to match the requested ID. For most messages, the link fails
because vm-message-id-of returns nil. For debugging purposes I added a
message call that prints the wanted ID and the ID retrieved in each
iteration:

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

The result looks like this (random excerpt):

<16899.57472.627582.43152@tipi.mininet><<nil<< [2 times]
<16899.57472.627582.43152@tipi.mininet><<<1085561678.6779.20.camel@localhost><<
<16899.57472.627582.43152@tipi.mininet><<nil<< [6 times]
<16899.57472.627582.43152@tipi.mininet><<<1090521243.4789.87.camel@localhost><<
<16899.57472.627582.43152@tipi.mininet><<nil<< [43 times]
<16899.57472.627582.43152@tipi.mininet><<<E1CwkpG-0006Xt-Ao@sc8-sf-mx2.sourceforge.net><<
<16899.57472.627582.43152@tipi.mininet><<nil<< [2 times]
<16899.57472.627582.43152@tipi.mininet><<<E1CyXYU-00023e-TQ@sc8-sf-mx1.sourceforge.net><<
<16899.57472.627582.43152@tipi.mininet><<nil<< [22 times]

I'm running Emacs 21.2.1 on FreeBSD 4.7. I've seen the same behaviour
with VM versions 7.03 and 7.19.

Any ideas?

regards,
Markus
Technical Details
Message-ID: <7114ef9f.0504241224.3b8a36a9@posting.google.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,21c3f5d5c37d5537,start
X-Google-Attributes: gidf6829,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!not-for-mail
From: markus.hoenicka@mhoenicka.de (Markus Hoenicka)
Newsgroups: gnu.emacs.vm.bug
Subject: vm-message-id-of fails for most messages
Date: 24 Apr 2005 13:24:25 -0700
Organization: http://groups.google.com
Lines: 32
Message-ID: <7114ef9f.0504241224.3b8a36a9@posting.google.com>
NNTP-Posting-Host: 80.81.1.187
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1114374266 20149 127.0.0.1 (24 Apr 2005 20:24:26 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 24 Apr 2005 20:24:26 +0000 (UTC)