[Top][All Lists]

[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: Thu, 13 Feb 2014 08:17:05 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> In many cases I'd expect the returned PPSS would be nil.
> What would the nil value mean? Beginning of a new subregion?

Yes, nil is the PPS state "outside of everything", e.g. at BoB.

>>> 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.
> Hm yes, that should work.

Of course, only on positions before the current one, to avoid


reply via email to

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