From 30b9a9c49bac574aa96121b88345eb8a4e4d1d96 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sat, 22 Mar 2014 11:51:04 +0000 Subject: [PATCH] [Patch v4 0/8] emacs: show tag changes in buffer --- f5/31e78eeae53eab81b74569e563c55f9d6e6a5c | 103 ++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 f5/31e78eeae53eab81b74569e563c55f9d6e6a5c diff --git a/f5/31e78eeae53eab81b74569e563c55f9d6e6a5c b/f5/31e78eeae53eab81b74569e563c55f9d6e6a5c new file mode 100644 index 000000000..6647e5447 --- /dev/null +++ b/f5/31e78eeae53eab81b74569e563c55f9d6e6a5c @@ -0,0 +1,103 @@ +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 64D30431FD4 + for ; Sat, 22 Mar 2014 04:51:32 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.7 +X-Spam-Level: ** +X-Spam-Status: No, score=2.7 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, + FREEMAIL_REPLY=2.499, 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 lfAXLWRr2efs for ; + Sat, 22 Mar 2014 04:51:24 -0700 (PDT) +Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com + [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 9B18D431FC0 + for ; Sat, 22 Mar 2014 04:51:24 -0700 (PDT) +Received: by mail-wi0-f175.google.com with SMTP id cc10so1204420wib.2 + for ; Sat, 22 Mar 2014 04:51:22 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id; + bh=BHwsDeS6yp9vDbQRnhiMgoyrULI07Yh70wPOXtDwdO8=; + b=XCYZbhHWiER/4MugJTpW53iM7ejcc/0ssWRlZC40wzXKk70VM3Ys8etsZVxqfkAaU7 + Qzdh5u/LWj55OlJ6XJfIitsHbcBtYxN1BSQxMKsEJpwel4sp5ZjlGeZHiv6EoGS114ZG + 4ghXk2Oucf5yixXowoCMBhKehMJbjRQu8e08bsf9XpK3hrlh86W/MGj7T8eT3nWMkgi5 + idBQfCRZPLWY5ZeijAwQNvtTse4GPw4pgBxAge7dWI2hYRh7e75SPn2WrgmuSSx2hZgT + MJc0gZpjYMAhBgjUwkkSXjhTEns4jZzpJwjEnsmCJJ/iEFHBNk4isBroWWMrE+AIWaVF + Yd9w== +X-Received: by 10.180.101.166 with SMTP id fh6mr3178987wib.2.1395489081972; + Sat, 22 Mar 2014 04:51:21 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id n15sm16238755wij.3.2014.03.22.04.51.20 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sat, 22 Mar 2014 04:51:21 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org, + amdragon@mit.edu +Subject: [Patch v4 0/8] emacs: show tag changes in buffer +Date: Sat, 22 Mar 2014 11:51:04 +0000 +Message-Id: <1395489072-19001-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.10.4 +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: Sat, 22 Mar 2014 11:51:32 -0000 + +This is v4 of this patch set. V3 is at +id:1394597397-8486-1-git-send-email-markwalters1009@gmail.com. This +addresses all the review comments from Austin. + +Patches 1-3 and 6-8 are unchanged. For patch 5 I have changed the +comments slightly, tried to make the unread deleted case clearer by +using the new `bare-tag' variable, and added all three custom format +variables to the notmuch-faces group. + +For patch 6 I have switched to Austin's suggested approach with the +changes mentioned in id:87pplek4v0.fsf@qmul.ac.uk and +id:87mwgih2zx.fsf@qmul.ac.uk + +Best wishes + +Mark + + +Austin Clements (2): + emacs: Combine notmuch-combine-face-text-property{,-string} + Make keys of notmuch-tag-formats regexps and use caching + +Mark Walters (6): + emacs: tag split customise option for format-tags into a widget + emacs: tag: add customize for deleted/added tag formats + emacs: show: mark tags changed since buffer loaded + emacs: show: use orig-tags for tag display + emacs: search: use orig-tags in search + emacs: tree: use orig-tags in search + + emacs/notmuch-lib.el | 35 ++++----- + emacs/notmuch-show.el | 7 +- + emacs/notmuch-tag.el | 197 +++++++++++++++++++++++++++++++++++++------------ + emacs/notmuch-tree.el | 12 ++- + emacs/notmuch.el | 44 ++++++----- + test/test-lib.el | 5 ++ + 6 files changed, 213 insertions(+), 87 deletions(-) + +-- +1.7.10.4 + -- 2.26.2