[Python-bugs-list] [ python-Bugs-451841 ] python-mode indentation bug
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 22 Apr 2002 07:52:20 -0700
Bugs item #451841, was opened at 2001-08-16 19:26
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=451841&group_id=5470
Category: Demos and Tools
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 4
Submitted By: Barry Warsaw (bwarsaw)
Assigned to: Barry Warsaw (bwarsaw)
Summary: python-mode indentation bug
Initial Comment:
In test_uu.py, python-mode starts indenting weirdly
towards the bottom. I think it's a bug in XEmacs'
21.4's buffer-syntactic-context
----------------------------------------------------------------------
>Comment By: Barry Warsaw (bwarsaw)
Date: 2002-04-22 10:52
Message:
Logged In: YES
user_id=12800
Attached is a patch that fixes the problem, which was due to
the ubiquitous "open-paren in column 0" bug/limitation in
XEmacs. This simply removes the XEmacs-specific
buffer-syntactic-context call in favor of using the slower
parse-partial-sexp call. Computers are a lot faster now, so
I think we can get away with just parsing the world. ;)
I'm going to test this for a few days before I commit it.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=451841&group_id=5470