Emacs 24.3 for windows, Tramp byte-code: Couldn't find a proper `ls' command

后端 未结 4 1874
深忆病人
深忆病人 2020-12-31 04:12

24.2 works well, but 24.3 bounded tramp got following error when open remote Linux system files or directories:

\"byte-code: Couldn\'t find a proper `ls\' co         


        
4条回答
  •  我在风中等你
    2020-12-31 04:42

    I had the same problem after switching to Emacs 24.3. The solution was to upgrade to the latest Tramp 2.2.7. Here is what I did:

    1. downloaded http://ftp.gnu.org/gnu/tramp/tramp-2.2.7.tar.gz
    2. unpacked the archive to my ~/.emacs.d/src. I am using emacs-starter-kit which adds this directory and all its subdirectories to the load-path. Otherwise follow the instructions in the Tramp's INSTALL file.
    3. used Cygwin bash to configure and compile the files. I don't use Cygwin's Emacs normally but it is convenient to have it for occasions like this.
    4. deleted the old tramp's el and elc files in my emacs/lisp/net for safety.
    5. restarted Emacs of course.

    Do M-x tramp-version to make sure it is installed correctly. Now tramp works everywhere (dired, eshell, shell, etc).

提交回复
热议问题