Sunday, March 6, 2011

Re: X clipboard interaction broken?

On Sun, Mar 06, 2011 at 10:15:45PM +1100, Ben Schmidt wrote:
> > Both '+' and '*' work as expected in vim-7.2.446 but not in vim-7.3.x.
> > Actually it's a bit more complicated than that: sometimes copying
> > into */+ does work but most of the time it doesn't (and there's no
> > apparent pattern), which makes me think this could be a bug in vim-7.3
> >
> > Here's a testing sequence:
> > - run vim, type in a line of text, copy it with V"+y
> > - switch to firefox to check if 'Paste' is still grayed out
> > - go back to vim and try V"+y again
> > Sometimes it works on 4th attempt, sometimes on 6th, and sometimes
> > on 15th.
>
> I don't have Linux, I'm afraid, so will struggle to test this!
>
> Is there someone else around who has Linux and can reproduce this?
>
> Even better, is there by chance anyone who could possibly reproduce it
> and confirm using Mercurial's bisect command which changeset introduced
> the problem?

Okay, now I'm fairly certain 917fff7bc0 is the offending commit:
http://code.google.com/p/vim/source/detail?r=917fff7bc09d4cc19795a92aaffa8e87b07d443b

The reverse diff (-r 917fff7bc0 -r fb627e94e6) is hard to merge into
the current tree (7.3.138), but, being applied to 7.3.000, it does
the trick - makes the registers in question work flawlessly again.

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

No comments:

Post a Comment