Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 74BB76DE1961 for ; Wed, 25 Nov 2015 18:16:53 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.801 X-Spam-Level: X-Spam-Status: No, score=-0.801 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1yFJfgb7aELJ for ; Wed, 25 Nov 2015 18:16:49 -0800 (PST) Received: from mail-qg0-f49.google.com (mail-qg0-f49.google.com [209.85.192.49]) by arlo.cworth.org (Postfix) with ESMTPS id 8D96D6DE021D for ; Wed, 25 Nov 2015 18:16:49 -0800 (PST) Received: by qgeb1 with SMTP id b1so46168598qge.1 for ; Wed, 25 Nov 2015 18:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=6ZJbV24YZ+pPFWixDdYXM887W+F5FmHmbKTsj8ogzTs=; b=f0wEjBuJ+eSMRuq3fNc7EBcK/+sJ7dlTl3yWSyOf7nKa1lCP3zg3d1UKcNwu+wMxVI 2MKtrXu6CN2092j7mFMIFiR1bHXUySePKde6OBtD6Icz3gly2GsxuZQjpGcwwUf+nf1b UO9nFPQOBR5e8eIbK4UsCTDX1Hg/rbpkJKXdOD3B35+YgBthNVWkWKvp5sZrFBYm1Wmd IdL/oWt+lRvrN1aibJsg9XI2hE4OvjdBPb8coG5hsHnnotgPzYstT7CWy48BlItohbdj yNJk33LWbqeEC3jVa4/Q16NKSUBWqGN890vRF7no+lXzMXrz0vSiCgYSsYF5TrAeqy1w lgZQ== X-Received: by 10.140.19.177 with SMTP id 46mr42934758qgh.67.1448504206809; Wed, 25 Nov 2015 18:16:46 -0800 (PST) Received: from arch-laptop.localdomain ([200.195.16.216]) by smtp.gmail.com with ESMTPSA id h206sm1566011qhc.43.2015.11.25.18.16.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Nov 2015 18:16:45 -0800 (PST) From: Igor Almeida To: notmuch@notmuchmail.org Subject: [PATCH/RFC 0/3] Maildir custom flags and notmuch tags Date: Wed, 25 Nov 2015 23:16:28 -0300 Message-Id: <1448504191-30974-1-git-send-email-igor.contato@gmail.com> X-Mailer: git-send-email 2.5.3 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 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: Thu, 26 Nov 2015 02:16:53 -0000 Building on Bremner's patch at <1411805835-3563-1-git-send-email-david@tethera.net>, this updates 'notmuch new' to tag messages based on lower-case letters in the file name. I'm testing this with an IMAP server, offlineimap and notmuch, and seems to work well enough for my unidirectional use case. Eventually I'd like to implement the reverse path, i.e. tagging in notmuch and seeing IMAP keywords show up in the server, but that's for later. Comments are very welcome. Igor Almeida (3): David Bremner's patch for custom maildir flags notmuch new: tag messages based on maildir custom flags notmuch new: sync maildir custom flag user configuration lib/database.cc | 61 +++++++++++++++++++++++++++++++++++++++ lib/message.cc | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/notmuch.h | 18 ++++++++++++ notmuch-client.h | 4 +++ notmuch-config.c | 24 +++++++++++++++- notmuch-new.c | 49 +++++++++++++++++++++++++++++++ 6 files changed, 243 insertions(+), 1 deletion(-) -- 2.5.3