zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: zsh-workers@sunsite.dk
Subject: Re: Problems with non-ascii filenames
Date: Sun, 1 Mar 2009 08:19:10 +0100	[thread overview]
Message-ID: <237967ef0902282319m476fc6c6o33d125ad410cd20b@mail.gmail.com> (raw)
In-Reply-To: <20090301021516.GZ4629@prunille.vinc17.org>

2009/3/1 Vincent Lefevre <vincent@vinc17.org>:
> On 2009-03-01 00:28:39 +0200, İsmail Dönmez wrote:
>> touch xööx
>> echo x<tab>
>>
>> completes to xööx
>>
>> echo xö<tab>
>>
>> does nothing.
>
> Same problem under Linux:
>
>  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374913
>
>> Seems weird.
>
> Not weird. Normalization insensitivity is not implemented in zsh.

Assuming a filename usually only has one or two accented chars,
couldn't this be handled by using the _approximate completer?

% touch xo<0308>bap
% ls xöbap<tab>

for me this changes the commandline back to ls xo<0308>bap (without
the combining option set).

Unfortunately it seems you can only match the whole filename, not
prefixes, so maybe it's not as useful as I first thought...

-- 
Mikael Magnusson


  reply	other threads:[~2009-03-01  7:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-28  9:37 İsmail Dönmez
2009-02-28 18:22 ` Bart Schaefer
2009-02-28 19:35   ` Andrey Borzenkov
2009-02-28 23:06     ` Bart Schaefer
2009-02-28 21:28 ` Andrey Borzenkov
2009-02-28 22:28   ` İsmail Dönmez
2009-03-01  2:15     ` Vincent Lefevre
2009-03-01  7:19       ` Mikael Magnusson [this message]
2009-03-01  7:45       ` Andrey Borzenkov
2009-03-02  3:11         ` Vincent Lefevre
2009-03-01  8:05       ` Andrey Borzenkov
2009-03-02  3:16         ` Vincent Lefevre

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=237967ef0902282319m476fc6c6o33d125ad410cd20b@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=zsh-workers@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).