← Back to team overview

vm team mailing list archive

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

 

** Project changed: viewmail => vm

-- 
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 (View Mail) for Emacs: 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