Apr 14, 2020, 22:53 by chet.ra...@case.edu:

> On 4/14/20 4:46 PM, gentoo_esh...@tutanota.com wrote:
>
>> Another 'face' issue(the 3rd?) I just noticed now:
>> if I paste something that has "\n" inside it, like these 3 lines(only the 
>> first 2 lines have \n, but doesn't matter):
>> -bash: mk_add_options: command not found
>> -bash: mk_add_options: command not found
>> -bash: mk_add_options: command not found
>>
>> then they are all pasted on the same line, so I have to manually press Enter 
>> to execute the line.
>>
>
> 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!

Now I have the choice of pressing C-c if I ever accidentally MMB paste 
multi-megabyte-line text onto the command line, rather than having each line 
executed (which I would previously prevent via unsafe paste dialog mentioned 
above)

Quite nice.

  • Re: [PATCH... gentoo_eshoes--- via Bug reports for the GNU Bourne Again SHell
    • Re: [... Chet Ramey
      • R... gentoo_eshoes--- via Bug reports for the GNU Bourne Again SHell
        • ... Chet Ramey
          • ... gentoo_eshoes--- via Bug reports for the GNU Bourne Again SHell
          • ... Chet Ramey
          • ... Daniel Colascione
          • ... gentoo_eshoes--- via Bug reports for the GNU Bourne Again SHell
          • ... Chet Ramey
        • ... Chet Ramey
          • ... gentoo_eshoes--- via Bug reports for the GNU Bourne Again SHell
          • ... Chet Ramey
    • Re: [... Ángel
      • R... Daniel Colascione

Reply via email to