emacs-devel
[Top][All Lists]
Advanced

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

Re: antlr-mode.el - need some support by python.el


From: Dmitry Gutov
Subject: Re: antlr-mode.el - need some support by python.el
Date: Mon, 02 Mar 2015 00:25:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0

Anyway, if prog-indent-line calls `save-restriction' and `widen', the indent calculation functions won't have to, and we can disrecommend them doing that (and change the modes in Emacs not to do that).

Then multi-mode packages can use `narrow' to calculate indentation in submode regions without problem, as long as they know what to do about syntax-ppss cache.



reply via email to

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