Wednesday, October 1, 2014

Re: Clipboard missing after Vim update

On Mi, 01 Okt 2014, Gary Johnson wrote:

> On 2014-10-01, Christian Brabandt wrote:
> > On Mi, 01 Okt 2014, Gary Johnson 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.
> > >
> > > I'll have a closer look when I get to work.
> >
> > Perhaps patch 7.4.445 did not fix all problems that where introduced by
> > 7.4.396?
>
> I'm running 7.4.430 at work. I was previously running 7.4.389. I
> haven't had time this morning to do any testing of this. If you
> think these problems were fixed by patch 445, I can update my build
> to the latest and see what happens. Is there any value in my
> testing 7.4.430 first?

7.4.445 did fix a bug, that the clipboard was cleared when starting Vim.
This was caused by an error in the original 7.4.396 patch (which fixes
the problem that accessing the clipboard could hang Vim when using batch
operations). But IIRC, once Vim started, the clipboard worked
(well, I couldn't test on Windows).

Best,
Christian
--
Erfüllte Wünsche bedeuten Stillstand. Solange wir leben, müssen wir
unterwegs bleiben.
-- Heinz Rühmann

--
--
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: