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