help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing string delimiter character to be matching curly brackets


From: Stefan Monnier
Subject: Re: changing string delimiter character to be matching curly brackets
Date: Mon, 17 Sep 2007 23:46:55 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

> Either the syntax is wrong or the strategy is. (I'm guessing the
> latter.)

Both.  Emacs's syntax tables have no support for nestable string syntax.
The start and end of a string need to be the same char.  The closest you can
get without going through significantly more efforts is to mark them as
string-fence such that both { and } can start or end a string, i.e. }hello}
and }hello{ are both strings.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]