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

68221Re: Vim hangs with insertion after long line

Expand Messages
  • Bram Moolenaar
    Feb 13, 2013
      Christian Brabandt wrote:

      > On Mi, 13 Feb 2013, Bram Moolenaar wrote:
      > > Still have a long pending job of making the fast RE code work properly
      > > and test it...
      > Can't we just have an 'experimental' setting, that enables experimental
      > features, e.g. the new fast RE? This would get this feature a lot more
      > testing and we could check, whether it suffers the same bug (otherwise
      > we never know, when this feature has enough testing to be ready to be
      > included).
      > (Also, patches to the regular expression engine like the last patch
      > /[^\n] that shouldn't match linebreaks possibly also need to be applied
      > to the new RE engine).

      The idea was to have a "whitelist" for the pattern. If it passes that
      then use the new RE code, otherwise fall back to the old stuff.
      Gradually the whitelist would get longer.

      Main thing still to do is testing. We can't really expect users to just
      run in bugs all the time. It's complicated stuff. Don't want the same
      long time bug fighting as we had with the conceal mode.
      For testing we would have a way to force the old or new RE engine,
      and compare the results.

      Why is "abbreviation" such a long word?

      /// 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.
    • Show all 17 messages in this topic