Markus Heidelberg wrote:

> When in the pager because the :map output is to long for the screen,
> leaving it with the possible keys (q : <Esc> Ctrl-C) sometimes doesn't
> work immediately. It is depended on the size of Vim's screen. I tested
> it with vim on the KDE Konsole and with gvim.
> Maybe it is also dependent on the output of :map. If you can't reproduce
> it, I will be more specific.
> 
> Some test cases:
> 
> vim on Konsole maximized, lines=50 columns=155
> 
>   :map<CR>q
>   :map<CR>ddq
> 
> vim on Konsole standard, lines=24 columns=80
> 
>   :map<CR>q
>   :map<CR>ddddq
>   :map<CR>ddddddq
> 
> gvim, lines=30, columns=80
> 
>   :map<CR>dq
>   :map<CR>dddq
>   :map<CR>ddddq
>   :map<CR>dddddddq
>   :map<CR>ddddddddq
> 
> 
> I tried Vim 7.1 which worked correctly and git-bisected it down to Patch
> 7.1.056, which introduced this regression:
> 
>     Patch 7.1.056
>     Problem:    More prompt does not behave correctly after scrolling back.
>                 (Randall W. Morris)
>     Solution:   Avoid lines_left becomes negative. (Chris Lubinski)  Don't 
> check
>                 mp_last when deciding to show the more prompt. (Martin Toft)
>     Files:      src/message.c
> 
> After reverting it on 7.2.121, I can't see these problems any more.

I see the problem.  It's specific for the :map command, only sideways
related to that patch.

-- 
hundred-and-one symptoms of being an internet addict:
119. You are reading a book and look for the scroll bar to get to
     the next page.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui