[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: +1 char strings as open-bracket/close-bracket
From: |
Joost Kremers |
Subject: |
Re: +1 char strings as open-bracket/close-bracket |
Date: |
25 Jun 2009 11:19:20 GMT |
User-agent: |
slrn/0.9.9 (Linux) |
Kokor Hekkus wrote:
> Any way of modifying the syntax table to identify a string of more
> than one character as an open-bracket or a close-bracket character.
> For instance, you might do:
>
> (modify-syntax-entry ?^ "($")
> (modify-syntax-entry ?$ ")^")
>
> ...to make ^ and $ match each other (from EmacsWiki). How would I
> make the two character strings '#>' and '<#' match in the same way?
> The above doesn't work.
if i do C-h f modify-syntax-entry RET, somewhere in the help buffer, it
says:
"Only single-character comment start and end sequences are represented thus.
Two-character sequences are represented as described below."
i guess that would be a starting point for you to look at.
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)