unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Daniel Schoepe <daniel.schoepe@googlemail.com>
To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org
Subject: Re: [PATCH 0/2] emacs: User-defined sections in notmuch-hello
Date: Tue, 05 Jul 2011 16:55:18 +0200	[thread overview]
Message-ID: <87mxgsu695.fsf@gilead.invalid> (raw)
In-Reply-To: <87wrfwyg39.fsf@steelpick.2x.cz>

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2011-07-05 14:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29 20:26 [PATCH 0/2] emacs: User-defined sections in notmuch-hello Daniel Schoepe
2011-06-29 20:27 ` [PATCH 1/2] " Daniel Schoepe
2011-06-29 20:27 ` [PATCH 2/2] emacs: Tests for user-defined sections Daniel Schoepe
2011-07-02 13:31 ` [PATCH v2 0/2] emacs: User-defined sections in notmuch-hello Daniel Schoepe
2011-07-02 13:31   ` [PATCH 1/2] " Daniel Schoepe
2011-07-02 13:31   ` [PATCH 2/2] emacs: Tests for user-defined sections Daniel Schoepe
2011-07-05  0:00 ` [PATCH 0/2] emacs: User-defined sections in notmuch-hello Michal Sojka
2011-07-05  8:24   ` Daniel Schoepe
2011-07-05 14:09     ` Michal Sojka
2011-07-05 14:55       ` Daniel Schoepe [this message]
2011-07-05 16:43       ` Daniel Schoepe
2011-07-05 16:23 ` [PATCH v3 " Daniel Schoepe
2011-07-05 16:23   ` [PATCH v3 1/2] " Daniel Schoepe
2011-07-06 11:34     ` Michal Sojka
2011-07-06 12:41       ` Daniel Schoepe
2011-07-07 15:23         ` Michal Sojka
2011-07-07 18:25           ` Daniel Schoepe
2011-07-08 21:23             ` Michal Sojka
2011-07-08 22:03               ` Daniel Schoepe
2011-07-05 16:23   ` [PATCH v3 2/2] emacs: Tests for user-defined sections Daniel Schoepe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxgsu695.fsf@gilead.invalid \
    --to=daniel.schoepe@googlemail.com \
    --cc=notmuch@notmuchmail.org \
    --cc=sojkam1@fel.cvut.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).