[Top][All Lists]

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

Re: [PATCH] Add active mark, face support; activate mark on paste

From: Chet Ramey
Subject: Re: [PATCH] Add active mark, face support; activate mark on paste
Date: Wed, 15 Apr 2020 10:44:23 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 4/15/20 10:37 AM, address@hidden wrote:

>> This is the expected behavior with bracketed-paste enabled. The pasted text
>> is `bracketed' by a start and end sequence -- that's how the face code
>> knows what's been pasted and to highlight it -- and any embedded editing
>> characters, like newline, are simply added to the editing buffer. The
>> face code enables bracketed paste by default, since it doesn't make much
>> sense to test it without bracketed paste enabled.
> Good to know. This is actually pretty good: it can act like a security 
> feature for when pasting copied text that could be dangerous, especially 
> since I've disabled xfce4-terminal's Preferences->General->[ ] Show unsafe 
> paste dialog
> This is actually a (nice)feature. Thank you!

You can enable bracketed paste mode in bash-4.4 and later by putting

set enable-bracketed-paste on

into your inputrc.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/

reply via email to

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