Matteo Cavalleri wrote:
> > > Il giorno martedì 22 marzo 2016 20:31:39 UTC+1, Bram Moolenaar ha scritto:
> > >
> > > >
> > > > What version? Patch 7.4.1629 should be included.
> > >
> > > I install vim from source, so all patches are included.
> > >
> > > ~ brew install --HEAD --with-lua vim
> > > ~ vim --version
> > > VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 23 2016 09:19:48)
> > > MacOS X (unix) version
> > > Included patches: 1-1639
> > > [...]
> > >
> > > I just checked and it still happens:
> > >
> > > http://imgur.com/PLiTeiX
> >
> > What is that character in the sign column? Apparently Vim thinks it's
> > double width but the font has it single width. Do you have the 'emoji'
> > option enabled?
> >
> > One solution would be that after drawing any character which we don't
> > know for sure what the width is we position the cursor.
>
> if I use "ga" on that character I get:
>
> <✖> 10006, Hex 2716, Octal 23426
>
> BTW if i install vim with:
>
> ~ brew install --with-lua vim
> ~ vim --version
> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 23 2016 09:25:39)
> MacOS X (unix) version
> Included patches: 1-1589
>
> I don't see the problem. so the bug seems to be somewhere between
> patch 1590 and 1636. hope this helps.
I see the problem in xterm. So this character is mostly considered
single width.
I think the idea of marking all emoji characters as full width is a bad
idea. It doesn't match what actually happens.
Perhaps we should restrict this to the new characters in the 1f000
range? I think that's a better solution for now.
--
hundred-and-one symptoms of being an internet addict:
108. While reading a magazine, you look for the Zoom icon for a better
look at a photograph.
/// 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.