views:

673

answers:

2

This is a bit difficult to explain, so please bear with me.

I am running emacs 23.0.60.2 (from CVS) in order to have truetype support. (in case anyone wonders why I'm running the bleeding edge). I'm experiencing some oddness in navigation within documents with this version that I want to have STOP.

When a window is narrow enough that a long line wraps, it used to be that navigating down one line in the text would move the cursor to the next literal line in the file at the same offset into the line. Now, however, the cursor is moved to the next logical line in the window -- which is the continuation of the current line -- at the same relative offset from the window edge. Basically, before it was emacs-like and now it's notepad-like. I don't want notepad-like behaviour.

Does anyone know how to turn this off? Bonus points if you know how to turn it off in .emacs in such a way as to have my .emacs continue to work with emacs 21-22 as well :)

Thanks!

+8  A: 

Try to put (setq line-move-visual nil) in the .emacs file.

paradoja
visual-line-mode does not turn it off. However, (setq line-move-visual nil) did.Thanks!
Chris R
Oh, thanks. I've edited the entry so that it only shows the correct way :)
paradoja
+4  A: 
Chris Conway
Thanks, that's excellent.
Chris R