emacs-evil / emacs-evil/evil

'cw' and 'dw' fail to delete when point is at the last character of an eshell command

Open
#863 4 comments 0 reactions 0 assignees View on GitHub
bug minor
Dominant language
Emacs Lisp
Stars
3.9k
Forks
307
PR merge metrics
No merged PRs in 30d

Description

# Issue type

- Bug report

# Environment

Emacs version: 25.2
Operating System: Arch Linux
Evil version: 1.2.12
Evil installation type: MELPA
Graphical/Terminal: Graphical
Terminal multiplexer: N?A

# Reproduction steps
- Start Emacs, turn on evil.
- `M-x eshell`
- `abc`
- `$`
- `cw`

(Or `dw`)

# Expected behavior

`c` should be killed.

# Actual behavior

It remains after point.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Emacs 25.2 with Evil enabled by opening eshell, entering `abc`, moving to the end with `$`, and running `cw` or `dw`. Trace the Evil command and eshell editing entry points involved in deleting at the final character; done means the final `c` is removed as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs-lisp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.