mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 10:54:52 +01:00
vim: use notmuch fields
They are better encoded than Ruby's Mail. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
parent
a0b0baaf2b
commit
47e1f39c56
1 changed files with 3 additions and 3 deletions
|
@ -309,9 +309,9 @@ ruby << EOF
|
|||
nm_m.start = b.count
|
||||
b << "%s %s (%s)" % [msg['from'], date, msg.tags]
|
||||
b << "Subject: %s" % [msg['subject']]
|
||||
b << "To: %s" % m['to']
|
||||
b << "Cc: %s" % m['cc']
|
||||
b << "Date: %s" % m['date']
|
||||
b << "To: %s" % msg['to']
|
||||
b << "Cc: %s" % msg['cc']
|
||||
b << "Date: %s" % msg['date']
|
||||
nm_m.body_start = b.count
|
||||
b << "--- %s ---" % part.mime_type
|
||||
part.convert.each_line do |l|
|
||||
|
|
Loading…
Reference in a new issue