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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16212 invoked from network); 3 Nov 2020 23:45:46 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 3 Nov 2020 23:45:46 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1604447146; b=UhCFDbnC57Uz4DH687DiyEgcwtYxkvvEGz7Wk7tbGn8/7XKb4wmhDHZiu7Sjp2LTVn6cGs2A0z 3ESbhNUMSf8sK1nUFc7dhbjM8pmtrpDDz84dSoDFA90jO85WBqwNQnvkQnfUsibP7EiMzINi/L 4MEqAVEM/3qQsMAl2sbO+zjAvcGeINywjDU2VZmMvLsGwQbQW/vp/VXcVNkUIozKS0WxkMKbpl Z8LF8xDdqkRj5NeuyyTBkRDyA3UiX5Hkr1NZjY0lmfOv83/nz7q4dlkQ+siJviF1/nP8iNE9qt rKfhVUZA6nJh3Fe0L43MS6+xqQ8Amb44ze64bxIw6of1Sw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ot1-f50.google.com) smtp.remote-ip=209.85.210.50; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1604447146; bh=mJ44jio+uw+QcT5XfKllvpKEj9GjXnlSzKUrEqiEJ6M=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=bU0T3YlyU+R3kHLAhJFuAbM13c5FIsgQTCoXNJJig+9SyRSNqZHbzm3kdGS/JQgXqWSAZ0B9Z9 QDFf0ALm+akLAXF0tifEuWxryPyGmnEV5vp/hj9+3RsQ/oEA+bo6mHG5AFqU+TKb8YHGHoHLJ/ 1sVVqVlsVc1l5FgAiP3HjMuYYcgFpol41z14exqrLD71XA98SUXHI0OKUZV/PgdrolBqyIskVS wFv7SUs6ETxMt20R9sru4p6T+sCoL2cq6srt3ternnCzrPWR0HeDTeRFTgMUu3pV2K43cYam3i ii5STrPNzrzZ/1nLYGgo/5N2zxFyMCko2V4ev6xr4OiZtQ==; 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:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=aOJPD27c6JM45GhhWGUKst1W36HYXbj0ff3uMvC/3C8=; b=KKH6c2LgQY85PTkcEo/FdByoQE X4HaTr27SDBmVF7XFTVaNLvtw9zDaHg3O7Cow697yXAX/AE1YxJ/+0SuF17KMMjO26GKyYAM9hlgK Ip77XiXYo6GfrmePGeqUJrgl1cwUZVGv93ro4rZA2JGQ8k/S3IaKsdVmR+lGTxcX0pJChh1O7gpD8 lkZkOhAreMRFCsn50r0r4ePGugq3hbHgOYFIL1YdsSqMX99efDyMs9gd6LEKIMHlU2zze9olfXo6M 4OwVOCjzak1ocdmmgcfVx4N1jym59qnVSW3yc+eWNpYAVit8fcipe3Az8fxGHb+J9ljtZjXuPrktw 7qAKZkRw==; Received: from authenticated user by zero.zsh.org with local id 1ka5zk-0004kS-Ua; Tue, 03 Nov 2020 23:45:44 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ot1-f50.google.com) smtp.remote-ip=209.85.210.50; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ot1-f50.google.com ([209.85.210.50]:36716) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1ka5zF-0004RQ-7o; Tue, 03 Nov 2020 23:45:17 +0000 Received: by mail-ot1-f50.google.com with SMTP id 32so17710062otm.3 for ; Tue, 03 Nov 2020 15:45:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aOJPD27c6JM45GhhWGUKst1W36HYXbj0ff3uMvC/3C8=; b=AdabzW3eOqV+qaYu3yf1+Ct50OFwMvkBpe8VC/xdmxrQJAR/wp94OAIVsr+7tQzyOe WxgnX3RhCMuyVVROvHWeNGiWWJcYX+WY9nBxhCLUffbqdUsnJwNdD8IJ6RKnwG9Ngyi8 AKURxynEiD9ttpqVLWupGdUTKWc9+gUR6+7xetIpfxLRSVOMjdvqarwpLwXWohzQiJ4M nCyelYe6K8tUYYufh7G61kAbqoA8ZZ3+d7IAjymHmzHc30ant3pZmewEgXS9/aBWdps5 qWGF4yfX1KJ0vJ1G0KRRM7yEaCTCT1r94vJUbYmJM99ODu1sjfN0LgChQPIGElp0MXd4 KSbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aOJPD27c6JM45GhhWGUKst1W36HYXbj0ff3uMvC/3C8=; b=sK2zUV1uNUebrZrdweMMm3PKovkzTyWYd8gvMijsRwxKTOfJ2Z0OaqJjHE+bOrPMXM DGLvJ8eDVNuIcIw26xLg9KGgOVN83BzSyFFLIw6xaxgEygEbzhTLQvNHJkaoAOmLjf/P n6ccOqWbxHW7Jx0D9AwpHtCQNE/14oVvvOvpJyR2/2A5HhpKLPAch3C9LA3vQbX1d8Ws VwcD+qIMb6MNUZHgSwl60bVnvWh9LrG1DWsaUwPMGbgX7a4fjywpjPjupfHfJlpkbpMr I2Y8EH6Q+vYCdV6jY1LENphqh8GPp3BEb+tlFvRx8MA9rwbzEm/Tk8UL7AHI86DSxk9T NYXA== X-Gm-Message-State: AOAM532YQXkibMo3/4XDvTnHVQthV2YRsDUBbSspBtV/21SiIWKoGZyG PtPK2G09GfikmQoNOZq5IEcu1WzABPPEz7KpJKuEnw== X-Google-Smtp-Source: ABdhPJyp90oCGNxKo9YWGnQ4Eoq53nT99+cck/sByxIgXJopDD7sUBFoJ3PkhfofBuTUVvG6S2gHiH7Jkt74qjMgh98= X-Received: by 2002:a9d:470c:: with SMTP id a12mr17662089otf.161.1604447111324; Tue, 03 Nov 2020 15:45:11 -0800 (PST) MIME-Version: 1.0 References: <20201014204621.4cf5b2b0@tarpaulin.shahaf.local2> In-Reply-To: From: Bart Schaefer Date: Tue, 3 Nov 2020 15:45:00 -0800 Message-ID: Subject: Re: Functions/Misc/colors vs. region_highlight To: Marlon Richert Cc: Roman Perepelitsa , Daniel Shahaf , Zsh hackers list Content-Type: multipart/alternative; boundary="00000000000021bb4705b33c74aa" X-Seq: 47517 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: --00000000000021bb4705b33c74aa Content-Type: text/plain; charset="UTF-8" On Tue, Nov 3, 2020 at 10:54 AM Marlon Richert wrote: > > Would it be possible to drop `standout` (as it's rather ambiguous) and > instead add both `italic` and `reverse`? They both have `terminfo` entries. > If you're referring to Functions/Misc/colors, that's what my proposed patch already does. If you're referring to prompts, "standout" appears only in the documentation, but the prompt sequences are %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). --00000000000021bb4705b33c74aa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Nov 3, 2020 at 10:54 AM Marlon Ri= chert <marlon.richert@gmail.= com> wrote:

Would it be possible to drop `standout` (as it's rather ambiguo= us) and instead add both `italic` and `reverse`? They both have=C2=A0`termi= nfo` entries.

If you'= re referring to Functions/Misc/colors, that's what my proposed patch al= ready does.

If you're referring to prompts, &q= uot;standout" appears only in the documentation, but the prompt sequen= ces are %S (on) and %s (off) to be suggestive thereof.=C2=A0 %R and %I are = already in use for other features; we'd need some kind of extended synt= ax (%F{name} is not nestable).
--00000000000021bb4705b33c74aa--