From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3548 invoked from network); 13 Dec 2003 23:24:34 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Dec 2003 23:24:34 -0000 Received: (qmail 14187 invoked by alias); 13 Dec 2003 23:24:19 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6882 Received: (qmail 14132 invoked from network); 13 Dec 2003 23:24:19 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Dec 2003 23:24:19 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.238.4.143] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Dec 2003 23:24:18 -0000 Received: by elanus.its.uu.se (Postfix, from userid 204) id BD3054E6C; Sun, 14 Dec 2003 00:24:18 +0100 (NFT) Received: from elanus.its.uu.se(127.0.0.1) by elanus.its.uu.se via virus-scan id s20502; Sun, 14 Dec 03 00:24:12 +0100 Received: from localhost (NL04-165-13.STUDENT.UU.SE [10.11.165.13]) by elanus.its.uu.se (Postfix) with ESMTP id 454194E1B for ; Sun, 14 Dec 2003 00:24:12 +0100 (NFT) Received: from jesper by localhost with local (Exim 4.24) id 1AVJ6P-0001zW-8d for zsh-users@sunsite.dk; Sun, 14 Dec 2003 00:23:13 +0100 Date: Sun, 14 Dec 2003 00:23:13 +0100 From: Jesper Holmberg To: Zsh-users List Subject: Re: Sort order Message-ID: <20031213232313.GU18859@strindberg.dsv.su.se> Mail-Followup-To: Zsh-users List References: <20031213160239.GT18859@strindberg.dsv.su.se> <1031213191527.ZM5307@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1031213191527.ZM5307@candle.brasslantern.com> User-Agent: Mutt/1.5.4i * On Sat Dec 13, Bart Schaefer wrote: > On Dec 13, 5:02pm, Jesper Holmberg wrote: > } > } I have these language settings in my environment: > } > } LC_CTYPE=sv_SE > } LC_COLLATE=sv_SE > } > } However, zsh doesn't seem to respect these settings when doing a > } menu-complete. ... > However, none of this should apply to file names unless you're using > default (compctl) completion, because compsys uses shell globbing to > sort file matches and the globbing code _should_ be using locales. > > If you give the command > > print -l * > > do you see the files in same order that "ls" displays them, or in the > same order that menu completion offers them? print -l * works fine: % ls lare lere låre % print -l * lare lere låre So, print -l * gives the right order, but still menu-completion offers me the order låre lare lere. Jesper