Loading ...
Sorry, an error occurred while loading the content.

Re: Bug: Arbitrary number of counts and "motion force"

Expand Messages
  • Christian Brabandt
    Hi glts! ... Hm, I am not sure, this is really invalid and it is hard to draw the line when it should be discarded. regards, Christian -- Der vernünftige
    Message 1 of 6 , Mar 19, 2013
    • 0 Attachment
      Hi glts!

      On Di, 19 Mär 2013, glts wrote:

      > Hi Christian
      >
      > On Tuesday, March 19, 2013 11:02:19 PM UTC+1, Christian Brabandt wrote:
      > > This patch fixes it.
      >
      > No, it's not that simple. Try "5d2V34e".

      Hm, I am not sure, this is really invalid and it is hard to draw the
      line when it should be discarded.

      regards,
      Christian
      --
      Der vernünftige Mensch paßt sich der Welt an; der unvernünftige
      besteht auf dem Versuch, die Welt sich anzupassen. Deshalb hängt aller
      Fortschritt vom unvernünftigen Menschen ab.
      -- George Bernard Shaw

      --
      --
      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 vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Bram Moolenaar
      ... I m not sure giving an error is better than to lust let it happen. A mix of v and V should at least be allowed, one can change its mind. --
      Message 2 of 6 , Mar 20, 2013
      • 0 Attachment
        Christian Brabandt wrote:

        > Hi glts!
        >
        > On Di, 19 M=E4r 2013, glts wrote:
        >
        > > It is possible to give an arbitrary number of counts and "motion force"
        > > (v V <C-V>) after an operator.
        > >=20
        > > For example, in the current Vim 7.3.874, the following is a valid normal
        > > mode command:
        > >=20
        > > d2v45V108v3<C-V>8j
        > >=20
        > > This doesn't make any sense. I think Vim should beep and abort in these
        > > cases, as it does for other invalid command combinations.
        >
        > This patch fixes it.

        I'm not sure giving an error is better than to lust let it happen.
        A mix of "v" and "V" should at least be allowed, one can change its
        mind.


        --
        hundred-and-one symptoms of being an internet addict:
        88. Every single time you press the 'Get mail' button...it does get new mail.

        /// Bram Moolenaar -- Bram@... -- 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 vim_dev+unsubscribe@....
        For more options, visit https://groups.google.com/groups/opt_out.
      • Christian Brabandt
        Hi Bram! ... Indeed. The patch only clears it, if both a count and v/V/Ctrl-V has been given. Mit freundlichen Grüßen Christian -- Leute, die selber Zwiebeln
        Message 3 of 6 , Mar 20, 2013
        • 0 Attachment
          Hi Bram!

          On Mi, 20 Mär 2013, Bram Moolenaar wrote:

          >
          > Christian Brabandt wrote:
          >
          > > Hi glts!
          > >
          > > On Di, 19 M=E4r 2013, glts wrote:
          > >
          > > > It is possible to give an arbitrary number of counts and "motion force"
          > > > (v V <C-V>) after an operator.
          > > >=20
          > > > For example, in the current Vim 7.3.874, the following is a valid normal
          > > > mode command:
          > > >=20
          > > > d2v45V108v3<C-V>8j
          > > >=20
          > > > This doesn't make any sense. I think Vim should beep and abort in these
          > > > cases, as it does for other invalid command combinations.
          > >
          > > This patch fixes it.
          >
          > I'm not sure giving an error is better than to lust let it happen.
          > A mix of "v" and "V" should at least be allowed, one can change its
          > mind.

          Indeed. The patch only clears it, if both a count and v/V/Ctrl-V has
          been given.

          Mit freundlichen Grüßen
          Christian
          --
          Leute, die selber Zwiebeln essen, können nicht gut beurteilen, ob
          andere Zwiebeln gegessen haben oder nicht.
          -- Thornton Niven Wilder

          --
          --
          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 vim_dev+unsubscribe@....
          For more options, visit https://groups.google.com/groups/opt_out.
        Your message has been successfully submitted and would be delivered to recipients shortly.