[PATCH 0/2] emacs: User-defined sections in notmuch-hello
Daniel Schoepe
daniel.schoepe at googlemail.com
Tue Jul 5 07:55:18 PDT 2011
On Tue, 05 Jul 2011 16:09:14 +0200, Michal Sojka <sojkam1 at fel.cvut.cz> wrote:
> I'm talking about notmuch-hello-section. It seems it is not possible
> easily specify there your own function. You can either select a
> predefined section or "Customized section", which is in fact "Customized
> all-tags section". So I propose to renaming this entry like this and
> adding another one called "Custom function", where you could enter the
> name of your function.
Ah, I see why it confused me: You are referring to the first version of
the patch. This particular bit is already clarified in the second
iteration of the patch, starting at
id:"1309613471-23465-1-git-send-email-daniel.schoepe at googlemail.com"
In that case I also fully understand why you found the
customize-interface confusing. :)
> It seems that I still do not understand what the "Customized section"
> was intended to provide. I have to say I'm not able to fully decode the
> definition of notmuch-hello-customized-section, but it seems to me that
> it is a way how to customize a call to notmuch-hello-insert-all-tags.
Yes, that was the intention, in v2 I used a cleaner way to do that.
> I wanted to say that it might be useful to have the similar options for
> saved searches. For example, what I do in my notmuch-hello-insert-inbox
> is to take the saved searches and filter them by tag:inbox. I guess that
> if there is a possibility to do that without coding in elisp, some
> people may find it useful. What do you think?
Ah okay, then I understood you correctly. I agree that this would make sense.
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110705/3de95057/attachment.pgp>
More information about the notmuch
mailing list