On Wed, Jun 10, 2015 at 12:13:21AM -0700, h_east wrote:
> Hi Ike and Bram,
>
> 2015/6/10(Wed) 15:51:55 UTC+9 Ike:
> > On Tue, Jun 09, 2015 at 07:24:37PM +0200, Bram Moolenaar wrote:
> > >
> > > Patch 7.4.732
> > > Problem: The cursor line is not always updated for the "O" command.
> > > Solution: Reset the VALID_CROW flag. (Christian Brabandt)
> > > Files: src/normal.c
> > >
> > >
> > > *** ../vim-7.4.731/src/normal.c 2015-03-31 17:46:16.844128018 +0200
> > > --- src/normal.c 2015-06-09 19:18:30.394588238 +0200
> > > ***************
> > > *** 8493,8498 ****
> > > --- 8493,8501 ----
> > > /* When '#' is in 'cpoptions' ignore the count. */
> > > if (vim_strchr(p_cpo, CPO_HASH) != NULL)
> > > cap->count1 = 1;
> > > + if (curwin->w_p_cul)
> > > + /* force redraw of cursorline */
> > > + curwin->w_valid &= ~VALID_CROW;
> > > invoke_edit(cap, FALSE, cap->cmdchar, TRUE);
> > > }
> > > }
> > > *** ../vim-7.4.731/src/version.c 2015-06-09 19:14:18.777373918 +0200
> > > --- src/version.c 2015-06-09 19:20:00.357591407 +0200
> > > ***************
> > > *** 743,744 ****
> > > --- 743,746 ----
> > > { /* Add new patch number below this line */
> > > + /**/
> > > + 732,
> > > /**/
> > >
> > > --
> > > From "know your smileys":
> > > 8-O "Omigod!!" (done "rm -rf *" ?)
> > >
> > > /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net
> > > \\\
> > > /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/
> > > \\\
> > > \\\ an exciting new programming language -- http://www.Zimbu.org
> > > ///
> > > \\\ help me help AIDS victims -- http://ICCF-Holland.org
> > > ///
> > >
> > > --
> > > --
> > > 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.
> >
> > Tiny build fails after this patch:
> >
> >
> > normal.c: In function 'n_opencmd':
> > normal.c:8490:16: error: 'win_T {aka struct window_S}' has no member named
> > 'w_p_cul'
> > if (curwin->w_p_cul)
> > ^
> > Makefile:2703: recipe for target 'objects/normal.o' failed
> >
> > Did not check any further yet.
>
> I attached a patch that fixes problem.
>
> --
> Best regards,
> Hirohito Higashi (a.k.a. h_east)
>
> --
> --
> 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.> diff -r 7a8dcf699b22 src/normal.c > --- a/src/normal.c Tue Jun 09 21:33:31 2015 +0200 > +++ b/src/normal.c Wed Jun 10 16:07:28 2015 +0900 > @@ -8487,9 +8487,11 @@ > /* When '#' is in 'cpoptions' ignore the count. */ > if (vim_strchr(p_cpo, CPO_HASH) != NULL) > cap->count1 = 1; > +#ifdef FEAT_SYN_HL > if (curwin->w_p_cul) > /* force redraw of cursorline */ > curwin->w_valid &= ~VALID_CROW; > +#endif > invoke_edit(cap, FALSE, cap->cmdchar, TRUE); > } > } Thanks, I confirm that this fixes it. -- Ike -- -- 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.
pgpcJqVLsxdvU.pgp
Description: PGP signature
