From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Javier Newsgroups: gmane.emacs.help Subject: Re: tramp mode locale for dir listings Date: Fri, 21 Aug 2015 23:09:24 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <8xxr3mwqpfm.fsf@village.keycorner.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1440198629 30687 80.91.229.3 (21 Aug 2015 23:10:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2015 23:10:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 22 01:10:24 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZSvS4-0003CB-DI for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Aug 2015 01:10:24 +0200 Original-Received: from localhost ([::1]:44783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSvS3-0006EC-9b for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Aug 2015 19:10:23 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.eu.feeder.erje.net!news.mb-net.net!open-news-network.org!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 6vJ9bD1ekW8t4acxAcHFJw.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.18.6-1-ARCH (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:214476 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106759 Archived-At: 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 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? >