emacs-evil / evil

The extensible vi layer for Emacs.
GNU General Public License v3.0
3.36k stars 282 forks source link

:'<,'>s/^ //g probable bug. #1143

Open xekoukou opened 5 years ago

xekoukou commented 5 years ago

Issue type

Environment

Emacs version: GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, modified by Debian Operating System: Debian GNU/Linux 9 (stretch) Evil version: Evil version 1.2.13 Evil installation type: Graphical/Terminal: X Tested in a make emacs session (see CONTRIBUTING.md): No

Reproduction steps

Expected behavior

Only two spaces will be removed.

Actual behavior

A multiple of 2 spaces is removed.

Further notes

g here is useless, but I still think this is unexpected behavior.

delan commented 5 years ago

I’ve encountered this too (#1078).