home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: Patch 6.1.132
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- Mime-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- ------------
-
- Patch 6.1.132
- Problem: Executing a register in Ex mode may cause commands to be skipped.
- (John McGowan)
- Solution: In Ex mode use an extra check if the register contents was
- consumed, to avoid input goes into the typeahead buffer.
- Files: src/ex_docmd.c
-
-
- *** ../vim61.131/src/ex_docmd.c Thu Jul 4 21:00:06 2002
- --- src/ex_docmd.c Thu Jul 18 20:44:49 2002
- ***************
- *** 6400,6406 ****
- --- 6408,6421 ----
- exec_from_reg = TRUE;
- /* execute from the mapbuf */
- while (vpeekc() == ':')
- + {
- (void)do_cmdline(NULL, getexline, NULL, DOCMD_NOWAIT|DOCMD_VERBOSE);
- + /* In Ex mode need to quit when the typeahead is exhausted,
- + * otherwise input unexpectedly goes to the typeahead buffer and
- + * getexmodeline() can't get it with inchar(). */
- + if (exmode_active && stuff_empty() && typebuf.tb_len == 0)
- + break;
- + }
-
- exec_from_reg = save_efr;
- }
- *** ../vim61.131/src/version.c Sun Jul 21 20:47:17 2002
- --- src/version.c Sun Jul 21 20:49:20 2002
- ***************
- *** 608,609 ****
- --- 608,611 ----
- { /* Add new patch number below this line */
- + /**/
- + 132,
- /**/
-
- --
- hundred-and-one symptoms of being an internet addict:
- 13. You refer to going to the bathroom as downloading.
-
- /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\
- /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\
- \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
- \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
-