diff options
author | Peter Feigl <craven@gmx.net> | 2012-12-06 22:12:12 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-12-08 09:28:19 -0400 |
commit | 1bf3720b6eaca6698f25781a7d299afcbd7a4be8 (patch) | |
tree | 635d70a3c3bc7b39a2d007e903116f4617e69b27 /devel | |
parent | fd3ffe35a2bf15676426235b809df915cd3473e4 (diff) |
Rename the -json printer functions in notmuch-reply and notmuch-show to generic -sprinter functions.
All the structured output functions in notmuch-reply and notmuch-show
are renamed to a generic name (as they do not contain any json-specific
code anyway). This patch is a preparation to actually using the new
S-Expression sprinter in notmuch-reply and notmuch-show.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/schemata | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/devel/schemata b/devel/schemata index e44da717..e5c55050 100644 --- a/devel/schemata +++ b/devel/schemata @@ -36,9 +36,9 @@ thread_node = [ [thread_node*] # children of message ] -# A message (format_part_json) +# A message (format_part_sprinter) message = { - # (format_message_json) + # (format_message_sprinter) id: messageid, match: bool, filename: string, @@ -50,7 +50,7 @@ message = { body?: [part] # omitted if --body=false } -# A MIME part (format_part_json) +# A MIME part (format_part_sprinter) part = { id: int|string, # part id (currently DFS part number) @@ -72,7 +72,7 @@ part = { content?: string } -# The headers of a message or part (format_headers_json with reply = FALSE) +# The headers of a message or part (format_headers_sprinter with reply = FALSE) headers = { Subject: string, From: string, @@ -83,10 +83,10 @@ headers = { Date: string } -# Encryption status (format_part_json) +# Encryption status (format_part_sprinter) encstatus = [{status: "good"|"bad"}] -# Signature status (format_part_sigstatus_json) +# Signature status (format_part_sigstatus_sprinter) sigstatus = [signature*] signature = { @@ -140,11 +140,11 @@ reply = { # The headers of the constructed reply reply-headers: reply_headers, - # As in the show format (format_part_json) + # As in the show format (format_part_sprinter) original: message } -# Reply headers (format_headers_json with reply = TRUE) +# Reply headers (format_headers_sprinter with reply = TRUE) reply_headers = { Subject: string, From: string, |