1

I would like to backup buffers before they are (auto) reverted.

This is nontrivial because the file a buffer is visiting isn't current, and the backup system normally works by duplicating the file the buffer visits.

  • I think we can run undo to go back to the version before auto-revert. – AhLeung Jun 24 '18 at 8:31
  • That seems unpleasant because the process would be (revert, undo, save buffer, backup, redo the revert, save buffer), which doesn't seem entirely safe. – PythonNut Jun 25 '18 at 20:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.