From: David Bremner <david@tethera.net>
To: Matt Armstrong <marmstrong@google.com>,
David Bremner <david@tethera.net>,
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 [thread overview]
Message-ID: <20190313004712.13359-3-david@tethera.net> (raw)
In-Reply-To: <20190313004712.13359-1-david@tethera.net>
---
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
next prev parent reply other threads:[~2019-03-13 0:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-18 11:56 [PATCH] WIP: add searching by body: David Bremner
2019-02-18 13:06 ` David Bremner
2019-03-04 2:29 ` [PATCH] lib: add 'body:' field, stop indexing headers twice David Bremner
2019-03-05 1:26 ` Matt Armstrong
2019-03-13 0:47 ` v2. add body: / drop double indexing of headers David Bremner
2019-03-13 0:47 ` [PATCH 1/4] lib: drop comment about only indexing one file David Bremner
2019-03-13 0:47 ` David Bremner [this message]
2019-03-13 0:47 ` [PATCH 3/4] lib: update commentary about path/folder terms David Bremner
2019-03-31 17:53 ` David Bremner
2019-03-13 0:47 ` [PATCH 4/4] lib: add 'body:' field, stop indexing headers twice David Bremner
2019-03-13 5:30 ` David Bremner
2019-03-13 11:44 ` [PATCH] " David Bremner
2019-03-19 0:39 ` David Bremner
2019-03-29 13:17 ` David Bremner
2019-04-14 11:32 ` David Bremner
2019-04-17 11:55 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190313004712.13359-3-david@tethera.net \
--to=david@tethera.net \
--cc=marmstrong@google.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).