From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: CC Mode in MMM Mode(s). Date: Fri, 08 Dec 2017 16:36:17 -0500 Message-ID: References: <83y3mkzw1n.fsf@gnu.org> <83mv2zzv7z.fsf@gnu.org> <643908a3-bec8-3ac1-38f7-4e73611478ef@yandex.ru> <20171203185946.GC5531@ACM> <20171204155238.GA5101@ACM> <9beb1b6c-7c37-da28-3451-3c2a440f309b@yandex.ru> <20171205190141.GA4745@ACM> <20171206181948.GA4098@ACM> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1512768999 20323 195.159.176.226 (8 Dec 2017 21:36:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2017 21:36:39 +0000 (UTC) Cc: spinuvit@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, acm@muc.de, eliz@gnu.org, tom@tromey.com To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 08 22:36:33 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNQJr-00051f-3i for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2017 22:36:31 +0100 Original-Received: from localhost ([::1]:39114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNQJy-00016T-2l for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2017 16:36:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNQJm-00014k-Vi for emacs-devel@gnu.org; Fri, 08 Dec 2017 16:36:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNQJm-00032t-2a for emacs-devel@gnu.org; Fri, 08 Dec 2017 16:36:26 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNQJe-0002wI-OL; Fri, 08 Dec 2017 16:36:18 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eNQJd-00049n-W9; Fri, 08 Dec 2017 16:36:18 -0500 In-reply-to: (message from Dmitry Gutov on Fri, 8 Dec 2017 01:43:18 +0200) 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:220802 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. ]]] > - No need to worry about putting the buffer into a modified state. I understand that. Text properties are designed to be considered part of the contents. But font-lock uses them, so it is possible to use them for things that reflect the contents and are not contents. > - Overlays expand when you insert some text inside. By default, mmm-mode > doesn't re-parse the buffer into submode chunks automatically (probably > because of performance concerns, more apparent back in the day), so that > was probably useful. Text properties expand, too. > - Overlays have properties. It's a more meaningful data structure, I > guess. Easier to build with. Do you mean, it is useful in the code to have a single overlay object to put the properties on, rather than putting them directly on the characters in the buffer? -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) Skype: No way! See https://stallman.org/skype.html.