From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 51C8A421192 for ; Tue, 24 Jan 2012 03:38:03 -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 6gfq9ZAGIFrP for ; Tue, 24 Jan 2012 03:38:01 -0800 (PST) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 75163429E21 for ; Tue, 24 Jan 2012 03:38:01 -0800 (PST) Received: by wibhi8 with SMTP id hi8so1469489wib.26 for ; Tue, 24 Jan 2012 03:38:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.81.35 with SMTP id w3mr19912709wix.10.1327405080114; Tue, 24 Jan 2012 03:38:00 -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 t15sm18186196wiv.6.2012.01.24.03.37.58 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Jan 2012 03:37:59 -0800 (PST) Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) id 3AEE39FD3F; Tue, 24 Jan 2012 11:37:57 +0000 (GMT) From: David Edmondson To: notmuch@notmuchmail.org Subject: use text properties rather than overlays Date: Tue, 24 Jan 2012 11:36:45 +0000 Message-Id: <1327405007-4026-1-git-send-email-dme@dme.org> X-Mailer: git-send-email 1.7.8.3 X-Gm-Message-State: ALoCoQmOqAmtIZNOp813qu2Dhz/RsXlIsGoJvf9eZIcKGSRSns8Hh1HgRImkV3XWejbQHjfFO+FR 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: Tue, 24 Jan 2012 11:38:03 -0000 In preparation for changes to support showing and hiding MIME parts on the fly (general parts, choosing amongst multipart/alternative and show updated signing/encryption status without redisplay) I'm trying to clean up some of the `notmuch-show-mode' code. This patch is part of that, though it stands upon its' own. Austin provided some code to allow the invisible overlays to be added to `notmuch-search-mode' buffers lazily. That same approach could be used here, but it's not implemented yet. [PATCH 1/2] emacs: Use text properties rather than overlays in [PATCH 2/2] test: Update test to match previous patch.