[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash-5.1-rc1 available

From: Tomas Janousek
Subject: Re: Bash-5.1-rc1 available
Date: Mon, 2 Nov 2020 15:12:19 +0000

Hi Chet,

On Mon, Oct 26, 2020 at 10:12:59AM -0400, Chet Ramey wrote:
> Yes, you can disable bracketed paste mode. I'll make sure that turning off
> bracketed paste mode disables the active region for incremental searches.

Would you please consider making this configurable separately? I'd love to
keep bracketed paste mode enabled, but I find the highlighting annoying (and a
bit buggy, more on that later). It seems I'm not alone:

Also, the changelog says "when enabled", but there's currently no way to
disable it:

> f. New active mark and face feature: when enabled, it will highlight the text
>    inserted by a bracketed paste (the `active region') and the text found by
>    incremental and non-incremental history searches.

Now for the "bit buggy" part:

1. PS1='$ '
2. echo -n x
3. paste something
4. press left arrow

Now the terminal shows "x$somethingg" instead of "x$ something".

(Yeah, I can work around this by having PROMPT_COMMAND detect that current
column is not 0 and output an additional newline, but I'd really prefer to
just disable the highlighting as I don't like it.)

Thanks for considering it!

Tomáš Janoušek, a.k.a. Pivník, a.k.a. Liskni_si, https://work.lisk.in/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]