From 42442e828f9d344244827b2dc4b4826f2f91f55a Mon Sep 17 00:00:00 2001 From: Timo Bingmann Date: Wed, 23 Jul 2025 10:20:09 -0700 Subject: [PATCH] fix tramp issues with direnv --- home/develop/emacs/custom.el | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/home/develop/emacs/custom.el b/home/develop/emacs/custom.el index 3b4f40f..adeb046 100644 --- a/home/develop/emacs/custom.el +++ b/home/develop/emacs/custom.el @@ -73,26 +73,26 @@ (setq remote-file-name-inhibit-auto-save-visited t) (setq remote-file-name-inhibit-cache nil) (setq remote-file-name-inhibit-locks t) -(setq tramp-auto-save-directory emacs-tmp-dir) -(setq tramp-copy-size-limit (* 1024 1024)) -(setq tramp-persistency-file-name (format "%s/tramp" emacs-tmp-dir)) -(setq tramp-use-scp-direct-remote-copying t) -(setq tramp-use-ssh-controlmaster-options nil) -(setq tramp-verbose 2) +;;(setq tramp-auto-save-directory emacs-tmp-dir) +;;(setq tramp-copy-size-limit (* 1024 1024)) +;;(setq tramp-persistency-file-name (format "%s/tramp" emacs-tmp-dir)) +;;(setq tramp-use-scp-direct-remote-copying t) +;;(setq tramp-use-ssh-controlmaster-options nil) +;;(setq tramp-verbose 2) -(connection-local-set-profile-variables - 'remote-direct-async-process - '((tramp-direct-async-process . t))) +;; (connection-local-set-profile-variables +;; 'remote-direct-async-process +;; '((tramp-direct-async-process . t))) -(connection-local-set-profiles - '(:application tramp :protocol "scp") - 'remote-direct-async-process) +;; (connection-local-set-profiles +;; '(:application tramp :protocol "scp") +;; 'remote-direct-async-process) -(setq magit-tramp-pipe-stty-settings 'pty) +;;(setq magit-tramp-pipe-stty-settings 'pty) -(with-eval-after-load 'tramp - (with-eval-after-load 'compile - (remove-hook 'compilation-mode-hook #'tramp-compile-disable-ssh-controlmaster-options))) +;; (with-eval-after-load 'tramp +;; (with-eval-after-load 'compile +;; (remove-hook 'compilation-mode-hook #'tramp-compile-disable-ssh-controlmaster-options))) ;; Disable version control for remote files (setq vc-ignore-dir-regexp