[Python-Dev] Re: Inline::caveat

Charles G Waldman cgw@alum.mit.edu
Thu, 23 Aug 2001 11:27:31 -0500

 > It's also harder to maintain because it's harder to edit and debug.
 > Maybe all them fancy IDEs you youngin's use can easily support editing
 > mutiple different languages in the same file, but if so, let me know!
 > The tools/editors/debuggers I'm familiar with don't deal with any of
 > that very well, if at all.

I agree that debugging any Inline code is going to be difficult (it's
already tricky enough debugging C modules generated by SWIG), but as
far as editor support goes - the "fancy IDE" of choice (XEmacs, of
course) actually can support such mixed-language editing, once you've
loaded up the appropriate elisp and done some customization...

Have you seen the "MMM" package?  MMM stands for "Multiple Major
Modes" which allows you to have, just like the name suggests, multiple
major modes within one buffer.  I have used this successfully for
editing HTML with embedded JavaScript (although I hate to admit that I
have written such junk!).  You can get it at:


This package seems to be little-known.  Maybe it should be added to
the XEmacs package database?  (I'll bring this up on xemacs-beta)