emacs-evil / emacs-evil/evil

a sucessful yank operation should move point to the beggining of the yank section

Open
#727 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug commands major
Dominant language
Emacs Lisp
Stars
3.9k
Forks
307
PR merge metrics
No merged PRs in 30d

Description

Originally reported by: Filipe Silva (Bitbucket: ninrod, GitHub: ninrod)


reproducible scenario:

type any word and place point at the end of the word ([|] is point)

#!elisp

verybigw[o]rd -> yiw
verybigw[ord -> point does not move, but the word is yanked.
[v]erybigword -> this is the expected result: point should have moved to the beggining of the yanked section.

emacs-25.1 - gui
evil-1.2.12
Osx sierra


Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the yiw scenario in Evil on Emacs: yank a word with point at its end and observe whether point moves. Trace the Evil yank operation, then verify that a successful yank leaves point at the beginning of the yanked section.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs-lisp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.