Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] General 256 colors bug – zle_highlight / fg_start_code, etc. is not respected (was: highlight test cases)
- X-seq: zsh-workers 43878
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [BUG] General 256 colors bug – zle_highlight / fg_start_code, etc. is not respected (was: highlight test cases)
- Date: Sun, 09 Dec 2018 19:13:34 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:in-reply-to:date :references; s=fm2; bh=BSn1p3UBf1c+XDwV4mHSrTfoEJ8U0vHYqRVSqxOi2 FM=; b=uQCiljzOZtOcx6OH27TYgiIIknTtIfvmcsjBAJE7W4Kkpoj90d0WDNCuW Uzr/2l0125DatxjBHl2/OsI0uspUucD+MYiIrNv30aYr8m5G7VkKtRVF/gm3LtDS MXotw1W63X5GXMtprQJL2Avr84JrOnVIZ2takyvv4PGQzB31vs4NbqmQ6uOfx5Z2 bhbYmYDq7DA0dYH8LEap2aKirXBSQ2WGMNfOqNMTEadtrnXyfOyKv/dMxvN5XYZ/ Hop4o/Rc/OcVmBlrdm2tpDefJchcFz3IffSmXP9K0xQ5D7rHN6LFaFZW68o6rp+9 rsS/k1ROTnxlJDrzBE6aeDREqP2Vg==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=BSn1p3UBf1c+XDwV4mHSrTfoEJ8U0vHYqRVSqxOi2 FM=; b=YYJqAW86RMoYbuwX8MvWVDlf6bo0+hXRqLNDc97Kja6fa6guDUt64Rb3w 524/dvg2tNYUp7pFhkOZj29n6iu18Nq0vIhO7PLQIHNAJ2tA5QD/ZIGyhjJLyq4b fQ1eEpz7MZiZm+AAYaPUVXP9OD2wWw60YMMswmNR9EzusDScyfLwDnDPgPZyd9Oj eLYoutAewb39n/kJUxckYI9PD4elo9pLqPt/HgWMHMcKP+VO5kxnbbz43swgCf7s 8XmbklZVGbJKUxtQfuecGwdhXdKsAaWWp+AT8DPRB2jQ+Fmc0Y0IVkC1WDD/nTDy 1R4lDor+hanwBsv8X5FNbZfAT7H9Q==
- In-reply-to: <CAKc7PVBDdWOaef6pku=81EoSGR-Qy45QQqLQ6q1txuUrTJrUYg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVDgEtfLAibbxRr36=UgPoPk8grvsH5G2+AOipr_vmt-cQ@mail.gmail.com> <2362-1541646201.813952@nGIL.zWP_.YhaK> <CAKc7PVAPxxtSaV5qMWzaueW+9_ZHXrHYX2032cHYYDq3Gh399w@mail.gmail.com> <20626-1541726901.821000@xGvJ.shtD.SkCN> <CAKc7PVBpL_HwKUHLD5mQCLmWszfnrbJ2ARyrkzVKsi6yStWeNA@mail.gmail.com> <31159-1543080743.164776@h8df.-SiL.hblq> <CAKc7PVDF1=izGKVqGUB++bpvse4fzg+xJ93K-0_ayzYW2cVZXQ@mail.gmail.com> <CAKc7PVBR2sVxPfA731V-HD0S2Qe6H5=dQpVc+-yhUM-yS6m2hQ@mail.gmail.com> <CAKc7PVBDdWOaef6pku=81EoSGR-Qy45QQqLQ6q1txuUrTJrUYg@mail.gmail.com>
Sebastian Gniazdowski wrote on Fri, 07 Dec 2018 21:26 +0100:
> Following Daniel's request of a minimal test case that makes the
> problem visible:
>
Thanks for the test case.
> Could the problem be fixed, .. ASAP? It collides with my work of
> providing X04 tests and is a blocker for making a new Zsh
> release
Why should it be a blocker? (I don't disagree; I just don't see the reason.)
I ran the minimal reproducer in 5.6.2 and in current master and I get
the same behaviour in both of them ("trueCDE|39| word2 word3", the whole
thing in red), so it's not a regression.
> I think Oliver touched the responsible code lately, as for
> true-color (not 256 color, with or withoutzsh/nearcolor), the
> zle_highlight processing works, i.e. I'm getting, e.g.:
>
> 0m27m24mCDE|38;2;0;204;0|tCDE|38;2;204;0;0|rCDE|39|CDE|38;2;0;204;0|ueCDE|39|
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author