[PATCH 1/1] uncrustify.cfg: added 3 new types for uncrustify to know
authorTomi Ollila <tomi.ollila@iki.fi>
Fri, 2 Nov 2012 14:07:06 +0000 (16:07 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:50:15 +0000 (09:50 -0800)
c0/d2497322d32dfda3a99ba1a8a51985e6122cdc [new file with mode: 0644]

diff --git a/c0/d2497322d32dfda3a99ba1a8a51985e6122cdc b/c0/d2497322d32dfda3a99ba1a8a51985e6122cdc
new file mode 100644 (file)
index 0000000..60547e6
--- /dev/null
@@ -0,0 +1,69 @@
+Return-Path: <too@guru-group.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 09E91431FBC\r
+       for <notmuch@notmuchmail.org>; Fri,  2 Nov 2012 07:07:09 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id xWUx-5BpEKXB for <notmuch@notmuchmail.org>;\r
+       Fri,  2 Nov 2012 07:07:08 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id EBE74431FAE\r
+       for <notmuch@notmuchmail.org>; Fri,  2 Nov 2012 07:07:07 -0700 (PDT)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+       id 0AB5110007E; Fri,  2 Nov 2012 16:07:09 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 1/1] uncrustify.cfg: added 3 new types for uncrustify to know\r
+Date: Fri,  2 Nov 2012 16:07:06 +0200\r
+Message-Id: <1351865226-916-1-git-send-email-tomi.ollila@iki.fi>\r
+X-Mailer: git-send-email 1.8.0\r
+Cc: tomi.ollila@iki.fi\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 02 Nov 2012 14:07:09 -0000\r
+\r
+Added FILE, notmuch_show_params_t and sprinter_t to be\r
+types when uncrustifying sources. This affect spacing\r
+when uncrustify is deciding for type declaration instead\r
+of binary multiplication operation.\r
+---\r
+ devel/uncrustify.cfg | 4 +++-\r
+ 1 file changed, 3 insertions(+), 1 deletion(-)\r
+\r
+diff --git a/devel/uncrustify.cfg b/devel/uncrustify.cfg\r
+index d24cf6e..6a8769c 100644\r
+--- a/devel/uncrustify.cfg\r
++++ b/devel/uncrustify.cfg\r
+@@ -62,8 +62,10 @@ nl_after_struct = 0\r
+ # uncrustify doesn't know whether a 'token' is part of pointer type\r
+ # or left operand of a binary multiplication operation.\r
+ \r
++type FILE\r
+ type GMimeObject GMimeCryptoContext GMimeCipherContext\r
+-type mime_node_t notmuch_message_t\r
++type mime_node_t notmuch_message_t notmuch_show_params_t\r
++type sprinter_t\r
+ \r
+ #\r
+ # inter-character spacing options\r
+-- \r
+1.8.0\r
+\r