From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: A vision for multiple major modes: some design notes Date: Sun, 24 Apr 2016 05:22:07 -0400 Message-ID: References: <20160420194450.GA3457@acm.fritz.box> <20160422202224.GC1873@acm.fritz.box> <20160423173144.GD4624@acm.fritz.box> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: ger.gmane.org 1461489745 448 80.91.229.3 (24 Apr 2016 09:22:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Apr 2016 09:22:25 +0000 (UTC) Cc: dgutov@yandex.ru, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 24 11:22:16 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 1auGF6-00079R-NC for ged-emacs-devel@m.gmane.org; Sun, 24 Apr 2016 11:22:16 +0200 Original-Received: from localhost ([::1]:54650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auGF6-0005BR-3F for ged-emacs-devel@m.gmane.org; Sun, 24 Apr 2016 05:22:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auGF3-00059l-9H for emacs-devel@gnu.org; Sun, 24 Apr 2016 05:22:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auGF2-0003i5-C4 for emacs-devel@gnu.org; Sun, 24 Apr 2016 05:22:13 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auGEx-0003e3-NY; Sun, 24 Apr 2016 05:22:07 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1auGEx-0002Og-3k; Sun, 24 Apr 2016 05:22:07 -0400 In-reply-to: <20160423173144.GD4624@acm.fritz.box> (message from Alan Mackenzie on Sat, 23 Apr 2016 17:31:44 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:203241 Archived-At: [[[ 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. ]]] > I think Bison and Lex are somewhat special cases; they each divide a > file into three sections of equal status, rather than there being a > containing mode and sections contained within it. You may be right that this kind of case is less common, but the system should still handle it. > A workaround for this would be to have the first section being the > "super mode" and containing the second and third sections. The > delimiter "%%" between sections 2 and 3 has space to hold both an island > close and an island open, despite what you say about this being > artificial, etc. That could work, but I think it would be cleaner if "island separator" were allowed too. > I don't see there would be an absolute need for there > to be a "close island" mark at the end of the buffer. I don't either. I just thought the design required one. If it doesn't, that is fine with me. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.