Open jody-frankowski opened 5 years ago
I think the bug is in forward-evil-word
. (thing-at-point 'evil-word)
returns a line break when point is on the first column. (thing-at-point 'symbol)
correctly returns nil
.
Why does evil-search-word-forward
use evil-word
but built-in symbol
anyway?
Issue type
Environment
Emacs version: GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8) of 2019-04-12 Operating System: ArchLinux Evil version: Evil version 1.2.14 Evil installation type: https://github.com/raxod502/straight.el Graphical/Terminal: Emacs in Tmux Tested in a
make emacs
session (see CONTRIBUTING.md): NoReproduction steps
evil-symbol-word-search
is set tonil
*Scratch*
bufferi
) on a new line*
Expected behavior
Point should now be on "i"
Actual behavior
The following search/error occurs:
Further notes
Typing
*
on the second or third space does what is expected. Setttingevil-symbol-word-search
tot
actually "fixes" this but since it also changes the word selection behavior I would still call this situation a bug.