[Python-mode] coding in emacs 23

Bernhard Herzog bernhard.herzog at intevation.de
Wed Jan 27 10:09:29 CET 2010


On 27.01.2010, Jeff Bauer wrote:
> After upgrading to emac23, I noticed one big
> difference in editing python code ... or, well
> editing anything.
>
>       0123456789012345678901234567890123456789
>    1  One-really-long-line-of-text-and-newline
>    2  -doesn't-appear-until-full-stop-HERE.
>    3  Second-line-of-code
>
> It used to be if my cursor was positioned on
> (0,1) and I pressed ^N, the cursor would jump
> down to the second line of code (0,3).  Now it
> goes to (0,2) which is still considered (0,50).

That's a new default in Emacs 23 called visual line mode IIRC.
You can get the old behavior back with the following setting in ~/.emacs:

(setq line-move-visual nil)

  Bernhard

-- 
Bernhard Herzog  |  ++49-541-335 08 30  |  http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Python-mode mailing list