I sometimes edit files in emacs
where portions of the file are
documentation or something else that shouldn't be edited, and another
portions are "play areas" where I'm free to edit and create new text.
Question: can I make a portion of an emacs buffer readonly?
The simplest example would be making lines 1-100 readonly (for
example). A more complex example (similar to emacs bookmarks) would be
to make all text between [readonly]
and [/readonly]
uneditable.
I googled this, but couldn't find anything useful.