From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: A vision for multiple major modes: some design notes Date: Mon, 13 Jun 2016 14:17:40 -0700 Message-ID: References: <20160420194450.GA3457@acm.fritz.box> <8360vb6o7u.fsf@gnu.org> <20160421213323.GD1775@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1465853766 8440 80.91.229.3 (13 Jun 2016 21:36:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2016 21:36:06 +0000 (UTC) Cc: Eli Zaretskii , dgutov@yandex.ru, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 13 23:35:58 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 1bCZOT-0007nJ-K0 for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2016 23:27:37 +0200 Original-Received: from localhost ([::1]:59436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCZOS-0006CT-Od for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2016 17:27:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCZG5-0007Og-A5 for emacs-devel@gnu.org; Mon, 13 Jun 2016 17:18:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCZG3-0002qd-AM for emacs-devel@gnu.org; Mon, 13 Jun 2016 17:18:56 -0400 Original-Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:33457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCZFx-0002ov-Fj; Mon, 13 Jun 2016 17:18:49 -0400 Original-Received: by mail-pf0-x233.google.com with SMTP id y124so49848548pfy.0; Mon, 13 Jun 2016 14:18:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=/UWjc3ejzWqOjEArT/Zu0H7z6D5f9i66tlJmoO7uof8=; b=HnKNkmqeN8lq2RI0BvPL/hcQgK4D3QxXE3CyUemUbYHZLlhy/HPqmP6w5Qh/5YHSbZ nQM1cQLGngLqchveMK0sZ5rpeVmW7pWuR2GmjBMipDjPlCg70tm0dChyCjY5J0j1VEu4 I+17DZ/p36rH5AQmTnU0BwQu1XDtVPLSFklzCnbolyU8DiFng0+cCkO4/jzGjWNd9cZv sYAN0aGnaxY8f2z/T2pGhGz993zJniq68hNMGuSPPjYN1BJbh63wsa5TIAcSzHiLuiHa onfIa0+GFm3t+R1OU+0mE89DyDyTDGd8NteSaMS+3R4yrp3yu5PH+hIasWF8/rdbkQ4J +/Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=/UWjc3ejzWqOjEArT/Zu0H7z6D5f9i66tlJmoO7uof8=; b=c++FCuAx21XT3SbMdruolCd4/ymirK4pvw8UPWojz4iPqWzfB5f9waRdJkILyfVGlH Y7NTA0tz0RyMM9a9ncd+J5uBnypBHQ7tKDl072Jj/g3805yLxKHTBJxm9SKknSNucG/A jO2ekqz2IHqb4Gxsro8yf7fapSvnw7Zrw4t29zVKIohjSHwKnyEWHkF357Q74eudQjoj gET9MHnxtJyx08+SvWF/HRGWOVfV/zBD8yBYbyrEoxvUTgYLhReS2f9uIsEnzsDeSWYp ea4gEIwA2a5Fk+m0R/DDnu79cgVIiTik2ghal5CfmrAU6SFw6gxuTNXmTGYxAPxoEuP/ rS5A== X-Gm-Message-State: ALyK8tJS7nky4bBJExsivdCzCRc4X6jFxr3cDDWT/uXjOvPNGs+gx4WpOd/KPY+5/1Tutw== X-Received: by 10.98.35.10 with SMTP id j10mr24159525pfj.10.1465852728761; Mon, 13 Jun 2016 14:18:48 -0700 (PDT) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id y10sm21556046pas.24.2016.06.13.14.18.47 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 13 Jun 2016 14:18:47 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id C21DE6AD449; Mon, 13 Jun 2016 14:18:46 -0700 (PDT) In-Reply-To: <20160421213323.GD1775@acm.fritz.box> (Alan Mackenzie's message of "Thu, 21 Apr 2016 21:33:23 +0000") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.94 (darwin) Mail-Followup-To: Alan Mackenzie , Eli Zaretskii , emacs-devel@gnu.org, dgutov@yandex.ru X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::233 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:204348 Archived-At: >>>>> Alan Mackenzie writes: > The essence of major mode support is buffer local variables. (Things like > the syntax table and local key map are basically buffer local variables, > even though they are not accessible as such from Lisp.) So, at first sight, > each "island" in the buffer needs its own set of "buffer local" variables. I don't agree that this is the essence of major mode support. Another aspect of major modes is an expectation of which text properties might occur throughout the buffer, and where and why. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2