Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Feature request: italic style in region_highlight
- X-seq: zsh-workers 45159
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Feature request: italic style in region_highlight
- Date: Mon, 30 Dec 2019 17:26:48 +0100
- Cc: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- In-reply-to: <CAH+w=7atVBgGEQ0M919mKLzqrcJBHALgLcuKFQmyRYCad00JdQ@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: <CAKc7PVC5=SZfY8ExEZ9W2GWa=rYTu545hz9RrE9Uae=MadynSg@mail.gmail.com> <CAN=4vMpBOD5XJOgjiOWYUJV4QaV2Fn9+PkgTCTMtArJ4GxJA8w@mail.gmail.com> <CAH+w=7atVBgGEQ0M919mKLzqrcJBHALgLcuKFQmyRYCad00JdQ@mail.gmail.com>
On Mon, Dec 30, 2019 at 5:08 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Mon, Dec 30, 2019 at 2:17 AM Roman Perepelitsa
> <roman.perepelitsa@xxxxxxxxx> wrote:
> > fg_start_code and fg_end_code specify the prefix and the suffix of a
> > single escape sequence. To avoid confusion, I've used begin/stop with
> > standout. It's awkward, as the natural pairing would be start/stop and
> > begin/end. Oh well.
>
> Could use standout_enter/exit (or enter/end).
enter/exit sounds better than my suggestion. Another option: on/off. I
haven't thought of it earlier but now I think it pretty good.
Shall I send a patch? I'd love to have this feature.
A related question. Would you (zsh elders) be receptive to my adding
percent escapes for italicized (%A and %a) and inverse video (%R and
%r) mode? %S and %s would stay unchanged.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author