[Top][All Lists]

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

Re: python.el patch proposal: Respect `prog-indentation-context'.

From: Stefan Monnier
Subject: Re: python.el patch proposal: Respect `prog-indentation-context'.
Date: Tue, 30 Jun 2015 09:53:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> The basic idea, I think, would be to let the mode(s) change the syntax
> table when needed; and to have these changes be recorded by syntax.el so
> that syntax-ppss and friends could use the correct syntax table for a
> given region.

Right, AFAIK, the way syntax-ppss works, it should already be possible
to make it work right without any changes to submodes.

It would just require changes in syntax.el or having the outer mode
install pieces of advice on some of the syntax.el functions.


reply via email to

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