[PATCH v3 1/5] sprinter: clarify separator documentation
authorJani Nikula <jani@nikula.org>
Sun, 16 Dec 2012 21:02:37 +0000 (23:02 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:52:25 +0000 (09:52 -0800)
c7/a9a0e8e6489d1696bf9514c15a06ab06b9a888 [new file with mode: 0644]

diff --git a/c7/a9a0e8e6489d1696bf9514c15a06ab06b9a888 b/c7/a9a0e8e6489d1696bf9514c15a06ab06b9a888
new file mode 100644 (file)
index 0000000..eb7dc5d
--- /dev/null
@@ -0,0 +1,96 @@
+Return-Path: <jani@nikula.org>\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 A3C54431FB6\r
+       for <notmuch@notmuchmail.org>; Sun, 16 Dec 2012 13:02:50 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 4PSjjRVs-LEs for <notmuch@notmuchmail.org>;\r
+       Sun, 16 Dec 2012 13:02:50 -0800 (PST)\r
+Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com\r
+       [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id CF987431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 16 Dec 2012 13:02:49 -0800 (PST)\r
+Received: by mail-lb0-f181.google.com with SMTP id ge1so4052236lbb.26\r
+       for <notmuch@notmuchmail.org>; Sun, 16 Dec 2012 13:02:48 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
+       :in-reply-to:references:x-gm-message-state;\r
+       bh=e2schtg4rz8+bYNk2/qnCINuWEl+Vywl0YtcXlyDVBM=;\r
+       b=dyh7v5PhSRCm5JXjoT/OzeDjxMnVP8CznCSqAHWW6JgAXhWZN3G5MKLzBtE563axnM\r
+       yC20OK9rzMUmH8kovdHpE08NGoAg8H9wcoqlKuhAuI42pZxOVAPrgKUu/A40+6wHFNyg\r
+       Po1NYQBOOq7YGaE9mc/du1yI5aFhAIFTpNsELEA5Op+fdBJduCNUU94U6V7OvLbVSG29\r
+       lZavAoSrua74rzdhZe351xImRJGwsdY00dtlU3zrr6En8NSfd/DO4bK9pykuglSpcLGs\r
+       ElOOfk7xmyKcyxttjLjh4EOZ5dqsmWT2cDAJ55BAZcadA5nnQ+d8jGclA6SdxhrWLd++\r
+       QK0Q==\r
+Received: by 10.152.144.38 with SMTP id sj6mr8723087lab.48.1355691768434;\r
+       Sun, 16 Dec 2012 13:02:48 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.\r
+       [80.223.81.27])\r
+       by mx.google.com with ESMTPS id v6sm4113593lbf.11.2012.12.16.13.02.46\r
+       (version=SSLv3 cipher=OTHER); Sun, 16 Dec 2012 13:02:47 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v3 1/5] sprinter: clarify separator documentation\r
+Date: Sun, 16 Dec 2012 23:02:37 +0200\r
+Message-Id:\r
+ <e0791d5f452d15dc244d0ad3658a54cea33268e3.1355691124.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.10.4\r
+In-Reply-To: <cover.1355691124.git.jani@nikula.org>\r
+References: <cover.1355691124.git.jani@nikula.org>\r
+In-Reply-To: <cover.1355691124.git.jani@nikula.org>\r
+References: <cover.1355691124.git.jani@nikula.org>\r
+X-Gm-Message-State:\r
+ ALoCoQkOKdIe2C6b6ktsb1shy6AVGlMHnEeKsmGwrikfBpCtkRqTL5h4xERk36stoqYO08I0Fjro\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: Sun, 16 Dec 2012 21:02:50 -0000\r
+\r
+For text printers, the separator is a syntactic element.\r
+---\r
+ sprinter.h |    9 +++++----\r
+ 1 file changed, 5 insertions(+), 4 deletions(-)\r
+\r
+diff --git a/sprinter.h b/sprinter.h\r
+index 59776a9..f43a844 100644\r
+--- a/sprinter.h\r
++++ b/sprinter.h\r
+@@ -42,10 +42,11 @@ typedef struct sprinter {\r
+      */\r
+     void (*map_key) (struct sprinter *, const char *);\r
\r
+-    /* Insert a separator (usually extra whitespace) for improved\r
+-     * readability without affecting the abstract syntax of the\r
+-     * structure being printed.\r
+-     * For JSON, this could simply be a line break.\r
++    /* Insert a separator (usually extra whitespace). For the text\r
++     * printers, this is a syntactic separator. For the structured\r
++     * printers, this is for improved readability without affecting\r
++     * the abstract syntax of the structure being printed. For JSON,\r
++     * this could simply be a line break.\r
+      */\r
+     void (*separator) (struct sprinter *);\r
\r
+-- \r
+1.7.10.4\r
+\r