[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XKCD/541 compliance, anyone?
From: |
Marcin Borkowski |
Subject: |
Re: XKCD/541 compliance, anyone? |
Date: |
Fri, 05 Dec 2014 00:10:14 +0100 |
On 2014-12-04, at 23:34, Stefan Monnier wrote:
>> I have a dream: to have the s-exp functions ignore closing parens,
>> brackets etc. /after/, say, things matching
>
>> [;:B]-?
>
> You can use syntax-propertize-function to change the syntax class of
> those parens.
Ah. Do I get it correctly that functions like forward-sexp look at
syntax class of the character, and that you can change the syntax class
of some (but not all) parens in the buffer? If this is the case, it
would be really cool.
> Stefan
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University