when find-file-hook and dired-mode-hook, and current path not writable re-open tramp sudo edit automatic