|
From: | Andreas Röhler |
Subject: | bug#22983: syntax-ppss returns wrong result. |
Date: | Sun, 13 Mar 2016 19:52:13 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.5.0 |
On 11.03.2016 16:15, Alan Mackenzie wrote:
Hello, Emacs. The fundamental contract in syntax-ppss is that (syntax-ppss POS) returns the same value as (parse-partial-sexp (point-min) POS) (with the exception of elements 2 and 6). This is currently not always the case. In the master branch, emacs -Q and visit xdisp.c with C-x C-f. Follow this recipe: M-: (syntax-ppss-flush-cache 1) M-: (setq ppss-0 (syntax-ppss 40000))
(setq ppss-0 (syntax-ppss 40000) moved point - see attachment. Should it?
moves-point.png
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |