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, 23 Mar 2015 16:03:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0

On 03/22/2015 11:59 PM, Stefan Monnier wrote:
But obeying something automatically is nice for correctness, even if the
client come has to opt-in, as long as the latter is easy to do.

It's very easy to do: take the dyn-bound var's data and narrow accordingly.

What would you replace all (most?) `widen' occurrences in cc-engine with, then?

(widen)
(when prog-submode-region
  (narrow-to-region (car prog-submode-region)
                    (cdr prog-submode-region)))

?



reply via email to

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