Karsten Hopp 99ed64
To: vim-dev@vim.org
Karsten Hopp 99ed64
Subject: Patch 7.2.123
Karsten Hopp 99ed64
Fcc: outbox
Karsten Hopp 99ed64
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 99ed64
Mime-Version: 1.0
Karsten Hopp 99ed64
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 99ed64
Content-Transfer-Encoding: 8bit
Karsten Hopp 99ed64
------------
Karsten Hopp 99ed64
Karsten Hopp 99ed64
Patch 7.2.123
Karsten Hopp 99ed64
Problem:    Typing 'q' at more prompt for ":map" output still displays another
Karsten Hopp 99ed64
            line, causing another more prompt. (Markus Heidelberg)
Karsten Hopp 99ed64
Solution:   Quit listing maps when 'q' typed.
Karsten Hopp 99ed64
Files:      src/getchar.c
Karsten Hopp 99ed64
Karsten Hopp 99ed64
Karsten Hopp 99ed64
*** ../vim-7.2.122/src/getchar.c	Fri Nov 28 12:05:07 2008
Karsten Hopp 99ed64
--- src/getchar.c	Sun Feb 22 23:10:45 2009
Karsten Hopp 99ed64
***************
Karsten Hopp 99ed64
*** 3816,3822 ****
Karsten Hopp 99ed64
--- 3816,3826 ----
Karsten Hopp 99ed64
      int len = 1;
Karsten Hopp 99ed64
  
Karsten Hopp 99ed64
      if (msg_didout || msg_silent != 0)
Karsten Hopp 99ed64
+     {
Karsten Hopp 99ed64
  	msg_putchar('\n');
Karsten Hopp 99ed64
+ 	if (got_int)	    /* 'q' typed at MORE prompt */
Karsten Hopp 99ed64
+ 	    return;
Karsten Hopp 99ed64
+     }
Karsten Hopp 99ed64
      if ((mp->m_mode & (INSERT + CMDLINE)) == INSERT + CMDLINE)
Karsten Hopp 99ed64
  	msg_putchar('!');			/* :map! */
Karsten Hopp 99ed64
      else if (mp->m_mode & INSERT)
Karsten Hopp 99ed64
*** ../vim-7.2.122/src/version.c	Sun Feb 22 21:12:22 2009
Karsten Hopp 99ed64
--- src/version.c	Sun Feb 22 23:16:29 2009
Karsten Hopp 99ed64
***************
Karsten Hopp 99ed64
*** 678,679 ****
Karsten Hopp 99ed64
--- 678,681 ----
Karsten Hopp 99ed64
  {   /* Add new patch number below this line */
Karsten Hopp 99ed64
+ /**/
Karsten Hopp 99ed64
+     123,
Karsten Hopp 99ed64
  /**/
Karsten Hopp 99ed64
Karsten Hopp 99ed64
-- 
Karsten Hopp 99ed64
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 99ed64
120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun."
Karsten Hopp 99ed64
Karsten Hopp 99ed64
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 99ed64
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 99ed64
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 99ed64
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///