tags:

views:

38

answers:

1

I know that I can have multi-character comment delimiters, but how about multi-character parentheses, e.g. if I wanted to treat the character sequence "%{" as an opening parenthesis and "}%" as a closing one like this

%{

}%

+1  A: 

Emacs does not support this, see the info entry for syntax tables. Comments (and strings) have matching delimiters - but they also have corresponding "generic" syntax classes. The parenthesis class doesn't have similar support.

So, you're stuck with only single character parentheses.

Trey Jackson