Is a 'bugfix' version of jed's pymode.sl editor config file available anywhere?

Brian van den Broek bvande at po-box.mcgill.ca
Wed Jun 9 19:07:25 EDT 2004


Kenneth McDonald said unto the world upon 08/06/2004 20:48:

> I just started using the jed editor, and am really happy with it--
> like emacs, but much, much friendlier. However, my python mode
> file (the one that came with the 0.99.16 precompiled version of
> jed that I got) isn't handling string highlighting properly--
> it doesn't understand that '''This 'string' isn't really a string'''
> is a single triple quoted string, and instead treats the interior
> ' marks as string delimiters as well as (correctly) treating the 
> ''' as single string delimiters. I took a quick look in pymode.sl
> and it didn't look hard to fix, for someone familiar with slang's
> DFA implmentation and its RE syntax--which I'm not :-( ). So
> I thought I would try here first.
> 
> Thanks for any suggestions,
> Ken

Hi Ken,

I'm pretty much a python newbie and I don't know jed. But I've noticed 
that every editor with a Python mode that I have tried (other than IDLE 
and possibly LEO) has this problem. One of the links on 
<http://www.python.org/emacs/python-mode/> has a discussion of various 
workarounds that you might find of use. It is, as the address implies, 
focused on emacs and Python, but I have found the advice generally 
applicable to the Python modes of other editors.

Hope that helps,

Brian vdB




More information about the Python-list mailing list