|
Karsten Hopp |
fa0ab2 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
fa0ab2 |
Subject: Patch 7.3.882
|
|
Karsten Hopp |
fa0ab2 |
Fcc: outbox
|
|
Karsten Hopp |
fa0ab2 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
fa0ab2 |
Mime-Version: 1.0
|
|
Karsten Hopp |
fa0ab2 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
fa0ab2 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
fa0ab2 |
------------
|
|
Karsten Hopp |
fa0ab2 |
|
|
Karsten Hopp |
fa0ab2 |
Patch 7.3.882
|
|
Karsten Hopp |
fa0ab2 |
Problem: CursorHold may trigger after receiving the termresponse.
|
|
Karsten Hopp |
fa0ab2 |
Solution: Set the did_cursorhold flag. (Hayaki Saito)
|
|
Karsten Hopp |
fa0ab2 |
Files: src/term.c
|
|
Karsten Hopp |
fa0ab2 |
|
|
Karsten Hopp |
fa0ab2 |
|
|
Karsten Hopp |
fa0ab2 |
*** ../vim-7.3.881/src/term.c 2013-03-16 14:33:32.000000000 +0100
|
|
Karsten Hopp |
fa0ab2 |
--- src/term.c 2013-04-05 19:49:58.000000000 +0200
|
|
Karsten Hopp |
fa0ab2 |
***************
|
|
Karsten Hopp |
fa0ab2 |
*** 4137,4142 ****
|
|
Karsten Hopp |
fa0ab2 |
--- 4137,4145 ----
|
|
Karsten Hopp |
fa0ab2 |
char *p = NULL;
|
|
Karsten Hopp |
fa0ab2 |
|
|
Karsten Hopp |
fa0ab2 |
u7_status = U7_GOT;
|
|
Karsten Hopp |
fa0ab2 |
+ # ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
fa0ab2 |
+ did_cursorhold = TRUE;
|
|
Karsten Hopp |
fa0ab2 |
+ # endif
|
|
Karsten Hopp |
fa0ab2 |
if (extra == 2)
|
|
Karsten Hopp |
fa0ab2 |
p = "single";
|
|
Karsten Hopp |
fa0ab2 |
else if (extra == 3)
|
|
Karsten Hopp |
fa0ab2 |
***************
|
|
Karsten Hopp |
fa0ab2 |
*** 4153,4158 ****
|
|
Karsten Hopp |
fa0ab2 |
--- 4156,4164 ----
|
|
Karsten Hopp |
fa0ab2 |
if (*T_CRV != NUL && i > 2 + (tp[0] != CSI) && tp[i] == 'c')
|
|
Karsten Hopp |
fa0ab2 |
{
|
|
Karsten Hopp |
fa0ab2 |
crv_status = CRV_GOT;
|
|
Karsten Hopp |
fa0ab2 |
+ # ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
fa0ab2 |
+ did_cursorhold = TRUE;
|
|
Karsten Hopp |
fa0ab2 |
+ # endif
|
|
Karsten Hopp |
fa0ab2 |
|
|
Karsten Hopp |
fa0ab2 |
/* If this code starts with CSI, you can bet that the
|
|
Karsten Hopp |
fa0ab2 |
* terminal uses 8-bit codes. */
|
|
Karsten Hopp |
fa0ab2 |
*** ../vim-7.3.881/src/version.c 2013-04-05 19:32:30.000000000 +0200
|
|
Karsten Hopp |
fa0ab2 |
--- src/version.c 2013-04-05 19:46:21.000000000 +0200
|
|
Karsten Hopp |
fa0ab2 |
***************
|
|
Karsten Hopp |
fa0ab2 |
*** 730,731 ****
|
|
Karsten Hopp |
fa0ab2 |
--- 730,733 ----
|
|
Karsten Hopp |
fa0ab2 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
fa0ab2 |
+ /**/
|
|
Karsten Hopp |
fa0ab2 |
+ 882,
|
|
Karsten Hopp |
fa0ab2 |
/**/
|
|
Karsten Hopp |
fa0ab2 |
|
|
Karsten Hopp |
fa0ab2 |
--
|
|
Karsten Hopp |
fa0ab2 |
Would you care for a drink? I mean, if it were, like,
|
|
Karsten Hopp |
fa0ab2 |
disabled and you had to look after it?
|
|
Karsten Hopp |
fa0ab2 |
|
|
Karsten Hopp |
fa0ab2 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
fa0ab2 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
fa0ab2 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
fa0ab2 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|