← Back to team overview

vm team mailing list archive

[Bug 302562] Re: vm-8.0.12 breaks on unparseable addresses

 

Hi, if you can give us a sample of messages that generate the
"unparsable address..." strings, we can see how to handle them.  They
should not be getting bound to the variable 'addresses'.

Cheers,
Uday


** Changed in: viewmail
       Status: New => Incomplete

-- 
vm-8.0.12 breaks on unparseable addresses
https://bugs.launchpad.net/bugs/302562
You received this bug notification because you are a member of VM
development team, which is the registrant for VM (defunct).

Status in VM - Goto http://launchpad.net/vm for active development: Incomplete

Bug description:
In function vm-su-du-recipients (file summary.el), at the end, the call

    (vm-set-to-of m (mapconcat 'identity addresses ", "))

can fail (it failed for me) because the paremeter addresses can be bound to a string such as

"(Unparsable address -- Strange character \\; found: \";_^_>\")"

and mapconcat expects a list as second argument.  The kludge I made was to convert it anyway to a list:

    ;; Patched by MCL for addresses which are not a list of addresses
    (vm-set-to-of m (mapconcat 'identity 
        (if (eq (type-of addresses) 'string) 
            (list addresses) 
            addresses
        )
        ", "))

I could not test it thoroughly yet - and of course it is a kludge, but it points out to where the problem is.

Cheers,

MCL





Follow ups