Re: gvim + X + geometry + set line + cttrl-f + folding (whew!) : a bug

2006-05-02 Thread Bram Moolenaar

Charles Campbell wrote:

 This one appears to be a ctrl-f (and ctrl-b) bug.  Here's the setup: 
 (using Linux,vim-7.0g, huge)
 
 .vimrc :
   set nocp
 
 .gvimrc :
  set lines=21
 
 no .vim/ directory.
 
 Now, for the problem:
 
 gvim -geometry 139x22+0+4 netrw.vim
 11jspace
 zcr
 4jspace6k4j
 ctrl-f
 
 Note that the ctrl-f does not advance a page; instead, the cursor 
 returns to the top line (which is a fold).  Similar misbehavior
 happens with a ctrl-b.  I have to use hit ctrl-e several times to move
 the folds off the top; then, ctrl-f works again.

I don't see the problem.  Perhaps you can tell us what the display looks
like after each command.  I'm not sure I have the same version of
netrw.vim (there have been quite a few!).

Also, it's easier if you start with gvim -u NONE -N 

-- 
ARTHUR:Be quiet!  I order you to shut up.
OLD WOMAN: Order, eh -- who does he think he is?
ARTHUR:I am your king!
OLD WOMAN: Well, I didn't vote for you.
 Monty Python and the Holy Grail PYTHON (MONTY) PICTURES LTD

 /// 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///


gvim + X + geometry + set line + cttrl-f + folding (whew!) : a bug

2006-05-01 Thread Charles E. Campbell, Jr.

Hello!

This one appears to be a ctrl-f (and ctrl-b) bug.  Here's the setup: 
(using Linux,vim-7.0g, huge)


.vimrc :
 set nocp

.gvimrc :
set lines=21

no .vim/ directory.

Now, for the problem:

gvim -geometry 139x22+0+4 netrw.vim
11jspace
zcr
4jspace6k4j
ctrl-f

Note that the ctrl-f does not advance a page; instead, the cursor 
returns to the
top line (which is a fold).  Similar misbehavior happens with a ctrl-b.  
I have to
use hit ctrl-e several times to move the folds off the top; then, ctrl-f 
works again.


Regards,
Chip Campbell