mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +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
|
nm_m.start = b.count
|
||||||
b << "%s %s (%s)" % [msg['from'], date, msg.tags]
|
b << "%s %s (%s)" % [msg['from'], date, msg.tags]
|
||||||
b << "Subject: %s" % [msg['subject']]
|
b << "Subject: %s" % [msg['subject']]
|
||||||
b << "To: %s" % m['to']
|
b << "To: %s" % msg['to']
|
||||||
b << "Cc: %s" % m['cc']
|
b << "Cc: %s" % msg['cc']
|
||||||
b << "Date: %s" % m['date']
|
b << "Date: %s" % msg['date']
|
||||||
nm_m.body_start = b.count
|
nm_m.body_start = b.count
|
||||||
b << "--- %s ---" % part.mime_type
|
b << "--- %s ---" % part.mime_type
|
||||||
part.convert.each_line do |l|
|
part.convert.each_line do |l|
|
||||||
|
|
Loading…
Reference in a new issue