Bram Moolenaar, 22.02.2009:
> 
> 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.

No, I just verified it with :tselect
In the vim sources "name" has 31 hits, so the more prompt is used. And
the lines are not wrapping.

        vim -u NONE -U NONE -N -t name
        :ts<CR>dq


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

Raspunde prin e-mail lui