<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib, branch 0.34_rc0</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.34_rc0</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.34_rc0'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-10-15T11:34:39Z</updated>
<entry>
<title>lib: bump lib minor version to 5</title>
<updated>2021-10-15T11:34:39Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-15T11:34:39Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8383b6cb3a06146a2d3cf589090da10b5f78cde0'/>
<id>urn:sha1:8383b6cb3a06146a2d3cf589090da10b5f78cde0</id>
<content type='text'>
One new function (and an enum) was added to the API/ABI.
</content>
</entry>
<entry>
<title>Merge tag '0.33.1'</title>
<updated>2021-09-11T00:02:10Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-09-11T00:02:10Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7556bb7da27621895327b84d22abba2519c24ba7'/>
<id>urn:sha1:7556bb7da27621895327b84d22abba2519c24ba7</id>
<content type='text'>
notmuch 0.33.1 release
</content>
</entry>
<entry>
<title>lib: use 'localhost' rather than fqdn for default mail address.</title>
<updated>2021-09-10T11:17:06Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-09-09T12:51:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=060ff57642fc74f320761586e244151c04e63755'/>
<id>urn:sha1:060ff57642fc74f320761586e244151c04e63755</id>
<content type='text'>
As discussed in the thread starting at [1], the fully qualified domain
name is a bit tricky to get reproducibly, might reveal information
people prefer to keep private, and somewhat unlikely to provide
reliable mail routing.

The new approach of $current_username@localhost is better for the
first two considerations, and probably at least as good as a test mail
address.

[1]: id:87sfyibqhj.fsf@tethera.net
</content>
</entry>
<entry>
<title>lib/parse-sexp: apply macros</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=551254eb76c9bb558078f04f21df1f6089cb03d6'/>
<id>urn:sha1:551254eb76c9bb558078f04f21df1f6089cb03d6</id>
<content type='text'>
Macros implement lazy evaluation and lexical scope.  The former is
needed to make certain natural constructs work sensibly (e.g. (tag
,param)) but the latter is mainly future-proofing in case the DSL is
is extended to allow local bindings.

For technical background, see chapters 6 and 17 of [1] (or some other
intermediate programming languages textbook).

[1] http://cs.brown.edu/courses/cs173/2012/book/
</content>
</entry>
<entry>
<title>lib/parse-sexp: thread environment argument through parser</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3eca7fcf10a63e642e627539442271872fca58fd'/>
<id>urn:sha1:3eca7fcf10a63e642e627539442271872fca58fd</id>
<content type='text'>
No functionality change, just an extra argument carried everywhere.
</content>
</entry>
<entry>
<title>lib/parse-sexp: support saved s-expression queries</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:39Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9b9eb1d8bd6464f044facef9507c5988c3d953ca'/>
<id>urn:sha1:9b9eb1d8bd6464f044facef9507c5988c3d953ca</id>
<content type='text'>
It turns out there is not really much code in query-fp.cc useful for
supporting the new syntax. The code we could potentially factor out
amounts to calling notmuch_database_get_config; both the key
construction and the parsing of the results are specific to the query
syntax involved.
</content>
</entry>
<entry>
<title>lib/parse-sexp: handle saved queries</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6ab2d9b1a2e62b76960df8e80ff2a45d9c6a8551'/>
<id>urn:sha1:6ab2d9b1a2e62b76960df8e80ff2a45d9c6a8551</id>
<content type='text'>
This provides functionality analogous to query: in the Xapian
QueryParser based parser. Perhaps counterintuitively, the saved
queries currently have to be in the original query syntax (i.e. not
s-expressions).
</content>
</entry>
<entry>
<title>lib: factor out expansion of saved queries.</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=036734252d07d8568937073d4f2d366bcb06bc4e'/>
<id>urn:sha1:036734252d07d8568937073d4f2d366bcb06bc4e</id>
<content type='text'>
This is intended to allow use outside of the Xapian query parser.
</content>
</entry>
<entry>
<title>lib/parse-sexp: parse user headers</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a07ef8abf5248c1128ddc75b8139ae807a88abd9'/>
<id>urn:sha1:a07ef8abf5248c1128ddc75b8139ae807a88abd9</id>
<content type='text'>
One subtle aspect is the replacement of _find_prefix with
_notmuch_database_prefix, which understands user headers. Otherwise
the code mainly consists of creating a fake prefix record (since the
user prefixes are not in the prefix table) and error handling.
</content>
</entry>
<entry>
<title>lib/parse-sexp: support infix subqueries</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cc5992a30470222791c24849da04a3c0403ecce5'/>
<id>urn:sha1:cc5992a30470222791c24849da04a3c0403ecce5</id>
<content type='text'>
This is necessary so that programs can take infix syntax queries from
a user and use the sexp query syntax to construct e.g. a refinement of
that query.
</content>
</entry>
</feed>
