[Python-mode] py-indent-line failure
Dan Davison
dandavison7 at gmail.com
Thu Feb 10 17:12:58 CET 2011
Barry Warsaw <barry at python.org> writes:
> On Feb 10, 2011, at 12:43 PM, Dan Davison wrote:
>
>>def f():
>> '''
>> docstring
>> '''
>>
>>With point in column zero on the line after the closing triple-quote,
>>py-indent-line fails with Wrong type argument: integerp, t.
>
> wfm: Emacs 23.2.1, python-mode.el r396
Yes, I confirm that. Broken in emacs 24.0.5.1 but works in 23.2.1. In
emacs23, in py-compute-indentation, (parse-partial-sexp bod (point))
returns an integer in 4th position, as opposed to t.
My emacs 24 was built from the git repo with HEAD at 41f7693196
(2011/02/02) and my python-mode git repo is at bfaf3a8d05 (2011/02/07)
Dan
>
> -Barry
> _______________________________________________
> Python-mode mailing list
> Python-mode at python.org
> http://mail.python.org/mailman/listinfo/python-mode
More information about the Python-mode
mailing list