Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh/complist colours improperly handle multibyte characters
- X-seq: zsh-workers 39700
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: zsh/complist colours improperly handle multibyte characters
- Date: Fri, 21 Oct 2016 08:48:29 -0700
- Cc: danielsh@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject:cc :mime-version; bh=zB8Ifefaq39A0fzxUghs1pFsRNQQbFsDq9puK+lqY2A=; b=SkxV9VsN4VQeiX75L6JducPJw+UJJN0sCurJ5mc9+gZEUuHyJKWYgwOsFq0/ZPmseN nBy5UAU+TTMVD+A/vTUxOmtaxVGN1va3R0TmgbPeIXR/EAXEaZuGwoNtX8xbcAxye1Lb 3hg8m4haUSNszd1z4as2Mv4Tt2Cr/FN9izoe0Onm7/k/5bTyO4Ds/+61DG8ayucHAiHu DahEKdgzvD4LPVcq26nyeePautmc+z3ARf0p8HjsDQh/8OkrT52HobUIFbyR6Youzw1z 7EsedfpMyR/Mr/O4NfL5f8bq7PyBNz3uXW71Uc/QfAjzJPsSSXwmwIj+6yLW1KOCkGBH 3jfQ==
- In-reply-to: <20161021093355.2fc2058b@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CGME20161021011017eucas1p1d1fceae920242e69b4426bc41cb3c064@eucas1p1.samsung.com> <etPan.58096283.690aeb81.31f@dani-mac.newcastle.edu.au> <20161021093355.2fc2058b@pwslap01u.europe.root.pri>
On Oct 21, 9:33am, Peter Stephenson wrote:
}
} Yes, unfortunately character-by-character analysis is built into
} completion at quite a low level.
I think this particular issue may be a lot more tractible than you
believe. clnicezputs() already has the MULTIBYTE_SUPPORT branch
that seems also to be needed by clprintfmt() -- I could probably
make an attempt to translate, but someone who has actually worked
with e.g. ZMB_nicewidth() and re-composing of bytes into multibyte
characters could probably do it faster.
The other part seems a plain pattern compilation issue. Neither of
these gets involved with comparing strings on the line to strings
in the candidates. This is all on the tail end where we already
have the matches and we're displaying them.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author