emacs-evil / emacs-evil/evil

Can't search backward when using "/e"

Open
#692 0 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

Originally reported by: **e-matteson (Bitbucket: [e-matteson](https://bitbucket.org/e-matteson), GitHub: [e-matteson](https://github.com/e-matteson))**

----------------------------------------

When using `/e` in a search string to position the cursor at the end of the match, it's not possible to search backwards.

#### Steps:

1. Set evil-search-module to evil-search.

2. Search backwards for a string that appears in the buffer: `?foo/e`, or `/foo/eN`.

#### Observed behavior:

No match is found.

#### System Info

- Evil version: 20160619.2253
- OS: gnu/linux
- Emacs: 24.5.1
- Spacemacs branch: develop (rev. e232eb5)

----------------------------------------
- Bitbucket: https://bitbucket.org/lyro/evil/issue/692

Contributor guide

Open the contributing guide

Research direction

Start with the evil-search module and reproduce the reported commands: ?foo/e and /foo/eN. Trace how the /e end-of-match flag is handled for backward searches; done means backward search finds the match and positions the cursor at its end.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.