Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 7AD9C431FBF for ; Sat, 21 Nov 2009 15:06:02 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0MnOfjBW5UkP for ; Sat, 21 Nov 2009 15:06:00 -0800 (PST) Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com [209.85.218.224]) by olra.theworths.org (Postfix) with ESMTP id 3A396431FBC for ; Sat, 21 Nov 2009 15:06:00 -0800 (PST) Received: by bwz24 with SMTP id 24so3162173bwz.30 for ; Sat, 21 Nov 2009 15:05:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.34.70 with SMTP id k6mr2972042bkd.178.1258844759145; Sat, 21 Nov 2009 15:05:59 -0800 (PST) In-Reply-To: <87aayf4t0p.fsf@yoom.home.cworth.org> References: <1258520223-15328-1-git-send-email-jan@ryngle.com> <87aayf4t0p.fsf@yoom.home.cworth.org> Date: Sun, 22 Nov 2009 00:05:59 +0100 Message-ID: From: Jan Janak To: Carl Worth Content-Type: text/plain; charset=UTF-8 Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2009 23:06:02 -0000 On Sat, Nov 21, 2009 at 7:44 PM, Carl Worth wrote: > On Wed, 18 Nov 2009 05:57:03 +0100, Jan Janak 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