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 50E9540DDE6 for ; Fri, 12 Nov 2010 13:04:30 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -4.2 X-Spam-Level: X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 BLdLo0tzF6Vi for ; Fri, 12 Nov 2010 13:04:18 -0800 (PST) Received: from canuck.infradead.org (canuck.infradead.org [134.117.69.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 980B140DDC3 for ; Fri, 12 Nov 2010 13:04:18 -0800 (PST) Received: from localhost ([127.0.0.1] helo=x201s.gr8dns.org) by canuck.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PH0nB-0004vd-DS; Fri, 12 Nov 2010 21:04:17 +0000 Received: by x201s.gr8dns.org (Postfix, from userid 500) id 82B8D3E6B7F; Fri, 12 Nov 2010 13:04:16 -0800 (PST) From: Dirk Hohndel To: Sebastian Spaeth , Notmuch developer list Subject: Re: notmuchsync: handling of the deleted tag In-Reply-To: <87oc9vf17n.fsf@SSpaeth.de> References: <87bp7vewa5.fsf@raven.defaultvalue.org> <87mxrcsb8a.fsf@SSpaeth.de> <87r5gnomt2.fsf@raven.defaultvalue.org> <87hbfnmiux.fsf@yoom.home.cworth.org> <87oc9vf17n.fsf@SSpaeth.de> User-Agent: Notmuch/0.4-20-gaf4d112 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-redhat-linux-gnu) Date: Fri, 12 Nov 2010 13:04:16 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SRS-Rewrite: SMTP reverse-path rewritten from by canuck.infradead.org See http://www.infradead.org/rpr.html 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, 12 Nov 2010 21:04:30 -0000 On Fri, 12 Nov 2010 08:30:36 +0100, Sebastian Spaeth wrote: > On Thu, 11 Nov 2010 17:27:34 -0800, Carl Worth wrote: > > So, what we probably need here is for the user to be able to configure > > the mapping and in a fairly sophisticated way: > > > > 'R' on _any_ filename -> "replied" tag gets added > > 'T' on _all_ filenames -> "deleted" tag gets added > > 'S' on _any_ filename -> "unread" tag gets removed > > So maybe something like that? > > Maybe, but that sounds like a horribly complex configuration, in which > the user has to really think through what he wants (and can still make > blunders). :) > > > > > If notmuch gave me at least all filenames that are associated with a > > > > mail id, I could introduce a command line option "--prune --safe" > > > > which would > > Right, you pushed the ball in my court. The only problem is that -- with > the arrival of maildir sync -- I lost my motivation to work on > notmuchsync. Seriously, what does notmuchsync still provide that notmuch > cannot do? I wonder if I shouldn't stick a "deprecated" warning on it. Please don't! I use it all the time: I use it to archive mail that I don't want on an imap server any more, but in a local maildir. Can't do that with notmuch. I use it to prune mail that has the deleted tag. Again not something that notmuch supports. So please don't stop supporting your very important (to me) tool! /D