Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: some unicode issues [was Re: PATCH: fix 4, was Re: unpatch: metafying zle line]



Clint Adams <clint@xxxxxxx> wrote:
> This addresses that problem, though I suspect that the string should be
> unmetafied elsewhere.  Yes? No?

Possibly, but most completion strings spend most of their life metafied.
In zrefresh() characters come in as (wide) characters for display;
completion lists, however, are initially metafied multibyte strings which
need to be unmetafied.  clnicezputs(), compzputs() and compnicezputs()
handle this character by character.  So it's normal to unmetafy at the last
possible moment.  Their may well be other special cases.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author