BufLeave/Enter autosave and line numbers