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

Re: PATCH: Startup value for v:register

Expand Messages
  • Bram Moolenaar
    ... Thanks. David, can you verify this doesn t break the yankring plugin? -- Space is big. Really big. You just won t believe how vastly hugely mind-
    Message 1 of 5 , Sep 27, 2011
      Ingo Karkat wrote:

      > >> Hello Vim developers,
      > >>
      > >> The current discussion about v:register and "unnamedplus" reminded me of
      > >> a patch I had sent some time ago. It used to be in the todo list, but
      > >> apparently isn't any more. (Maybe it was accidentally removed when Bram
      > >> accepted another related same-day patch from me.)
      > >>
      > >> To recap, I'd like to improve the help text for v:register and correct
      > >> the edge case of v:register value immediately after startup. Old message
      > >> and revised help text suggestion below.
      > >
      > > Please make this patch against the latest version. I did include some
      > > of it.
      >
      > Ah, sorry. It's hard to keep up with the runtime updates, as you do them
      > in batches, not atomic commits referencing the patch or origin. I'm fine
      > with the updated help text, so there's only the issue of the initial
      > (empty) value of v:register immediately after startup. Granted, it's an
      > edge case that only occurs when the very first command given is a custom
      > normal mode mapping that uses v:register, but a bug nonetheless. This
      > patch, updated against 7.3.322, fixes it.

      Thanks. David, can you verify this doesn't break the yankring plugin?


      --
      "Space is big. Really big. You just won't believe how vastly hugely mind-
      bogglingly big it is. I mean, you may think it's a long way down the
      road to the chemist, but that's just peanuts to space."
      -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

      /// 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
    Your message has been successfully submitted and would be delivered to recipients shortly.