[OS X Emacs] aquamacs: next "logical" line, not visual line
ekellner at gmail.com
Tue Mar 22 11:37:52 EDT 2011
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.
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
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.
Can anyone suggest a workaround? Is there an emacs function that's
something like (next-logical-line)?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MacOSX-Emacs