Sébastien Miquel <sebastien.miq...@posteo.eu> writes:
> On second thought, I'm uneasy about my approach. If tangling fails, > the user might miss the error message since it is quickly replaced by > the tangling info. Ideally we should backup all the tangled files and > restore them all if a single one fails to ensure we're back to a > consistent state. > > I'm unsure what would be best practices here. In case of a remote > tangled files, I don't know if temporary files should be remote or > not, and what guarantees do emacs primitives such as ~rename-file~ > offer. Just 2c from me on how I'd like this to work as a user, when tangling fails: + Every file that could be tangled is tangled, or there's a variable which controls what to do on an error + Loud message at the end that lists all files which files failed to tangle -- Timothy