]> git.notmuchmail.org Git - notmuch/commit
vim: fix from list reformatting in search view
authorJason Woofenden <jason@jasonwoof.com>
Mon, 11 Jul 2011 05:40:07 +0000 (01:40 -0400)
committerFelipe Contreras <felipe.contreras@gmail.com>
Sat, 16 Jul 2011 18:57:38 +0000 (21:57 +0300)
commitf5c20b8b08c35b5026538b14c45e115a991b3bdd
treeabe39632b4b86945ca8b8c395af47b906b367eb8
parent2b79776eedf5e59332921eb071b5412c12499cb6
vim: fix from list reformatting in search view

This patch rewrites the reformatting of the from list so it shows full
capitalized names when available (without truncating them as the old code did)
and removes the pipe characters that appear between some names.

The old code appears to assume from list (the list of senders in the thread)
coming from notmuch would be e-mail addresses, but in this version it is mostly
full names. Also in this version, the names are sometimes separated by pipe
instead of comma.

For consistency with old versions, names are still truncated at the first
period. Perhaps they shouldn't be though.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
vim/plugin/notmuch.vim