Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with BBDB #2

Closed
ericsfraga opened this issue Oct 3, 2018 · 4 comments
Closed

Incompatible with BBDB #2

ericsfraga opened this issue Oct 3, 2018 · 4 comments

Comments

@ericsfraga
Copy link

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
Copy link
Owner

jeremy-compostella commented Oct 3, 2018

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
Copy link
Author

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

jeremy-compostella added a commit that referenced this issue Oct 5, 2018
/issues/2 reports that if BBDB auto update
is enabled, the message-send function crashes when called within a
org-msg-edit-mode.

This patches inserts the definition for org-msg-edit-mode into the
bbdb-mua-mode-alist variable if the variable is defined.

Signed-off-by: Jeremy Compostella <jeremy.compostella@gmail.com>
@jeremy-compostella
Copy link
Owner

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

@jeremy-compostella
Copy link
Owner

I consider the issue closed. Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants