Hello, ** Steps to reproduce: 0) Start Emacs (emacs -Q) 1) Visit the attached file. 2) Turn on truncate lines mode (M-x toggle-truncate-lines) 3) Adjust the width of the emacs frame so that only fields 0 to 8 are visible. 4) Place the point just before `field_10' at line 1. 5) Start keyboard macro recording () 6) Type: C-a C-n C-s `|' and repeat C-s until the point reaches `field_10' again. 7) Type to end Isearch and to end macro recording. 8) Now type to execute the macro. ** Expected result: The point moves to `field_10' at line 3. ** Actual result: The point moves to `field_15' at line 3. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-11-30 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include' -- Dani Moncayo