Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 2c / 25c369505ea5b06ee05ab19f8a575edba9ca09
1 Return-Path: <jani@nikula.org>\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 9CAD6431FAE\r
6         for <notmuch@notmuchmail.org>; Wed, 12 Sep 2012 14:27:35 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.7\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
13         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id FnW6W4wn5pVX for <notmuch@notmuchmail.org>;\r
17         Wed, 12 Sep 2012 14:27:35 -0700 (PDT)\r
18 Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com\r
19         [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id E3428431FBF\r
22         for <notmuch@notmuchmail.org>; Wed, 12 Sep 2012 14:27:34 -0700 (PDT)\r
23 Received: by mail-lb0-f181.google.com with SMTP id gk1so1587473lbb.26\r
24         for <notmuch@notmuchmail.org>; Wed, 12 Sep 2012 14:27:34 -0700 (PDT)\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=google.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
28         :in-reply-to:references:x-gm-message-state;\r
29         bh=CRsQEVmz+lCMFcMBqGVZJDcpLVTQehRR7S9aFYOPOok=;\r
30         b=ElnVV4I+gOlrSPgUFU/zHpp8h5FkC+vSBm+BT1w9uvPhPpnVbaTFmoyUO7p/QRlDB/\r
31         G7eyMfoaEjj523JFJxLEmKKklXKdX+bKCs7tFbAPB2Zc3MULOYVHxZxwah5fgGh2pUnz\r
32         EpbpRpiiJ9XIlY7q3v/mtp4KzG6pF5VzdxqURayibhhtS6OGzahkzz435lXf5xaHJ21d\r
33         FxyczpO07G71+S/2x2cYDGZYXz5TENeuzx+ikINOC1KS4KStCaTLJBRabd1V3BmkNHTv\r
34         sWNT/9Tuz8KqXObfrNgO1CsfiyNgHMH+paociQbIstwdlyZrJtvRrVR3VYi0wYB1XZkN\r
35         npAQ==\r
36 Received: by 10.152.110.9 with SMTP id hw9mr15625135lab.55.1347485254531;\r
37         Wed, 12 Sep 2012 14:27:34 -0700 (PDT)\r
38 Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.\r
39         [80.223.81.27])\r
40         by mx.google.com with ESMTPS id d1sm5527603lbk.16.2012.09.12.14.27.32\r
41         (version=SSLv3 cipher=OTHER); Wed, 12 Sep 2012 14:27:33 -0700 (PDT)\r
42 From: Jani Nikula <jani@nikula.org>\r
43 To: notmuch@notmuchmail.org,\r
44         David Bremner <david@tethera.net>\r
45 Subject: [PATCH v3 1/9] build: drop the -Wswitch-enum warning\r
46 Date: Thu, 13 Sep 2012 00:27:18 +0300\r
47 Message-Id:\r
48  <2990ebb63b865839c8d405163693482eb31b992f.1347484177.git.jani@nikula.org>\r
49 X-Mailer: git-send-email 1.7.9.5\r
50 In-Reply-To: <cover.1347484177.git.jani@nikula.org>\r
51 References: <cover.1347484177.git.jani@nikula.org>\r
52 In-Reply-To: <cover.1347484177.git.jani@nikula.org>\r
53 References: <cover.1347484177.git.jani@nikula.org>\r
54 X-Gm-Message-State:\r
55  ALoCoQm5FetRNvOLJ4TVzefscWLaURcwftbJ+ZFSk3bkZcmGwlfy9GVlsUfWr/csVhb9HdpB38tt\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Wed, 12 Sep 2012 21:27:35 -0000\r
69 \r
70 -Wswitch-enum is a bit awkward if a switch statement is intended to\r
71 handle just some of the named codes of an enumeration especially, and\r
72 leave the rest to the default label.\r
73 \r
74 We already have -Wall, which enables -Wswitch by default, and per GCC\r
75 documentation, "The only difference between -Wswitch and this option\r
76 [-Wswitch-enum] is that this option gives a warning about an omitted\r
77 enumeration code even if there is a default label."\r
78 \r
79 Drop -Wswitch-enum to not force listing all named codes of\r
80 enumerations in switch statements that have a default label.\r
81 \r
82 ---\r
83 \r
84 This will be useful in the next patch.\r
85 ---\r
86  configure |    2 +-\r
87  1 file changed, 1 insertion(+), 1 deletion(-)\r
88 \r
89 diff --git a/configure b/configure\r
90 index acb90a8..afa5c16 100755\r
91 --- a/configure\r
92 +++ b/configure\r
93 @@ -532,7 +532,7 @@ fi\r
94  \r
95  WARN_CXXFLAGS=""\r
96  printf "Checking for available C++ compiler warning flags... "\r
97 -for flag in -Wall -Wextra -Wwrite-strings -Wswitch-enum; do\r
98 +for flag in -Wall -Wextra -Wwrite-strings; do\r
99      if ${CC} $flag -o minimal minimal.c > /dev/null 2>&1\r
100      then\r
101         WARN_CXXFLAGS="${WARN_CXXFLAGS}${WARN_CXXFLAGS:+ }${flag}"\r
102 -- \r
103 1.7.9.5\r
104 \r