From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 44193431FB6 for ; Fri, 13 Jul 2012 12:33:57 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.499 X-Spam-Level: X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01, UPPERCASE_50_75=0.791] 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 Wnq1lOfnettd for ; Fri, 13 Jul 2012 12:33:55 -0700 (PDT) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id A4DB2431FAE for ; Fri, 13 Jul 2012 12:33:55 -0700 (PDT) Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) by fire-doxen-postvirus (Postfix) with ESMTP id 3148A328004; Fri, 13 Jul 2012 12:33:55 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new Received: from finestructure.net (DHCP-123-184.caltech.edu [131.215.123.184]) (Authenticated sender: jrollins) by fire-doxen-submit (Postfix) with ESMTP id 6351732802E; Fri, 13 Jul 2012 12:33:52 -0700 (PDT) Received: by finestructure.net (Postfix, from userid 1000) id 3CD433CA; Fri, 13 Jul 2012 12:33:52 -0700 (PDT) From: Jameson Graef Rollins To: Mark Walters , notmuch@notmuchmail.org Subject: Re: [PATCH 2/3] cli: show allow the caller to specify the headers output. In-Reply-To: <1341673978-6094-3-git-send-email-markwalters1009@gmail.com> References: <1341673978-6094-1-git-send-email-markwalters1009@gmail.com> <1341673978-6094-3-git-send-email-markwalters1009@gmail.com> User-Agent: Notmuch/0.13.2+54~ga0426dc (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu) Date: Fri, 13 Jul 2012 12:33:49 -0700 Message-ID: <878venxxpe.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: Fri, 13 Jul 2012 19:33:57 -0000 --=-=-= On Sat, Jul 07 2012, Mark Walters wrote: > +typedef enum { > + NOTMUCH_SHOW_OUTPUT_HDR_DATE = 0x1, > + NOTMUCH_SHOW_OUTPUT_HDR_SUBJECT = 0x2, > + NOTMUCH_SHOW_OUTPUT_HDR_FROM = 0x4, > + NOTMUCH_SHOW_OUTPUT_HDR_TO = 0x8, > + NOTMUCH_SHOW_OUTPUT_HDR_CC = 0x10, > + NOTMUCH_SHOW_OUTPUT_HDR_REPLY_TO = 0x20, > + NOTMUCH_SHOW_OUTPUT_HDR_IN_REPLY_TO = 0x40, > + NOTMUCH_SHOW_OUTPUT_HDR_REFERENCES = 0x80, > + NOTMUCH_SHOW_OUTPUT_DEFAULT = > + NOTMUCH_SHOW_OUTPUT_HDR_SUBJECT | > + NOTMUCH_SHOW_OUTPUT_HDR_FROM | > + NOTMUCH_SHOW_OUTPUT_HDR_TO | > + NOTMUCH_SHOW_OUTPUT_HDR_CC | > + NOTMUCH_SHOW_OUTPUT_HDR_DATE > +} notmuch_show_output_t; Is there a reason we need to limit this to some pre-defined subset of headers? Wouldn't it be nice if you could just specify arbitrary headers? jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQAHgeAAoJEO00zqvie6q8gXEP/3IMrdnWkbQ0RF279sZLDqtk UCzKxTcopL1yEQtrcRvsfDuEUONzayQVUytlcPFb2uyW6zMavNr+mYkjN/9i8Qnt R8/bAE2V8h37mXLHzGuuuTwieFcp15sY7/+QXP6DDIQXHz4Yqu24GdC3i0/Au1bD 7sqtu4hl9nd8NiAoNKxR4h5HVEh11o4cJe/okAxQvszYglyBtQfzJG1wsBy9XYyL JRu0tpPRwJVjuXEUSTt9nt0kejQKsRsZE9Q87meg3UyDFk5V9wmKT96s8/roNnV0 Azb09cnJybCk2t+5cBad0rsnuZQG1BadNKPur8GETdHxrLzdXS/nDe8IHzxdsxV+ 5DExpnnmQ5ntrP8BQ0dwiPCDluzzI4YUkhpdBQWceLGnlv06cqx/diDXd1YiSitd x73rtODaquRK1uALI1ifg2FKyyUxKDAvvP+MNGrEjhNThTrKOj6EQRJ2dQd2sMi4 7afj24StClMhzG/T7m9Vw97oNp0iOFtTsyu1v4deTxoZhtrWgkDWRDnnYjUjDS/3 LmqlQFYSmsUT8OF8pujVnR4mrz85fiu/B/658cE3eRcfhAK/l6jH5g9zteR7asaa f8o2L27QDWu1xOux8qaY/LJvr57LRgpbUHt6EJ6yvKCo/a0IMMPEJVzt30/vbOJP P1qMhY90u+eFkK5urslb =khAK -----END PGP SIGNATURE----- --=-=-=--