On Tue, 19 Apr 2022 10:34:14 -0400
Chet Ramey <[email protected]> wrote:

> On 4/18/22 4:27 PM, Karl O. Pinc wrote:
> > On Wed, 13 Apr 2022 14:41:40 -0400
> > Chet Ramey <[email protected]> wrote:
> >   
> >> The first beta release of the GNU Readline library, version 8.2,
> >> is now available  
> >   
> >> g. There is a new option: `enable-active-region'.

> > Apologies for the delayed feedback. 

> That's ok. It doesn't have anything to do with your request,

Good.  I didn't want to drop the ball and not pay attention
when somebody else is doing work "for me".

> > I'm unclear what it means, operationally, to turn off the
> > active region in the way you have implemented.  As near
> > as I can tell, it means turning of the highlighting.  
> 
> Yes, that's the visible effect of the active region.

Thanks.  (Good to know I'm got a bit of a grip. :)

> Some people want a simple on-off toggle option.

Makes sense.  I am always looking for ways to turn off
color and hilighting.  (Apparently I've done enough of that
in my ~/.bashrc that the active region already does
not highlight, without having to touch readline's configuration.)


Looking at the enable-active-region docs in readline.3 something
seemed awkward.  Hard to say if this is better, but consider
replacing the sentence:

  The active region shows the text inserted by bracketed-paste and any
  matching text found by incremental and non-incremental history searches.

With:

  Bracketed pasteing and history searches activate the region, showing
  the text pasted and the history found.

Regards,

Karl <[email protected]>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein

Reply via email to