Quantcast

Python-mode guess-indent API change

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Python-mode guess-indent API change

Andreas Röhler-2
Hi Barry, hi all,

with resp. to a possibly reduced complexity
IMO Python-mode should not guess `py-indent-offset' when loading already.

It simply makes no sense to pick that from one spot, as every block may
have a different one.

OTOH when one of the functions needing it like `py-compute-indentation'
is called, all these functions can't used pre-calculated indents anyway
- for the very reason.

See a bug report lp:902890 requiring it though.

WDYT?

Andreas
_______________________________________________
Python-mode mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/python-mode
Loading...