Re: [notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags

Subject: Re: [notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags

Date: Sat, 21 Nov 2009 19:44:38 +0100

To: Jan Janak, notmuch@notmuchmail.org

Cc:

From: Carl Worth


On Wed, 18 Nov 2009 05:57:03 +0100, Jan Janak <jan@ryngle.com> wrote:
> This patch makes it possible to convert subdirectory names inside the
> spool directory into message tags. Messages stored in subdirectory
> "foo" will be marked with tag "foo". Message duplicates found in several
> subdirectories will be given one tag per subdirectory.

Hi Jan,

I just pushed out a patch from Aneesh for similar functionality, but
with a simpler implementation.

One thing that patch loses is the addition of multiple tags when a
message appears in multiple directories. Would you like to code up that
feature on top of the current code?

-Carl

Thread: