home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.056 < prev    next >
Encoding:
Internet Message Format  |  2001-10-31  |  1.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.056
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.056
  11. Problem:    Using "CTRL-O cw" in Insert mode results in a nested Insert mode.
  12.             <Esc> doesn't leave Insert mode then.
  13. Solution:   Only use nested Insert mode when 'insertmode' is set or when a
  14.             mapping is used.
  15. Files:      src/normal.c
  16.  
  17.  
  18. *** ../vim60.55/src/normal.c    Wed Oct 31 11:56:35 2001
  19. --- src/normal.c    Wed Oct 31 11:51:54 2001
  20. ***************
  21. *** 1730,1737 ****
  22.           {
  23.           /* This is a new edit command, not a restart.  Need to
  24.            * remember it to make 'insertmode' work with mappings for
  25. !          * Visual mode.  But do this only once. */
  26. !         restart_edit_save = restart_edit;
  27.           restart_edit = 0;
  28.           if (op_change(oap))    /* will call edit() */
  29.               cap->retval |= CA_COMMAND_BUSY;
  30. --- 1729,1740 ----
  31.           {
  32.           /* This is a new edit command, not a restart.  Need to
  33.            * remember it to make 'insertmode' work with mappings for
  34. !          * Visual mode.  But do this only once and not when typed and
  35. !          * 'insertmode' isn't set. */
  36. !         if (p_im || !KeyTyped)
  37. !             restart_edit_save = restart_edit;
  38. !         else
  39. !             restart_edit_save = 0;
  40.           restart_edit = 0;
  41.           if (op_change(oap))    /* will call edit() */
  42.               cap->retval |= CA_COMMAND_BUSY;
  43. *** ../vim60.55/src/version.c    Thu Nov  1 14:41:29 2001
  44. --- src/version.c    Thu Nov  1 14:43:11 2001
  45. ***************
  46. *** 608,609 ****
  47. --- 608,611 ----
  48.   {   /* Add new patch number below this line */
  49. + /**/
  50. +     56,
  51.   /**/
  52.  
  53. -- 
  54. The problem with political jokes is that they get elected. 
  55.  
  56.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  57. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  58.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  59.