]> git.cworth.org Git - notmuch/commit
emacs: remove newlines from input to notmuch count --batch
authorDavid Bremner <david@tethera.net>
Sat, 8 Feb 2014 14:25:17 +0000 (10:25 -0400)
committerDavid Bremner <david@tethera.net>
Wed, 26 Feb 2014 00:53:19 +0000 (20:53 -0400)
commit75d84dfd8417eacac4e8586d6d1d4d2728717d07
tree469f660ca26dc9c6cc2aa3c501ddb7e0396991eb
parentfa27d0faa057775fe709dc2d3d0eb1ee5654512a
emacs: remove newlines from input to notmuch count --batch

Since a newline starts a new query in batch mode, this causes
mysterious crashes in the emacs interface if saved searches contain
newlines.  See the discussion at

      id:87wqhcxb5j.fsf@maritornes.cs.unb.ca

In general newlines seem to be just whitespace to the xapian query
parser, so this should be mainly harmless.
emacs/notmuch-hello.el