homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: python-mode indentation bug
Type: Stage:
Components: Demos and Tools Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: barry Nosy List: barry
Priority: low Keywords:

Created on 2001年08月16日 23:26 by barry, last changed 2022年04月10日 16:04 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
451841.txt barry, 2002年04月22日 14:52
Messages (2)
msg6009 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2001年08月16日 23:26
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
msg6010 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2002年04月22日 14:52
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.
History
Date User Action Args
2022年04月10日 16:04:20adminsetgithub: 34985
2001年08月16日 23:26:50barrycreate

AltStyle によって変換されたページ (->オリジナル) /