Emacs 有没有办法填充包含一些只读字符的段落?

Is there a way in Emacs to fill a paragraph containing some read-only characters?

在 Emacs 中,我使用 cm-mode 和降价缓冲区。 cm-mode 插入一些只读字符以指示文档更改。当我发出 fill-paragraph 时,填充中止并显示消息 read-only Text

有没有办法填充包含几个只读字符的段落? (即填充后只读字符应该再次只读。)

绑定或临时设置 inhibit-read-only 为非零。 C-h v 告诉我们:

inhibit-read-only is a variable defined in C source code.

Its value is nil

Documentation:

Non-nil means disregard read-only status of buffers or characters.

If the value is t, disregard buffer-read-only and all read-only text properties. If the value is a list, disregard buffer-read-only and disregard a read-only text property if the property value is a member of the list.