Re: [PATCH] emacs: Add configurable wrapping width for notmuch-wash-wrap-long-lines
[notmuch-archives.git] / d5 / 58cd143c9b7f2b4a1e5397533b5f04c601409c
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 13B65429E3B\r
6         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 15:26:31 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id vT5rwtd3dkAF for <notmuch@notmuchmail.org>;\r
16         Sat,  7 Jan 2012 15:26:30 -0800 (PST)\r
17 Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
18         [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 425DA429E29\r
21         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 15:26:30 -0800 (PST)\r
22 Received: by eaai1 with SMTP id i1so1939016eaa.26\r
23         for <notmuch@notmuchmail.org>; Sat, 07 Jan 2012 15:26:27 -0800 (PST)\r
24 Received: by 10.213.25.71 with SMTP id y7mr414327ebb.95.1325978787424;\r
25         Sat, 07 Jan 2012 15:26:27 -0800 (PST)\r
26 Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi.\r
27         [80.220.92.23])\r
28         by mx.google.com with ESMTPS id 15sm17755970eeu.1.2012.01.07.15.26.25\r
29         (version=SSLv3 cipher=OTHER); Sat, 07 Jan 2012 15:26:26 -0800 (PST)\r
30 From: Jani Nikula <jani@nikula.org>\r
31 To: notmuch@notmuchmail.org\r
32 Subject: [RFC PATCH 0/9] -std=c99 / -std=c++0x -pedantic\r
33 Date: Sun,  8 Jan 2012 01:26:14 +0200\r
34 Message-Id: <cover.1325977940.git.jani@nikula.org>\r
35 X-Mailer: git-send-email 1.7.5.4\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=UTF-8\r
38 Content-Transfer-Encoding: 8bit\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Sat, 07 Jan 2012 23:26:31 -0000\r
52 \r
53 Hi all, this series was borne of curiousity about compiling the notmuch codebase\r
54 using -std=c99 / -std=c++0x -pedantic options. The C part is split into separate\r
55 patches to make it easier to see each warning and fix; with C++ I didn't bother\r
56 so much.\r
57 \r
58 Turns out there are a few specific issues, but overall it's not too bad. However\r
59 my gut feeling is that some of the fixes to get standards compliance are uglier\r
60 than just using the GCC extensions. The question is, do we care about anything\r
61 other than GCC?\r
62 \r
63 Comments and discussion welcome; that was the whole point here rather than any\r
64 serious effort for merging these. (But that can follow if people think this is\r
65 worth it.)\r
66 \r
67 BR,\r
68 Jani.\r
69 \r
70 \r
71 \r
72 Jani Nikula (9):\r
73   build: use -std=c99 -pedantic for C source\r
74   xutil: #define _POSIX_C_SOURCE to get strdup()\r
75   lib: fix messages.c build warn\r
76   lib: HACK: avoid warnings from talloc_steal()\r
77   cli: fix warning about variadic macros\r
78   cli: fix another warning about variadic macros\r
79   util: fix warning about variadic macros\r
80   lib: use -std=c++0x -pedantic\r
81   test: smtp-dummy: fixes for -std=c99 -pedantic\r
82 \r
83  configure             |    4 ++--\r
84  lib/database.cc       |    3 +--\r
85  lib/message.cc        |    2 +-\r
86  lib/messages.c        |    6 ++++--\r
87  lib/notmuch-private.h |    8 +++++---\r
88  lib/tags.c            |    5 ++++-\r
89  lib/thread.cc         |    2 +-\r
90  notmuch-client.h      |    9 ++++++---\r
91  notmuch-setup.c       |    7 +++++--\r
92  test/smtp-dummy.c     |    4 +++-\r
93  util/error_util.h     |    8 +++++---\r
94  util/xutil.c          |    2 ++\r
95  12 files changed, 39 insertions(+), 21 deletions(-)\r
96 \r
97 -- \r
98 1.7.5.4\r
99 \r