[PATCH v3 2/3] emacs: Rename incremental JSON internal variables.

2012-10-23 Thread Ethan Glasser-Camp
Mark Walters writes: > This patch just renames the internal variables for the JSON parser now > it is no longer specific to search mode. It also fixes up the white > space after the previous patch. There should be no functional changes. This series looks very good to me. I still have a couple

[PATCH v5 6/9] lib: add date range query support

2012-10-23 Thread Austin Clements
Quoth Jani Nikula on Oct 22 at 12:22 am: > Add a custom value range processor to enable date and time searches of > the form date:since..until, where "since" and "until" are expressions > understood by the previously added date/time parser, to restrict the > results to messages within a particular

[PATCH v5 4/9] test: add smoke tests for the date/time parser module

2012-10-23 Thread Austin Clements
Quoth Jani Nikula on Oct 22 at 12:22 am: > Test the date/time parser module directly, independent of notmuch, > using the parse-time test tool. > > Credits to Michal Sojka for writing most of the > tests. > --- > test/notmuch-test |1 + > test/parse-time-string | 71 >

[PATCH v3 0/3] split async json parser into utility function

2012-10-23 Thread Mark Walters
This series splits the async json parser into its own function. The previous version is at id:87k3xlyoek@qmul.ac.uk. This version splits that patch into three bits: the first contains all the actual changes, the second changes some variable names and fixes the whitespace, and the third just

[PATCH v3 1/3] emacs: Split out the incremental json parser into its own function.

2012-10-23 Thread Mark Walters
This patch splits out the incremental json parser into its own function. It moves the main logic of the parser to happen inside the parse buffer rather than inside the results buffer, but makes sure all results and all errors are displayed in the results buffer. It also changes the local parser

[PATCH v3 2/3] emacs: Rename incremental JSON internal variables.

2012-10-23 Thread Mark Walters
This patch just renames the internal variables for the JSON parser now it is no longer specific to search mode. It also fixes up the white space after the previous patch. There should be no functional changes. --- emacs/notmuch.el | 46 +++--- 1 files

[PATCH v3 3/3] emacs: Code movement for the incremental JSON parser.

2012-10-23 Thread Mark Walters
This just moves the notmuch-search-process-filter after the newly split out incremental json parser. I think this removes a warning in some versions of emacs. There should be no functional change. --- emacs/notmuch.el | 34 +- 1 files changed, 17 insertions(+),

Re: [PATCH v3 2/3] emacs: Rename incremental JSON internal variables.

2012-10-23 Thread Ethan Glasser-Camp
Mark Walters markwalters1...@gmail.com writes: This patch just renames the internal variables for the JSON parser now it is no longer specific to search mode. It also fixes up the white space after the previous patch. There should be no functional changes. This series looks very good to me. I