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 9D754431FBF; Sat, 21 Nov 2009 10:44:50 -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 fqMeS1r2QP5r; Sat, 21 Nov 2009 10:44:50 -0800 (PST) Received: from cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id BF6D5431FAE; Sat, 21 Nov 2009 10:44:49 -0800 (PST) From: Carl Worth To: Jan Janak , notmuch@notmuchmail.org In-Reply-To: <1258520223-15328-1-git-send-email-jan@ryngle.com> References: <1258520223-15328-1-git-send-email-jan@ryngle.com> Date: Sat, 21 Nov 2009 19:44:38 +0100 Message-ID: <87aayf4t0p.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 18:44:50 -0000 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? -Carl