On Fri, 19 Nov 2010 16:06:40 +0000, David Edmondson <dme@dme.org> wrote: > On Fri, 19 Nov 2010 21:31:36 +0530, "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com> wrote: > > On Tue, 16 Nov 2010 17:51:38 +0000, David Edmondson <dme@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. > > What would you add to .emacs? > In custom-set-variable i have the below '(same-window-buffer-names (quote ("*unsent mail*" "*shell*" "*mail*" "*inferior-lisp*" "*ielm*" "*scheme*"))) '(same-window-regexps (quote ("\\*rsh-[^-]*\\*\\(\\|<[0-9]*>\\)" "\\*telnet-.*\\*\\(\\|<[0-9]+>\\)" "^\\*rlogin-.*\\*\\(\\|<[0-9]+>\\)" "\\*info\\*\\(\\|<[0-9]+>\\)" "\\*gud-.*\\*\\(\\|<[0-9]+>\\)" "\\`\\*Customiz.*\\*\\'" "\\*unsent mail .*"))) -aneesh