Am Montag, den 10.04.2017, 07:46 -0700 schrieb Ben Fritz:
> On Monday, April 10, 2017 at 9:39:20 AM UTC-5, Wolfgang Jeltsch wrote:
> > 
> > Hi!
> > 
> > The Vim documentation says the following under “quote_quote” about
> > the unnamed register ("):
> > 
> > > Vim fills this register with text deleted with the “d”, “c”, “s”,
> > > “x” commands or copied with the yank “y” command, regardless of
> > > whether or not a specific register was used (e.g. "xdd). This is
> > > like the unnamed register is pointing to the last used register.
> > > Thus when appending using an uppercase register name, the unnamed
> > > register contains the same text as the named register.
> >
> > However, the part with uppercase register names does not work for me
> > when deleting. I only get the last deleted text into the unnamed
> > register. For example, when I enter "add and then "Add, register a
> > contains both deleted lines, but the unnamed register only contains
> > the last one, although it should contain the same text as
> > register a. However, things work as expected with the yank (y)
> > command.
> > 
> > I asked on StackExchange why this is and several people told me that
> > this seemed like a bug to them. So is this a bug? If not, why is Vim
> > behaving like this?
> > 
> > All the best,
> > Wolfgang
>
> I can't reproduce this in 8.0.427 64-bit gvim on Windows. What version
> of Vim are you using? Does it do the same thing without your
> configuration loaded, e.g. when launching with "gvim -N -u NONE -i
> NONE"?

Yes, the behavior is the same with “gvim -N -u NONE -i NONE”. I use
Vim 7.4 including patches 1–1689 on Ubuntu 16.04 LTS.

All the best,
Wolfgang

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui