[Top][All Lists]

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

Re: syntax-ppss-flush-cache

From: Stefan Monnier
Subject: Re: syntax-ppss-flush-cache
Date: Fri, 21 Oct 2005 02:05:58 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> Replacing
>      (if (< beg (or (car (nth 10 syntax-ppss-last))
> by
>      (if (<= beg (or (car (nth 10 syntax-ppss-last))
> in `syntax-ppss-flush-cache' resolves this for me.

Indeed, this is correct, and I've installed a fix for it.  Thank you.

> I'm not sure whether
>    (while (and syntax-ppss-cache (> (caar syntax-ppss-cache) beg))
> should become
>    (while (and syntax-ppss-cache (>= (caar syntax-ppss-cache) beg))
> as well.

This shouldn't be needed.

> A related question:  Shouldn't
>                  (nth 2 syntax-ppss-last)
> become
>                  (nth 3 syntax-ppss-last)

Yes, indeed, that was a typo.


reply via email to

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