[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: |
Tue, 14 Apr 2020 16:53:02 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 4/14/20 4:46 PM, gentoo_eshoes@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.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: [PATCH] Add active mark, face support; activate mark on paste, Chet Ramey, 2020/04/08
- Re: [PATCH] Add active mark, face support; activate mark on paste, gentoo_eshoes, 2020/04/11
- Re: [PATCH] Add active mark, face support; activate mark on paste, Chet Ramey, 2020/04/11
- Re: [PATCH] Add active mark, face support; activate mark on paste, gentoo_eshoes, 2020/04/11
- Re: [PATCH] Add active mark, face support; activate mark on paste, Chet Ramey, 2020/04/11
- Re: [PATCH] Add active mark, face support; activate mark on paste, gentoo_eshoes, 2020/04/12
- Re: [PATCH] Add active mark, face support; activate mark on paste, gentoo_eshoes, 2020/04/12
- Re: [PATCH] Add active mark, face support; activate mark on paste, gentoo_eshoes, 2020/04/14
- Re: [PATCH] Add active mark, face support; activate mark on paste,
Chet Ramey <=
- Re: [PATCH] Add active mark, face support; activate mark on paste, gentoo_eshoes, 2020/04/15
- Re: [PATCH] Add active mark, face support; activate mark on paste, Chet Ramey, 2020/04/15
- Re: [PATCH] Add active mark, face support; activate mark on paste, Chet Ramey, 2020/04/12
- Re: [PATCH] Add active mark, face support; activate mark on paste, gentoo_eshoes, 2020/04/12
- Re: [PATCH] Add active mark, face support; activate mark on paste, Chet Ramey, 2020/04/12
- Re: [PATCH] Add active mark, face support; activate mark on paste, Daniel Colascione, 2020/04/12
- Re: [PATCH] Add active mark, face support; activate mark on paste, gentoo_eshoes, 2020/04/13
- Re: [PATCH] Add active mark, face support; activate mark on paste, Chet Ramey, 2020/04/13
- Re: [PATCH] Add active mark, face support; activate mark on paste, Ángel, 2020/04/15
- Re: [PATCH] Add active mark, face support; activate mark on paste, Daniel Colascione, 2020/04/15