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 060FF429E25 for ; Mon, 27 Jun 2011 14:15:36 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.01 X-Spam-Level: X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[T_MIME_NO_TEXT=0.01] 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 9UEHGQhLuua3 for ; Mon, 27 Jun 2011 14:15:35 -0700 (PDT) Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2]) by olra.theworths.org (Postfix) with ESMTP id 8EE55431FD0 for ; Mon, 27 Jun 2011 14:15:35 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id B4AD529A03E; Mon, 27 Jun 2011 14:15:33 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 7DB4C254154; Mon, 27 Jun 2011 14:15:33 -0700 (PDT) From: Carl Worth To: Louis Rilling , Austin Clements Subject: Re: [RFC][PATCH] tags_to_maildir_flags: Add option to not move messages from "new/" to "cur/" In-Reply-To: <20110624203403.GA2523@localdomain> References: <1308843366-6159-1-git-send-email-l.rilling@av7.net> <20110624203403.GA2523@localdomain> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) Date: Mon, 27 Jun 2011 14:15:33 -0700 Message-ID: <87d3hzgemi.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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, 27 Jun 2011 21:15:36 -0000 --=-=-= On Fri, 24 Jun 2011 22:34:03 +0200, Louis Rilling wrote: > Maybe the alternate solution could consist in simply not renaming emails having > no flags to be changed (Currently notmuch_message_tags_to_maildir_flags() > unconditionally moves messages from new/ to cur/). This would even lead to a > shorter patch :) Do you think that this would be acceptable? That could very well be acceptable. A user would have to carefully configure notmuch to get this behavior. Options for that could include the following in ~/.notmuch-config: [maildir] synchronize_flags=false Or: [new] tags= I think that if either of the above options are set that notmuch won't need to change the message's filename. And in that case, I would feel that it wouldn't be entirely unreasonable for notmuch to leave message in the "new" directory. This allows the user to effectively setup a mail-store that notmuch treats as more-or-less "read only" and that seems like a useful thing. Please experiment with that and feel free to send the patch or patches that you generate. Thanks again, and I hope you can find a way to make notmuch work for you. -Carl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk4I8vUACgkQ6JDdNq8qSWitsgCdEzkB8ZIzaENxXqIMlWhoJcq0 O0wAnjhfmBDlzMp7Vpj+Hq34uXjoA5Ye =aZLH -----END PGP SIGNATURE----- --=-=-=--