unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Scott Robinson <scott@quadhome.com>
To: notmuch <notmuch@notmuchmail.org>
Subject: Re: [PATCH] notmuch new --new-tags=tags...
Date: Mon, 12 Apr 2010 07:45:27 -0600	[thread overview]
Message-ID: <1271079754-sup-3860@elise> (raw)
In-Reply-To: <4BC31133.6000105@dbservice.com>

Excerpts from Tomas Carnecky's message of Mon Apr 12 06:25:23 -0600 2010:
> I have a patch which adds support for hooks which are run when tags are 
> added, removed or new messages added to notmuch. But perhaps the 
> fork/exec overhead of running the hooks would slow the processing down 
> too much.

Rather than a fork/exec for every message, why not have a persistent
subprocess that receives message IDs (+ filenames?) and can then do
arbitrary work and return back the proper tags?

  reply	other threads:[~2010-04-12 13:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-10 15:03 [PATCH] notmuch new --new-tags=tags Anthony Towns
2010-04-10 16:11 ` Dirk Hohndel
2010-04-12  8:00 ` Sebastian Spaeth
2010-04-12 11:59   ` Jameson Rollins
2010-04-12 12:25     ` Tomas Carnecky
2010-04-12 13:45       ` Scott Robinson [this message]
2010-04-12 15:11     ` Michal Sojka
2010-04-12 15:55       ` Jameson Rollins
2010-04-12 17:15         ` Anthony Towns
2010-04-12 18:03           ` Jameson Rollins
2010-04-23 17:49     ` Carl Worth

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=1271079754-sup-3860@elise \
    --to=scott@quadhome.com \
    --cc=notmuch@notmuchmail.org \
    /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).