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
Start Emacs
Create a file with multiple spaces at the start of each line.
Execute ":'<,'>s/^ //g"
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.
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): NoReproduction 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.