Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / f6 / a4660719dd9bd2fa0ae68886a0325f1dbbf9ff
1 Return-Path: <markwalters1009@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id CD79A431FB6\r
6         for <notmuch@notmuchmail.org>; Thu,  8 Mar 2012 14:15:55 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id sd+QYoEgMUwE for <notmuch@notmuchmail.org>;\r
18         Thu,  8 Mar 2012 14:15:55 -0800 (PST)\r
19 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
20  [74.125.82.45])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
21  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
22  0BB44431FAE    for <notmuch@notmuchmail.org>; Thu,  8 Mar 2012 14:15:54 -0800\r
23  (PST)\r
24 Received: by wgbds10 with SMTP id ds10so878463wgb.2\r
25         for <notmuch@notmuchmail.org>; Thu, 08 Mar 2012 14:15:52 -0800 (PST)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer;\r
28         bh=9o2iTOi2HIECD8EDfxe2wnqxt31Yq0Xkxg5fAZj7nyM=;\r
29         b=BnhRSoMOSXncumhurbuMbZQbsTSfZ3X0pqy4/GAjpgs3l3njcXImpaqwXUAbUHe8yg\r
30         AbHsA4CvOnJOJwrwcSmsXM76454EOkQB7iOL4ZYpQLNykNjEsWJrCWK9O6J69RS4s7cy\r
31         fumq8h4FKeJaS8mkMIzQ7tTH+WD3TbFKyzLyIfoNzjZOBLrPGHIFxDGmTnYLq9kfx4ms\r
32         CCW9EtiB2otm5CGvrHmaVAX9qUiRPS+jigG1RQTM0tDEesMy73VIpT7nBQNEU+b8OrgV\r
33         mITbGGhlg/AGosh//28CUvNoVHiY2F2C+oO5nmC/qbQAMmQjJTVw7SZfa9FkxNJ0sNs8\r
34         woRA==\r
35 Received: by 10.180.106.9 with SMTP id gq9mr16490665wib.17.1331244952365;\r
36         Thu, 08 Mar 2012 14:15:52 -0800 (PST)\r
37 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
38  [94.192.233.223])      by mx.google.com with ESMTPS id\r
39  w10sm14906589wiy.3.2012.03.08.14.15.50 (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Thu, 08 Mar 2012 14:15:51 -0800 (PST)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH 0/2] cli: Parsing. Add option NOTMUCH_OPT_INT_OR_BOOLEAN\r
44 Date: Thu,  8 Mar 2012 22:15:42 +0000\r
45 Message-Id: <1331244944-7960-1-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Thu, 08 Mar 2012 22:15:55 -0000\r
60 \r
61 The first patch adds a new command line parsing option\r
62 NOTMUCH_OPT_INT_OR_BOOLEAN for command line parsing which accepts\r
63 --verbose=3 and --verbose with the latter setting verbose to 1. It\r
64 also allows --verbose=0 so (with a little caller support) the user can\r
65 turn off boolean options.\r
66 \r
67 It also means that extra options can be added to the command line\r
68 programs in a backwards compatible manner (e.g. if --verbose already\r
69 exists we could add --verbose=2).\r
70 \r
71 The second patch uses this to make the --entire-thread option to\r
72 notmuch-show a NOTMUCH_OPT_INT_OR_BOOLEAN. In particular this allows\r
73 the caller to disable --entire-thread (with --entire-thread=0) when\r
74 format=json.\r
75 \r
76 Best wishes\r
77 \r
78 Mark\r
79 \r
80 Mark Walters (2):\r
81   cli: Parsing. Add option NOTMUCH_OPT_INT_OR_BOOLEAN\r
82   cli: make --entire-thread option notmuch-show.c INT_OR_BOOLEAN\r
83 \r
84  command-line-arguments.c |   29 +++++++++++++++++++++++++++--\r
85  command-line-arguments.h |    3 +++\r
86  notmuch-show.c           |   10 ++++++++--\r
87  3 files changed, 38 insertions(+), 4 deletions(-)\r
88 \r
89 -- \r
90 1.7.9.1\r
91 \r