org-msg icon indicating copy to clipboard operation
org-msg copied to clipboard

Issues getting setup with notmuch.

Open groceryheist opened this issue 3 years ago • 4 comments

Hi, I was just giving this project a try and ran into what seems like a bug with the ``notmuch-user-agent.`

I get an error when I try to preview a test message:

Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
  org-msg-preview(nil)
  funcall-interactively(org-msg-preview nil)
  call-interactively(org-msg-preview nil nil)
  command-execute(org-msg-preview)

I can send messages, but they do not have text/html content, only text/plain. The resulting message is always "--=-=-=--"

I just installed org-msg from melpa. I'm using notmuch 0.36-1 (the debian bookworm version). Thanks for this project, it seems like it will be great once I get it working.

groceryheist avatar Jun 03 '22 00:06 groceryheist

@groceryheist, I am having the same issues. Did you manage to get it working?

atanasj avatar Mar 02 '23 12:03 atanasj

I did manage but I don't remember how

On Thu, Mar 2, 2023, 04:45 atanas @.***> wrote:

@groceryheist https://github.com/groceryheist, I am having the same issues. Did you manage to get it working?

— Reply to this email directly, view it on GitHub https://github.com/jeremy-compostella/org-msg/issues/151#issuecomment-1451812109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA3VH34N5NJSQ7E7C7BE3DW2CI5RANCNFSM5XW25SAA . You are receiving this because you were mentioned.Message ID: @.***>

groceryheist avatar Mar 02 '23 19:03 groceryheist

Me too actually. I'll have to post my config perhaps... But sounds like this issue is closed?

atanasj avatar Mar 17 '23 09:03 atanasj

I think the confusion is that we need to pass a symbol to the function, not a string.

(setq mail-user-agent 'notmuch-user-agent)

I just battled this myself yeasterday. 😉

cmiles74 avatar Apr 27 '23 12:04 cmiles74