automatically back up stuff
indent 4 spaces in python mode, pair $ in latex mode