all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hikaru Ichijyo <ichijyo@macross.sdf.jp>
To: help-gnu-emacs@gnu.org
Subject: Re: tramp mode locale for dir listings
Date: Fri, 21 Aug 2015 18:33:54 -0500	[thread overview]
Message-ID: <8xxd1ygqkrh.fsf@village.keycorner.org> (raw)
In-Reply-To: mr8b34$276$1@speranza.aioe.org

Javier <nospam@nospam.com> writes:

> 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'.

I've made no deliberate configurations anywhere in Emacs to set my
locale, so any deviations from default behavior are not being caused by
anything I'm aware of.

My .bashrc does set LC_COLLATE=C, but I don't know if Dired absorbs
environment from your .bashrc or not.  For what it's worth, I also have
the same LC_COLLATE=C in most of the remote machines I use, but I'm not
getting that effect when I'm in Tramp.

Basically, I'd like to get LC_COLLATE=C behavior everywhere.  Is Dired
affected by environment setup in .bashrc?  Is Tramp?  .bashrc is the
only place I have any locale settings that I know of.

-- 
He that would make his own liberty secure must guard even his enemy from
oppression; for if he violates this duty, he establishes a precedent
that will reach to himself.
					--Thomas Paine


  reply	other threads:[~2015-08-21 23:33 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
2015-08-21 23:33   ` Hikaru Ichijyo [this message]
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=8xxd1ygqkrh.fsf@village.keycorner.org \
    --to=ichijyo@macross.sdf.jp \
    --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.