From: Michael Albinus <michael.albinus@gmx.de>
To: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: "Emacs Help \[help-gnu-emacs\]" <help-gnu-emacs@gnu.org>
Subject: Re: TRAMP and ls programme
Date: Fri, 16 Jan 2009 16:56:31 +0100 [thread overview]
Message-ID: <nq7i4v1byo.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <mailman.5046.1232117291.26697.help-gnu-emacs@gnu.org> (Peter Dyballa's message of "Fri\, 16 Jan 2009 15\:47\:55 +0100")
Peter Dyballa <Peter_Dyballa@Web.DE> 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.
next parent reply other threads:[~2009-01-16 15:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5046.1232117291.26697.help-gnu-emacs@gnu.org>
2009-01-16 15:56 ` Michael Albinus [this message]
2009-01-16 14:47 TRAMP and ls programme Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nq7i4v1byo.fsf@alcatel-lucent.de \
--to=michael.albinus@gmx.de \
--cc=Peter_Dyballa@Web.DE \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).