[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 305dbc7 2/4: Move description of value to syntax-ppss functio
Re: master 305dbc7 2/4: Move description of value to syntax-ppss function.
Sat, 15 Feb 2020 11:23:55 -0500
On Sat, 15 Feb 2020 at 10:14, Dmitry Gutov <address@hidden> wrote:
> >> min-depth too, but, like last-complete-sexp-start, these fields in
> >> values returned by syntax-ppss are unreliable/undefined, so they won't
> >> be used in most Lisp programs anyway.
> > I might be biased by having worked on the lisp indentation code which
> > uses those fields quite a bit.
> So... Lisp indentation code calls parse-partial-sexp directly?
Yes, syntax-ppss isn't useful there because changing the indentation
invalidates the cache.
> Anyway, I said min-depth is okay, but if we're going to have
> comment-depth, maybe min-depth starts to sound more ambiguous.
I don't think so, unqualified "depth" refers to parens, as in the 0th field.