Emacs: Tramp doesn't work

前端 未结 6 1668
無奈伤痛
無奈伤痛 2020-11-29 22:01

I tried to open a remote file via Emacs via Tramp.

(require \'tramp)
(setq tramp-default-method \"ssh\")

I get a message from Emacs

6条回答
  •  臣服心动
    2020-11-29 22:10

    By the way -- if You need tramp to sudo -- You can actually sudo without tramp using sudoedit.

    Currently I'm using this bash function:

    erf () { SUDO_EDITOR="emacsclient -a emacs" sudoedit $@; }
    

提交回复
热议问题