Elimar Riesebieter wrote: > * Bram Moolenaar <[email protected]> [2016-03-20 17:53 +0100]: > > > > > Yasuhiro Matsumoto wrote: > > > > > On Sunday, March 20, 2016 at 11:14:50 PM UTC+9, Elimar Riesebieter wrote: > > > > * Bram Moolenaar <[email protected]> [2016-03-19 18:42 +0100]: > > > > > > > > > > > > > > Patch 7.4.1604 > > > > > Problem: Although emoji characters are ambiguous width, best is to > > > > > treat > > > > > them as full width. > > > > > Solution: Update the Unicode character tables. Add the 'emoji' > > > > > options. > > > > > (Yasuhiro Matsumoto) > > > > > Files: runtime/doc/options.txt, runtime/optwin.vim, > > > > > runtime/tools/unicode.vim, src/mbyte.c, src/option.c, > > > > > src/option.h > > > > > > > > This patch introduced: > > > > > > > > E474: Invalid argument: listchars=tab:▶\ > > > > ,trail:_,extends:>,precedes:<,eol:¬ > > > > > > > > encoding is set to utf8. > > > > set noemoji doesn't help. > > > > > > > > Seen at starting vim from commandline either in xterm or in linux > > > > console. > > > > > > > > Elimar > > > > -- > > > > The path to source is always uphill! > > > > -unknown- > > > > > > If you want to set ▶ into listchars, you need to set noemoji before set > > > listchars. > > > > Hmm, this character is both in emoji and ambiguous tables. > > It doesn't look like an emoji character to me. > > Should we perhaps drop the characters from the emoji table if they are > > already in the ambiguous table? > > > > I also notice that in the emoji table contiguous ranges need to be > > merged: > > v7.4.1620 didn't help. > > The characters in question are: → and ¬
The first one is 0x2192, which is ambiguous width. AFAIK this is unrelated to the emoji change. 'ambiwidth' matters. The second one is 0x00ac, which is always single width. -- >From "know your smileys": :-D Big smile /// 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.
