Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug in completion/expansion of files with LANG=C
- X-seq: zsh-workers 22148
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: bug in completion/expansion of files with LANG=C
- Date: Sun, 8 Jan 2006 15:16:46 -0800
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20060108180309.01082ac4.p.w.stephenson@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20060106215829.GG10111@xxxxxxxxxxxxx> <20060107224447.GA30232@xxxxxxxxxxxxx> <1060108055620.ZM15382@xxxxxxxxxxxxxxxxxxxxxxx> <20060108080621.GA32692@xxxxxxxxxxxxx> <20060108180309.01082ac4.p.w.stephenson@xxxxxxxxxxxx>
On Sun, Jan 08, 2006 at 06:03:09PM +0000, Peter Stephenson wrote:
> You mean output everything remaining in the string as special codes
> rather than real (multibyte) characters? Yes, that would make sense.
I didn't code that up yet, but I did commit an improved version of
mb_niceformat() that avoids truncating a name at the first erroneous
character (taking into account your other feedback on my prior patch).
> This would make my patch for probing for wcswidth() redundant.
Cool -- I was hoping that would be the case. I got rid of all the code
that used wcswidth().
> I think it really needs the length of the string here. The width
> produced by wcs_nicechar() is a printing width, which isn't the same.
I see that I misread what the returned width was measuring. Thanks!
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author