Frage

When using tramp+dired first I got this:
bad utf8 symbols

And I thought I solved it by these lines:

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

But now something wrong happens: bad filename, dirname length

also wasn't helpful: "LC_ALL=ru_RU.utf8"

Now Dired gets wrong filename(dirname) length. You can see this for dir including modification date (also blue).

And this happens for arbitrary filenames (not all of them).
So I cant manipulate files when Dired gets their incorrect names.
Can anybody help with that?

War es hilfreich?

Lösung

I reported this bug and the author fixed it. Just great!
Install Tramp from sources. Use 2.2.7-pre or higher.

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
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top