emacs-devel
[Top][All Lists]
Advanced

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

Re: /srv/bzr/emacs/trunk r101338: * lisp/emacs-lisp/syntax.el (syntax-pp


From: Stefan Monnier
Subject: Re: /srv/bzr/emacs/trunk r101338: * lisp/emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
Date: Wed, 12 Feb 2014 19:13:35 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> I don't understand the problem.  Of course your hook would return
>> a completely different PPSS to use along with the new buffer position
>> from where to start parsing.
> How would it calculate the returned PPSS?

In many cases I'd expect the returned PPSS would be nil.

> And the hook won't have access to earlier cached values.

I don't see any reason why the hook wouldn't be able to call
syntax-ppss recursively.


        Stefan



reply via email to

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