Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16127 > unrolled thread

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

Started byChet Ramey <chet.ramey@case.edu>
First post2020-04-12 21:23 -0400
Last post2020-04-12 21:23 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] Add active mark, face support; activate mark on paste Chet Ramey <chet.ramey@case.edu> - 2020-04-12 21:23 -0400

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

FromChet Ramey <chet.ramey@case.edu>
Date2020-04-12 21:23 -0400
SubjectRe: [PATCH] Add active mark, face support; activate mark on paste
Message-ID<mailman.134.1586740995.3066.bug-bash@gnu.org>
On 4/12/20 2:15 PM, gentoo_eshoes@tutanota.com wrote:

> There is one more/different 'face' issue: if I paste a line and then press Enter (as opposed to any alphanumeric key or arrow keys) then the highlight remains(highlighted), possibly because the ^M is echoed and thus moves the cursor one line up(?) before the highlight is attempted to be removed. But I'm just guessing.

Unsurprising. The highlights are added and removed in readline's redisplay.
Once you enter newline (or any key bound to accept-line), readline returns
the line immediately without any redisplay, so the line remains as is.


> That's an intriguing patch format, may I inquire as to how it was generated (some unusual 'diff' args?) ?

That's OG BSD context diff format (diff -c), which dates from 1981. I find
it easier to read than unified or `git' format.

Chet
-- 
``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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web