Re: [PATCH 0/2] emacs: User-defined sections in notmuch-hello

Subject: Re: [PATCH 0/2] emacs: User-defined sections in notmuch-hello

Date: Tue, 05 Jul 2011 16:55:18 +0200

To: Michal Sojka, notmuch@notmuchmail.org

Cc:

From: Daniel Schoepe


On Tue, 05 Jul 2011 16:09:14 +0200, Michal Sojka <sojkam1@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@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
part-000.sig (application/pgp-signature)

Thread: