From: Mark Walters Date: Sat, 14 Dec 2013 23:53:12 +0000 (+0000) Subject: [PATCH v2 0/5] emacs: show: redesign unread/read logic X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e15bd19590d70a7492b74b2d71d06bcecce514f7;p=notmuch-archives.git [PATCH v2 0/5] emacs: show: redesign unread/read logic --- diff --git a/5b/73e8532c82203518cfed29ae39ed523fa814cf b/5b/73e8532c82203518cfed29ae39ed523fa814cf new file mode 100644 index 000000000..c0915bc56 --- /dev/null +++ b/5b/73e8532c82203518cfed29ae39ed523fa814cf @@ -0,0 +1,91 @@ +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 DD504431FD0 + for ; Sat, 14 Dec 2013 15:53:29 -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 XoCS9q3Di2JX for ; + Sat, 14 Dec 2013 15:53:24 -0800 (PST) +Received: from mail-we0-f171.google.com (mail-we0-f171.google.com + [74.125.82.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id AAD98431FB6 + for ; Sat, 14 Dec 2013 15:53:24 -0800 (PST) +Received: by mail-we0-f171.google.com with SMTP id q58so3309566wes.16 + for ; Sat, 14 Dec 2013 15:53:23 -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=zTzhfb2kpwEQXpdL5RTBCkk86ihYTqnlYz5i6o8EfAY=; + b=Z88YrQn6IXYAUWR8hCJ8+NTR6CX8COdt0m2VXSoN+1J8MWWFEs1ynFxKk0z68FVBDm + Gv0AkfJythHgsMwaH+YI6dqS3jYZgaGQ1/k5OZXGpgCchUmiFMQew39At/v2eUmFqIkk + VqlfGIP8v9b6sUUCo6ZjEXpOnuMBLAdDdgPYHtc91axYa6IFXpiJ+kHPnXD6wMZYF3+J + 88UMT8n6d3pjwFcAkzUsAxSAkceLBtMBCqgzNC3Di1trFXF1X17XwWVaaJRT6604DIn0 + 1o4bsodrYPFL3EyiXihvK0u2CVLbVSep3wmDUBsKMBmgu6EONa4NQljEtnnXl3iUcC0Y + dT3g== +X-Received: by 10.194.78.179 with SMTP id c19mr1085740wjx.84.1387065203605; + Sat, 14 Dec 2013 15:53:23 -0800 (PST) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id x4sm11192318wif.0.2013.12.14.15.53.22 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sat, 14 Dec 2013 15:53:22 -0800 (PST) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 0/5] emacs: show: redesign unread/read logic +Date: Sat, 14 Dec 2013 23:53:12 +0000 +Message-Id: <1387065197-15776-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: Sat, 14 Dec 2013 23:53:30 -0000 + +Very impressively I managed to send v1 of this series backwards +(having read through the patches with --reverse so that log showed +them in the correct order I forgot to delete the --reverse for the +send-email) + +Anyway this the series in the correct order. v1 (the reversed series) and +proper cover-letter is at +id:1387064676-15508-1-git-send-email-markwalters1009@gmail.com + +Best wishes + +Mark + +Mark Walters (5): + test: make test_emacs call post-command-hook + emacs: tree: make the tree code force the mark read update + emacs: show: mark tags changed since buffer loaded + emacs: show: add an update seen function to post-command-hook + emacs: show: make `seen' mean user viewed whole message + + emacs/notmuch-show.el | 123 +++++++++++++++++++++++++++++++++++++++++-------- + emacs/notmuch-tag.el | 105 ++++++++++++++++++++++++++++++------------ + emacs/notmuch-tree.el | 3 + + test/test-lib.el | 16 ++++++ + test/test-lib.sh | 2 +- + 5 files changed, 198 insertions(+), 51 deletions(-) + +-- +1.7.9.1 +