From: Mark Walters Date: Wed, 19 Feb 2014 20:20:05 +0000 (+0000) Subject: [PATCH v2 0/7] emacs: show tag changes in buffer X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=33e5d891595fb8b620be9f0d0b356552fdcd9085;p=notmuch-archives.git [PATCH v2 0/7] emacs: show tag changes in buffer --- diff --git a/fa/1f78d1185b4b5d87175fd20b6135f5b4e6e3e4 b/fa/1f78d1185b4b5d87175fd20b6135f5b4e6e3e4 new file mode 100644 index 000000000..bb363fe31 --- /dev/null +++ b/fa/1f78d1185b4b5d87175fd20b6135f5b4e6e3e4 @@ -0,0 +1,99 @@ +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 12FD2431FBF + for ; Wed, 19 Feb 2014 12:20:28 -0800 (PST) +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 OFj85QpPoWQN for ; + Wed, 19 Feb 2014 12:20:22 -0800 (PST) +Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com + [209.85.212.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 61CA2431FBD + for ; Wed, 19 Feb 2014 12:20:22 -0800 (PST) +Received: by mail-wi0-f173.google.com with SMTP id bs8so1024692wib.0 + for ; Wed, 19 Feb 2014 12:20:19 -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=Xf0UBWgz1WFhhnfkZVxMG3TlkNsM55dIIxDUUN0z3yQ=; + b=i8EoOeZ5RkZppTvPiowGUya2njV3dBUQZ0pwVi51I/M3/3pb7wPM97b53QKPtPa8st + CJJJg44Ql3djoBv/DkxcdZeC3K8Qfh/OzxKLvTyDNpJXHvSovsn1gn5JF79Lfc70OuXt + AOyWxe1ujZc6RYiA3sPufjuHU2T3hV1dzpwjSN3guCgQdUPbz9KcvqZD/r7txOU/eQkE + ifBm/FXWCSmBAQAdW5SWbWSLOHZMEEpXp1iHprsH2BMoT/StqJABFIBITGmvDbofCgr1 + +bPCT4285XN4IU34nKMCE+5jwpXW+w9W18OcayC6j6MSMwqyXGeCquAoHj6CW5DtVTiD + YIhQ== +X-Received: by 10.180.7.227 with SMTP id m3mr3282222wia.59.1392841219687; + Wed, 19 Feb 2014 12:20:19 -0800 (PST) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id f1sm55382969wik.1.2014.02.19.12.20.18 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Wed, 19 Feb 2014 12:20:19 -0800 (PST) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 0/7] emacs: show tag changes in buffer +Date: Wed, 19 Feb 2014 20:20:05 +0000 +Message-Id: <1392841212-8494-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +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, 19 Feb 2014 20:20:28 -0000 + +This is v2 of the patch set. Version 1 is at +id:1390087855-26194-1-git-send-email-markwalters1009@gmail.com. + +The changes in this version are: use regexp tag-format matching (a +slightly tweaked version of Austin's patch +id:1392226351-31440-1-git-send-email-amdragon@mit.edu), make the +tag-deleted/added formats apply on top of the normal tag-formatting, +and fixup the way the :orig-tags field is added in notmuch-search. + +I think this version fixes all outstanding review comments. + +Best wishes + +Mark + + + +Austin Clements (1): + 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-show.el | 7 ++- + emacs/notmuch-tag.el | 179 +++++++++++++++++++++++++++++++++++++----------- + emacs/notmuch-tree.el | 10 ++- + emacs/notmuch.el | 41 +++++++----- + test/test-lib.el | 5 ++ + 5 files changed, 180 insertions(+), 62 deletions(-) + +-- +1.7.9.1 +