[Python-mode] [Bug 818665] Re: colon causes error
Andreas Röhler
andreas.roehler at online.de
Mon Aug 1 07:51:52 CEST 2011
Am 31.07.2011 23:22, schrieb Glenn Linderman:
> Thanks for the quick response, Andreas. I haven't figured out how to do
> checkouts here,
Hi Glenn,
will make a bug-fix release pretty soon, as typing ":" should work :)
BTW getting the trunk is quite easy
Make sure you have bazaar installed at your system.
Then at a shell prompt type
bzr branch lp:python-mode
Should you see no files in your directory then, they are in the local
tree still.
bzr checkout
should deliver a working copy then.
Once you have a local branch
bzr pull lp:python-mode
updates it with the trunk (only needed if further commits have been done).
but commenting out that line does stop the beep....
> but.... it seems that py-electric-colon must be responsible for
> outdenting the else: that one might consider typing afterwards:
>
> if x:
> abc
> else:
>
> is no longer outdented when the : is typed.
>
So I have a usecase for keeping py-electric-colon...
BTW at
http://bazaar.launchpad.net/~python-mode-devs/python-mode/python-mode/revision/474
you get a button "download diff"
you may look at how the bug is fixed in the trunk - and maybe repair
your py-eletric-colon already
Thanks again,
Andreas
More information about the Python-mode
mailing list