From: Austin Clements Date: Thu, 24 Oct 2013 15:19:01 +0000 (-0400) Subject: schemata: Disambiguate non-terminal names X-Git-Tag: 0.17_rc1~58 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=ec630c663597cc3d6f4f98f9ec4ec17a6c7b5bbc 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_". --- 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