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 731DB40D14A for ; Thu, 21 Oct 2010 21:43:43 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 JakRnsHvU7mJ for ; Thu, 21 Oct 2010 21:43:32 -0700 (PDT) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by olra.theworths.org (Postfix) with ESMTP id 96B6D40D149 for ; Thu, 21 Oct 2010 21:43:32 -0700 (PDT) Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id 4636F19F33D8; Fri, 22 Oct 2010 06:43:30 +0200 (CEST) X-Virus-Scanned: IMAP AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, port 10044) with ESMTP id 1pWza8y4uuJ1; Fri, 22 Oct 2010 06:43:29 +0200 (CEST) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id ED95E19F33B8; Fri, 22 Oct 2010 06:43:28 +0200 (CEST) Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30]) (Authenticated sender: sojkam1) by imap.feld.cvut.cz (Postfix) with ESMTPSA id AEE3BFA006; Fri, 22 Oct 2010 06:43:28 +0200 (CEST) Received: from wsh by steelpick.2x.cz with local (Exim 4.72) (envelope-from ) id 1P99TU-0006yo-1k; Fri, 22 Oct 2010 06:43:28 +0200 From: Michal Sojka To: Mike Kelly , notmuch@notmuchmail.org Subject: Re: [PATCH 0/4] Maildir synchronization v2 In-Reply-To: <20101018101231.69904381@pioto.org> References: <1286972038-21064-1-git-send-email-sojkam1@fel.cvut.cz> <20101018101231.69904381@pioto.org> User-Agent: Notmuch/0.3.1-110-g7be1648 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Fri, 22 Oct 2010 06:43:27 +0200 Message-ID: <8739ryltw0.fsf@steelpick.2x.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Fri, 22 Oct 2010 04:43:43 -0000 On Mon, 18 Oct 2010, Mike Kelly wrote: > Michal Sojka wrote: > > they are ready to be merged. They can be pulled by: > > > > git pull git://rtime.felk.cvut.cz/notmuch maildir-sync-v2 > > I've tested these patches on Linux, and they seem to work as expected. > However, I'd like to suggest/request that the level-4 syncing of a > filename should happen in notmuch_(message|thread)_(add|remove)_tag(), > not in notmuch-tag.cc. Otherwise, anyone using libnotmuch directly > (e.g. alternative clients, things using python bindings, etc) will not > benefit from this. Hi, I'd agree but these pathes don't touch notmuch-tag.c in a significant way. What's done there is to read the value from config and to call a function (from libnotmuch) to setup an internal variable accordingly. Other users of libnotmuch have probably different means of configuration than notmuch itself and should call this function in a similar way. -Michal