« Return to Thread: underscore syntax

Re: underscore syntax

by Barry Warsaw :: Rate this Message:

Reply to Author | View in Thread

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

On Nov 29, 2008, at 2:10 PM, skip@... wrote:

>> From a comment in python-mode.el:
>
>  ;; For historical reasons, underscore is word class instead of
>  ;; symbol class.  GNU conventions say it should be symbol class, but
>  ;; there's a natural conflict between what major mode authors want
>  ;; and what users expect from `forward-word' and `backward-word'.
>  ;; Guido and I have hashed this out and have decided to keep
>  ;; underscore in word class.  If you're tempted to change it, try
>  ;; binding M-f and M-b to py-forward-into-nomenclature and
>  ;; py-backward-into-nomenclature instead.  This doesn't help in all
>  ;; situations where you'd want the different behavior
>  ;; (e.g. backward-kill-word).
>
> I don't know if the "I" referenced here is Barry or Tim.

Ah yes, that was me.
- -B

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

iQCVAwUBSTGUz3EjvBPtnXfVAQKnewQAgTU8BiS1KyFXO6s17TvIZN0WG8brNsfd
mANyLg/Bq8B+HxsFRmIxL1bTNTze5NCiPgmDCkzOn9CCdQMJTimMZrmcS3D9twG1
lnZu+u+h9Y/NkbtVzJHF/hvQsAd74DZoYNSKdtEJIcOm+y9699nPOG5HbD9PKvaD
j9P5tivnCkY=
=HuoU
-----END PGP SIGNATURE-----
_______________________________________________
Python-mode mailing list
Python-mode@...
http://mail.python.org/mailman/listinfo/python-mode

 « Return to Thread: underscore syntax