all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Javier <nospam@nospam.com>
To: help-gnu-emacs@gnu.org
Subject: Re: tramp mode locale for dir listings
Date: Fri, 21 Aug 2015 23:09:24 +0000 (UTC)	[thread overview]
Message-ID: <mr8b34$276$1@speranza.aioe.org> (raw)
In-Reply-To: 8xxr3mwqpfm.fsf@village.keycorner.org

How are you customizing the sorting?  The default is aphabetized as
though the initial dot of dotfiles didn't exist.

Are you using .dir-locals.el files to customize the sorting in the
browsed directory or in its parent dirs?  Looking for those files is
diabled in tramp for the sake of performance since looking for them in
all the parent dirs would be too slow.

(info "(emacs) Directory Variables")

  Emacs searches for `.dir-locals.el' starting in the
  directory of the visited file, and moving up the directory tree.  To
  avoid slowdown, this search is skipped for remote files.  If needed,
  the search can be extended for remote files by setting the variable
  `enable-remote-dir-locals' to `t'.


Hikaru Ichijyo <ichijyo@macross.sdf.jp> wrote:
> When I list directories locally in Dired, they show up the way I like,
> with "C" locale, dotfiles listed first.
> 
> When I connect to a remote directory via Tramp, usually I get some other
> locale, with files/dirs aphabetized as though the initial dot of
> dotfiles didn't exist.  This means lots of dotfiles are mixed in with
> regular non-dot files in the listing, but Dired only does this to remote
> machines.
> 
> Is there any kind of variable I can set to get a "C" locale for Dired
> listings whether the target is remote or local?
> 


  reply	other threads:[~2015-08-21 23:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-21 21:53 tramp mode locale for dir listings Hikaru Ichijyo
2015-08-21 23:09 ` Javier [this message]
2015-08-21 23:33   ` Hikaru Ichijyo
2015-08-22 18:39 ` Michael Albinus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='mr8b34$276$1@speranza.aioe.org' \
    --to=nospam@nospam.com \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.