Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A5B16431FB6 for ; Thu, 5 Jul 2012 01:47:49 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.401 X-Spam-Level: * X-Spam-Status: No, score=1.401 tagged_above=-999 required=5 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=2.499, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZB94zguvTeMO for ; Thu, 5 Jul 2012 01:47:49 -0700 (PDT) Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id D7255431FAE for ; Thu, 5 Jul 2012 01:47:48 -0700 (PDT) Received: from smtp.qmul.ac.uk ([138.37.6.40]) by mail2.qmul.ac.uk with esmtp (Exim 4.71) (envelope-from ) id 1Smhj1-0004Cd-1B; Thu, 05 Jul 2012 09:47:47 +0100 Received: from 94-192-233-223.zone6.bethere.co.uk ([94.192.233.223] helo=localhost) by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1Smhj0-0004yw-Py; Thu, 05 Jul 2012 09:47:46 +0100 From: Mark Walters To: Peter Wang , Jameson Graef Rollins Subject: Re: [PATCH 2/3] show: output Reply-To headers In-Reply-To: <20120704182459.GI2342@hili.localdomain> References: <1340508470-16606-1-git-send-email-novalazy@gmail.com> <1340508470-16606-2-git-send-email-novalazy@gmail.com> <87vci471tw.fsf@servo.finestructure.net> <20120704115951.GC2342@hili.localdomain> <87pq8c6zad.fsf@servo.finestructure.net> <20120704182459.GI2342@hili.localdomain> User-Agent: Notmuch/0.13.2+70~gb6a56e7 (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu) Date: Thu, 05 Jul 2012 09:47:43 +0100 Message-ID: <87vci2egr4.fsf@qmul.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Sender-Host-Address: 94.192.233.223 X-QM-SPAM-Info: Sender has good ham record. :) X-QM-Body-MD5: f45152b962d9d74d44f59f508694b975 (of first 20000 bytes) X-SpamAssassin-Score: -1.2 X-SpamAssassin-SpamBar: - X-SpamAssassin-Report: The QM spam filters have analysed this message to determine if it is spam. We require at least 5.0 points to mark a message as spam. This message scored -1.2 points. Summary of the scoring: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [138.37.6.40 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (markwalters1009[at]gmail.com) * -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay * domain * 1.0 FREEMAIL_REPLY From and body contain different freemails * 0.1 AWL AWL: From: address is in the auto white-list X-QM-Scan-Virus: ClamAV says the message is clean Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2012 08:47:49 -0000 On Wed, 04 Jul 2012, Peter Wang wrote: > On Tue, 03 Jul 2012 19:22:18 -0700, Jameson Graef Rollins wrote: >> On Tue, Jul 03 2012, Peter Wang 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. I wonder if it would make sense for this option to be combined with something like id:"1341041595-5858-1-git-send-email-markwalters1009@gmail.com" which chooses whether to output the body of the message or not. Maybe something like --output=short|medium|full with short being just the brief headers, medium being the current default of brief headers and text bodies, and full being message with all headers. I am not sure I like it (as someone will want full headers and no bodies!) but we don't want the command line to get too cluttered. Another possibility for this particular choice: could a list of wanted headers be included in the config file? Since I think you want it for "user wants to see it" reasons rather than "program needs it to do something" reasons that might make sense. Best wishes Mark