diff options
author | Austin Clements <amdragon@MIT.EDU> | 2013-10-24 11:19:01 -0400 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2013-11-08 20:13:47 -0400 |
commit | ec630c663597cc3d6f4f98f9ec4ec17a6c7b5bbc (patch) | |
tree | b5960bbf5eb631c4a11918761817b2fb4f0dbdd6 | |
parent | 85e95c0844849773a5403b884bca4a52b3bb4fa0 (diff) |
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_".
-rw-r--r-- | devel/schemata | 12 |
1 files 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 |