Loading ...
Sorry, an error occurred while loading the content.

Re: patch 6.2.428

Expand Messages
  • Bram Moolenaar
    ... Right, this chunk doesn t belong in this patch. Delete that chunk from the patch or, if you already applied it, use the patch below to undo. Dave, please
    Message 1 of 3 , Apr 2, 2004
    • 0 Attachment
      Zvi Har'El wrote:

      > In my solaris 2.6 and 2.8 systems, vim with 6.2.248 does not compile, with the
      > error
      >
      > gui_gtk_x11.c: In function `key_press_event':
      > gui_gtk_x11.c:1101: `xim_changed_while_preediting' undeclared (first use in this function)
      > gui_gtk_x11.c:1101: (Each undeclared identifier is reported only once
      > gui_gtk_x11.c:1101: for each function it appears in.)
      > make[1]: *** [objects/gui_gtk_x11.o] Error 1
      >
      > The problem is with a patch chunk

      Right, this chunk doesn't belong in this patch. Delete that chunk from
      the patch or, if you already applied it, use the patch below to undo.

      Dave, please don't include that chunk in CVS.

      Sorry!


      *** src/gui_gtk_x11.c~ Fri Apr 2 12:52:16 2004
      --- src/gui_gtk_x11.c Fri Apr 2 17:25:30 2004
      ***************
      *** 1095,1106 ****
      if (len == 0) /* Unrecognized key */
      return TRUE;

      - #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) && !defined(HAVE_GTK2)
      - /* cancel or type backspace. for GTK2, im_commit_cb() do same */
      - preedit_start_col = MAXCOL;
      - xim_changed_while_preediting = TRUE;
      - #endif
      -
      /* Special keys (and a few others) may have modifiers. Also when using a
      * double-byte encoding (can't set the 8th bit). */
      if (len == -3 || key_sym == GDK_space || key_sym == GDK_Tab
      --- 1095,1100 ----

      --
      hundred-and-one symptoms of being an internet addict:
      245. You use Real Audio to listen to a radio station from a distant
      city rather than turn on your stereo system.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
    • Zvi Har'El
      Dear Bram, Thanks for the prompe answer and fix. It worked! Best, Zvi. ... -- Dr. Zvi Har El mailto:rl@math.technion.ac.il Department of Mathematics
      Message 2 of 3 , Apr 2, 2004
      • 0 Attachment
        Dear Bram,

        Thanks for the prompe answer and fix. It worked!

        Best,

        Zvi.

        On Fri, 02 Apr 2004 17:29:31 +0200, Bram Moolenaar wrote about "Re: patch 6.2.428":
        >
        > Zvi Har'El wrote:
        >
        > > In my solaris 2.6 and 2.8 systems, vim with 6.2.248 does not compile, with the
        > > error
        > >
        > > gui_gtk_x11.c: In function `key_press_event':
        > > gui_gtk_x11.c:1101: `xim_changed_while_preediting' undeclared (first use in this function)
        > > gui_gtk_x11.c:1101: (Each undeclared identifier is reported only once
        > > gui_gtk_x11.c:1101: for each function it appears in.)
        > > make[1]: *** [objects/gui_gtk_x11.o] Error 1
        > >
        > > The problem is with a patch chunk
        >
        > Right, this chunk doesn't belong in this patch. Delete that chunk from
        > the patch or, if you already applied it, use the patch below to undo.
        >
        > Dave, please don't include that chunk in CVS.
        >
        > Sorry!
        >
        >
        > *** src/gui_gtk_x11.c~ Fri Apr 2 12:52:16 2004
        > --- src/gui_gtk_x11.c Fri Apr 2 17:25:30 2004
        > ***************
        > *** 1095,1106 ****
        > if (len == 0) /* Unrecognized key */
        > return TRUE;
        >
        > - #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) && !defined(HAVE_GTK2)
        > - /* cancel or type backspace. for GTK2, im_commit_cb() do same */
        > - preedit_start_col = MAXCOL;
        > - xim_changed_while_preediting = TRUE;
        > - #endif
        > -
        > /* Special keys (and a few others) may have modifiers. Also when using a
        > * double-byte encoding (can't set the 8th bit). */
        > if (len == -3 || key_sym == GDK_space || key_sym == GDK_Tab
        > --- 1095,1100 ----
        >
        > --
        > hundred-and-one symptoms of being an internet addict:
        > 245. You use Real Audio to listen to a radio station from a distant
        > city rather than turn on your stereo system.
        >
        > /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
        > /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
        > \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
        > \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///

        --
        Dr. Zvi Har'El mailto:rl@... Department of Mathematics
        tel:+972-54-227607 icq:179294841 Technion - Israel Institute of Technology
        fax:+972-4-8293388 http://www.math.technion.ac.il/~rl/ Haifa 32000, ISRAEL
        "If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)
        Friday, 11 Nisan 5764, 2 April 2004, 5:38PM
      Your message has been successfully submitted and would be delivered to recipients shortly.