bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29608: python.el movement functions


From: Alex Branham
Subject: bug#29608: python.el movement functions
Date: Thu, 07 Dec 2017 15:08:30 -0600
User-agent: mu4e 0.9.18; emacs 25.3.1

Python movement statements do not always result in the behavior I'd expect. 
Consider this python file (with (|) representing point):

(|)for i in [1, 2, 3]:
    print(i)

I'd expect M-x python-nav-forward-statement to result in

for i in [1, 2, 3]:
    print(i)
(|)

but instead you wind up with

for i in [1, 2, 3]:
    (|)print(i)

and python-nav-forward-block (bound to M-e) is even worse. It results in point 
not moving at all:

(|)for i in [1, 2, 3]:
    print(i)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]