On 12/02/09 09:17, pansz wrote:
> Tony Mechelynck 写道:
>> OTOH it would require modifying the C source and the vimscript language.
>> At the moment, AFAIK, there are exactly 16777216 possible backgrounds
>> (if your video card and monitor support them)
>
> But none of the 16777216 backgrounds has textures.
True, they are just flat colour surfaces.
>
> The C source may need change, and the vimscript not (only a new options
> need to be added).
Well, you would need to modify your Vim scripts to take advantage of it.
I was thinking of a new guibg= or similar possibility but a new option
is a possible alternative. In any case you would have to test some has()
or exists() value, since you could not expect that every gvim version
(especially versions distributed prior to the date when, if ever, the
change was adopted) would accept your new setting. Anyway I don't expect
Bram to add it to mainstream Vim, but we have a central place for
unofficial patches now. However bit-rot would have to be corrected from
time to time once (if ever) the patch is mature.
>
> Anyway, I'm thinking if the background/watermark feature can be made to
> the Window Manager compiz, so that we can have background watermark for
> all applications instead of doing something only for gvim. perhaps
> compiz is the better application to have this feature.
Hm, what's that? I have it installed but "man compiz" and "info compiz"
both give a null result.
Best regards,
Tony.
--
Here is a simple experiment that will teach you an important electrical
lesson: On a cool, dry day, scuff your feet along a carpet, then reach
your hand into a friend's mouth and touch one of his dental fillings.
Did you notice how your friend twitched violently and cried out in
pain? This teaches us that electricity can be a very powerful force,
but we must never use it to hurt others unless we need to learn an
important electrical lesson.
It also teaches us how an electrical circuit works. When you scuffed
your feet, you picked up batches of "electrons", which are very small
objects that carpet manufacturers weave into carpets so they will
attract dirt. The electrons travel through your bloodstream and
collect in your finger, where they form a spark that leaps to your
friend's filling, then travels down to his feet and back into the
carpet, thus completing the circuit.
Amazing Electronic Fact: If you scuffed your feet long enough without
touching anything, you would build up so many electrons that your
finger would explode! But this is nothing to worry about unless you
have carpeting.
-- Dave Barry, "What is Electricity?"
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---