[PATCH 2/3] show: output Reply-To headers

Peter Wang novalazy at gmail.com
Wed Jul 4 01:24:59 PDT 2012


On Tue, 03 Jul 2012 19:22:18 -0700, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> On Tue, Jul 03 2012, Peter Wang <novalazy at gmail.com> wrote:
> > I want to see what the sender intended, before hitting reply.
> 
> Given that there have been requests to see a lot of other headers as
> well, we probably need to have a discussion about which ones are worth
> of emitting, and how we give the user some more general control to see
> the ones they want.  Either that or we just emit them all?

If we start with the obvious:

  notmuch show --output-headers=date,from,subject,to,cc,reply-to ...

with the default being the current set.

Emitting everything would be easier but seems wasteful.  I just looked
at a random message: in RFC822 syntax the header is 4073 bytes, and the
body is 1116 bytes.  Keeping only the fields that notmuch emits reduces
the header to 295 bytes.  Reply-To is 92 bytes, but not every message
has that.

Peter


More information about the notmuch mailing list