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.080 < prev    next >
Encoding:
Internet Message Format  |  2001-11-04  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.080
  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.080
  11. Problem:    When using a session file that has the same file in two windows,
  12.         the fileinfo() call in do_ecmd() causes a scroll and a hit-enter
  13.         prompt. (Robert Webb)
  14. Solution:   Don't scroll this message when 'shortmess' contains 'O'.
  15. Files:        src/ex_cmds.c
  16.  
  17.  
  18. *** ../vim60.79/src/ex_cmds.c    Fri Sep 21 20:05:35 2001
  19. --- src/ex_cmds.c    Mon Nov  5 20:55:36 2001
  20. ***************
  21. *** 2972,2978 ****
  22. --- 2972,2994 ----
  23.           && !auto_buf
  24.   #endif
  25.                   )
  26. +     {
  27. +     int    msg_scroll_save = msg_scroll;
  28. +     /* Obey the 'O' flag in 'cpoptions': overwrite any previous file
  29. +      * message. */
  30. +     if (shortmess(SHM_OVERALL) && !exiting && p_verbose == 0)
  31. +         msg_scroll = FALSE;
  32. +     if (!msg_scroll)    /* wait a bit when overwriting an error msg */
  33. +         check_for_delay(FALSE);
  34. +     msg_start();
  35. +     msg_scroll = msg_scroll_save;
  36. +     msg_scrolled_ign = TRUE;
  37.       fileinfo(FALSE, TRUE, FALSE);
  38. +     msg_scrolled_ign = FALSE;
  39. +     }
  40.   
  41.       if (command != NULL)
  42.       do_cmdline(command, NULL, NULL, DOCMD_VERBOSE);
  43. *** ../vim60.79/src/version.c    Mon Nov  5 21:01:58 2001
  44. --- src/version.c    Mon Nov  5 20:57:03 2001
  45. ***************
  46. *** 608,609 ****
  47. --- 608,611 ----
  48.   {   /* Add new patch number below this line */
  49. + /**/
  50. +     80,
  51.   /**/
  52.  
  53. -- 
  54. hundred-and-one symptoms of being an internet addict:
  55. 4. Your eyeglasses have a web site burned in on them.
  56.  
  57.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  58. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  59.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  60.