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

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

Date: Wed, 4 Jul 2012 18:24:59 +1000

To: Jameson Graef Rollins

Cc: notmuch@notmuchmail.org

From: Peter Wang


On Tue, 03 Jul 2012 19:22:18 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> On Tue, Jul 03 2012, Peter Wang <novalazy@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

Thread: