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

Re: Patch 7.3.776 breaks keyword matching (\k \< \>) on other window.

Expand Messages
  • Bram Moolenaar
    ... Thanks for fixing this! Please watch out for similar problems, not changing curbuf while doing regexp matching was a big change with unknown side
    Message 1 of 2 , Jan 28, 2013
    • 0 Attachment
      Yukihiro Nakadaira wrote:

      > Patch 7.3.776 breaks keyword matching (\k \< \>) on other window.
      >
      > Steps to reproduce:
      >
      > $ vim -u NONE
      > :syntax on
      > :call setline(1, 'foo')
      > :syntax match Keyword /\k\+/
      > :new
      > :setlocal iskeyword=
      > :redraw!
      >
      > Now, "foo" is not highlighted.
      >
      >
      > Please check the following patch.

      Thanks for fixing this! Please watch out for similar problems, not
      changing "curbuf" while doing regexp matching was a big change with
      unknown side effects. But it is the right way to go.


      --
      DENNIS: Listen -- strange women lying in ponds distributing swords is no
      basis for a system of government. Supreme executive power derives
      from a mandate from the masses, not from some farcical aquatic
      ceremony.
      The Quest for the Holy Grail (Monty Python)

      /// 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, send 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.