|
Karsten Hopp |
910cb6 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
910cb6 |
Subject: Patch 7.0.055
|
|
Karsten Hopp |
910cb6 |
Fcc: outbox
|
|
Karsten Hopp |
910cb6 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
910cb6 |
Mime-Version: 1.0
|
|
Karsten Hopp |
910cb6 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
910cb6 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
910cb6 |
------------
|
|
Karsten Hopp |
910cb6 |
|
|
Karsten Hopp |
910cb6 |
Patch 7.0.055
|
|
Karsten Hopp |
910cb6 |
Problem: ":startinsert" in a CmdwinEnter autocommand doesn't take immediate
|
|
Karsten Hopp |
910cb6 |
effect. (Bradley White)
|
|
Karsten Hopp |
910cb6 |
Solution: Put a NOP key in the typeahead buffer. Also avoid that using
|
|
Karsten Hopp |
910cb6 |
CTRL-C to go back to the command line moves the cursor left.
|
|
Karsten Hopp |
910cb6 |
Files: src/edit.c, src/ex_getln.c
|
|
Karsten Hopp |
910cb6 |
|
|
Karsten Hopp |
910cb6 |
|
|
Karsten Hopp |
910cb6 |
*** ../vim-7.0.054/src/edit.c Fri Jun 23 21:36:49 2006
|
|
Karsten Hopp |
910cb6 |
--- src/edit.c Wed Aug 16 16:17:29 2006
|
|
Karsten Hopp |
910cb6 |
***************
|
|
Karsten Hopp |
910cb6 |
*** 882,887 ****
|
|
Karsten Hopp |
910cb6 |
--- 882,888 ----
|
|
Karsten Hopp |
910cb6 |
/* Close the cmdline window. */
|
|
Karsten Hopp |
910cb6 |
cmdwin_result = K_IGNORE;
|
|
Karsten Hopp |
910cb6 |
got_int = FALSE; /* don't stop executing autocommands et al. */
|
|
Karsten Hopp |
910cb6 |
+ nomove = TRUE;
|
|
Karsten Hopp |
910cb6 |
goto doESCkey;
|
|
Karsten Hopp |
910cb6 |
}
|
|
Karsten Hopp |
910cb6 |
#endif
|
|
Karsten Hopp |
910cb6 |
***************
|
|
Karsten Hopp |
910cb6 |
*** 2414,2419 ****
|
|
Karsten Hopp |
910cb6 |
--- 2415,2421 ----
|
|
Karsten Hopp |
910cb6 |
compl_matches = ins_compl_make_cyclic();
|
|
Karsten Hopp |
910cb6 |
compl_started = TRUE;
|
|
Karsten Hopp |
910cb6 |
compl_used_match = TRUE;
|
|
Karsten Hopp |
910cb6 |
+ compl_cont_status = 0;
|
|
Karsten Hopp |
910cb6 |
|
|
Karsten Hopp |
910cb6 |
compl_curr_match = compl_first_match;
|
|
Karsten Hopp |
910cb6 |
ins_complete(Ctrl_N);
|
|
Karsten Hopp |
910cb6 |
*** ../vim-7.0.054/src/ex_getln.c Sun Apr 30 20:43:17 2006
|
|
Karsten Hopp |
910cb6 |
--- src/ex_getln.c Wed Aug 16 16:07:04 2006
|
|
Karsten Hopp |
910cb6 |
***************
|
|
Karsten Hopp |
910cb6 |
*** 5982,5987 ****
|
|
Karsten Hopp |
910cb6 |
--- 5982,5989 ----
|
|
Karsten Hopp |
910cb6 |
typestr[0] = cmdwin_type;
|
|
Karsten Hopp |
910cb6 |
typestr[1] = NUL;
|
|
Karsten Hopp |
910cb6 |
apply_autocmds(EVENT_CMDWINENTER, typestr, typestr, FALSE, curbuf);
|
|
Karsten Hopp |
910cb6 |
+ if (restart_edit != 0) /* autocmd with ":startinsert" */
|
|
Karsten Hopp |
910cb6 |
+ stuffcharReadbuff(K_NOP);
|
|
Karsten Hopp |
910cb6 |
# endif
|
|
Karsten Hopp |
910cb6 |
|
|
Karsten Hopp |
910cb6 |
i = RedrawingDisabled;
|
|
Karsten Hopp |
910cb6 |
*** ../vim-7.0.054/src/version.c Wed Aug 16 15:56:58 2006
|
|
Karsten Hopp |
910cb6 |
--- src/version.c Wed Aug 16 16:21:45 2006
|
|
Karsten Hopp |
910cb6 |
***************
|
|
Karsten Hopp |
910cb6 |
*** 668,669 ****
|
|
Karsten Hopp |
910cb6 |
--- 668,671 ----
|
|
Karsten Hopp |
910cb6 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
910cb6 |
+ /**/
|
|
Karsten Hopp |
910cb6 |
+ 55,
|
|
Karsten Hopp |
910cb6 |
/**/
|
|
Karsten Hopp |
910cb6 |
|
|
Karsten Hopp |
910cb6 |
--
|
|
Karsten Hopp |
910cb6 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
910cb6 |
157. You fum through a magazine, you first check to see if it has a web
|
|
Karsten Hopp |
910cb6 |
address.
|
|
Karsten Hopp |
910cb6 |
|
|
Karsten Hopp |
910cb6 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
910cb6 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
910cb6 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
910cb6 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|