VM

Comment 4 for bug 909908

Revision history for this message
Uday Reddy (reddyuday) wrote :

Comments from Konrad:

I explored this a bit, and came up with something that works though it
isn't perfect. With the attached patch (relative to revno 1323), the
mailbox names are correctly shown in the folder list, and can be
entered correctly when visiting folders or saving to folders, in both
cases with working completion.

What's still wrong is the folder name shown as part of the buffer name
or as part of a prompt in the minibuffer. To fix that I'd have to put
a utf7-decode into vm-imap-parse-spec-to-list (it's there in a
comment), but then visiting IMAP folders breaks because
vm-imap-parse-spec-to-list also gets called from
vm-establish-new-folder-imap-session. Another solution would be to
insert utf7 decoding in a few places in vm.el, but I am not sure
that's a good solution either.

I am tempted to try an arrangement in which mailbox names and specs
are stored as decoded strings everywhere and UTF7 encoding/decoding
happens as close as possible to the IMAP protocol level. But I don't
know the code well enough to say if that is workable approach.

Konrad.