[Top][All Lists]

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

Re: Syntax tables for multiple modes [was: bug#22983: syntax-ppss return

From: Dmitry Gutov
Subject: Re: Syntax tables for multiple modes [was: bug#22983: syntax-ppss returns wrong result.]
Date: Wed, 23 Mar 2016 17:28:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 03/23/2016 03:23 PM, Stefan Monnier wrote:

Maybe it's OK to design a multi-mode system which requires every major
mode that wants to play with it well (e.g. well enough to get the kind
of behavior we want for ERB) to basically rewrite its indentation code.

But this won't fly unless we also make it possible to use major modes
which haven't been rewritten in that way.

Supporting both approaches would also require some feature discovery mechanism, or hardcodng a list of modes that support the "advanced" way, somewhere.

Can we agree to shelve the PREVIOUS-CHUNKS/STRING-BEFORE/etc discussion until someone comes with a patch that shows a convincing usage of it, in multiple modes?

Preferably with some performance numbers, showing a corresponding improvement when used together with some multi-mode package.

reply via email to

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