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.1.127 < prev    next >
Encoding:
Internet Message Format  |  2002-07-12  |  2.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.127
  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.1.127
  11. Problem:    When using "--remote file" and the server has 'insertmode' set,
  12.         commands are inserted instead of being executed. (Niklas Volbers)
  13. Solution:   Go to Normal mode again after the ":drop" command.
  14. Files:        src/main.c
  15.  
  16.  
  17. *** ../vim61.126/src/main.c    Sun Jun  9 20:51:06 2002
  18. --- src/main.c    Sat Jul 13 15:29:31 2002
  19. ***************
  20. *** 2839,2845 ****
  21.       ga_concat(&ga, p);
  22.       vim_free(p);
  23.       }
  24. !     ga_concat(&ga, (char_u *)"<CR>:cd -");
  25.       if (sendReply)
  26.       ga_concat(&ga, (char_u *)"<CR>:call SetupRemoteReplies()");
  27.       if (inicmd != NULL)
  28. --- 2840,2848 ----
  29.       ga_concat(&ga, p);
  30.       vim_free(p);
  31.       }
  32. !     /* The :drop commands goes to Insert mode when 'insertmode' is set, use
  33. !      * CTRL-\ CTRL-N again. */
  34. !     ga_concat(&ga, (char_u *)"<CR><C-\\><C-N>:cd -");
  35.       if (sendReply)
  36.       ga_concat(&ga, (char_u *)"<CR>:call SetupRemoteReplies()");
  37.       if (inicmd != NULL)
  38. ***************
  39. *** 2847,2854 ****
  40.       ga_concat(&ga, (char_u *)"<CR>:");
  41.       ga_concat(&ga, inicmd);
  42.       }
  43. !     /* Bring the window to the foreground & clear command line */
  44. !     ga_concat(&ga, (char_u *)"<CR>:call foreground()<CR>:<CR>");
  45.       ga_append(&ga, NUL);
  46.       return ga.ga_data;
  47.   }
  48. --- 2850,2858 ----
  49.       ga_concat(&ga, (char_u *)"<CR>:");
  50.       ga_concat(&ga, inicmd);
  51.       }
  52. !     /* Bring the window to the foreground, goto Insert mode when 'im' set and
  53. !      * clear command line */
  54. !     ga_concat(&ga, (char_u *)"<CR>:call foreground()<CR>:if &im|starti|endif|echo<CR>");
  55.       ga_append(&ga, NUL);
  56.       return ga.ga_data;
  57.   }
  58. *** ../vim61.126/src/version.c    Tue Jul  9 21:50:11 2002
  59. --- src/version.c    Sat Jul 13 15:30:21 2002
  60. ***************
  61. *** 608,609 ****
  62. --- 608,611 ----
  63.   {   /* Add new patch number below this line */
  64. + /**/
  65. +     127,
  66.   /**/
  67.  
  68. -- 
  69. CART DRIVER: Bring out your dead!
  70. LARGE MAN:   Here's one!
  71. CART DRIVER: Ninepence.
  72. BODY:        I'm not dead!
  73.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  74.  
  75.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  76. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  77. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  78.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  79.