Mercurial > cpython-lru_cache-weakref
diff Misc/python-mode.el @ 3812:6d324fbafadc legacy-trunk
#comment update, re: py-mode-syntax-table
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Wed, 24 Jul 1996 18:32:08 +0000 |
| parents | b9a0434d2cb6 |
| children | ca36e308e33d |
line wrap: on
line diff
--- a/Misc/python-mode.el Wed Jul 24 18:26:53 1996 +0000 +++ b/Misc/python-mode.el Wed Jul 24 18:32:08 1996 +0000 @@ -323,10 +323,11 @@ ( ?\* . "." ) ( ?\+ . "." ) ( ?\- . "." ) ( ?\/ . "." ) ( ?\< . "." ) ( ?\= . "." ) ( ?\> . "." ) ( ?\| . "." ) - ;; Guido and I disagree about this. Underscore should be - ;; symbol constituent by not word. For historical - ;; reasons, I leave it as is. -baw - ;;( ?\_ . "_" ) ; underscore is legit in symbols, but not words + ;; for historical reasons, underscore is word class + ;; instead of symbol class. it should be symbol class, + ;; but 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. -baw ( ?\_ . "w" ) ; underscore is legit in words ( ?\' . "\"") ; single quote is string quote ( ?\" . "\"" ) ; double quote is string quote too
