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

Jan Janak jan at ryngle.com
Sat Nov 21 15:05:59 PST 2009


On Sat, Nov 21, 2009 at 7:44 PM, Carl Worth <cworth at cworth.org> wrote:
> On Wed, 18 Nov 2009 05:57:03 +0100, Jan Janak <jan at 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?

Looking at the commit log history, I noticed that you reverted the
commit, so I guess this question is no more relevant.

By the way, although I provided a similar patch some time ago, I agree
that it is better not to have this hard-wired in 'notmuch-new'. It
helped me with the initial import, but since then I have been trying
to get it working with a script run after 'notmuch-new'.

   -- Jan


More information about the notmuch mailing list