From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: forward-comment and syntax-ppss Date: Fri, 16 Dec 2016 19:25:58 +0000 Message-ID: <20161216192558.GA3858@acm.fritz.box> References: <20161207220447.GA4503@acm.fritz.box> <20161208201517.GB3120@acm.fritz.box> <20161209190747.GC2203@acm.fritz.box> <5a70902f-882e-f616-74b2-df6eb81fc70c@yandex.ru> <20161211101715.GA14084@acm.fritz.box> <51c0554f-40d0-37a5-b134-17058343aa3f@yandex.ru> <54c62db5-08e9-38bd-e6f7-c571039d376a@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1481917921 31473 195.159.176.226 (16 Dec 2016 19:52:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2016 19:52:01 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: Stefan Monnier , Drew Adams , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 16 20:51:58 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHyXt-0007XO-NV for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2016 20:51:57 +0100 Original-Received: from localhost ([::1]:34051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHyXy-0005Bh-2S for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2016 14:52:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHy9I-0002h8-5d for emacs-devel@gnu.org; Fri, 16 Dec 2016 14:26:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHy9D-0007xd-4A for emacs-devel@gnu.org; Fri, 16 Dec 2016 14:26:32 -0500 Original-Received: from ocolin.muc.de ([193.149.48.4]:27675 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1cHy9C-0007tK-Uo for emacs-devel@gnu.org; Fri, 16 Dec 2016 14:26:27 -0500 Original-Received: (qmail 50351 invoked by uid 3782); 16 Dec 2016 19:26:19 -0000 Original-Received: from acm.muc.de (p548C769B.dip0.t-ipconnect.de [84.140.118.155]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 16 Dec 2016 20:26:18 +0100 Original-Received: (qmail 3921 invoked by uid 1000); 16 Dec 2016 19:25:58 -0000 Content-Disposition: inline In-Reply-To: <54c62db5-08e9-38bd-e6f7-c571039d376a@yandex.ru> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210537 Archived-At: Hello, Dmitry. On Fri, Dec 16, 2016 at 02:32:26PM +0200, Dmitry Gutov wrote: > Why should some facilities ignore narrowing, then? E.g. font-lock and > indentation, which have traditionally done so. They don't. No text outside of the visible region is indented or fontified. But, if necessary, text outside the visible region is inspected to get the needed context for the operation within it. > > 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. I keep hearing about how complicaated narrowing supposedly is, but I can't help feeling that's due to misunderstandings about what narrowing actually is, or somebody attributing blame to narrowing when it really belongs elsewhere. I think it's quite a long time ago since anybody gave any examples of narrowing supposedly making things difficult. A reminder of what these things are would be most welcome now. -- Alan Mackenzie (Nuremberg, Germany).