小编Car*_*age的帖子

Emacs 24.3 for windows,Tramp byte-code:找不到合适的`ls'命令

24.2运行良好,但24.3 bounded tramp在打开远程Linux系统文件或目录时出现以下错误:

"byte-code: Couldn't find a proper `ls' command"
Run Code Online (Sandbox Code Playgroud)

我打开tramp trace并发现,所有远程搜索路径和文件路径都是通过某种东西扩展,在开头添加一个额外的"c:".结果是tramp既没有找到我要打开的命令也没有找到文件.

16:04:51.768000 tramp-get-connection-property (7) # process-buffer nil
16:04:51.769000 tramp-set-file-property (8) # c:/bin file-directory-p nil 
16:04:51.770000 tramp-get-file-property (8) # c:/usr/bin file-directory-p undef 
... 
16:04:59.531000 tramp-sh-handle-file-truename (5) # Check /c: 
16:04:59.532000 tramp-get-file-property (8) # c:/c: file-attributes-integer undef 
... 
16:04:51.773000 tramp-get-connection-property (7) # process-name nil 
16:04:51.773000 tramp-get-connection-property (7) # chunksize 0 
16:04:51.773000 tramp-set-connection-property (7) # last-cmd-time (20809 28067 773000 0) 
16:04:51.774000 tramp-send-string (10) # test -d c\:/usr/bin 2>/dev/null; echo tramp_exit_status $? 
Run Code Online (Sandbox Code Playgroud)

有人知道这个吗?提前致谢.

windows emacs tramp

15
推荐指数
3
解决办法
5398
查看次数

标签 统计

emacs ×1

tramp ×1

windows ×1