Wednesday, October 1, 2014

Re: Clipboard missing after Vim update



On Wed, Oct 1, 2014 at 11:00 AM, Gary Johnson <garyjohn@spocom.com> wrote:
On 2014-10-01, Ben Fritz wrote:
> > On Wednesday, October 1, 2014 8:58:08 AM UTC-5, Salman Halim wrote:
> > > Hello,
> > >
> > > I recently compiled GVim on my Windows 7 machine (7.4.463) and
> > > have found that the default yank no longer goes to the system
> > > clipboard. On my previous build (7.4.307), it does. My
> > > 'clipboard' is set to unnamed, which I set many years ago.
> > >
> > > On 307, if I type yiw, I can immediately paste this elsewhere,
> > > including inside GVim. On 463, it has no effect on the system
> > > clipboard at all (previous contents remain unchanged), so
> > > pasting elsewhere doesn't work (it still works in GVim because
> > > it's using the unnamed "" register for everything).
> > >
> > > Typing :reg shows that "" and "0 have the newly yanked text, but
> > > "* does not.
> > >
> > > Explicitly prefixing with "* does work, but this wasn't required
> > > in 307.
> > >
> > > Any ideas? I know that's rather a large number of patches.
> > >
> >
> > Are you CERTAIN that 'clipboard' currently contains "unnamed"?
> > Type ":verbose set clipboard?" to determine that. This should
> > work, and indeed it works for me on a very slightly older path
> > level (430).
>
> I've been seeing funny behavior with the clipboard after a recent
> update, too.  I just haven't taken the time to troubleshoot it.  It
> used to "just work" and now it doesn't.  The symptom is the message,
> "Nothing in register *" (or something like that) when I copy text in
> one program (maybe Vim) and try to paste in another Vim instance
> with p.  I have to use "+p instead.
> > Gary
 
Gary, glad someone else is seeing this, also. I'd be interested to see if you're on patch 430, as is Ben, or newer or older.

 
Ben, yes, I am CERTAIN that 'clipboard' currently contains "unnamed"; I did check before I claimed that it did in my original email, but I appreciate your thoroughness. The output of ":verbose set clipboard?" is:
 
clipboard=unnamed

Last set from c:/vim/_vimrc
 
The specific line from my _vimrc is:
 
set clipboard=unnamed
 
Thank you,
 
Salman

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment