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