emacs-devel
[Top][All Lists]
Advanced

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

Re: forward-comment and syntax-ppss


From: Dmitry Gutov
Subject: Re: forward-comment and syntax-ppss
Date: Thu, 8 Dec 2016 23:25:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0

On 08.12.2016 22:34, Clément Pit--Claudel wrote:

Doesn't the following do that?

  (save-restriction (widen) (syntax-ppss))

(Or does this break the cache in some way?)

Depending on what we consider a "broken cache", it could have been broken before that call, by some other syntax-ppss caller that didn't call `widen' beforehand.

Of course, if the cache isn't indexed with point-min, like Stefan suggested in the other email.



reply via email to

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