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 63FB2429E25 for ; Mon, 11 Jul 2011 07:36:58 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-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 WavQ6JhZwAkd for ; Mon, 11 Jul 2011 07:36:57 -0700 (PDT) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 46D0D431FB6 for ; Mon, 11 Jul 2011 07:36:57 -0700 (PDT) Received: by eyh5 with SMTP id 5so1380568eyh.26 for ; Mon, 11 Jul 2011 07:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=VIo1yofjL2jenJhby/ddqCD69iB+HcdBEz5+s01Ulo8=; b=vBvk//GV42yHlm+qxBQgx246dxjqImrMQrPiPvzHbxndSKV4rWh3Roin3bTnKDPaI8 mTGgtMZjSUuM1T455kVST13PUeP6JXN01xXsErJ1wfyqet1XjIw9+XQLMTYJ4GZ6VkSY WYJbPACa4Pj6oCi6MBliTA4FHVgoH0LlkwuSI= Received: by 10.213.105.206 with SMTP id u14mr1479840ebo.54.1310395015726; Mon, 11 Jul 2011 07:36:55 -0700 (PDT) Received: from osdor.le-roi-du-couscous.fr ([78.222.14.116]) by mx.google.com with ESMTPS id q16sm1163418eef.41.2011.07.11.07.36.54 (version=SSLv3 cipher=OTHER); Mon, 11 Jul 2011 07:36:55 -0700 (PDT) Sender: Louis Rilling From: Louis Rilling To: Carl Worth Subject: [PATCH 0/2] lib: Don't always move from maildir new/ to maildir cur/ Date: Mon, 11 Jul 2011 16:36:16 +0200 Message-Id: <1310394978-11883-1-git-send-email-l.rilling@av7.net> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <87d3hzgemi.fsf@yoom.home.cworth.org> References: <87d3hzgemi.fsf@yoom.home.cworth.org> Cc: notmuch@notmuchmail.org, Austin Clements 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, 11 Jul 2011 14:36:58 -0000 Hello, Here is an alternative, as we discussed earlier. This is enough to keep me using mutt's ability to show the "new" status, and to allow me to test notmuch with my real emails. Altough my notmuch config uses [new] tags=new; [maildir] synchronize_flags=true messages will be kept in "new/", even with [new] tags=inbox;unread; [maildir] synchronize_flags=true as long as no maildir flags have to be changed. The first patch can be applied independently. Thanks, Louis Louis Rilling (2): tags_to_maildir_flags: Cleanup double assignement tags_to_maildir_flags: Don't rename if no flags change lib/message.cc | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) -- 1.7.2.5