enable normal mode by default in Custom-mode buffers
- Dominant language
- Emacs Lisp
- Stars
- 3.9k
- Forks
- 307
- PR merge metrics
- No merged PRs in 30d
Description
Originally reported by: **Wouter Bolsterlee (Bitbucket: [wbolster](https://bitbucket.org/wbolster), GitHub: [wbolster](https://github.com/wbolster))**
----------------------------------------
Is there a reason Custom-mode buffers are in Emacs state by default? There is some special handling of buttons and so on inside evil, so it seems to me there is no reason to treat Custom-mode (note the capital) as special...
```lisp
(evil-set-initial-state 'Custom-mode 'normal)
```
----------------------------------------
- Bitbucket: https://bitbucket.org/lyro/evil/issue/640
Contributor guide
Research direction
Start by tracing how Evil assigns initial states to major modes, focusing on the existing handling of Custom-mode and the `evil-set-initial-state` entry point shown in the issue. Done means Custom-mode buffers enter normal mode by default without requiring the manual configuration form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs-lisp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100