Skip to content

Complete multi-character emojis 🛰️ - #60263

Closed
Pangoraw wants to merge 2 commits into
JuliaLang:masterfrom
Pangoraw:patch-2
Closed

Pangoraw wants to merge 2 commits into
JuliaLang:masterfrom
Pangoraw:patch-2

Conversation

@Pangoraw

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread stdlib/REPL/src/emoji_symbols.jl Outdated
"\\:arrow_right_hook:" => "↪",
"\\:arrow_up:" => "⬆",
"\\:arrow_up_down:" => "↕",
"\\:arrow_forward:" => "▶️",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure that we want the emoji rendering variant of these? I feel like for source code, the text rendering might be better.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the generation to prefer the older version if the completion contains "arrow".

@rokke-git rokke-git Mar 22, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

personally, I think it's clearer if we keep the \:name: syntax to mean the emoji version, and add a latex name like \bkuparrow(upwards black arrow) for the text version. that way it's more consistent

edit: actually we call the semantically very similar upwards white arrow \upwhitearrow, so these should be converted to variations on \upblackarrow.

@DilumAluthge

Copy link
Copy Markdown
Member

@Keno Can you give this another review?

@Pangoraw

Copy link
Copy Markdown
Contributor Author

Friendly ping. Let me know if new versions of other emoji patterns are not preferred.

@DilumAluthge

Copy link
Copy Markdown
Member

Bump @Keno - could you give this another review?

rayegun added a commit to Pangoraw/julia that referenced this pull request Sep 19, 2026
In lieu of increasing page limit sizes split latex symbols from emojis.

Done to fix JuliaLang#60263

Assisted-by: Claude Code (Opus 5)
"\\:adult:" => "🧑",
"\\:aerial_tramway:" => "🚡",
"\\:airplane:" => "✈",
"\\:airplane:" => "✈️",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the added FE0F is to ensure the render as emoji now instead of the older symbols?

"\\:flag-ee:" => "🇪🇪",
"\\:flag-eg:" => "🇪🇬",
"\\:flag-eh:" => "🇪🇭",
"\\:flag-england:" => "🏴\Ue0067\Ue0062\Ue0065\Ue006e\Ue0067\Ue007f",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

England, Scotland, and Wales have different unicode flags than all other countries? It does indeed render for me when printed. Any idea why it ends up printed this way here?

@rayegun

rayegun commented Sep 19, 2026

Copy link
Copy Markdown
Member

Does anyone else notice a significant delay backspacing the black flag after creating \:flag-england:? It's weird I don't get it with comet for instance which is also a multi-character emoji.

I guess it's because as Jameson noted it's many many characters? Kind of unergonomic

@vtjnash vtjnash added merge me PR is reviewed. When all tests are passing merge, making sure commit message is good. and removed status: waiting for PR reviewer labels Sep 19, 2026
@vtjnash

vtjnash commented Sep 19, 2026

Copy link
Copy Markdown
Member

Yes, it isn't a delay, but rather there's a lot of invisible characters after it

"https://raw.githubusercontent.com/iamcal/emoji-data/0f0cf4ea8845eb52d26df2a48c3c31c3b8cad14e/emoji_pretty.json",
"https://raw.githubusercontent.com/iamcal/emoji-data/e512953312c012f6bd00e3f2ef6bf152ca3710f8/emoji_pretty.json",
"https://raw.githubusercontent.com/iamcal/emoji-data/a8174c74675355c8c6a9564516b2e961fe7257ef/emoji_pretty.json",
"https://raw.githubusercontent.com/iamcal/emoji-data/3cf4d12c20b15ecdc53215b6b625b8515117aa93/emoji_pretty.json",

@rokke-git rokke-git Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iamcal updated to unicode 17 on monday (just before the release of unicode 18 on wednesday), so this should be updated to 13ee711e222ea17fe537bfea953c687866f16411

@rokke-git

rokke-git commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

(also my #61464 includes/supersedes the changes here)

@vtjnash vtjnash closed this Sep 25, 2026
IanButterworth pushed a commit that referenced this pull request Sep 25, 2026
this pr combines changes from #61391 and #60263 into one single update. it:

updates emoji completions to include v1️⃣7️⃣.0️⃣.0️⃣
adds completions for combining emoji 🇳🇱
enables reverse searching latex strings like \?arrowTab
many of the text arrows updated to the \ufe0f version already had a latex version, added \*blackarrow to mimic \*whitearrow and new \curvearrow*s for the remaining ones

Closes #56935
@IanButterworth IanButterworth removed the merge me PR is reviewed. When all tests are passing merge, making sure commit message is good. label Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants