doomemacs / doomemacs/core

mu4e: `org-msg` not enabled when doing a wide-reply (mu4e >= 1.12)

Open
#8,158 0 comments 0 reactions 0 assignees View on GitHub
:email mu4e is:bug
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### I confirm that...

- [x] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.

- [x] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.

- [x] The issue can be reproduced on the **latest** available commit of Doom.

- [x] The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. *(Unstable versions end in .50, .60, or .9x)*

### Expected behavior

In `mu4e`, press `c w` (compose-wide-reply) should create a new mail using `org-msg`

### Current behavior

org-msg is enabled when doing a reply or composing a new mail, but not when doing a wide reply ("reply to all").

Related:
https://github.com/doomemacs/doomemacs/issues/8106
https://github.com/doomemacs/doomemacs/issues/8073

### Steps to reproduce

In `mu4e`, press `c w` in a thread with multiple respondents and observe that `org-msg` is not enabled.

This patch resolves the problem for me. `mu4e-compose-wide-reply` is however a new function in mu4e 1.12, thus for older versions this might create a problem:

```
diff --git a/modules/email/mu4e/config.el b/modules/email/mu4e/config.el
index 4a1810353..1f6d17f7b 100644
--- a/modules/email/mu4e/config.el
+++ b/modules/email/mu4e/config.el
@@ -447,6 +447,7 @@ This should already be the case yet it does not always seem to be."
:before #'+mu4e/attach-files
:before #'mu4e-compose-new
:before #'mu4e-compose-reply
+ :before #'mu4e-compose-wide-reply
:before #'mu4e-compose-forward
:before #'mu4e-compose-resend
(when (xor (/= 1 (prefix-numeric-value current-prefix-arg))
```

### System Information

https://pastebin.com/kKtrZM90

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.