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.225 < prev    next >
Encoding:
Internet Message Format  |  2002-10-13  |  2.1 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.225
  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.225
  11. Problem:    Using <C-O><C-^> in Insert mode has a delay when starting "vim -u
  12.         NONE" and ":set nocp hidden". (Emmanuel)  do_ecmd() uses
  13.         fileinfo(), the redraw is done after a delay to give the user time
  14.         to read the message.
  15. Solution:   Put the message from fileio() in "keep_msg", so that the redraw is
  16.         done before the delay (still needed to avoid the mode message
  17.         overwrites the fileinfo() message).
  18. Files:        src/buffer.c
  19.  
  20.  
  21. *** ../vim61.224/src/buffer.c    Sun Oct 13 20:08:13 2002
  22. --- src/buffer.c    Mon Oct 14 20:30:25 2002
  23. ***************
  24. *** 2582,2588 ****
  25.       msg_scroll = n;
  26.       }
  27.       else
  28. !     msg_trunc_attr(buffer, FALSE, 0);
  29.   
  30.       vim_free(buffer);
  31.   }
  32. --- 2582,2600 ----
  33.       msg_scroll = n;
  34.       }
  35.       else
  36. !     {
  37. !     p = msg_trunc_attr(buffer, FALSE, 0);
  38. !     if (restart_edit != 0 || (msg_scrolled && !need_wait_return))
  39. !     {
  40. !         /* Need to repeat the message after redrawing when:
  41. !          * - When restart_edit is set (otherwise there will be a delay
  42. !          *   before redrawing).
  43. !          * - When the screen was scrolled but there is no wait-return
  44. !          *   prompt. */
  45. !         set_keep_msg(p);
  46. !         keep_msg_attr = 0;
  47. !     }
  48. !     }
  49.   
  50.       vim_free(buffer);
  51.   }
  52. *** ../vim61.224/src/version.c    Mon Oct 14 20:20:44 2002
  53. --- src/version.c    Mon Oct 14 20:37:56 2002
  54. ***************
  55. *** 608,609 ****
  56. --- 608,611 ----
  57.   {   /* Add new patch number below this line */
  58. + /**/
  59. +     225,
  60.   /**/
  61.  
  62. -- 
  63. hundred-and-one symptoms of being an internet addict:
  64. 219. Your spouse has his or her lawyer deliver the divorce papers...
  65.      via e-mail.
  66.  
  67.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  68. ///          Creator of Vim - Vi IMproved -- http://www.vim.org          \\\
  69. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  70.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  71.