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 0039F40DBD5 for ; Tue, 16 Nov 2010 09:54:23 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham 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 9IjxqwsBXQ25 for ; Tue, 16 Nov 2010 09:54:12 -0800 (PST) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by olra.theworths.org (Postfix) with ESMTP id DB66A40DBC8 for ; Tue, 16 Nov 2010 09:54:11 -0800 (PST) Received: by wwb24 with SMTP id 24so471249wwb.2 for ; Tue, 16 Nov 2010 09:54:10 -0800 (PST) Received: by 10.216.28.204 with SMTP id g54mr461352wea.73.1289930049446; Tue, 16 Nov 2010 09:54:09 -0800 (PST) Received: from ut.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com [81.149.164.25]) by mx.google.com with ESMTPS id w84sm698391weq.44.2010.11.16.09.54.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Nov 2010 09:54:08 -0800 (PST) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id AFDAF594058; Tue, 16 Nov 2010 17:51:39 +0000 (GMT) From: David Edmondson To: notmuch@notmuchmail.org Subject: [PATCH] emacs: Accommodate message-mode updates. Date: Tue, 16 Nov 2010 17:51:38 +0000 Message-Id: <1289929898-16287-1-git-send-email-dme@dme.org> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1288200417-6584-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> References: <1288200417-6584-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> 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, 16 Nov 2010 17:54:23 -0000 Message mode uses a different name for composition buffers in newer versions of emacs. Allow for this when causing the composition window to overlay the viewing window. --- I don't understand why Aneesh chose to use `add-hook' and `purecopy'. emacs/notmuch-mua.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index dc7b386..70c8dff 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -88,7 +88,7 @@ list." (let ;; Overlay the composition window on that being used to read ;; the original message. - ((same-window-regexps '("\\*mail .*"))) + ((same-window-regexps '("\\*mail .*" "\\*unsent mail .*"))) (notmuch-mua-mail (mail-header 'to headers) (mail-header 'subject headers) (message-headers-to-generate headers t '(to subject)))) -- 1.7.2.3