This is version 5 of this patch series: version 4 is at id:"1335258675-29439-1-git-send-email-markwalters1009@gmail.com". This version changes the way the command-line parser deals with keywords so that specifying --option without an =<something> returns the first option. This means that boolean options can easily have extra options added without breaking the existing syntax. Patch 3/5 takes advantage of this new feature to implement the --entire-thread option to notmuch-show in a non-hacky way. Best wishes Mark Mark Walters (5): cli: command line parsing: allow default for keyword options cli: Let json output "null" messages for non --entire-thread cli: make --entire-thread=false work for format=json. Update devel/schemata for --entire-thread=false emacs: make elide messages use notmuch-show for omitting messages. command-line-arguments.c | 13 ++++++++++--- devel/TODO | 2 -- devel/schemata | 2 +- emacs/notmuch-show.el | 18 ++++++++++-------- notmuch-client.h | 1 + notmuch-show.c | 45 +++++++++++++++++++++++++++++++++++++++------ 6 files changed, 61 insertions(+), 20 deletions(-) -- 1.7.9.1