From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29330 invoked from network); 4 Nov 2020 15:48:15 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 4 Nov 2020 15:48:15 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1604504895; b=T1YsgFNKUkuylCA+bsy/kW245SFhoQGc729HeQtcaDW2Gr0vgFcmmXSPR9r3VuLIk7GYd28w5o g+pO3rzmCiAPGMCilyyIFzKHKeNok4923Kf4IeHZ4yftXpDNvEpL76D8LYQByCX75DviP/EIxn /JNUtrQ+7MfGKQU4yEuLRa7J7vnabJcJFzBmiuoAICPBPOBlE+Kk+lAcXuQFW3LDrTF+I23ERm HxIg2oLI8LkwUyXRgRi6RN6GqHOIXNBFHzdKp++3mSnm7xVgLkJZzsOePFfIWxkisss3/UE7Y6 HtYcMcQm/lwTKly4e1D3e8mZjj5TOlSWiVCTCRCL6RIsMg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lj1-f179.google.com) smtp.remote-ip=209.85.208.179; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1604504895; bh=+v13e3Cc9vUOWwJGFS518o8ELutFw+WCWgozh4b8MHQ=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:In-Reply-To:Cc:References:Message-ID:Date:Subject: MIME-Version:From:Content-Transfer-Encoding:Content-Type:DKIM-Signature: DKIM-Signature; b=PrJcGNlfeetsV7c3yJRAnNR6llbZX6SC5s5GeYbuYpSWGIJggErj2f8EEG9BUZcAkBcRFoy9vj jfmL/8lSm/uF6hEd0ZnrFLsJiyN7be8d23z1eeEpXT3the7WPacoG54iSauxpq8cmllKFoGdtZ q8YSjhOllPTTK43sH/p5xgrgVfUHlDXKWNt5bbGd4QPg1aZYTest+EZHfENOM/mhM3/dTdXVaT QvruujeNTDprDqIKnRBGgOKpla3Z5PhpSrZCNRGMim6nQCrdjhRgpJPBcQyPypIpI/F2SY7FPq nNZEZ29NBwMY9cbf2xtgNejJ1foXKEZjD/PO2WGc1IFFFg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:To:In-Reply-To:Cc:References: Message-Id:Date:Subject:Mime-Version:From:Content-Transfer-Encoding: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=OEq+n56Z038xolzNmTsGE4KlBdZYuz4S8l6QfN59QEw=; b=n8NPymwxXy+oUr8rlmgQkfIqri 0lO6h9qkYLcjM3i+f9D78t7xQj5zkdDlLz3IfnUIC39rffv3tdw5dSLeALx+rpvOmilfs8ZJKhph0 2GGU2068vGZIo7o1mz+WwRv2k53gvKXm2VT6dsaOhINjVUVfdSh1pgehOU9XIcj7nSwKh+ktc1MpW 3q8GPx2Je3MDEySj2LkzE4S5StjOGgtG6EJ/5q7UwqvYN1iNOu/v2WCfNvguXOPywBhTiVJt2TkSV Bsxft28KGsPJ1aWSrXtn0ismNS/4xmGO+vqDgxFDagCJVq9qLnKKysepsqlUqzdCwUl/iOwq9cucQ sbjSSNSw==; Received: from authenticated user by zero.zsh.org with local id 1kaL19-0000cn-K0; Wed, 04 Nov 2020 15:48:11 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lj1-f179.google.com) smtp.remote-ip=209.85.208.179; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lj1-f179.google.com ([209.85.208.179]:38887) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kaL0p-0000TD-5G; Wed, 04 Nov 2020 15:47:51 +0000 Received: by mail-lj1-f179.google.com with SMTP id v19so18539692lji.5 for ; Wed, 04 Nov 2020 07:47:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=OEq+n56Z038xolzNmTsGE4KlBdZYuz4S8l6QfN59QEw=; b=D5lZsUtV+NRTBODw0U2Y9kEs2Q8WWSL0f4xiqCI8XyYO4aYrdlZlv5+f8/oZR2zYli tl/OI7LhdklnZxvmOOMqboM+A6XxfSSKU15AzlQStubBj+e5H9Z3J01cRfTcTdjyJ6zb lD0Cbick3nU9IiKVZPqPJPwfviYP2jov+eunMl47efWmCzODr1QSK6SW4FYf5kBbC2ud tbskiWOI6vk+eEzzIAJCrz02Ut6C7byRTqZNdusznCPWWC3Js/SpKYR/UV3/EshFlojq KSecODyozWhSx6AGS2t8cXanOQADUH7xQhCB2uv6H5YvGZ2AZsSnRaokBDObpY857NN1 f8+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=OEq+n56Z038xolzNmTsGE4KlBdZYuz4S8l6QfN59QEw=; b=Incro6PFPJle0zmYvlE9I7sTVMcuH7zZdi/+PMFQrqz5OkWQfvx7dCmzkaVMniBr8B 4mkWbO0/Dsfif94cyaB2oQVr9+CH1/Zv72oMh3lPGXNBG7sCStpHkyO7HAqgX3n/1Zoa TihGQcLIAfxLaLpkjOJG8QxVpwYiV3rCdiucpHbkfGILCdbVQRZS/tRFr+uim+B2yUcw NW8LikDd7pKi5w/+oJKWLIKlFAqdGSt25PS6EEhDDtqw2NEXUHxyiIWuGcvE3L/erxO9 m5LF/bzJjFXspg0q0t9Yh6L3KOimQoIkN+EvaqtKdfYceGC8PJ1qqXlYOFCZ7Z0A5b8m T6Pw== X-Gm-Message-State: AOAM533jCN0xRw2KQ1hofquAQnhpHaDarkFR/VVhmbxgNRTBdFrErD1Y iIsVwBFzhwN69xg0kQi/YLc= X-Google-Smtp-Source: ABdhPJxkO4AGIWbd12d58jjHEPzgRCPfidQqkMgy7ws6goFu6ZRztLjeJ+OGlPCj4vegom0iB3xoDw== X-Received: by 2002:a2e:b04a:: with SMTP id d10mr98419ljl.85.1604504870413; Wed, 04 Nov 2020 07:47:50 -0800 (PST) Received: from [192.168.1.20] (hag-tkubng22-50df3f-228.dhcp.inet.fi. [80.223.63.228]) by smtp.gmail.com with ESMTPSA id z3sm552584ljz.54.2020.11.04.07.47.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Nov 2020 07:47:49 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-222D5FC1-E91C-46D0-B300-DA9117E542EE Content-Transfer-Encoding: 7bit From: Marlon Richert Mime-Version: 1.0 (1.0) Subject: Re: Functions/Misc/colors vs. region_highlight Date: Wed, 4 Nov 2020 17:47:48 +0200 Message-Id: <8F67668E-BF5F-4D61-B4F1-FDF6321E747D@gmail.com> References: Cc: Roman Perepelitsa , Daniel Shahaf , Zsh hackers list In-Reply-To: To: Bart Schaefer X-Mailer: iPhone Mail (18A8395) X-Seq: 47523 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: --Apple-Mail-222D5FC1-E91C-46D0-B300-DA9117E542EE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On 4. Nov 2020, at 1.45, Bart Schaefer wrote: >=20 > =EF=BB=BF >> On Tue, Nov 3, 2020 at 10:54 AM Marlon Richert = wrote: >=20 >>=20 >> Would it be possible to drop `standout` (as it's rather ambiguous) and in= stead add both `italic` and `reverse`? They both have `terminfo` entries. >=20 > If you're referring to Functions/Misc/colors, that's what my proposed patc= h already does. >=20 > If you're referring to prompts, "standout" appears only in the documentati= on, but the prompt sequences are %S (on) and %s (off) to be suggestive there= of. %R and %I are already in use for other features; we'd need some kind of= extended syntax (%F{name} is not nestable). Actually, I was talking about `region_highlight`. It is currently very restr= ictive in what kind of formatting it supports. Perhaps I replied to the wron= g email. Sorry about the confusion. As for prompts, since they already support using raw escape code, it=E2=80=99= s not really an issue there. `region_highlight`, however, does not offer any= workarounds. --Apple-Mail-222D5FC1-E91C-46D0-B300-DA9117E542EE Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

On 4. Nov 2020, at 1.45, Bart Schaefer <schaef= er@brasslantern.com> wrote:

=EF=BB=BF
On Tue, N= ov 3, 2020 at 10:54 AM Marlon Richert <marlon.richert@gmail.com> wrote:
=
Would it be possible to drop `standout` (= as it's rather ambiguous) and instead add both `italic` and `reverse`? They b= oth have `terminfo` entries.

If you're referring to Functions/Misc/colors, that's what my propose= d patch already does.

If you're referring to prompt= s, "standout" appears only in the documentation, but the prompt sequences ar= e %S (on) and %s (off) to be suggestive thereof.  %R and %I are already= in use for other features; we'd need some kind of extended syntax (%F{name}= is not nestable).

Actually, I was talking about `region_highlight`= . It is currently very restrictive in what kind of formatting it supports. P= erhaps I replied to the wrong email. Sorry about the confusion.
As for prompts, since they already support using raw escape cod= e, it=E2=80=99s not really an issue there. `region_highlight`, however, does= not offer any workarounds.



= --Apple-Mail-222D5FC1-E91C-46D0-B300-DA9117E542EE--