|
From: | Pierre Rouleau |
Subject: | Re: When is a syntax-propertize-function called when parse-sexp-lookup-properties is t for a current buffer? |
Date: | Tue, 5 Oct 2021 15:42:25 -0400 |
> Did you read this > > Only single-character comment start and end sequences are represented > thus. > Two-character sequences are represented as described below. > The second character of NEWENTRY is the matching parenthesis, > used only if the first character is ‘(’ or ‘)’. > in `modify-syntax-entry'? > > I did. That's why I wrote that I thought of using the following: (modify-syntax-entry ?< "(>" table) (modify-syntax-entry ?> ")<" table) But I can't because that would cause unbalancing in code where the > and < are used by themselves, not in << or >> pairs. > Weird/bad this isn't already in the mode BTW ... > > I agree. That's why I'm trying to improve it. -- /Pierre
[Prev in Thread] | Current Thread | [Next in Thread] |