Re: [PATCH 2/2] Allow check-mark to be changed for CLI

Eli Zaretskii
2025-05-23T15:42:39Z

> From: Kévin Le Gouguec <legouguec@adacore.com>
> Cc: Tom Tromey <tromey@adacore.com>, gdb-patches@sourceware.org
> Date: Fri, 23 May 2025 17:00:31 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> >> From: Tom Tromey <tromey@adacore.com>
> >> >> Date: Fri, 09 May 2025 14:18:51 -0600
> >> >> Cc: Tom Tromey <tromey@adacore.com>
> >> >>
> >> >> +/* Emoji check-mark. */
> >> >> +static std::string check_mark = "✓";
> >>
> >> Eli> Btw, if this is related to emoji display, shouldn't the default be
> >> Eli> U+2713 followed by U+FE0F VARIATION SELECTOR-16, to show the "emoji
> >> Eli> presentation" of the CHECK MARK character, if the terminal supports
> >> Eli> that? Or do too few terminals have such support?
> >>
> >> I tried this but this combination doesn't seem to change the display.
> >
> > I think this might depend on the terminal. E.g., the display in Emacs
> > does change, at least here and with fonts I'm using for Emoji.
>
> In this specific example, could it just be that U+2713 CHECK MARK has no
> emoji presentation, or am I reading emoji-data.txt wrong?
>
> >From my emacs.git copy:
>
> # ================================================
>
> # All omitted code points have Emoji=No
>
> […]
> 2705 ; Emoji # E0.6 [1] (✅) check mark button
> 2708..270C ; Emoji # E0.6 [5] (✈️..✌️) airplane..victory hand
> 270D ; Emoji # E0.7 [1] (✍️) writing hand
> 270F ; Emoji # E0.6 [1] (✏️) pencil
> 2712 ; Emoji # E0.6 [1] (✒️) black nib
> 2714 ; Emoji # E0.6 [1] (✔️) check mark
> […]
>
> # ================================================
>
> # All omitted code points have Emoji_Presentation=No
>
> […]
> 2705 ; Emoji_Presentation # E0.6 [1] (✅) check mark button
> 270A..270B ; Emoji_Presentation # E0.6 [2] (✊..✋) raised fist..raised hand
> 2728 ; Emoji_Presentation # E0.6 [1] (✨) sparkles
>
> Notably absent: 2713? So 2714 does vary with (✔️) & without (✔) VS-16,
> but not 2713?

All I know is that the display in Emacs does change, as I said.