emacs-devel
[Top][All Lists]
Advanced

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

Re: CC Mode in MMM Mode(s).


From: Dmitry Gutov
Subject: Re: CC Mode in MMM Mode(s).
Date: Fri, 8 Dec 2017 01:43:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0

On 12/7/17 9:49 PM, 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. ]]]

Why does MMM use overlays, rather than text properties?

- No need to worry about putting the buffer into a modified state.

- 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.

- Overlays have properties. It's a more meaningful data structure, I guess. Easier to build with.



reply via email to

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