<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/emacs/notmuch-lib.el, branch 0.18</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.18</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.18'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2014-04-21T12:48:41Z</updated>
<entry>
<title>emacs: hello: bugfix for saved searches defcustom</title>
<updated>2014-04-21T12:48:41Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2014-04-16T21:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ae2888015e41174aa34203f397ffa034b56cfc61'/>
<id>urn:sha1:ae2888015e41174aa34203f397ffa034b56cfc61</id>
<content type='text'>
The recent changes for saved searches introduced a bug when notmuch
was loaded after the saved search was defined. This was caused by a
utility function not being defined when the defcustom was loaded.

Fix this by moving some code around: the defcustom is moved into
notmuch-hello (which is a more natural place anyway), and the utility
functions are moved before the defcustom in notmuch-hello. We are
rather constrained as the defcustom for saved searches is the first
variable in the notmuch-hello customize window; to avoid moving this
customize the defcustom needs to be the first defcustom in
notmuch-hello, and the utility functions come before that.

This patch also renames one of the utility functions from
notmuch--saved-searches-to-plist to
notmuch-hello--saved-searches-to-plist (as it is purely local to
notmuch-hello) and corrects a couple of typo/spelling mistakes pointed
out by Tomi.
</content>
</entry>
<entry>
<title>emacs: Add a sort-order option to saved-searches</title>
<updated>2014-04-11T13:27:26Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2014-04-06T05:44:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f225ee59ebdbd6961a0665f7e912825fbcc691d1'/>
<id>urn:sha1:f225ee59ebdbd6961a0665f7e912825fbcc691d1</id>
<content type='text'>
This adds a sort-order option to saved-searches, stores it in the
saved-search buttons (widgets), and uses the stored value when the
button is pressed.

Storing the sort-order in the widget was suggested by Jani in
id:4c3876274126985683e888641b29cf18142a5eb8.1391771337.git.jani@nikula.org.
</content>
</entry>
<entry>
<title>emacs: hello: add a customize for saved-searches</title>
<updated>2014-04-11T13:26:41Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2014-04-06T05:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=79c262be66ff3215400fec35f1bdcf6687aac145'/>
<id>urn:sha1:79c262be66ff3215400fec35f1bdcf6687aac145</id>
<content type='text'>
Make the defcustom for notmuch-saved-searches use the new plist
format. It should still work with oldstyle saved-searches but will
write the newstyle form.
</content>
</entry>
<entry>
<title>emacs: Use whitelist instead of blacklist for term escaping</title>
<updated>2014-03-25T22:57:06Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2014-03-11T22:19:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=92c3fd938e7a4e86edbc872eb5348dc048ec0e78'/>
<id>urn:sha1:92c3fd938e7a4e86edbc872eb5348dc048ec0e78</id>
<content type='text'>
Previously, the term escaper used a blacklist of characters that
needed escaping.  This blacklist turned out to be somewhat incomplete;
for example, it did not contain non-whitespace ASCII control
characters or Unicode "fancy quotes", both of which do require the
term to be escaped.

Switch to a whitelist of characters that are definitely safe to leave
unquoted.  This fixes the broken test introduced by the previous
patch.
</content>
</entry>
<entry>
<title>emacs: Combine notmuch-combine-face-text-property{, -string}</title>
<updated>2014-03-24T22:42:33Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2014-03-22T11:51:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dfab8e5e49d90c415f9585a02a2b0d6f72b4083a'/>
<id>urn:sha1:dfab8e5e49d90c415f9585a02a2b0d6f72b4083a</id>
<content type='text'>
This combines our two face combining functions into one, easy to use
function with a much shorter name: `notmuch-apply-face'.  This
function takes the full set of arguments that
`notmuch-combine-face-text-property' took, but takes them in a more
convenient order and provides smarter defaults that make the function
easy to use on both strings and buffers.
</content>
</entry>
<entry>
<title>emacs: Fix `notmuch-user-other-email' when no other emails are configured</title>
<updated>2014-02-22T23:51:13Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2014-02-20T19:16:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4b2ec627eb9e04d1deffe31b0f2ec95c6b29096a'/>
<id>urn:sha1:4b2ec627eb9e04d1deffe31b0f2ec95c6b29096a</id>
<content type='text'>
Thanks to the previous patch, this no longer crashes in this
situation, but now would return ("").  Fix it to return () when no
emails are configured.
</content>
</entry>
<entry>
<title>emacs: Fix exception when fetching empty or unconfigured settings</title>
<updated>2014-02-22T23:51:03Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2014-02-20T19:16:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4b734374fb2e26ef54414c8f0b933271fdf58c3b'/>
<id>urn:sha1:4b734374fb2e26ef54414c8f0b933271fdf58c3b</id>
<content type='text'>
When "notmuch config" is called with the name of an empty or
unconfigured setting, it prints nothing (not even a new line).
Previously, `notmuch-config-get' assumed it would always print a
newline.  As a result, when `notmuch-config-get' was called with the
name of an empty of unconfigured setting, it would attempt to
(substring "" 0 -1) to strip the newline, which would fail with a
(args-out-of-range "" 0 -1) exception.

Fix this by only stripping the newline if there actually is one.
</content>
</entry>
<entry>
<title>emacs: ad-activate 'mm-shr after ad-disable-advice 'mm-shr</title>
<updated>2014-01-30T16:21:25Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2014-01-27T20:32:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9ac863c549e8022dc06d73e07d79a74ec7f0569f'/>
<id>urn:sha1:9ac863c549e8022dc06d73e07d79a74ec7f0569f</id>
<content type='text'>
Imitated from "Enabling advice" in Emacs lisp manual...

ad-disable-advice by itself only changes the enable flag for a
piece of advice. To make the change take effect in the
advised definition, the advice needs to be activated again.
</content>
</entry>
<entry>
<title>emacs: add function notmuch-assert-cli-sane</title>
<updated>2014-01-26T19:10:30Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-01-26T18:36:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=71d809ac9ad1dd6c3a88ea8754eb52ef4aba2083'/>
<id>urn:sha1:71d809ac9ad1dd6c3a88ea8754eb52ef4aba2083</id>
<content type='text'>
If the CLI seems borked, signal an error, and log a suggestion for the
user about how to recover.
</content>
</entry>
<entry>
<title>emacs: add a function to heuristically test if the CLI is configured OK.</title>
<updated>2014-01-26T19:10:29Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-01-26T18:13:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=71d6a405815d8c7894e7241a944ff782eb886245'/>
<id>urn:sha1:71d6a405815d8c7894e7241a944ff782eb886245</id>
<content type='text'>
We cache the result so that we can call the function many places
without worrying about the cost.
</content>
</entry>
</feed>
