-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading a large number of user emoji can break emoji rendering Emacs wide #103
Comments
I see that this package already uses |
I fell in the same issue now that I am maintaining |
oh I get it now, catching the ascii and unicode ones is a real pain unless you enumerate them. |
very cool, so the solution is just to have |
emojify creates an OR regex with all the custom user emojis, when they are over 2000 the regex overflow emacs limit. Setting the regex to nil works around iqbalansari/emacs-emojify#103
I use the
emacs-slack
package with a Slack team that uses a large number of emoji. I've actually managed to throw a low-levelREG_ESIZE
error fromregex-emacs.c
because the compiled regular expression is too big for emacs.For example, here's the backtrace for
(emojify-string "❄")
:Is there any way I can limit the number of emoji, compile down the regex, or increase the allocated regex space?
The text was updated successfully, but these errors were encountered: