% in ex and the last line

Frank Fischer frank.fischer at mathematik.tu-chemnitz.de
Sat Sep 24 19:49:15 CEST 2011


Am Sat, 24 Sep 2011 12:57:56 +0200
schrieb Nikolai Weibull <now at bitwi.se>:

> So
> 
> %s/$/a
> 
> gets into an infinite loop.  There’s an incompatibility between how
> Emacs and Evil treats the last line.  Emacs has a blank line at the
> end of the file if the last line ends with a newline.  Evil doesn’t
> ignore this line properly, the way Vi does.

Fixed in 1b36801

Frank



More information about the implementations-list mailing list