Subject: bug#23443: 25.0.93; Temporary change to syntax-table is in effect during syntax-propertize

From: Noam Postavsky <[email-masked]>
Date: Thu, 12 May 2016 06:05:00 -0400

close 23443
tags 23443 + notabug
quit

On Sun, May 8, 2016 at 3:12 PM, Dmitry Gutov <[email-masked]> wrote:
> Here's a possible stopgap:
>
> - Narrow the buffer to the snippet (just to be safe).
> - Bind syntax-propertize-function to nil.
> - Call scan-sexps.
> - Call (syntax-ppss-flush-cache snippet-beginning-position).

Thanks, this seems to be working well (implemented in [1]).

[1]: https://github.com/capitaomorte/yasnippet/pull/695