emacs-evil / emacs-evil/evil

enable normal mode by default in Custom-mode buffers

Open
#640 2 comments 0 reactions 0 assignees View on GitHub
bug major
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.