[WIP PATCH] emacs: hello: bugfix for saved searches defcustom

David Bremner david at tethera.net
Wed Apr 16 03:51:47 PDT 2014


Mark Walters <markwalters1009 at gmail.com> writes:

> ---
> Hi
>
> David found a bug in the recent notmuch hello saved searches and
> reduced to a small test case. The problem occurs if the user sets
> notmuch-saved-searches and then loads notmuch. The reason is that the
> defcustom calls some utility functions and these need to be defined
> (not just declared) when the defcustom is encountered.
>
> This patch moves the code around so that they are defined first. I
> have marked the patch WIP as I am not sure what the best reordering
> is, and we may want to rename some functions which have changed file
> for namespace reasons.
>
> Anyway this fixes the test case. If it fixes the original bug too then
> I will provide a better version.

Hi Mark;

This fixes the problem for me.

Thanks for your efforts,

d


More information about the notmuch mailing list