[Top][All Lists]

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

Re: forward-comment and syntax-ppss

From: Dmitry Gutov
Subject: Re: forward-comment and syntax-ppss
Date: Fri, 16 Dec 2016 14:32:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0

On 16.12.2016 04:06, Drew Adams wrote:
From where I'm standing, the things you use it for (hide
buffer contents)

No.  Narrowing is not used to "hide buffer contents".

Very well. :)

That's not
the point of narrowing, even if it is one effect.  It's used to
make some buffer contents inaccessible to certain (many, typical,
ordinary) operations.  It is not just you who does not see parts
of the buffer; it is also Emacs features that do not perceive

Why should some facilities ignore narrowing, then? E.g. font-lock and indentation, which have traditionally done so.

At the base, narrowing is nothing more than binding the
meanings/behavior of `point-min' and `point-max'.

Yes. That's literally its definition.

No one has given an example of how narrowing makes things
hard "for many other facilities" - or even for one facility.

You haven't been paying attention.

reply via email to

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