emacs-devel
[Top][All Lists]
Advanced

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

Re: forward-comment and syntax-ppss


From: Clément Pit--Claudel
Subject: Re: forward-comment and syntax-ppss
Date: Wed, 7 Dec 2016 17:23:42 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 2016-12-07 17:04, Alan Mackenzie wrote:
> You haven't seen "many" issues about syntax-ppss?  One is enough, if
> it's bad enough. Read up on bug #22983.  

Thanks, Alan.  I remember reading this long thread a while ago, though some of 
the stuff I had trouble following.

Stefan and you are in a better position than I am to assess the significance of 
that issue.  The only data point that I can share is that I've found multiple 
packages to be broken by narrowing, to the point that I don't use narrowing any 
more. Instead, I use a less invasive solution with two invisible overlays 
covering 1..(beginning of narrowed region) and (end of narrowed 
region)..(buffer-size).

Some packages use (point-min) when they really mean 1 (or, if one prefers, 
(save-restriction (widen) (point-min))), and things start breaking in the 
presence of narrowing; so basically, I don't really expect things to work 
smoothly when I use narrowing, and so I don't use it.

Clément.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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