Björn Winckler wrote:
> >> This does not look good (in os_macosx.m):
> >>
> >> #if defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI)
> >>
> >> It means the clipboard code will not get included when I compile
> >> MacVim (since it defines FEAT_GUI). I think you meant FEAT_GUI_MAC,
> >> right?
> >
> > Hmm, I suppose it's possible to compile with one of the X11 GUIs. But
> > then there are the clip_mch_ functions in the X11 GUI files. I thought
> > the ones in os_macosx.m were only used for the Mac console, when not
> > building with X11.
> >
> > If MacVim does not define FEAT_GUI_MAC, what does it define? If it's
> > FEAT_MACVIM we could use:
> >
> > #if defined(FEAT_CLIPBOARD) && (!defined(FEAT_GUI) || defined(FEAT_MACVIM))
>
> I see...well, MacVim defines FEAT_GUI_MACVIM to avoid clashes with the
> Carbon GUI. However, I can include that change in the MacVim source
> code just as well.
I'll make it work that way.
After 7.3 goes out we may have a look at using these clipboard functions
and disabling the ones in other GUI files.
--
Proof techniques #2: Proof by Oddity.
SAMPLE: To prove that horses have an infinite number of legs.
(1) Horses have an even number of legs.
(2) They have two legs in back and fore legs in front.
(3) This makes a total of six legs, which certainly is an odd number of
legs for a horse.
(4) But the only number that is both odd and even is infinity.
(5) Therefore, horses must have an infinite number of legs.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_mac" 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