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 5C51E431FC3 for ; Sun, 16 Dec 2012 14:05:22 -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 6amFsM9PUseq for ; Sun, 16 Dec 2012 14:05:21 -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 21DFF431FAF for ; Sun, 16 Dec 2012 14:05:20 -0800 (PST) Received: by mail-lb0-f181.google.com with SMTP id ge1so4072116lbb.26 for ; Sun, 16 Dec 2012 14:05:19 -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=KDK2eJ6h9jCnZD9OKfvRwYRnMx8bUCb6OsTsmjvIoQ+KPZbuHd7RbXzOCGcn3z34cT EEj9RjSehYUij2r+YyG5y0doAR3N3l9+MdCK3EEX6ABaqzu7Us/+gNHbxu8dLAYC4xUO rhLp/z4y5n2W0kuBf9kBsKoMz4+2xsSj4kHVcxJ8ml4VL6seUJsvo1ILUySduMdnbirH dUP/cK+vXqE4C+bKwGB/eKVESvfFoYMnp3kSd8xPZahVLIJmoS69ktn51pU4HNo+PqXY 5yThspOJ75fivgH8WU0ASpCfeK1EBmZ5JS9Blj1TaZgYSVaQUwd8Xsbp5DdrHU9ZYW+1 lcvA== Received: by 10.112.54.6 with SMTP id f6mr5090424lbp.71.1355695519618; Sun, 16 Dec 2012 14:05:19 -0800 (PST) Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi. [80.223.81.27]) by mx.google.com with ESMTPS id ml1sm4111910lab.15.2012.12.16.14.05.17 (version=SSLv3 cipher=OTHER); Sun, 16 Dec 2012 14:05:18 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH v4 1/5] sprinter: clarify separator documentation Date: Mon, 17 Dec 2012 00:05:09 +0200 Message-Id: <7a846b6eaf0f7bc6a479b740d1678a6dac2b7323.1355695036.git.jani@nikula.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQm5uH0/Iu9X5UBr0eEZ9HmzEtuuaC07UCwfBx7kCg11KZD39tb/zNEU0cnBeMqQazyAXZYq 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 22:05:22 -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