[Top][All Lists]

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

Re: Problems with syntax-ppss: Was [... Apply `comment-depth' text prope

From: Andreas Röhler
Subject: Re: Problems with syntax-ppss: Was [... Apply `comment-depth' text properties when calling `back_comment'.]
Date: Fri, 11 Mar 2016 08:27:17 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.5.0

On 10.03.2016 14:01, Alan Mackenzie wrote:
Hello, Stefan.

On Wed, Mar 09, 2016 at 04:40:45PM -0500, Stefan Monnier wrote:
...., so if you have a problem with the implementation, fix it (or
report it as a bug, at the very least) and everyone else will benefit.
Perhaps you could fix the problems I've identified here and in my last
Why would I bother, since I don't even know of any real use case where
those problems are triggered?
OK, fine.  So we go with my approach to back_comment, then?
Well, given that syntax-ppss is not suitable for fixing back_comment,
the alternatives are not fixing it, substantially amending syntax-ppss,
using my new code, or fixing it some other way.  I really think it
should be fixed.  You don't want syntax-ppss to be changed.  Do you have
an idea for an "other way"?

There is neither a need nor a way to fix syntax-ppss : Determining syntax must check from beginning of buffer, as parse-partial-sexp does. parse-partial-sexp is in C, it's fast.



reply via email to

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