Help! Indenting craziness!
Adam Clark
bjrubble at shell16.ba.best.com
Fri Jul 7 20:03:42 EDT 2000
Let me retract the "blank, unindented lines" part before somebody flames
me. I realize now that this is a python-mode issue, probably due to a
space/tab mixup. Problem is, everything appears to be tabs. There is
no detectable difference either visually or by cursor navigation between
correct code and SyntaxError-generating code.
So, that said, help!!
Adam
Adam Clark <bjrubble at shell16.ba.best.com> wrote:
> Hi all,
> Does anybody have a technique for avoiding syntax errors due to blank,
> unindented lines? I'm getting these on a regular basis, and I haven't
> figured out any reliable way to fix them. Sometimes if I take every line
> in the vicinity, backspace it to the end of the previous line, and
> reposition it, the errors go away. But often they don't, and I end up
> just deleting chunks and rewriting them until Python stops complaining.
> This is with Emacs and python-mode.
> Thanks
> Adam
More information about the Python-list
mailing list