]> git.cworth.org Git - notmuch/commit
notmuch-mutt: fix Xapian query construction
authorPaul Wise <pabs3@bonedaddy.net>
Sun, 9 Apr 2023 04:41:42 +0000 (12:41 +0800)
committerDavid Bremner <david@tethera.net>
Sat, 27 May 2023 17:24:40 +0000 (14:24 -0300)
commit6d383d404982c6e12dd68dcdf94b3490e3de4645
tree16b5071b3dbb8c04c258dc0047e96f4624eae672
parentd155f29eca0ab9afc35292e447fb67b1c73e9df9
notmuch-mutt: fix Xapian query construction

Spaces need to be stripped when querying the Message-Id,
because notmuch stores them in Xapian with spaces stripped.

All double-quote characters need to be doubled to escape them,
otherwise they will be added as extra query terms outside the id.
contrib/notmuch-mutt/notmuch-mutt