zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh-users List <zsh-users@sunsite.dk>
Subject: Re: Sort order
Date: Sat, 13 Dec 2003 19:15:27 +0000	[thread overview]
Message-ID: <1031213191527.ZM5307@candle.brasslantern.com> (raw)
In-Reply-To: <20031213160239.GT18859@strindberg.dsv.su.se>

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?


  reply	other threads:[~2003-12-13 19:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-13 16:02 Jesper Holmberg
2003-12-13 19:15 ` Bart Schaefer [this message]
2003-12-13 23:23   ` Jesper Holmberg
2003-12-15 18:08     ` Bart Schaefer

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=1031213191527.ZM5307@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /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 public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).