From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] widen-limits c331b66: Implement buffer-widen-limits functionality Date: Thu, 24 Mar 2016 11:20:09 -0400 Message-ID: References: <20160322022539.16038.77264@vcs.savannah.gnu.org> <8737riqouj.fsf@gmail.com> <221845e0-b194-433e-bfbc-105272ae5752@default> <87twjyp21k.fsf@gmail.com> <56F242E0.7060004@online.de> <877fgtpfrw.fsf@gmail.com> <56F293E7.2000703@online.de> <87a8lpnusg.fsf@gmail.com> <56F2CEDA.6060004@online.de> <87fuvgn3md.fsf@gmail.com> <87poukha9x.fsf@gmail.com> <6363ed53-2385-4bd2-9c3a-d2f41bfec4ff@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458833143 19034 80.91.229.3 (24 Mar 2016 15:25:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Mar 2016 15:25:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 24 16:25:30 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aj78c-0001Lr-Ai for ged-emacs-devel@m.gmane.org; Thu, 24 Mar 2016 16:25:30 +0100 Original-Received: from localhost ([::1]:51002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj78b-0001KM-FR for ged-emacs-devel@m.gmane.org; Thu, 24 Mar 2016 11:25:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj78J-0001K5-KR for emacs-devel@gnu.org; Thu, 24 Mar 2016 11:25:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aj78E-000560-LT for emacs-devel@gnu.org; Thu, 24 Mar 2016 11:25:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:57527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj78E-00054p-FL for emacs-devel@gnu.org; Thu, 24 Mar 2016 11:25:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aj78B-0000yR-84 for emacs-devel@gnu.org; Thu, 24 Mar 2016 16:25:03 +0100 Original-Received: from 69-196-182-150.dsl.teksavvy.com ([69.196.182.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Mar 2016 16:25:03 +0100 Original-Received: from monnier by 69-196-182-150.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Mar 2016 16:25:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-196-182-150.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:kSdMbiarNWZqtdWr/ajJ0Yyw5Ks= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:202179 Archived-At: > The important part is to define one or more "meaningful" behaviors > for any given context (such as Info). Indeed, there can be several "meaningful" choices. Currently, narrowing doesn't say anything about what is being narrowed or why, so we can't distinguish between different cases, which means that it's impossible for something like font-lock or syntax-ppss (which can require additional contextual info in order to correctly process the narrowed pat of the buffer) to know how much to widen. Stefan