Lech Lorens wrote:

> On 16-Aug-2010 Peter Odding <pe...@peterodding.com> wrote:
> > Lech Lorens wrote:
> > >Recently I've also been having lots of problems with pasting into/from
> > >Vim. So far I haven't figured out what it is that makes pasting
> > >sometimes fail, but it happens to me frequently. If I am not mistaken,
> > >if an instance of Vim is having problems with pasting, it doesn't get
> > >better; the only solution is to close Vim and start a new instance.
> > 
> > Are you referring to a specific platform or GUI version of Vim?
> > Because I've been getting annoyed with GVim 7.3 on GTK (Linux)
> > apparently losing my paste buffer. One complication in my setup is
> > that I'm running VirtualBox with clipboard integration enabled and
> > while this is a great feature when it works, it also seems to eat my
> > paste buffer once in a while...
> > 
> >  - Peter Odding
> 
> Ah, how could I have forgotten to mention that I'm using Vim 7.3 with Athena
> GUI on Linux.
> The thing that deceived me at first is that I recently changed my window
> manager from Fluxbox under Gnome to Awesome. But if more people are
> having problems, maybe Vim is to blame.
> 
> -- 
> Cheers,
> Lech

for me (from the original report), vim definitely looks
like the culprit. i'm using macosx-10.6.4, motif (from
macports) and the X11 that comes with macosx (and a recent
version of xquartz-2.5.2) and twm. given that fixed setup,
vim-7.3 can't copy/paste but vim-7.2.446 can.

i'm just having another look at the behaviour which seems to
be: on starting gvim, you can copy from other windows and
paste into gvim's window multiple times. however, as soon as
you select any text in the gvim window it no longer sees any
text selections that have happened in other windows, nor do
other windows see any selections that have been made in
gvim. so as soon as you select text in gvim, it becomes
isolated from the system's primary selection and just
operates with its own local one.

so it looks like this behaviour applies to linux and macosx
and to gtk, athena and motif but it obviously can't be
happening for everyone or it would never have survived this far.

i hope this helps someone find the cause of the problem.

cheers,
raf

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

Raspunde prin e-mail lui