[PATCH] emacs: Accommodate message-mode updates.

Aneesh Kumar K. V aneesh.kumar at linux.vnet.ibm.com
Fri Nov 19 08:01:36 PST 2010


On Tue, 16 Nov 2010 17:51:38 +0000, David Edmondson <dme at dme.org> wrote:
> 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'.

So what when i have unset mail added via .emacs even the older version
will work. making sure if the name change again i can fix it by a .emacs
update rather than notmuch code update.



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


-aneesh


More information about the notmuch mailing list