From ec630c663597cc3d6f4f98f9ec4ec17a6c7b5bbc Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Thu, 24 Oct 2013 11:19:01 -0400 Subject: [PATCH] schemata: Disambiguate non-terminal names Previously, the show schema and the search schema used different "thread" non-terminals. While these schemata don't interact, this is still confusing, so rename search's "thread" to "thread_summary". To further limit confusion, prefix all top-level search non-terminals now begin with "search_". --- devel/schemata | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/devel/schemata b/devel/schemata index 2405756e..cdd0e433 100644 --- a/devel/schemata +++ b/devel/schemata @@ -122,21 +122,21 @@ notmuch search schema --------------------- # --output=summary -summary = [thread*] +search_summary = [thread_summary*] # --output=threads -threads = [threadid*] +search_threads = [threadid*] # --output=messages -messages = [messageid*] +search_messages = [messageid*] # --output=files -files = [string*] +search_files = [string*] # --output=tags -tags = [string*] +search_tags = [string*] -thread = { +thread_summary = { thread: threadid, timestamp: unix_time, date_relative: string, # user-friendly timestamp