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 1099C431FD0 for ; Mon, 7 Feb 2011 01:04:47 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled 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 cniEXMG0wN64 for ; Mon, 7 Feb 2011 01:04:44 -0800 (PST) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by olra.theworths.org (Postfix) with ESMTP id C178B431FB6 for ; Mon, 7 Feb 2011 01:04:44 -0800 (PST) Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id BA4323CFE85; Mon, 7 Feb 2011 10:04:42 +0100 (CET) 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 G3WMyoQZvmby; Mon, 7 Feb 2011 10:04:41 +0100 (CET) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id 869E73CFE7C; Mon, 7 Feb 2011 10:04:41 +0100 (CET) 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 7B5BCFA003; Mon, 7 Feb 2011 10:04:41 +0100 (CET) Received: from wsh by steelpick.2x.cz with local (Exim 4.72) (envelope-from ) id 1PmN1V-0007AI-Ap; Mon, 07 Feb 2011 10:04:41 +0100 From: Michal Sojka To: Peter John Hartman Subject: Re: [PATCH] Have --format=mbox insert Status: In-Reply-To: <20110206202614.GA3743@triltoucheee.wireless.utoronto.ca> References: <20110202234719.GA28241@triltoucheee.wireless.utoronto.ca> <87wrleoz95.fsf@wsheee.2x.cz> <20110206202614.GA3743@triltoucheee.wireless.utoronto.ca> User-Agent: Notmuch/0.5-103-g1253785 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Mon, 07 Feb 2011 10:04:41 +0100 Message-ID: <87sjw0xljq.fsf@steelpick.2x.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch@notmuchmail.org 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: Mon, 07 Feb 2011 09:04:47 -0000 On Sun, 06 Feb 2011, Peter John Hartman wrote: > > Hi Peter, > > > > would this output be compatible with all mbox consumers or only with > > those who expect the Status: line? If the latter, we would probably want > > a command line option to enable this. > > Hi, > > As far as I've been able to tell everyone respects RO in mbox, so I don't > see this as a problem. In any case, having the Status: line there won't > cause problems if an MUA doesn't recognize it. That said, it would be nice > to think of a place to allow the user to easily "map" notmuch tags to > Status: or X-Status: rules, perhaps in the notmuch config file as follows: > > [mbox] > synchronize_flags=true I would call this differently - perhaps 'export_flags'. In maildir section of config file synchronize_flags has the meaning of bi-directional synchronization and this is only uni-directional. > xstatus_A=replied > xstatus_F=flagged > xstatus_T=draft > #xstatus_D=deleted > status_R=-unread > status_O=unread Is it necessary for this to be configurable? Given the list bellow, it seems it is already defined by the "standard", so users would rarely want different mapping. > Reference: http://wiki.dovecot.org/MailboxFormat/mbox: > Status: R (\Seen) and O (non-\Recent) flags > X-Status: A (\Answered), F (\Flagged), T (\Draft) and D (\Deleted) flags > > (I know that alpine/pine and mutt recognize at least RO, and probably AFTD.) -Michal