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

Re: selection

Expand Messages
  • Bram Moolenaar
    ... I did a few simple tests but didn t see a problem. Can you give example text with which it fails? -- The question is: What do you do with your life? The
    Message 1 of 6 , Aug 31, 2001
    • 0 Attachment
      Ricardas Cepas wrote:

      > I have found one non-english character selection bug, don't know if
      > this is Vim problem or GTK. When copying UTF-8 characters from gvim
      > (GTK) to gvim or from xterm vim to xterm vim it works as expected.
      > But when copying from gvim to xterm vim or from vim to gvim some
      > characters get lost, I think these containing 0x80-0x9F bytes.
      > Copying from xterm vim to mozilla and vice versa does work as
      > expected.

      I did a few simple tests but didn't see a problem. Can you give example
      text with which it fails?

      --
      The question is: What do you do with your life?
      The wrong answer is: Become the richest guy in the graveyard.
      (billionaire and Oracle founder Larry Ellison)

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
      \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
    • Ričardas Čepas
      ... For example here are two strings: ččččččččččč ššššššššššš First one consists of c caron characters (c4 8d, Hex 010d). Second one
      Message 2 of 6 , Aug 31, 2001
      • 0 Attachment
        On Fri Aug 31 20:57:00 2001 +0200 Bram Moolenaar wrote:

        >
        > Ricardas Cepas wrote:
        >
        > > I have found one non-english character selection bug, don't know if
        > > this is Vim problem or GTK. When copying UTF-8 characters from gvim
        > > (GTK) to gvim or from xterm vim to xterm vim it works as expected.
        > > But when copying from gvim to xterm vim or from vim to gvim some
        > > characters get lost, I think these containing 0x80-0x9F bytes.
        > > Copying from xterm vim to mozilla and vice versa does work as
        > > expected.
        >
        > I did a few simple tests but didn't see a problem. Can you give example
        > text with which it fails?
        >
        For example here are two strings:
        ččččččččččč
        ššššššššššš
        First one consists of c caron characters (c4 8d, Hex 010d). Second one consists of s caron (c5 a1, Hex 0161). I can copy and paste second one from xterm vim into gvim, but when I try to copy and paste first one I get nothing. GTK is 1.2.9, XFree 4.1.0 if that makes difference. set=isprint? gives:
        isprint=@,32-255,^127
        I can input these characters from keyboard in all cases.
        --
        ☻ Ričardas Čepas ☺
        ~~
        ~
      • Bram Moolenaar
        ... It works fine for me. I m using xterm 157, compiled with wide characters. Both gvim and xterm are using utf-8 encoding. -- ARTHUR: Then who is your
        Message 3 of 6 , Sep 1, 2001
        • 0 Attachment
          Ricardas Cepas wrote:

          > > > I have found one non-english character selection bug, don't know if
          > > > this is Vim problem or GTK. When copying UTF-8 characters from gvim
          > > > (GTK) to gvim or from xterm vim to xterm vim it works as expected.
          > > > But when copying from gvim to xterm vim or from vim to gvim some
          > > > characters get lost, I think these containing 0x80-0x9F bytes.
          > > > Copying from xterm vim to mozilla and vice versa does work as
          > > > expected.
          > >
          > > I did a few simple tests but didn't see a problem. Can you give example
          > > text with which it fails?
          > >
          > For example here are two strings:
          > ����������������������
          > ����������������������
          > First one consists of c caron characters (c4 8d, Hex 010d). Second
          > one consists of s caron (c5 a1, Hex 0161). I can copy and paste
          > second one from xterm vim into gvim, but when I try to copy and paste
          > first one I get nothing. GTK is 1.2.9, XFree 4.1.0 if that makes
          > difference. set=isprint? gives:
          > isprint=@,32-255,^127
          > I can input these characters from keyboard in all cases.

          It works fine for me. I'm using xterm 157, compiled with wide
          characters. Both gvim and xterm are using utf-8 encoding.

          --
          ARTHUR: Then who is your lord?
          WOMAN: We don't have a lord.
          ARTHUR: What?
          DENNIS: I told you. We're an anarcho-syndicalist commune. We take it in
          turns to act as a sort of executive officer for the week.
          The Quest for the Holy Grail (Monty Python)

          /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
          ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
          \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
        • Ričardas Čepas
          ... Hmm, maybe it is GTK bug. I have found now that the same happens for me to some other GTK programms as well. -- ☻ Ričardas Čepas ☺ ~~ ~
          Message 4 of 6 , Sep 1, 2001
          • 0 Attachment
            On Sat Sep 1 13:16:57 2001 +0200 Bram Moolenaar wrote:

            >
            > Ricardas Cepas wrote:
            >
            > > > > I have found one non-english character selection bug, don't know if
            > > > > this is Vim problem or GTK. When copying UTF-8 characters from gvim
            > > > > (GTK) to gvim or from xterm vim to xterm vim it works as expected.
            > > > > But when copying from gvim to xterm vim or from vim to gvim some
            > > > > characters get lost, I think these containing 0x80-0x9F bytes.
            > > > > Copying from xterm vim to mozilla and vice versa does work as
            > > > > expected.
            > > >
            > > > I did a few simple tests but didn't see a problem. Can you give example
            > > > text with which it fails?
            > > >
            > > For example here are two strings:
            > > ččččččččččč
            > > ššššššššššš
            > > First one consists of c caron characters (c4 8d, Hex 010d). Second
            > > one consists of s caron (c5 a1, Hex 0161). I can copy and paste
            > > second one from xterm vim into gvim, but when I try to copy and paste
            > > first one I get nothing. GTK is 1.2.9, XFree 4.1.0 if that makes
            > > difference. set=isprint? gives:
            > > isprint=@,32-255,^127
            > > I can input these characters from keyboard in all cases.
            >
            > It works fine for me. I'm using xterm 157, compiled with wide
            > characters. Both gvim and xterm are using utf-8 encoding.
            >
            Hmm, maybe it is GTK bug. I have found now that the same happens for me to some other GTK programms as well.

            --
            ☻ Ričardas Čepas ☺
            ~~
            ~
          • Bram Moolenaar
            ... I did try it with the GTK version. Thus it s unlikely GTK itself. I m using GTK 1.2.10, if that matters. -- ARTHUR: You fight with the strength of many
            Message 5 of 6 , Sep 1, 2001
            • 0 Attachment
              Ricardas Cepas wrote:

              > > It works fine for me. I'm using xterm 157, compiled with wide
              > > characters. Both gvim and xterm are using utf-8 encoding.
              > >
              > Hmm, maybe it is GTK bug. I have found now that the same
              > happens for me to some other GTK programms as well.

              I did try it with the GTK version. Thus it's unlikely GTK itself. I'm
              using GTK 1.2.10, if that matters.

              --
              ARTHUR: You fight with the strength of many men, Sir knight.
              I am Arthur, King of the Britons. [pause]
              I seek the finest and the bravest knights in the land to join me
              in my Court of Camelot. [pause]
              You have proved yourself worthy; will you join me? [pause]
              You make me sad. So be it. Come, Patsy.
              BLACK KNIGHT: None shall pass.
              The Quest for the Holy Grail (Monty Python)

              /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
              ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
              \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
            Your message has been successfully submitted and would be delivered to recipients shortly.