I can confirm the described behaviour on 7.4.52
On Thu, Jul 3, 2014 at 4:25 AM, Tim Chase <[email protected]> wrote: > Can anyone reproduce the following, and if so, is this a bug? > > vim -u NONE -N > > (start vim with no .vimrc in 'nocompatible' mode) > > ihello<esc> > > (insert some text on the first line) > > Y > > (yank the line) > > :reg > > (correctly shows that "" and "0 contain the yanked line) > > :redir @" > > (redirect into the scratch register) > > :reg > > Hey, where did my 0 register go?! I expected the scratch register to > get tromped, but not my yank register. I didn't do any yanking, and > the help says """ > > Numbered register 0 contains the text from the most recent yank > command, unless the command specified another register with ["x]. > > """ > > It appears that ":redir @[a-z]" is somehow treated as a yank. > > -tim > > > > > -- > -- > You received this message from the "vim_use" 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_use" 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. > -- -- You received this message from the "vim_use" 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_use" 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.
