doomemacs / doomemacs/core

many mu4e(-headers) bindings are shadowed by evil

Open
#5,720 6 comments 0 reactions 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

When I press "Insert" or "#" in headers mode, the respective evil function is called rather than the mu4e function. Similarly, if I view a raw email message (open the message from headers mode and press "."), I cannot close that buffer with "q".

### What actually happened?

`Ins` starts insert mode, `#` triggers next search

### Describe your attempts to resolve the issue

I tried this, which seems to do the trick for `Insert` but there's definitely more:
```lisp
(map! :map mu4e-headers-mode-map
:vne "" #'mu4e-headers-mark-for-something)
(map! :map mu4e-headers-mode-map
:vne "" #'mu4e-headers-mark-for-something)
```

### Steps to reproduce

Open a message in mu4e-headers mode and press the above keys

### System Information

https://pastebin.com/raw/9GgMXtaX
(Edit: I just noticed it says `(evil +everywhere)` in there, not sure whether that might have something to do with it but I think the mu4e functions should be exposed in this case. As far as I'm aware, insert mode in mu4e-headers view never makes sense.)

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.