Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 13EF66DE0140 for ; Sun, 5 Jun 2016 08:44:44 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.577 X-Spam-Level: X-Spam-Status: No, score=0.577 tagged_above=-999 required=5 tests=[AWL=-0.075, SPF_NEUTRAL=0.652] 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 LK9Dp-uBRp1i for ; Sun, 5 Jun 2016 08:44:35 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by arlo.cworth.org (Postfix) with ESMTP id 9EE146DE01C2 for ; Sun, 5 Jun 2016 08:44:35 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id 47B68100104; Sun, 5 Jun 2016 18:44:19 +0300 (EEST) From: Tomi Ollila To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] lib: document config metadata In-Reply-To: <1465078661-30810-1-git-send-email-david@tethera.net> References: <1465078661-30810-1-git-send-email-david@tethera.net> User-Agent: Notmuch/0.22+32~gd4854c5 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 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, 05 Jun 2016 15:44:44 -0000 On Sun, Jun 05 2016, David Bremner wrote: > This probably should have been part of 3458e3c89c, but I missed it. > --- > lib/database.cc | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/lib/database.cc b/lib/database.cc > index 9630000..ecf576f 100644 > --- a/lib/database.cc > +++ b/lib/database.cc > @@ -185,6 +185,14 @@ typedef struct { > * generated is 1 and the value will be > * incremented for each thread ID. > * > + * C* metadata keys starting with C indicate > + * configuration data. It can be managed with the > + * n_database_*config* API. There is a convention > + * of hierarchical keys separated by '.' (e.g. tabs vs spaces... which wins???!!! > + * query.notmuch stores the value for the named > + * query 'notmuch'), but it is not enforced by the > + * API. > + * > * Obsolete metadata > * ----------------- > * > -- > 2.8.1