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
281 stars 61 forks source link

org-msg-edit-mode-mu4e: Symbol’s function definition is void: mu4e~compose-remap-faces #193

Open OrionRandD opened 5 months ago

OrionRandD commented 5 months ago

;;;;;;;;;;;;;;;;;;;;;

I have had this issue for some time now... I managed to fix it with this tiny fix bellow, But, I still have to evaluate the org-msg.el file by hand. See bellow:

;;;;;;;;;;;;;;;;;;;;;

Error:

org-msg-edit-mode-mu4e: Symbol’s function definition is void: mu4e~compose-remap-faces

;;;;;;;;;;;;;;;;;;;;;

;;; org-msg.el --- Org mode to send and reply to email in HTML. -- lexical-binding: t; --

;; Package-Version: 4.0 ;; Package-Requires: ((emacs "24.4") (htmlize "1.54"))

;; modified functions ;; ~ into --

defun org-msg-edit-mode-mu4e () "Setup mu4e faces, addresses completion and run mu4e."

;; (mu4e~compose-remap-faces) (mu4e--compose-remap-faces) ;; change here

(unless (mu4e-running-p) (if (fboundp #'mu4e~start) (mu4e~start) (mu4e--start))) (when mu4e-compose-complete-addresses

;; (mu4e~compose-setup-completion))
(mu4e--compose-setup-completion)) ;; change here

;; the following code is verbatim from mu4e-compose.el, `mu4e-compose-mode'

;;;;;;;;;;;;;;;;;;;;;

But, I have to open org-msg.el and evaluate it by-hand, since it does not load on Emacs startup.

;; When I do that, C-F10 and shift-C ;; works as expected

;;;;;;;;;;;;;;;;;;;;;

Could you test it there and, if possible, make these small changes to fix org-msg.el if this is a bug or something? Or it is just me using this version... Thx

;;;;;;;;;;;;;;;;;;;;;