[Patches] [ python-Patches-510288 ] Emacs auto-detect J/Python mode
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 22 Apr 2002 16:15:01 -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!
----------------------------------------------------------------------
>Comment By: Barry Warsaw (bwarsaw)
Date: 2002-04-22 19:15
Message:
Logged In: YES
user_id=12800
There is a big problem with this patch: it's generated as a
reverse patch so all the lines it should be adding, it's
deleting instead.
Do you think you could:
- port your patch to python-mode.el 4.13 (the current CVS
version).
- regenerate your patch as a non-reversed patch?
If so, I'll re-examine this for inclusion in python-mode.
Also, I took assignment of this patch (I'd missed it the
first time around).
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=510288&group_id=5470