[Patches] [ python-Patches-510288 ] Emacs auto-detect J/Python mode

noreply@sourceforge.net noreply@sourceforge.net
Mon, 22 Apr 2002 16:09:24 -0700


Patches item #510288, was opened at 2002-01-29 14:13
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=510288&group_id=5470

Category: Demos and tools
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Kevin J. Butler (kevinbutler)
>Assigned to: Barry Warsaw (bwarsaw)
Summary: Emacs auto-detect J/Python mode

Initial Comment:
Modify python-mode.el (v. 4.6) to auto-detect the 
interpreter based on:

- #! line  (a la 'get-auto-mode')
- import of Java-specific packages (defaults to (java 
javax org com)
- default to cpython (not py-default-interpreter, 
because the import test can only
detect jpython packages)

I'm not an elisp expert, so review and feedback is 
welcome!

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=510288&group_id=5470