From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8915 invoked from network); 13 Dec 2003 19:15:44 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Dec 2003 19:15:44 -0000 Received: (qmail 5742 invoked by alias); 13 Dec 2003 19:15:30 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6880 Received: (qmail 5660 invoked from network); 13 Dec 2003 19:15:30 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Dec 2003 19:15:30 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [4.11.8.53] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Dec 2003 19:15:29 -0000 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id hBDJFRm05308 for zsh-users@sunsite.dk; Sat, 13 Dec 2003 11:15:27 -0800 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to schaefer@closedmail.com using -f From: Bart Schaefer Message-Id: <1031213191527.ZM5307@candle.brasslantern.com> Date: Sat, 13 Dec 2003 19:15:27 +0000 In-Reply-To: <20031213160239.GT18859@strindberg.dsv.su.se> Comments: In reply to Jesper Holmberg "Sort order" (Dec 13, 5:02pm) References: <20031213160239.GT18859@strindberg.dsv.su.se> X-Mailer: Z-Mail (5.0.0 30July97) To: Zsh-users List Subject: Re: Sort order MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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. Unfortunately the completion code doesn't appear to make use of the locale-specific sorting order. I suspect this is because in some locales the ordering is not strictly defined, and the completion code must have a strict ordering for duplicate match detection. Or it may just be an oversight. 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?