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: Syntax tables for multiple modes [was: bug#22983: syntax-ppss returns wrong result.] Date: Mon, 21 Mar 2016 16:49:38 -0400 Message-ID: References: <87egb5cpmg.fsf@gmail.com> <87a8lsd4j3.fsf@gmail.com> <87twk0beuh.fsf@gmail.com> <877fgvgbr1.fsf@gmail.com> <87fuvjeq9g.fsf@gmail.com> <20160321203358.GB3641@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458594009 26446 80.91.229.3 (21 Mar 2016 21:00:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2016 21:00:09 +0000 (UTC) Cc: Vitalie Spinu , Dmitry Gutov , emacs-devel To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 21 22:00:00 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 1ai6vf-000615-Fk for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2016 21:59:59 +0100 Original-Received: from localhost ([::1]:60376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai6ve-0004N6-VQ for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2016 16:59:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai6ll-00028p-2Y for emacs-devel@gnu.org; Mon, 21 Mar 2016 16:49:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ai6lh-00022n-R0 for emacs-devel@gnu.org; Mon, 21 Mar 2016 16:49:44 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:49034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai6lh-00022j-M9 for emacs-devel@gnu.org; Mon, 21 Mar 2016 16:49:41 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id u2LKo9KJ017337; Mon, 21 Mar 2016 16:50:09 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C234A60587; Mon, 21 Mar 2016 16:49:38 -0400 (EDT) In-Reply-To: <20160321203358.GB3641@acm.fritz.box> (Alan Mackenzie's message of "Mon, 21 Mar 2016 20:33:58 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5617=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5617> : inlines <4542> : streams <1606670> : uri <2171606> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:202033 Archived-At: > Reading some of the posts on emacs-devel today, it strikes me that > narrowing might be the wrong tool for marking the boundaries of distinct > regions where different major modes are in effect. It seems to cause > nothing but trouble. That's why prog-indent-context just provides the boundaries of the current chunk but without narrowing. Stefan