emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A vision for multiple major modes: some design notes


From: John Wiegley
Subject: Re: A vision for multiple major modes: some design notes
Date: Mon, 13 Jun 2016 14:17:40 -0700
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.94 (darwin)

>>>>> Alan Mackenzie <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]