Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

use the full From field to avoid empty " wrote:" lines when people se…

…nd as a plain user@address
  • Loading branch information...
commit abd0900d4a42b1f2ac1795f2d3ac44cf59f9fda7 1 parent 421518d
Charlie Allom authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  notmuch-ruby.vim
2  notmuch-ruby.vim
@@ -483,7 +483,7 @@ ruby << EOF
483 483 lines << ''
484 484
485 485 body_lines = []
486   - body_lines << "%s wrote:" % Mail::Address.new(orig[:from].value).name
  486 + body_lines << "%s wrote:" % Mail::Address.new(orig[:from].value)
487 487 part = orig.find_first_text
488 488 part.convert.each_line do |l|
489 489 body_lines << "> %s" % l.chomp

1 comment on commit abd0900

Felipe Contreras

Would this break existing behavior?

Please sign in to comment.
Something went wrong with that request. Please try again.