]> granicus.if.org Git - python/commitdiff
#comment update, re: py-mode-syntax-table
authorBarry Warsaw <barry@python.org>
Wed, 24 Jul 1996 18:32:08 +0000 (18:32 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 24 Jul 1996 18:32:08 +0000 (18:32 +0000)
Misc/python-mode.el

index 82670c12e29050e6428c8494de8141c094659044..a86e4c77a1984a60fcf306976442be8e01052b8a 100644 (file)
@@ -323,10 +323,11 @@ Currently-active file is at the head of the list.")
            ( ?\* . "." ) ( ?\+ . "." ) ( ?\- . "." )
            ( ?\/ . "." ) ( ?\< . "." ) ( ?\= . "." )
            ( ?\> . "." ) ( ?\| . "." )
-           ;; 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