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 86B1A431FB6 for ; Sun, 6 Feb 2011 12:25:46 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 y40DG9GZVWHt for ; Sun, 6 Feb 2011 12:25:43 -0800 (PST) Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com [209.85.216.53]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 5C3DE431FB5 for ; Sun, 6 Feb 2011 12:25:43 -0800 (PST) Received: by qwe5 with SMTP id 5so3364392qwe.26 for ; Sun, 06 Feb 2011 12:25:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=X+dIkITb1taeGTTGZvOl5OImzr5M+iZ+87k4huslz9A=; b=oCg3r+g9j6A/0EvCGvvGQ0mZizy5WMgG3eENuKxU2FzOBigK3/60F2tG+bS56yk0XF bSAqHYyWmaxC7YA/UCcIi0YesmguPhxtywqROhPWUB9EHyZm26mLIlL0rkVP2INlTmt5 U+ePRryW5NVZnPJYp3Led69NMBAayvSr49k+w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=N9bBG3iwVBZecn0GH0VfRoaoSnpr2EZqBFhvXq6f6bHne/vBZ8Igl8/wlyHtSCz+I1 hHRQIzrekCc0APitygShcKeL710gEI/R8UT1RKlJFPxsxg4gMdogskTabbRpc7DmsIEA GqphppFicCl3VCcN/xlllLnlcwFZfcVOcTW+8= Received: by 10.229.87.13 with SMTP id u13mr10319350qcl.55.1297023940372; Sun, 06 Feb 2011 12:25:40 -0800 (PST) Received: from localhost (user132-55.wireless.utoronto.ca [142.1.132.55]) by mx.google.com with ESMTPS id g28sm2243975qck.37.2011.02.06.12.25.38 (version=SSLv3 cipher=RC4-MD5); Sun, 06 Feb 2011 12:25:39 -0800 (PST) Date: Sun, 6 Feb 2011 15:26:14 -0500 From: Peter John Hartman To: Michal Sojka Subject: Re: [PATCH] Have --format=mbox insert Status: Message-ID: <20110206202614.GA3743@triltoucheee.wireless.utoronto.ca> References: <20110202234719.GA28241@triltoucheee.wireless.utoronto.ca> <87wrleoz95.fsf@wsheee.2x.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wrleoz95.fsf@wsheee.2x.cz> User-Agent: Mutt/1.5.20 (2009-06-14) 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: Sun, 06 Feb 2011 20:25:46 -0000 > 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 xstatus_A=replied xstatus_F=flagged xstatus_T=draft #xstatus_D=deleted status_R=-unread status_O=unread 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.) Peter -- sic dicit magister P PhD Candidate Collaborative Programme in Ancient and Medieval Philosophy University of Toronto http://individual.utoronto.ca/peterjh