On Mon Dec 21 2015 Alan Schmitt wrote: > I'm trying to use both gnus and mu4e, and I'm having an issue when > sending a message from mu4e: I get the following error: > > bbdb-mua: BBDB: MUA `mu4e-compose-mode' not supported > > I'm using a recent version of BBDB (the Melpa version from November of > this year), and my BBDB setup looks like this: > > #+begin_src emacs-lisp > (bbdb-initialize 'gnus 'message) > (bbdb-mua-auto-update-init 'gnus 'message) > #+end_src
[Too many things have piled up on this list. I'll try to catch up slowly.] The error means that you try to run some BBDB function or command in a buffer using mu4e-compose-mode, yet BBDB doesn't know this mode. I don't know mu4e, but it looks like mu4e-compose-mode is derived from message-mode which you use as an arg for bbdb-mua-auto-update-init. The latter adds bbdb-mua-auto-update to message-send-hook. So if mu4e-compose-mode is derived from message-mode, bbdb-mua-auto-update fails. If you evaluate the following (or put it into your emacs init file), does this solve your problem? (This adds mu4e-compose-mode to the modes associated with the MUA `message'.) (let ((m (assq 'message bbdb-mua-mode-alist))) (unless (memq 'mu4e-compose-mode (cdr m)) (setcdr m (cons 'mu4e-compose-mode (cdr m))))) If this solves the problem, I'll update bbdb-mua-mode-alist accordingly. ------------------------------------------------------------------------------ _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/