Jun Takimoto wrote:
> On 2015/01/29, at 6:39, Bram Moolenaar <[email protected]> wrote:
> > It's better to not skip the test. Can you try if it works by using
> > "unnamed" instead of "unnamedplus" and then using the * register instead
> > of +? The * register should work everywhere.
>
> Yes.
> The test succeeds (and is not skipped) on my Mac with the patch below.
> I'm not sure whether this is also OK on Linux/Windows etc.
I'll try it out (unless someone else has already).
> Another possibility is not to rely on the &clipboard option but to
> explicitly specify the register to use; i.e., replace
> 5y
> by
> 5y +
> (in this case save/set/restore &clipboard is not necessary.)
> I feel this is simpler, unless (one of) the intention of the test is
> to confirm that the &clipboard option is working as expected.
The goal of this test was not to test the clipboard itself but how it's
handled with a nested windo + tabdo.
> BTW,
> on Mac (and may be on other OS?) the clipboard can contain not only a
> simple text but also various types of data, such as graphics or movies.
> If I copy a graphics to the clipboard and run 'make check' then the
> graphics is lost. Does a similar problem happen on Linux/Windows?
> On Linux, is there any difference between "* and "+ ?
Yeah, if there is something else than text it can't be restored.
> I personally feel this is not a serious problem, because if a
> user copy a graphics to the clipboard, she/he will usually (or
> almost always) paste it immediately before running 'make check'.
Well, it can be annoying. But there are other places where the
clipboard is used, e.g. when making a Visual selection.
--
hundred-and-one symptoms of being an internet addict:
140. You'd rather catch a score on the web than watch the game as
it is being played on tv.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.