|
From: | Stefan Monnier |
Subject: | Re: [Patch] hard-widen-limits [was Re: Syntax tables for multiple modes [was: bug#22983: syntax-ppss returns wrong result.]] |
Date: | Tue, 22 Mar 2016 07:57:27 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> So the consumer will need to set this variable and always follow it by widen. > Hm. This also implies that each consumer will need to take care of current > narrowing and re-narrow to new limits. This doesn't sound right. > I am also not sure what the behavior of save-restriction should be. Should > save-restriction unwind hard limits as well? IIRC past discussions on this issue, one option was to merge your set-widen-limits into narrow-to-region by adding an optional argument `hard'. And yes, I think save-restriction should unwind hard limits. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |