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 5C8D240D146 for ; Wed, 13 Oct 2010 06:56:55 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.99 X-Spam-Level: X-Spam-Status: No, score=-1.99 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] 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 Zkz4jy5X79jH for ; Wed, 13 Oct 2010 06:56:44 -0700 (PDT) Received: from homiemail-a12.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by olra.theworths.org (Postfix) with ESMTP id 6B6A140D141 for ; Wed, 13 Oct 2010 06:56:44 -0700 (PDT) Received: from homiemail-a12.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTP id 10F9E71406A; Wed, 13 Oct 2010 06:56:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject :in-reply-to:references:date:message-id:mime-version: content-type; q=dns; s=sspaeth.de; b=NCs+Up0LE1py31RNlRje1k/SrkN /sFwehwJGVXPLIkc5MIWSInU6KbcGz1d6jzTkK88avsjl+ecO5z3hYBnagAnGd7+ 98RhezizAKZxF86hdlgq56irIP4NV4VCoArTJrPw1VnrWxjeua5ber4/uyLwnbxv l85HnPYRY0Gqcl1o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to :subject:in-reply-to:references:date:message-id:mime-version: content-type; s=sspaeth.de; bh=6q6pYUYp5bfo7W1llEdMjOfg5m0=; b=O ZbhQKSdnnywCGngfWwHIcRP4piIt2EdmepyOqvnp9pY8wQYLNAnL4AixR1GWSKbF gQVxdzbgJHdiEtB5ByAYwQ1WRSOgERFAfbM4Gc5gF5AmMmd/mU1cIKG5x7C5WbT/ w173ksaPmccw8eXyHdUwUNl3vJukZh+lMjEYYhTjBY= Received: from spaetzbook.sspaeth.de (vpn-global-dhcp2-183.ethz.ch [129.132.209.183]) (Authenticated sender: fax@sspaeth.de) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTPA id 28FE1714070; Wed, 13 Oct 2010 06:56:42 -0700 (PDT) Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation); Wed, 13 Oct 2010 15:56:40 +0200 From: Sebastian Spaeth To: Michal Sojka , notmuch@notmuchmail.org Subject: Re: [PATCH 2/4] Maildir synchronization In-Reply-To: <1286972038-21064-3-git-send-email-sojkam1@fel.cvut.cz> References: <1286972038-21064-1-git-send-email-sojkam1@fel.cvut.cz> <1286972038-21064-3-git-send-email-sojkam1@fel.cvut.cz> User-Agent: Notmuch/0.3.1-97-g3cc1335 (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) Date: Wed, 13 Oct 2010 15:56:35 +0200 Message-ID: <87k4lmci24.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Wed, 13 Oct 2010 13:56:55 -0000 --=-=-= > +/* ASCII ordered table of Maildir flags and associated tags */ > +struct maildir_flag_tag flag2tag[] = { > + { 'D', "draft", false}, > + { 'F', "flagged", false}, > + { 'P', "passed", false}, > + { 'R', "replied", false}, > + { 'S', "unread", true }, > + { 'T', "delete", false}, > +}; for all of the 4 patches a: Signed-off-by: Sebastian Spaeth with one caveat: you use the tag "delete" to mark the state "trashed". I think people have slowly settled on the convention "deleted" which is also more consistent with a state, such as unread, replied, etc... They work fine and obsolete my notmuchsync (except for the pruning of deleted mails and the tagging based on folder names). +1 for merging in notmuch-next or wherever we collect that stuff. Sebastian --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAky1upMACgkQVYX1jMgnoGKB3QCdHPE1JdflEoNUJDXN5eW8gN/I m98An1hc7Bw+E9O90VDQcCD+FhUSXj8M =13kB -----END PGP SIGNATURE----- --=-=-=--