From: "Andreas Röhler" <andreas.roehler@online.de>
To: emacs-devel@gnu.org
Cc: Alan Mackenzie <acm@muc.de>, Dmitry Gutov <dgutov@yandex.ru>
Subject: Re: Bug #22983 (syntax-ppss returns wrong result) is still open. Could we fix it before the release, please.
Date: Tue, 14 Jun 2016 11:17:26 +0200 [thread overview]
Message-ID: <575FCBA6.60003@online.de> (raw)
In-Reply-To: <20160611195821.GF2776@acm.fritz.box>
On 11.06.2016 21:58, Alan Mackenzie wrote:
> I'm fighting blindfolded with my hands tied behind my back here. My
> gut feeling is that there's something wrong with the whole idea. Where
> is the documentation for the font-lock-dont-widen (etc.) mechanism? It
> has to exist.
Hi Alan,
the whole thing needs to be reflected from bottom. Not tied to
exceptions like font-lock-dont-widen.
Why syntax-ppss might be useful at all? You told me the case lately: it
provides a cache.
Okay. But when we really need the cache?
The solutions IMHO is first to restrict all usage of syntax-ppss to real
necessity, employ parse-partial-sexp as far as possible instead. Once
syntax-ppss is reduced and restricted, fixing and tailoring it should be
easier.
Cheers,
Andreas
next prev parent reply other threads:[~2016-06-14 9:17 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-07 22:09 Bug #22983 (syntax-ppss returns wrong result) is still open. Could we fix it before the release, please Alan Mackenzie
2016-06-07 22:15 ` Dmitry Gutov
2016-06-07 22:48 ` Alan Mackenzie
2016-06-07 23:25 ` Dmitry Gutov
2016-06-11 10:07 ` Alan Mackenzie
2016-06-11 16:10 ` Dmitry Gutov
2016-06-11 19:50 ` Alan Mackenzie
2016-06-11 22:52 ` Dmitry Gutov
2016-06-12 9:34 ` Alan Mackenzie
2016-06-12 22:58 ` Dmitry Gutov
2016-06-13 1:44 ` Clément Pit--Claudel
2016-06-13 12:28 ` Alan Mackenzie
2016-06-13 12:56 ` Stefan Monnier
2016-06-13 13:28 ` Drew Adams
2016-06-13 15:36 ` Dmitry Gutov
2016-06-14 14:55 ` Alan Mackenzie
2016-06-13 21:12 ` John Wiegley
2016-06-13 21:16 ` John Wiegley
2016-06-08 12:43 ` Stefan Monnier
2016-06-11 10:24 ` Alan Mackenzie
2016-06-11 15:00 ` Stefan Monnier
2016-06-11 16:29 ` Dmitry Gutov
2016-06-11 21:24 ` Stefan Monnier
2016-06-11 21:44 ` Alan Mackenzie
2016-06-11 21:49 ` Stefan Monnier
2016-06-11 22:13 ` Alan Mackenzie
2016-06-12 4:06 ` Stefan Monnier
2016-06-11 22:17 ` Dmitry Gutov
2016-06-11 22:21 ` Dmitry Gutov
2016-06-11 16:32 ` Dmitry Gutov
2016-06-11 19:58 ` Alan Mackenzie
2016-06-11 22:28 ` Dmitry Gutov
2016-06-14 9:17 ` Andreas Röhler [this message]
2016-06-15 22:11 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=575FCBA6.60003@online.de \
--to=andreas.roehler@online.de \
--cc=acm@muc.de \
--cc=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.