Re: [Python-mode] myrkwid bug with backspace/delete
Am 31.03.2011 17:36, schrieb Barry Warsaw: Hi Andreas, myrkwid branch still has a minor problem. -snip snip- class Foo: def foo(self): pass -snip snip- Put point at the end of the 'pass' line. Hit return. Indentation is correct. However backspace/delete never moves. Cheers, -Barry Hi Barry, checked in fixes. Also cured a mistake of 745208'-fix, where python- and emacs-lisp logic has been came across... Cheers Andreas ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode
Re: [Python-mode] myrkwid bug with backspace/delete
Am 01.04.2011 21:58, schrieb Barry Warsaw: On Apr 01, 2011, at 12:31 PM, Andreas Röhler wrote: checked in fixes. Also cured a mistake of 745208'-fix, where python- and emacs-lisp logic has been came across... Thanks Andreas! Things are looking better, but still not quite perfect. ;) -snip snip- def foo(): a = bar(one=1, two=2, three=3) -snip snip- Put point at the closing parenthesis and hit return. You get lined up under the 't' in 'three' whereas you should be lined up under the 'a'. Hi Berry, it's lined below `t' indicating the multiline character. I'm afraid we are here in a sphere, were people will ask for different styles. Unless I miss something. What about storing that as a bug report and coming back at a later time? BTW after merge would adress the execute/shell/unicode errors. OTOH if you think it must be now it will be now... :-) Cheers Andreas Cheers, -Barry ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode
Re: [Python-mode] myrkwid bug with backspace/delete
On Apr 01, 2011, at 10:45 PM, Andreas Röhler wrote: Am 01.04.2011 21:58, schrieb Barry Warsaw: On Apr 01, 2011, at 12:31 PM, Andreas Röhler wrote: checked in fixes. Also cured a mistake of 745208'-fix, where python- and emacs-lisp logic has been came across... Thanks Andreas! Things are looking better, but still not quite perfect. ;) -snip snip- def foo(): a = bar(one=1, two=2, three=3) -snip snip- Put point at the closing parenthesis and hit return. You get lined up under the 't' in 'three' whereas you should be lined up under the 'a'. Hi Berry, it's lined below `t' indicating the multiline character. Right. But after the closing of the bar() function call, the next line can't possibly occur under the 't' because you'll get an IndentationError: -snip snip- def foo(): a = bar(one=1, two=2, three=3) x = 7 -snip snip- ## working on region in file /tmp/python-16786-mj.py... Traceback (most recent call last): File stdin, line 1, in module File /tmp/python-16786-mj.py, line 5 x = 7 ^ IndentationError: unexpected indent I'm afraid we are here in a sphere, were people will ask for different styles. Unless I miss something. Perhaps I didn't explain it well. Does the above example (default behavior for current myrkwid branch) make sense? What about storing that as a bug report and coming back at a later time? BTW after merge would adress the execute/shell/unicode errors. OTOH if you think it must be now it will be now... :-) This one I think has to be fixed now :) Cheers, -Barry signature.asc Description: PGP signature ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode
Re: [Python-mode] myrkwid bug with backspace/delete
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.04.2011 22:49, schrieb Barry Warsaw: On Apr 01, 2011, at 10:45 PM, Andreas Röhler wrote: Am 01.04.2011 21:58, schrieb Barry Warsaw: On Apr 01, 2011, at 12:31 PM, Andreas Röhler wrote: checked in fixes. Also cured a mistake of 745208'-fix, where python- and emacs-lisp logic has been came across... Thanks Andreas! Things are looking better, but still not quite perfect. ;) -snip snip- def foo(): a = bar(one=1, two=2, three=3) -snip snip- Put point at the closing parenthesis and hit return. You get lined up under the 't' in 'three' whereas you should be lined up under the 'a'. Hi Berry, it's lined below `t' indicating the multiline character. Right. But after the closing of the bar() function call, the next line can't possibly occur under the 't' because you'll get an IndentationError: Yep. I don't think anybody would want to be under the 't' in this case. Georg -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iEUEARECAAYFAk2WQkgACgkQN9GcIYhpnLAmtACYq15I6icPlqIvJfbjnVx8Yu/l nQCfefNr6CtZdCN8B6O2qlSDp04i6Ns= =iNhI -END PGP SIGNATURE- ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode