Open felipelalli opened 5 years ago
Thanks for the bug report. Yes I am aware of this issue, unfortunately there does not seem to be a way to fix
@iqbalansari If you replace the text :smile:
by the Unicode char equivalent like 😄 isn't enough to fix the issue? Or not every emoji has an equivalent? There is a command to replace the full-name to the Unicode character? Thank you.
Actually replacing the text with the unicode equivalent would require changing the "actual" contents of the buffer, I do not think that is a good idea
@iqbalansari What if a command like M-x emojify-replace-text-to-unicode
that acts above the current word in cursor and/or region. It would be a nice feature. Thank you!
That is a good idea, I will add a command to do that
The problem here is that, e.g.,
:thisemoji:
emacs understand as 11 char length and not 1 as it should understand. I guess other tools that relies on char width become broken withemojify-mode
as well. I'm not sure if it is possible to fix it, but...