git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Unicode: update of combining code points

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 8, 2014, 22:37 UTC
Message-ID
<xmqq61mj30tg.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20140407195458.GA3912@google.com>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 18 quoted lines
> Torsten Bögershausen wrote:
>
>> Unicode 6.3 defines the following code as combining or accents,
>> git_wcwidth() should return 0.
>>
>> Earlier unicode standards had defined these code point as "reserved":
>
> Thanks for the update.  Could the commit message also explain how this
> was noticed and what the user-visible effect is?
>
> For example:
>
>  "Unicode just announced that <...>.  That means we should mark the
>   relevant code points as combining characters so git knows they are
>   zero-width and doesn't screw up the alignment when presenting branch
>   names in columns with 'git branch --column'"
>
> or something like that.
Perhaps (the original read clearly enough for me, though).
Show 7 quoted lines
> [...]
>> 358 COMBINING DOT ABOVE RIGHT
>> 359 COMBINING ASTERISK BELOW
>
> I'm not sure this list is needed --- the code + the reference to the
> Unicode 6.3 standard seems like enough (but if you think otherwise,
> I don't really mind).
I can go either way.
>> This commit touches only the range 300-6FF, there may be more to be updated.
>
> The "there may be more" here sounds ominous.
Indeed it does ;-)
Show 9 quoted lines
> Does that mean Unicode
> 6.3 also added some zero-width characters in other ranges that should
> be dealt with in the future?  How many such ranges?  How do we know
> when we're done?
>
> Just biting off the most important characters first and putting off
> the rest for later sounds fine to me --- my complaint is that the
> above comment doesn't make clear what the to-do list is for finishing
> the update later.

I'll queue this at the tip of 'pu', not to forget about it while waiting for a clarification.

Thanks.
Previous: Jonathan NiederNext: Torsten Bögershausen
Message 3 of 6 in “Unicode: update of combining code points”
  1. Unicode: update of combining code pointsTorsten Bögershausen, Apr 7, 2014
  2. Jonathan NiederApr 7, 2014
  3. Junio C HamanoApr 8, 2014
  4. Torsten BögershausenApr 9, 2014
  5. Junio C HamanoApr 9, 2014
  6. Torsten BögershausenApr 10, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.