[Python-mode] Underscore syntax class

Barry Warsaw barry at python.org
Wed May 2 15:47:48 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Apr 26, 2007, at 11:46 PM, Ian Zimmerman wrote:

> This has the feel of a faq.

If there was a FAQ, it would be. ;)

> Forgive, I am a python newbie, and this
> issue, as strange as it may seem to you, could stop me from studying
> python further.

I hope it doesn't.  Python is so much more than python-mode.

A question, are you an FSF Emacs user or a XEmacs user?  I ask  
because my understanding is that FSF Emacs has its own python-mode  
these days that's different than ours.  I think most of the devs on  
this list use XEmacs, though of course we want it to be FSF Emacs  
compatible.  FSF Emacs python-mode maintainer doesn't communicate  
with us, AFAIK.

As for underscore in word class, the "historical" part is that Guido  
liked it that way, so that's the way it stayed.  I understand what  
you're saying though.

My suggestion would be to try rebinding it.  It seems like you know  
enough about how to do that and what to look for in breakage, and  
probably also how to fix such breakage.  Speaking solely for myself,  
I think we would accept patches that allowed python-mode to work  
either way, perhaps keyed off a new configuration variable (py- 
historical-underscore-behavior-p ?).

If you can come up with such patches, and it works on both XEmacs and  
FSF Emacs, let us know and we'd consider applying them.

- -Barry



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRjiWhXEjvBPtnXfVAQLNYQP9ELl7MnjF6/8GQTmIAt9aZrW3hMWtRLD9
isCr33GkxK1XmiVJvodq1Eb4aKCM5ujS+B7FM6duHihC1Mg0fIVq8yD2Ki6JTQpc
41ox5q3nSnonTfvfOf0vjv14vsvnpZnhcHE/mxevLbxAJacf8t7IMWOE6FauVxYl
YDZ4QdBYmr0=
=ADUh
-----END PGP SIGNATURE-----


More information about the Python-mode mailing list