Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: region_highlight converts `fg=default` to `none`, which is not the same
- X-seq: zsh-workers 47479
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Marlon Richert <marlon.richert@xxxxxxxxx>
- Subject: Re: region_highlight converts `fg=default` to `none`, which is not the same
- Date: Thu, 22 Oct 2020 23:28:10 +0000
- Archived-at: <https://zsh.org/workers/47479>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-10/20201022232810.29f8d09a%40tarpaulin.shahaf.local2>
- Authentication-results: zsh.org; iprev=pass (out2-smtp.messagingengine.com) smtp.remote-ip=66.111.4.26; dkim=pass header.d=daniel.shahaf.name header.s=fm1 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=fm1; bh=YCMyiQC0Y8CNDMyPUuYrSGDvzf pL8WfvDiDonIj6USs=; b=yeXcY0DEyGA9llMhNpa8Kl7tGhbCxfTIhnezdG8MOM /BpsSZFfbbDIzU6jbsiGawU3FRyhxiztH2b4A982+szPP372/aCBSDhg8PKuR8sY /nIHD1J94b7Wk3j03KUVFLAhgX+ibwGrr4J3SMiwGAswSVppawjEIyQ98i08wVmH Mbxr7LerbD7LOoOBQ0DvPBizZugOTK9ONLgocHFYVbTybkNNM0UR5pRhiuOaswx6 ybj5Qc+XdFSmaEkgmmY++QZuuE34i+ao/l1byMbWhBv07VH22uqEz8ShU13cnk8W W+riMMhW2AxFAOVDa7PY4jTWw0pTHK6c3sL3KBkS8CDQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=YCMyiQC0Y8CNDMyPUuYrSGDvzfpL8WfvDiDonIj6U Ss=; b=Hucbh/HrkobldrJhv+Omqtq9CshwvkJp2Vmokg9erIZrm8ZDL7h8yEiTn LyQfgM7czDIb9ufg0dB4OaX/1PiToobH8G7LBDthyn48kET6LBAdS7SVHbaIws4J kIcs6eBii7oXO6nHIFyHdhapmGcZ1AI0jReDzOc2a4Q3jiAw1LaFKmy2Ph9MdCAY 1hk/4EMNdoex5oz32x3zPL74YH8r0WHyc7Nh9b0ve3FLCmyoamfCdAvqmR4i2a3l L7EPbtwN37ylCCkBFuZB2f5rcOErqjs10L9eniE3x5K+f6mQr/wshKy9Dj90rtPa xW2qtdhpHYBoObgvLSL5XEr7dwrGQ==
- In-reply-to: <CAHLkEDvThAYDbqvVt9u8tRDxSnXjXo=hCierGQODA4KZPcQzxw@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- References: <CAHLkEDv9ch+nhtpYF3So+029J6GMv5iU-8=RzHRHLa7OYzc3kg@mail.gmail.com> <CAN=4vMq1CjLKiwM0_HWfQf5=xLTGQ7z9mVs=QEsCp05suLK-fA@mail.gmail.com> <20201014204621.4cf5b2b0@tarpaulin.shahaf.local2> <CAN=4vMqencidrpknTheyjAYQRT9BHN8ZLXRFk2Z38Gfwx9mxyQ@mail.gmail.com> <cd3c7101-2735-4e4e-a40f-76d0850f471d@www.fastmail.com> <CAH+w=7aHWUQSFCJ3NQDVDBg=X8J1WD+YbNMQ21=c4xXs=LPBqg@mail.gmail.com> <CAHLkEDvThAYDbqvVt9u8tRDxSnXjXo=hCierGQODA4KZPcQzxw@mail.gmail.com>
- Sender: zsh-workers-request@xxxxxxx
Marlon Richert wrote on Thu, 22 Oct 2020 22:58 +0300:
> While we're on the topic of `region_highlight`, here's another problem I've
> noticed with it: `standout` (3) is rendered as `reverse` (7), even though
> my terminal is perfectly capable of rendering italic. When I use `\e[3m` in
> `$PS1` or `$ZLS_COLORS`, it renders fine as italic. There's no reason to
> convert it.
You haven't explained why you think it's zle that does the conversion.
For starters, what's the output of `tput smso | xxd` and `tput rev |
xxd`? Here they print the same value, even though \e[3m; does
italicize. (Plain xterm on Debian.)
I'm reminded of
https://github.com/tmux/tmux/wiki/FAQ#i-dont-see-italics-or-italics-and-reverse-are-the-wrong-way-round
but it may or may not be related.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author