jeremy-compostella / org-msg

OrgMsg is a GNU/Emacs global minor mode mixing up Org mode and Message mode to compose and reply to emails in a Outlook HTML friendly style.
GNU General Public License v3.0
275 stars 59 forks source link

Incompatible with BBDB #2

Closed ericsfraga closed 5 years ago

ericsfraga commented 5 years ago

Like you, I would rather avoid HTML emails but I do have to use them sometimes and this package looks quite nice. However, it doesn't work with bbdb, or more properly, bbdb doesn't know about org-msg. I get the following error:

Debugger entered--Lisp error: (error "BBDB: MUA ‘org-msg-edit-mode’ not supported") signal(error ("BBDB: MUA ‘org-msg-edit-mode’ not supported")) error("BBDB: MUA '%s' not supported" org-msg-edit-mode) bbdb-mua() bbdb-mua-update-records(nil bbdb-select-message) bbdb-mua-auto-update() run-hooks(message-send-hook) message-send(nil) message-send-and-exit() org-msg-ctrl-c-ctrl-c() run-hook-with-args-until-success(org-msg-ctrl-c-ctrl-c) org-ctrl-c-ctrl-c(nil) funcall-interactively(org-ctrl-c-ctrl-c nil) call-interactively(org-ctrl-c-ctrl-c nil nil) command-execute(org-ctrl-c-ctrl-c)

jeremy-compostella commented 5 years ago

Could you evaluate the following and tell me if it works for you ?

(add-to-list 'bbdb-mua-mode-alist '(message org-msg-edit-mode))

Also any feedback (positive or negative) on org-msg is greatly appreciated.

If it works for you (and I expect it does as I tested it) I'll try to make a clean change in org-msg to take care of this.

ericsfraga commented 5 years ago

Yes, this seems to work. I've not done any extensive testing but emails do now get sent. Thank you.

jeremy-compostella commented 5 years ago

I have pushed a change which should take care of this issue. Could you please verify that it works for you?

jeremy-compostella commented 5 years ago

I consider the issue closed. Thanks for the report.