notmuch/emacs
Austin Clements d0ebd6cb53 emacs: Fix bug in resynchronizing after a JSON parse error
Previously, if the input stream consisted only of an error message,
notmuch-json-begin-compound would signal a (wrong-type-argument
number-or-marker-p nil) error when reaching the end of the error
message.  This happened because notmuch-json-scan-to-value would think
that it reached a value and put the parser into the 'value state.
Even after notmuch-json-begin-compound signaled the syntax error, the
parser would remain in this state and when the resynchronization logic
reached the end of the buffer, the parser would fail because the
'value state indicates that characters are available.

This fixes this problem by restoring the parser's previous state if it
encounters a syntax error.
2012-12-15 13:47:49 -04:00
..
coolj.el emacs: Add more functions to clean up text/plain parts 2010-04-26 10:05:46 -07:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local emacs: create notmuch-tag.el, and move appropriate functions from notmuch.el 2012-04-29 17:39:37 -03:00
notmuch-address.el emacs: globally replace non-branching "(if (not ..." with "(unless ..." 2012-01-21 08:17:56 -04:00
notmuch-crypto.el Spelling fix 2012-03-01 19:04:21 -04:00
notmuch-hello.el emacs: drop support for deprecated notmuch-folders 2012-12-04 09:08:02 -04:00
notmuch-lib.el emacs: Fix bug in resynchronizing after a JSON parse error 2012-12-15 13:47:49 -04:00
notmuch-logo.png emacs: Add notmuch-hello.el, a friendly frontend to notmuch 2010-04-23 12:50:18 -07:00
notmuch-maildir-fcc.el emacs: derive correct timestamp in FCC unique name 2012-06-22 07:39:21 -03:00
notmuch-message.el emacs: use new tag change helper to mark messages as replied 2012-09-19 08:03:35 -03:00
notmuch-mua.el emacs: Do not pass stderr of notmuch reply to JSON parser 2012-05-06 08:49:38 -03:00
notmuch-print.el emacs: Put notmuch-print-mechanism in custom group notmuch-show 2012-04-24 23:25:51 -03:00
notmuch-query.el emacs: Add support for PGP/MIME verification/decryption 2011-05-27 16:22:00 -07:00
notmuch-show.el emacs: add support for stashing the thread id in show view 2012-12-09 19:09:46 -04:00
notmuch-tag.el emacs: add helper for tag change list manipulation 2012-09-19 08:01:59 -03:00
notmuch-wash.el emacs: Add configurable wrapping width for notmuch-wash-wrap-long-lines 2012-06-29 22:38:52 -03:00
notmuch.el emacs: Move the incremental JSON parser to notmuch-lib.el 2012-10-28 09:42:18 -03:00