On Fri, 19 Nov 2010 22:05:25 +0530, "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com> wrote: > > > > 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 .*"))) I see. So you want a solution that _augments_ the existing value of `same-window-regexps' in `notmuch-mua-reply' rather than overriding it? dme. -- David Edmondson, http://dme.org