Hi Gary,

Thank you very much for testing the patch. Here is what I have found:

> Test 1
>
>    *   Start Firefox (3.5.3).
>    *   Go to vim.sf.net.
>    *   Triple-click the Vim 7.3 release announcement.

I can confirm that triple-clicking on a line in Firefox 4 on my Arch
Linux box does not actually make a linewise selection! Specifically, it
seems that you cannot make a selection that ends in \n.

That's kind of unlucky; I didn't notice because I use Chromium as my
main browser. You can tell in most programs when the newline has been
selected by noticing that the highlight extends to the end of the
bounding box, instead of to the edge of the text.

When I submit a modified patch, we could agree to test selections from
xterm, which does allow linewise selections.


> Test 2
>
>    *   Using that same Vim instance, select three lines of text by
>        typing
>
>            Vjj"+y

...

>    *   As before, the three lines are inserted _in-line_ at the
>        cursor position.
>
> Here is the output of "./vim --version".
>
>    VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May  2 2011 09:37:36)
>    Normal version with GTK2 GUI.  Features included (+) or not (-):

At first, I could not reproduce this result, so I reconfigured my
installation to match your flags (I compile my vim with HUGE and
--disable-gui)

After a couple recompiles, I can reproduce your result by compiling with
the NORMAL feature set, so it seems that the section of code I targeted
is subject to some DEFINEs that are only triggered in the HUGE version.

Oddly, only pasting a previous vim selection from "+ after restarting
seems to be broken; pasting from "* correctly pastes linewise, and
otherwise pasting from "+ also seems to work for me. Neither paste
linewise without the patch.

I will delve into this more deeply and try compiling with different
feature levels before re-submitting; I have a good idea about what is
the matter. I hope you will be willing to repeat you tests then!

Cheers,
guns

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