Hello,<div><br></div><div>I'm running into a bit of an annoyance with the arrow keys and macros on Aquamacs 2.1.  It has to do with an old feature, where the arrow keys and (next-line) move the cursor to the next visual line.  That is to say, when the line's wrapped, it moves the text to the next line on the screen, which is not necessarily the next line in the text file. </div>

<div><br></div><div>In this case, I'm working on a csv file with long lines.  I defined a keyboard macro to navigate through some of the fields, and edit them.  My emacs habit is to record the macro, move the cursor to the next line and then C-a it back to the beginning.  In this way I can then call the macro in rapid succession.</div>

<div><br></div><div>The behavior is that (next-line) doesn't move to the next line, so C-a moves within the same line, and the macro gets stuck.  </div><div><br></div><div>Can anyone suggest a workaround?  Is there an emacs function that's something like (next-logical-line)?</div>

<div><br></div><div>Thanks,</div><div>Elizabeth</div>