Comments (4)
Hi @matthew-piziak,
If you control the code calling message
then this is trivial, basically you will have to do something like
(message (emojify-string "<emoji>"))
instead of
(message "<emoji>")
However making this work in general might need a bit more work, will look into this.
from emacs-emojify.
Strange, if I do (message (emojify-string "<C-x 8 RET SNOWFLAKE>"))
then I just get the literal #("❄" 0 1 (emojified t emojify-display (image :type png :file "/home/matt/.emacs.d/emojis/emojione-v2.2.6-22/2744.png" :ascent center :heuristic-mask t :background "#F0FFF0" :scale ...) display (image :type png :file "/home/matt/.emacs.d/emojis/emojione-v2.2.6-22/2744.png" :ascent center :heuristic-mask t :background "#F0FFF0" :scale ...) emojify-text "❄"))
in the message buffer. It's clear that the emoji picture is downloaded, but it doesn't display.
from emacs-emojify.
Actually when you evaluate something in Emacs (using C-x
C-e
) the return value is echoed in the minibuffer. message
returns the string that was echo
ed in this case as a literal string.
Do something like the following, this should display the message correctly
(run-at-time 1.0 nil (lambda () (message (emojify-string "This is a test ❄"))))
from emacs-emojify.
Oh that totally works. Thank you so much!
from emacs-emojify.
Related Issues (20)
- Infinite loop where interactive but unable to answer HOT 2
- Loading a large number of user emoji can break emoji rendering Emacs wide HOT 1
- Is there a way to exclude individual emojis?
- Gets stuck on Contacting host: raw.githubusercontent.com:443 HOT 3
- Vertico HOT 1
- outdated emoji.json HOT 1
- where is :face-vomiting: ? HOT 2
- configure emojify-text?
- Is it possible to render the emojis with `emacs -nw`?
- emojify-display-emojis-in-company-tooltip should not force the use of `after-string`
- Org-mode agenda time label being incorrectly identified as emoji HOT 1
- Feature request: Support compound emojis (like the pride flag)
- How to use color emoji font (ttf) instead of png files? HOT 2
- (void-variable memavailable) HOT 1
- Convert unicode emojis to ascii
- 100% CPU load
- Twemoji-v13.1.0
- Do not replace org-mode literal strings
- filter emojis in emojify-insert-emoji by custom status
- Emojis render correctly in buffer, minibuffer, but not in menu with ivy-posframe enabled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-emojify.