unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 1/3] emacs: Don't overload same-window-regexps
@ 2010-10-27 17:26 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
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Aneesh Kumar K.V @ 2010-10-27 17:26 UTC (permalink / raw)
  To: cworth; +Cc: Aneesh Kumar K.V, notmuch

From: Aneesh Kumar K.V <aneesh.kumar@gmail.com>

Also add unset mail to the regexps. Recent emacs changes change the buffer name

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
---
 emacs/notmuch-mua.el |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index 0ad079f..23ffd96 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -85,10 +85,13 @@ list."
 	      (setq headers (mail-header-extract)))))
       (forward-line 1)
       (setq body (buffer-substring (point) (point-max))))
-    (let
+    (progn
 	;; Overlay the composition window on that being used to read
 	;; the original message.
-	((same-window-regexps '("\\*mail .*")))
+      (add-hook 'same-window-regexps
+		(purecopy "\\*unsent mail.*"))
+      (add-hook 'same-window-regexps
+		(purecopy "\\*mail .*"))
       (notmuch-mua-mail (mail-header 'to headers)
 			(mail-header 'subject headers)
 			(message-headers-to-generate headers t '(to subject))))
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-11-19 17:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH] emacs: Accommodate message-mode updates David Edmondson
2010-11-19 16:01   ` 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

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).