From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 45F8922815 for ; Wed, 10 Apr 2024 21:18:04 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1712776684; b=i+F8XPcuj/X5QJQjwLHPydLI2iDLeorFWpD/kfrUrv+papJuwNxpFJgp4NS+AKMiZLy//mqH2f WLcZvAJaDGfrtG358OwKhEEJ37qNdQOksKRDzWMVMw2PqhPrqfqmSM2i2ppE7uLQ5oALhe5XcA babljMMLSoigOvALfanNJG8kNkxgj20wcD0AdEg8SrjCHJSR0AuWhhfy7ISDcDcNXS4ptCzZ1q GS+VbLDGnXOmUbau/40oc5kJUXFwK56LT4o+iWZW60Kr6fyHv4VJGsiPCG1t/fo53Ou0+o55eP 1CpDZj/T81JZUZ47PsQk+HVGG2VpmyiHLgpzkW1OJfCaRw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1712776684; bh=Uqvs184SL+Pn/Xt+pICpxgQ2mNfsjNXrfv62N4FLPuk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Content-Type:DKIM-Signature; b=HAo/6SITgTbuCLIQm2hYVOPxRxOT7W4LMEbakbXbHdlHwAG7uQZJD8hRIkGhO3cP50XRiepJlR kELMaS1EZ4RrsFWXgKcj6Sk8qDBJ9Gy8TQf+DQIAhW+pOfxkJnszjYPCnjFccMKeoeRp22Dj0W +WkbkO22aVfxXeijm6f3nYjYq6h1qPkHwlaST506MEbpMlqRr9EwUcoiEHNBDgkEpg2B5n+OPg /viCWfHrTKep5a8O2xDQ5Mp6hZZpLFIAdG+19gaQNHAgkfvo9mcsGMC2NkiAO+ivB6lfxSCaV0 nfRHK2BDl3S9FE+HLdFNVH8OCxNrIXE0sU1vzjeHKIt13Q==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-reply-to:From:References:To: Subject:MIME-version:Date:Message-id:Content-type:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=2wC78KtTEN0JLnovBYQBUioqKjrif6Ce7swbNb22uxE=; b=YeaGpnnjRiwB7RWdzAilXpdbxC 0d3j7ztiKkXHUKfrNBBKCE8xYFBMgS82+4qXTjusYqq0cSARSdBAwAG9T7jXSBDFIXSx4c8yyMF2F oSIziqrbJQowuZQ94u9P4GxnsEiIrk1VE2BaYXGCLlKiTliz6X72SH9QIwkJnsNSZOOKSAAIFIk/j pBPX54a3ui9yTDbFwTl1Uu8b1yd433+n0ZObrG2uxbhh1slJHP4I+0uLPtv6oxx44JT8T1V7s7THa 6b+BvOuFMeW/Bz25+/u8NBEz//d0eV1AuLos2dhdrej8I6Ca29PBrh4jeC72tPhDQ7F8RWdJRIFQE vw5PZESA==; Received: by zero.zsh.org with local id 1rudSO-0000KE-Li; Wed, 10 Apr 2024 19:18:04 +0000 Authentication-Results: zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none Received: from mta04.eastlink.ca ([24.224.136.10]:54173) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rudRh-000PZh-Dt; Wed, 10 Apr 2024 19:17:22 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta04.eastlink.ca ([24.224.136.10]) with ESMTPS id <0SBQ26JFVQK2WOX0@mta04.eastlink.ca> for zsh-users@zsh.org; Wed, 10 Apr 2024 16:17:20 -0300 (ADT) Received: from [192.168.0.11] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp01.eastlink.ca ([71.7.199.166]) with ESMTPSA id udRfrcPf6AimnudRgrzgpl (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Wed, 10 Apr 2024 16:17:20 -0300 X-Authority-Analysis: v=2.4 cv=Q8Rx4J2a c=1 sm=1 tr=0 ts=6616e5c0 a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=RNBZlucFc8WuvCW8rYsA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=zm8HAOEHT-1pwWw38XUA:9 a=BKsqTdzXwYyKE8jp:21 a=_W_S_7VecoQA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudehiedgudeffecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpegtkfffgggfuffvfhfhjgesrgdtreertddvjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhephfettefhveeguedvleeggfdvvedufeeuudffvdfgledvvdfgtdeigeeuueelieefnecukfhppedvgedrvddtjedrudelrddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudelrddufedphhgvlhhopegludelvddrudeikedrtddruddungdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Content-type: multipart/alternative; boundary="------------vAlN0RdNp8EYst0LHqGKl0Mq" Message-id: Date: Wed, 10 Apr 2024 12:17:19 -0700 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: color codes to eval To: zsh-users@zsh.org References: <0338833d-1414-4c34-8bea-793f45d4115a@app.fastmail.com> Content-language: en-US From: Ray Andrews In-reply-to: X-Seq: 29790 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: This is a multi-part message in MIME format. --------------vAlN0RdNp8EYst0LHqGKl0Mq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-04-10 12:05, Andreas Kähäri wrote: > They could also use print with -P and start using the prompt escape > %F{red}, but that's bypassing the issue rather than handling the > original string. Yeah, the eval is buried under three nested levels of called functions, if it was directly on the command line there'd be no problem. --------------vAlN0RdNp8EYst0LHqGKl0Mq Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

On 2024-04-10 12:05, Andreas Kähäri wrote:
They could also use print with -P and start using the prompt escape
%F{red}, but that's bypassing the issue rather than handling the
original string.
Yeah, the eval is buried under three nested levels of called functions, if it was directly on the command line there'd be no problem.




--------------vAlN0RdNp8EYst0LHqGKl0Mq--