← Back to team overview

vm team mailing list archive

[Question #142544]: vm-8.0.12 breaks on unparseable addresses

 

New question #142544 on VM:
https://answers.launchpad.net/vm/+question/142544

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

You received this question notification because you are a member of VM
development team, which is an answer contact for VM.