help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TRAMP and ls programme


From: Michael Albinus
Subject: Re: TRAMP and ls programme
Date: Fri, 16 Jan 2009 16:56:31 +0100
User-agent: Gnus/5.101 (Gnus v5.10.10) Emacs/21.3 (hpux)

Peter Dyballa <address@hidden> writes:

> Hello!

Hi,

> For dired in GNU Emacs I have:
>
>       (setq insert-directory-program "gls" dired-use-ls-dired t)
>
> for which I can customise:
>
>        '(dired-listing-switches "-ahlN")
>
> TRAMP 2.1.15-pre uses with the sudo method locally /bin/ls, which
> does not understand -N (although I'm not sure whether it helps to
> make UTF-8 file name appear correctly). Can I convince TRAMP (in GNU
> Emacsen 22.3 and 23.0.60) to use /sw/bin/gls?

In `tramp-get-ls-command', Tramp checks for "ls" "gnuls" "gls" (in
this order). If you change the order, and if you add "/sw/bin" to the
remote path, it shall work.

Currently it is hardcoded this way. Maybe one could make it
customizable? If you have a patch for Tramp 2.1, we could try to
add it.

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]