From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: A vision for multiple major modes: some design notes Date: Fri, 22 Apr 2016 20:22:25 +0000 Message-ID: <20160422202224.GC1873@acm.fritz.box> References: <20160420194450.GA3457@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1461356567 15098 80.91.229.3 (22 Apr 2016 20:22:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Apr 2016 20:22:47 +0000 (UTC) Cc: emacs-devel@gnu.org, dgutov@yandex.ru To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 22 22:22:37 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 1athb2-0001U7-CU for ged-emacs-devel@m.gmane.org; Fri, 22 Apr 2016 22:22:36 +0200 Original-Received: from localhost ([::1]:39184 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1athb1-00086k-HS for ged-emacs-devel@m.gmane.org; Fri, 22 Apr 2016 16:22:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1athay-000847-0e for emacs-devel@gnu.org; Fri, 22 Apr 2016 16:22:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1athau-000818-08 for emacs-devel@gnu.org; Fri, 22 Apr 2016 16:22:31 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:19955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1athat-00080u-Mw for emacs-devel@gnu.org; Fri, 22 Apr 2016 16:22:27 -0400 Original-Received: (qmail 43796 invoked by uid 3782); 22 Apr 2016 20:22:26 -0000 Original-Received: from acm.muc.de (p548A5EE9.dip0.t-ipconnect.de [84.138.94.233]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 22 Apr 2016 22:22:24 +0200 Original-Received: (qmail 4024 invoked by uid 1000); 22 Apr 2016 20:22:25 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) 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 X-Received-From: 193.149.48.3 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:203192 Archived-At: Hello, Richard. On Fri, Apr 22, 2016 at 02:58:53PM -0400, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > The design seems to assume that every island starts with a > one-character delimiter that always starts an island, and that there > is anothehr one-character delimiter that always ends an island. > Is that really the intention, or did I misunderstand? That's not quite how I see it working. There needs to be some sort of delimiter to start an island which must be at least 1 character wide. On this character/one of these characters, the "super mode" will set an "open island" syntax-table text property. Similarly, there must be some delimiter at the end of the island to set a "close island" property on. For example, in a shell script with an embedded AWK script: VARIABLE=$(gawk '