On Mon, Mar 21, 2016 at 12:29 PM, Ben Fritz <fritzophre...@gmail.com> wrote:

> A recent patch (since 1507; I assume it was 1604) broke my preferred
> "showbreak" setting for text files.
>
> I have been setting showbreak to ↖ (U+2196 NORTH WEST ARROW). The glyph
> for this character still only occupies a single cell on my gvim, however it
> is treated as a wide character so it uses two screen cells (the second one
> is empty) and is not allowed in the 'showbreak' option.
>
> As far as I can tell most of the other arrow characters are still a single
> cell only, but the (NORTH|SOUTH) (EAST|WEST) ARROW characters are treated
> as double width. (RIGHT|LEFT)WARDS ARROW only take a single cell, so
> growing to take two cells when you rotate 45 degrees seems strange.
>
> Also double-width now are (LEFT|RIGHT)WARDS ARROW WITH HOOK, even though
> the very similar DOWNWARDS ARROW WITH (TIP|CORNER) (LEFT|RIGHT)WARDS
> characters are still single width.
>
> Any of these can obviously fit in a single cell in gvim at least. Do they
> cause problems elsewhere?
>

I've noticed similar problems ever since the "emoji" option was
introduced.  The crux seems to be that Vim is treating lots of non-emoji
multibyte chars (such as those mentioned) as if they were emoji.  It messes
up the "w" normal mode command, and causes the cursor to be visually
displayed atop a character that isn't what's reflected by "ga".

At least some of these worries can be fixed by setting "noemoji", but I
find it inexplicable that "emoji" is ON by default, given how it messes up
operating with non-emoji characters.

Either Vim needs to only apply "emoji" to emoji, or it needs to not make
"emoji" on by default.

-Manny

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to