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
276 stars 56 forks source link

mail address completion #146

Open mclearc opened 2 years ago

mclearc commented 2 years ago

Apologies if this ends up being unrelated to org-msg, but I've noticed that while company automatically completes my typing of email addresses in the 'to' field in message-mode, only the default completion seems to be working in org-msg mode. Any idea what might be causing this?

hkjels commented 1 year ago
(add-hook 'org-msg-edit-mode 'notmuch-address-setup)

This seems to do the trick. Notmuch is listed as a supported MUA, so this line should probably be added to org-msg though.

cmiles74 commented 1 year ago

This didn't work for me, I am not sure why. I ended up configuring company.

  (require 'org-msg)
  ;; org-msg setup goes here!
  (require 'notmuch-company)
  (add-hook 'org-msg-edit-mode-hook 'notmuch-company-setup)
DrWaleedAYousef commented 1 year ago

I am using spacemacs, with gnus-layer and org-layer. I am able to complete with Tab when NOT using org-msg. After using org-msg Tab does not autocomplete, even when I tried the above code! I created a new issue (#166) because I am using spacemace. @jeremy-compostella If it is a duplicate, please feel free to remove it. Thanks