I noticed a bug with viewport positioning when incsearch and scrolloff
are set.  It's rare and difficult to reproduce, but can be reproduced
with vim 7.3.547-7 (debian) and 7.4.537-1 (arch).  I'm pretty sure this
bug is not present in gvim.

I've been able to reproduce this bug using a specific terminal size, so
I'll provide steps to get that size using tmux.  Open a new tmux
session:

  $ tmux

Set terminal width and height to 141x21:

  $ tmux set-window-option force-width 141 && \
    tmux set-window-option force-height 21

Now, download scrolloff.txt (attached) and open it in vanilla vim:

  $ vim scrolloff.txt -u NONE --noplugin

Set incsearch and scrolloff:

  :set incsearch scrolloff=1

Position cursor on first line, then search for "steel":

  /steel<CR>

Two problems:

1) pressing the second 'e' moves viewport somewhere wrong
2) pressing enter puts the viewport somewhere wrong

Thanks,
Troy

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
From: Troy Sankey <[email protected]>
To: person
Cc: 
Bcc: 
Subject: Re: Sea Mist Rentals on Yelp
In-reply-to: 
<cajgkha_cwdhooqgb5_3gi13www93qz_5oxt4ksahsgcmt-g...@mail.gmail.com>
References: 
<cajgkha98ukb2auddqt6wnw4qtnh_1gm11wh-u1znc_zq5-e...@mail.gmail.com> 
<1417246084-sup-7757@ultra> 
<CAJgKHA_+saQV+HJoxUki6m0pS7pX24eAnKDvNpvC2OQAwTOM=g...@mail.gmail.com> 
<1417299479-sup-6052@ultra> 
<CAJgKHA9VkhryK8DqQFHmi=nxs9f8z7g0yomcsk6zzmnvoad...@mail.gmail.com> 
<cajgkha-pkn89nmfn66hbkftacawmh4ngrrzn+m7qwemsvyi...@mail.gmail.com> 
<1417310318-sup-7913@ultra> 
<CAJgKHA-=e-wbq-8olrzvll6cb-cjkfqxy4joehch7iqj1ae...@mail.gmail.com> 
<1417317758-sup-3402@ultra> 
<CAJgKHA8yzcSD-Ts9VzZnvHzoN0Suq3PKgo=lw0a4ukwkynr...@mail.gmail.com> 
<1417377242-sup-1454@ultra> <1417396769-sup-5383@ultra> 
<CAJgKHA-pTg6Ve=s347vq635sk4he85j8-ww+jyhi57hznd7...@mail.gmail.com> 
<1417399860-sup-7968@ultra> 
<CAJgKHA8XOsHCwekSOZkBC=xcft7ybk45_0g_8lx_3ahercx...@mail.gmail.com> 
<1417411018-sup-2038@ultra> 
<cajgkha8pcphn-ttekvjrptg3tw6sjuwo_ratgzyqz2ha94e...@mail.gmail.com> 
<1417417265-sup-3592@ultra> <1417418844-sup-8879@ultra> 
<CAJgKHA988xm8DRmnMhbzAnYh5exy9qT6_oc1e9=14skyago...@mail.gmail.com> 
<CAJgKHA-RZiUOHZ_VY=zmgmbredluuczkeyhbs9xhsrmt8vv...@mail.gmail.com> 
<1417495730-sup-5926@ultra> 
<cajgkha_cwdhooqgb5_3gi13www93qz_5oxt4ksahsgcmt-g...@mail.gmail.com>

On 2014-12-02 11:08:51 -0800, person wrote:
> poopity poop?

Yes, poopity poop.

poop poop poop poop poop poop poop poop poop poop poop poop poop
poop poop poop poop poop poop poop poop poop poop poop poop poop
poop poop poop poop poop poop poop poop poop poop poop poop poop
poop poop poop poop poop poop poop poop poop poop poop poop poop
poop poop poop poop steel poop poop poop poop poop poop poop poop
poop poop poop poop poop poop poop poop poop poop poop poop poop
poop poop poop poop poop poop poop poop poop poop poop poop poop
poop poop poop poop poop poop poop poop poop poop poop poop poop
poop poop poop poop poop poop poop poop poop poop poop poop poop

Troy

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Raspunde prin e-mail lui