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: Removing prog-indentation-context Date: Mon, 28 Mar 2016 19:24:33 -0400 Message-ID: References: <20160322022539.16038.77264@vcs.savannah.gnu.org> <56F242E0.7060004@online.de> <877fgtpfrw.fsf@gmail.com> <56F293E7.2000703@online.de> <87a8lpnusg.fsf@gmail.com> <83r3f12oo5.fsf@gnu.org> <56F2D156.9040401@online.de> <83k2kt2i51.fsf@gnu.org> <56F2E643.4060903@online.de> <592bbafa-76ae-49d9-b5cd-644b3619a0d8@default> <87poukn8pl.fsf@gmail.com> <837fgs35q3.fsf@gnu.org> <8337rf3m4u.fsf@gnu.org> <877fgqef3r.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1459207508 6472 80.91.229.3 (28 Mar 2016 23:25:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2016 23:25:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 29 01:24:59 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 1akgWo-0003b9-Om for ged-emacs-devel@m.gmane.org; Tue, 29 Mar 2016 01:24:58 +0200 Original-Received: from localhost ([::1]:43449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akgWn-0007Pf-Jn for ged-emacs-devel@m.gmane.org; Mon, 28 Mar 2016 19:24:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akgWk-0007PP-3Q for emacs-devel@gnu.org; Mon, 28 Mar 2016 19:24:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akgWg-0001dd-Tb for emacs-devel@gnu.org; Mon, 28 Mar 2016 19:24:54 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akgWg-0001ck-Mu for emacs-devel@gnu.org; Mon, 28 Mar 2016 19:24:50 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1akgWc-0003XK-3Y for emacs-devel@gnu.org; Tue, 29 Mar 2016 01:24:46 +0200 Original-Received: from 107-179-153-73.cpe.teksavvy.com ([107.179.153.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2016 01:24:46 +0200 Original-Received: from monnier by 107-179-153-73.cpe.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2016 01:24:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 107-179-153-73.cpe.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:mzG6eU6KzhEzXR4/aKAipBvlIMY= 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:202370 Archived-At: >>> In that case, we'd be saddled with (font-lock|syntax-ppss)-dont-widen, but >> We really should fix this. `font-lock-dont-widen' is fundamentally >> broken (it's usually the major mode which tells font-lock not to widen >> because the major mode has narrowed in a special way, but then the user >> can re-narrow on top of that and this narrowing *should* be lifted >> during font-lock, but font-lock-dont-widen prevents it). > Wouldn't it also be fixed if font-lock and syntax-ppss used prog-widen > instead of widen? Probably, yes. Stefan