On Fri, 26 Aug 2011 10:47:44 -0600, richardmurri@gmail.com wrote: > ** `compose-mail' now accepts an optional 8th arg, RETURN-ACTION, and > passes it to the mail user agent function. This argument specifies an > action for returning to the caller after finishing with the mail. > This is currently used by Rmail to delete a mail window. > > > compose-mail is run when creating a new email. It breaks horribly > without a spot for the optional argument, however most mail agents don't > use the argument at all. By just including the extra argument, most > everything works well with notmuch in emacs 24. Could you rework your patch to include more or less this discussion in the commit message? Thanks, David