From: Morita Sho <morita-pub-en-debian@inz.sakura.ne.jp>
To: Clint Adams <schizo@debian.org>,
501851@bugs.debian.org, zsh-workers@sunsite.dk
Subject: Re: Bug#501851: zsh: Completion fails if a directory name contains '(', ')' and 'Ą '.
Date: Sat, 11 Oct 2008 22:47:52 +0900 [thread overview]
Message-ID: <48F0AE88.1020307@inz.sakura.ne.jp> (raw)
In-Reply-To: <20081010231712.GA20915@scru.org>
Thanks for your quick reply.
I found that the difference between '()Ą'/[TAB] and '()Ā'/[TAB] is at line 372
of /usr/share/zsh/functions/Completion/Unix/_path_files.
tmp1=( $~tmp1 ) 2> /dev/null
When I typed '()Ą'/[TAB], tmp1 will be '\(\)Ą/*', and $~tmp1 is expanded to nothing.
When I typed '()Ā'/[TAB], tmp1 will be '\(\)Ā/*', and $~tmp1 is expanded to ()Ā/foo.
$~tmp1 expansion seems not working correctly for a pattern '\(\)Ą/*'.
% ls -R
.:
()Ā ()Ą
./()Ā:
foo
./()Ą:
foo
% tmp1='\(\)Ą/*'; print $~tmp1;
zsh: no matches found: \(\)Ą/*
% tmp1='\(\)Ā/*'; print $~tmp1;
()Ā/foo
But `print \(\)Ą/*` is correctly expanded to ()Ą/foo.
% print \(\)Ą/*
()Ą/foo
Regards,
--
Morita Sho <morita-pub-en-debian@inz.sakura.ne.jp>
next prev parent reply other threads:[~2008-10-11 14:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20081010230611.23133.42221.reportbug@debian>
2008-10-10 23:17 ` Clint Adams
2008-10-11 12:09 ` Richard Hartmann
2008-10-11 13:47 ` Morita Sho [this message]
2008-10-11 21:52 ` Peter Stephenson
2008-10-13 1:32 ` Morita Sho
2008-10-13 6:25 ` Richard Hartmann
2008-10-14 1:46 ` Morita Sho
2008-10-14 12:04 ` Peter Stephenson
2008-10-15 4:34 ` Morita Sho
2008-10-18 18:48 ` Peter Stephenson
2008-10-19 6:00 ` Morita Sho
2008-10-13 9:30 ` Peter Stephenson
2008-10-13 12:50 ` Richard Hartmann
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=48F0AE88.1020307@inz.sakura.ne.jp \
--to=morita-pub-en-debian@inz.sakura.ne.jp \
--cc=501851@bugs.debian.org \
--cc=schizo@debian.org \
--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).