John Cowan wrote:
On Fri, Nov 17, 2023 at 7:59 AM Antonio Diaz Diaz<anto...@gnu.org> wrote:
So this should be doable in GNU ed as soon as we find a way to reset
the 'read_only' flag. Maybe by changing the name of the file with 'f'?
Since ed does not have a 'set' command, to emulate this interface it would
be necessary to add two commands (or one command with a special argument).
I have finally implemented it so that it warns only once; the first time
that a command modifies a buffer loaded from a read-only file.
Antonio.