To: vim_dev@googlegroups.com Subject: Patch 7.4.1535 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1535 Problem: The feedkeys test has a one second delay. Solution: Avoid need_wait_return() to delay. (Hirohito Higashi) Files: src/eval.c *** ../vim-7.4.1534/src/eval.c 2016-03-11 18:52:18.425799248 +0100 --- src/eval.c 2016-03-11 19:27:25.736008533 +0100 *************** *** 11869,11875 **** --- 11869,11882 ---- if (vgetc_busy) typebuf_was_filled = TRUE; if (execute) + { + int save_msg_scroll = msg_scroll; + + /* Avoid a 1 second delay when the keys start Insert mode. */ + msg_scroll = FALSE; exec_normal(TRUE); + msg_scroll |= save_msg_scroll; + } } } } *** ../vim-7.4.1534/src/version.c 2016-03-11 18:52:18.429799206 +0100 --- src/version.c 2016-03-11 19:30:49.425877177 +0100 *************** *** 745,746 **** --- 745,748 ---- { /* Add new patch number below this line */ + /**/ + 1535, /**/ -- If Pacman had affected us as kids we'd be running around in dark rooms, munching pills and listening to repetitive music. -- Marcus Brigstocke /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///