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 E5AA8429E54 for ; Wed, 25 Jan 2012 07:45:34 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[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 ytMBEiI9fGP8 for ; Wed, 25 Jan 2012 07:45:34 -0800 (PST) Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 2F81D429E36 for ; Wed, 25 Jan 2012 07:45:34 -0800 (PST) Received: by wgbdt11 with SMTP id dt11so1563099wgb.2 for ; Wed, 25 Jan 2012 07:45:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.100.228 with SMTP id fb4mr29269327wib.1.1327506332934; Wed, 25 Jan 2012 07:45:32 -0800 (PST) Received: from hotblack-desiato.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25]) by mx.google.com with ESMTPS id d9sm527255wiy.2.2012.01.25.07.45.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jan 2012 07:45:31 -0800 (PST) Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) id D70869FE67; Wed, 25 Jan 2012 15:45:29 +0000 (GMT) From: David Edmondson To: notmuch@notmuchmail.org Subject: [PATCH 0/4 v2] more care when hiding regions with buttons Date: Wed, 25 Jan 2012 15:45:24 +0000 Message-Id: <1327506328-22126-1-git-send-email-dme@dme.org> X-Mailer: git-send-email 1.7.8.3 In-Reply-To: <1327503908-17226-1-git-send-email-dme@dme.org> References: <1327503908-17226-1-git-send-email-dme@dme.org> X-Gm-Message-State: ALoCoQnJCha2ObDELHIDYDeI2KDq/bDpaTe1EjNh8+dhHGQn6Xtt5d/0ziwghq/yev7Fk33+OZBq 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, 25 Jan 2012 15:45:35 -0000 Added a test, which required some improvements to the test harness. The fix still seems awkward. David Edmondson (4): test: `visible-buffer-substring' should not return text properties. test: `notmuch-test-run' should protect against buffer switching. test: Add test for Original Message hiding at point-min. emacs: Take more care when hiding regions with buttons. emacs/notmuch-wash.el | 57 ++++++++++++++++++++++----------- test/emacs-original-message-hiding.el | 15 +++++++++ test/emacs-original-message-hiding.sh | 19 +++++++++++ test/notmuch-test | 1 + test/test-lib.el | 6 ++- 5 files changed, 77 insertions(+), 21 deletions(-) create mode 100644 test/emacs-original-message-hiding.el create mode 100755 test/emacs-original-message-hiding.sh -- 1.7.8.3