unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Edmondson <dme@dme.org>
To: notmuch@notmuchmail.org
Subject: [PATCH] emacs: Accommodate message-mode updates.
Date: Tue, 16 Nov 2010 17:51:38 +0000	[thread overview]
Message-ID: <1289929898-16287-1-git-send-email-dme@dme.org> (raw)
In-Reply-To: <1288200417-6584-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>

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

  parent reply	other threads:[~2010-11-16 17:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-27 17:26 [PATCH 1/3] emacs: Don't overload same-window-regexps Aneesh Kumar K.V
2010-10-27 17:26 ` [PATCH 2/3] notmuch: Add support for In-Reply-To in header Aneesh Kumar K.V
2010-10-27 17:26 ` [PATCH 3/3] notmuch: Add support for listing the parent message Aneesh Kumar K.V
2010-11-04  9:28   ` David Edmondson
2010-11-04 10:36     ` Aneesh Kumar K. V
2010-11-04 13:24       ` David Edmondson
2010-11-16 17:51 ` David Edmondson [this message]
2010-11-19 16:01   ` [PATCH] emacs: Accommodate message-mode updates Aneesh Kumar K. V
2010-11-19 16:06     ` David Edmondson
2010-11-19 16:35       ` Aneesh Kumar K. V
2010-11-19 17:12         ` David Edmondson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1289929898-16287-1-git-send-email-dme@dme.org \
    --to=dme@dme.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).