- '(( ?\( . "." ) ( ?\) . "." )
- ( ?\[ . "(]" ) ( ?\] . ")[" ) ;; all the other paren characters are now handled by
- ( ?\{ . ". 2b" ) ;; lily-specific indenting/matching code in lilypond-indent.el
- ( ?\} . ". 4b" )
- ( ?\< . "." )( ?\> . ".")
+ '(
+ ;; all the paren characters are now handled by
+ ;; lily-specific indenting/matching code in lilypond-indent.el
+ ;; Emacs' show-paren-function and XEmacs' paren-highlight use
+ ;; these slur-definitions through Lilypond specific scan-sexps.
+ ( ?\[ . "(]" ) ( ?\] . ")[" )
+ ( ?\( . "()" ) ( ?\) . ")(" )
+ ( ?\< . "(>" ) ( ?\> . ")<")
+ ( ?\{ . "(} 2" ) ; also 2nd char in begin of block-comment
+ ( ?\} . "){ 4" ) ; also 2nd char in end of block-comment
+ ( ?\% . "< 13" ) ; comment starter, 1st char in block-comments
+ ( ?\n . ">") ; newline: comment ender
+ ( ?\r . ">") ; formfeed: comment ender
+ ( ?\\ . "\\" ) ; escape characters (as '\n' in strings)
+ ( ?\" . "\"" ) ; string quote characters
+ ;; word constituents (e.g., belonging to a note)
+ ( ?\' . "w") ( ?\, . "w") ; transposing octaves
+ ;; punctuation characters (separate symbols from another)