mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
#comment update, re: py-mode-syntax-table
This commit is contained in:
parent
9e5a9c8c99
commit
fb3494276e
1 changed files with 5 additions and 4 deletions
|
|
@ -323,10 +323,11 @@ Currently-active file is at the head of the list.")
|
||||||
( ?\* . "." ) ( ?\+ . "." ) ( ?\- . "." )
|
( ?\* . "." ) ( ?\+ . "." ) ( ?\- . "." )
|
||||||
( ?\/ . "." ) ( ?\< . "." ) ( ?\= . "." )
|
( ?\/ . "." ) ( ?\< . "." ) ( ?\= . "." )
|
||||||
( ?\> . "." ) ( ?\| . "." )
|
( ?\> . "." ) ( ?\| . "." )
|
||||||
;; Guido and I disagree about this. Underscore should be
|
;; for historical reasons, underscore is word class
|
||||||
;; symbol constituent by not word. For historical
|
;; instead of symbol class. it should be symbol class,
|
||||||
;; reasons, I leave it as is. -baw
|
;; but if you're tempted to change it, try binding M-f and
|
||||||
;;( ?\_ . "_" ) ; underscore is legit in symbols, but not words
|
;; M-b to py-forward-into-nomenclature and
|
||||||
|
;; py-backward-into-nomenclature instead. -baw
|
||||||
( ?\_ . "w" ) ; underscore is legit in words
|
( ?\_ . "w" ) ; underscore is legit in words
|
||||||
( ?\' . "\"") ; single quote is string quote
|
( ?\' . "\"") ; single quote is string quote
|
||||||
( ?\" . "\"" ) ; double quote is string quote too
|
( ?\" . "\"" ) ; double quote is string quote too
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue