Is it possible to make only parts of a buffer read-only?
Say I have set two marks or line-numbers in the buffer and I would like to make everything between those two marks or line-numbers as read-only.
(read-only-mode) applies to the entire buffer but not to
parts of it.
Also, if possible, I would like the read-only parts of a buffer marked with a different background color say light beige.