mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
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_".
This commit is contained in:
parent
85e95c0844
commit
ec630c6635
1 changed files with 6 additions and 6 deletions
|
@ -122,21 +122,21 @@ notmuch search schema
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
# --output=summary
|
# --output=summary
|
||||||
summary = [thread*]
|
search_summary = [thread_summary*]
|
||||||
|
|
||||||
# --output=threads
|
# --output=threads
|
||||||
threads = [threadid*]
|
search_threads = [threadid*]
|
||||||
|
|
||||||
# --output=messages
|
# --output=messages
|
||||||
messages = [messageid*]
|
search_messages = [messageid*]
|
||||||
|
|
||||||
# --output=files
|
# --output=files
|
||||||
files = [string*]
|
search_files = [string*]
|
||||||
|
|
||||||
# --output=tags
|
# --output=tags
|
||||||
tags = [string*]
|
search_tags = [string*]
|
||||||
|
|
||||||
thread = {
|
thread_summary = {
|
||||||
thread: threadid,
|
thread: threadid,
|
||||||
timestamp: unix_time,
|
timestamp: unix_time,
|
||||||
date_relative: string, # user-friendly timestamp
|
date_relative: string, # user-friendly timestamp
|
||||||
|
|
Loading…
Reference in a new issue