5f724a1
To: vim-dev@vim.org
5f724a1
Subject: Patch 7.2.127
5f724a1
Fcc: outbox
5f724a1
From: Bram Moolenaar <Bram@moolenaar.net>
5f724a1
Mime-Version: 1.0
5f724a1
Content-Type: text/plain; charset=ISO-8859-1
5f724a1
Content-Transfer-Encoding: 8bit
5f724a1
------------
5f724a1
5f724a1
Patch 7.2.127
5f724a1
Problem:    When listing mappings and a wrapping line causes the more prompt,
5f724a1
            after typing 'q' there can be another more prompt. (Markus 
5f724a1
            Heidelberg)
5f724a1
Solution:   Set "lines_left" to allow more lines to be displayed.
5f724a1
Files:      src/message.c
5f724a1
5f724a1
5f724a1
*** ../vim-7.2.126/src/message.c	Sun Feb 22 00:58:03 2009
5f724a1
--- src/message.c	Mon Feb 23 04:17:39 2009
5f724a1
***************
5f724a1
*** 2553,2559 ****
5f724a1
  	    {
5f724a1
  		/* Jump to the choices of the dialog. */
5f724a1
  		retval = TRUE;
5f724a1
- 		lines_left = Rows - 1;
5f724a1
  	    }
5f724a1
  	    else
5f724a1
  #endif
5f724a1
--- 2553,2558 ----
5f724a1
***************
5f724a1
*** 2561,2566 ****
5f724a1
--- 2560,2568 ----
5f724a1
  		got_int = TRUE;
5f724a1
  		quit_more = TRUE;
5f724a1
  	    }
5f724a1
+ 	    /* When there is some more output (wrapping line) display that
5f724a1
+ 	     * without another prompt. */
5f724a1
+ 	    lines_left = Rows - 1;
5f724a1
  	    break;
5f724a1
  
5f724a1
  #ifdef FEAT_CLIPBOARD
5f724a1
*** ../vim-7.2.126/src/version.c	Tue Feb 24 04:28:40 2009
5f724a1
--- src/version.c	Tue Feb 24 04:35:38 2009
5f724a1
***************
5f724a1
*** 678,679 ****
5f724a1
--- 678,681 ----
5f724a1
  {   /* Add new patch number below this line */
5f724a1
+ /**/
5f724a1
+     127,
5f724a1
  /**/
5f724a1
5f724a1
-- 
5f724a1
The difference between theory and practice, is that in theory, there
5f724a1
is no difference between theory and practice.
5f724a1
5f724a1
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
5f724a1
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
5f724a1
\\\        download, build and distribute -- http://www.A-A-P.org        ///
5f724a1
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///