【问题标题】:Emacs dired+tramp, wrong filenames with UTF8Emacs dired+tramp,UTF8 文件名错误
【发布时间】:2012-12-22 10:43:47
【问题描述】:

当首先使用 tramp+dired 时,我得到了这个:

我认为我通过以下几行解决了它:

(setq tramp-remote-process-environment ())
(add-to-list 'tramp-remote-process-environment "LC_ALL=en_US.utf8" 'append)

但是现在发生了一些错误:

也没有帮助:“LC_ALL=ru_RU.utf8”

现在 Dired 得到错误的文件名(目录名)长度。您可以在 dir 中看到这个,包括修改日期(也是蓝色的)。

这发生在任意文件名(不是全部)上。
因此,当 Dired 的名称不正确时,我无法操作文件。
有人可以帮忙吗?

【问题讨论】:

    标签: emacs encoding utf-8 dired tramp


    【解决方案1】:

    我报告了这个错误,作者修复了它。太棒了!
    从源安装 Tramp。使用 2.2.7-pre 或更高版本。

    Obtain tramp
    Installation

    cd ~/src
    git clone git://git.savannah.gnu.org/tramp.git
    # also see INSTALL file in dir
    cd tramp
    autoconf
    ./configure --with-contrib
    make
    make install
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-12-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多