On Tue, Dec 21, 2021 at 5:21 PM Paul Eggert <egg...@cs.ucla.edu> wrote: > On 12/21/21 12:23, Jim Meyering wrote: > > Even with `mv -f` support, one must still either remove $@-t or otherwise > > ensure that it is writable. The read-only temporary may have been left > > behind > > from a preceding, interrupted run of the same rule. > > Yes, that's the "(though not perfect)" I alluded to. > > I just found out about Kevin Ryde's do-not-edit package, which tells > Emacs not to edit files with a "DO NOT EDIT" line. Have you tried it? > > https://user42.tuxfamily.org/do-not-edit/
Thanks. I'm giving it a try.