From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 924E16DE1082 for ; Tue, 12 Mar 2019 17:47:30 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.013 X-Spam-Level: X-Spam-Status: No, score=-0.013 tagged_above=-999 required=5 tests=[AWL=-0.012, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r1xTxHldOFQn for ; Tue, 12 Mar 2019 17:47:30 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 883546DE1081 for ; Tue, 12 Mar 2019 17:47:26 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1h3s3J-0004bk-KF; Tue, 12 Mar 2019 20:47:25 -0400 Received: (nullmailer pid 13457 invoked by uid 1000); Wed, 13 Mar 2019 00:47:21 -0000 From: David Bremner To: Matt Armstrong , David Bremner , notmuch@notmuchmail.org Subject: [PATCH 2/4] lib: add clarification about the use of "prefix" in the docs. Date: Tue, 12 Mar 2019 21:47:10 -0300 Message-Id: <20190313004712.13359-3-david@tethera.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190313004712.13359-1-david@tethera.net> References: <20190313004712.13359-1-david@tethera.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Wed, 13 Mar 2019 00:47:30 -0000 --- lib/database.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/database.cc b/lib/database.cc index fc42c4ba..f33f0af6 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -63,6 +63,12 @@ typedef struct { * We currently have three different types of documents (mail, ghost, * and directory) and also some metadata. * + * There are two kinds of prefixes used in notmuch. There are the + * human friendly 'prefix names' like "thread:", which are also used + * in the query parser, and the actual prefix terms in the database + * (e.g. "G"). The correspondence is maintained in the file scope data + * structure 'prefix_table'. + * * Mail document * ------------- * A mail document is associated with a particular email message. It -- 2.20.1