Comments (10)
Sounds useful. Have you tried company-emoji? It kind of does what you want.
from emacs-emojify.
company-emoji
and ac-emoji
are useful and I like them, but they still require you to know at least the first couple letters of the emoji name you want. For example, if I want a rain cloud, I have to know to start typing :cloud-with-rain:
. If I start typing :rai
it'll offer me :rainbow:
and :railway-track:
but nothing rain cloud-related.
Of course, we could create duplicate symbols for emojis so that a rain cloud can be found under either cloud-with-rain
or rain-cloud
. But there would be tons of them. Apropos search is really a better way to help people find the right name.
I might worry that apropos search doesn't really fit in this package. After all, we don't need a single package to serve every possible emoji-related need. But I also think some things in this package will tend to be duplicated in others.
One possibility to resolve this going forward would be to extract reasonably general-purpose emoji data and code into an emoji-common
core which this package and others like company-emoji
and a hypothetical apropos-emoji
can rely upon.
from emacs-emojify.
I might worry that apropos search doesn't really fit in this package ... One possibility to resolve this going forward would be to extract reasonably general-purpose emoji data and code into an emoji-common core
I agree with you. But for the time being I think we can add it to this package itself, until we feel the package is in a stable state.
from emacs-emojify.
Hi,
I have added two new commands emojify-apropos-emoji
and emojify-insert-emoji
. Hopefully they do what you had requested. Could you please try them once MELPA updates?
Thanks
from emacs-emojify.
I ran (emojify-apropos-emoji "cat")
and got this:
Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil)
maphash(#[514 "\302 �\"\204\302 \303\304�\"\"\205#\300\305�!\305\303\304�\"!]��E\300\242B\240\207" [(nil) apropos-regexp string-match gethash "name" apropos-score-str] 8 "\n\n(fn KEY VALUE)"] nil)
emojify-apropos-emoji("cat")
eval((emojify-apropos-emoji "cat") nil)
eval-expression((emojify-apropos-emoji "cat") nil)
funcall-interactively(eval-expression (emojify-apropos-emoji "cat") nil)
call-interactively(eval-expression nil nil)
command-execute(eval-expression)
I get the same result when I run the command interactively.
from emacs-emojify.
Update: after removing the package and re-installing, then re-downloading the emoji files, the above command works as expected. I tried to reproduce the error but have been so far unsuccessful.
from emacs-emojify.
Hmm let me see if I can reproduce this, is there any suggestion you have with respect to the functionality?
from emacs-emojify.
Closed by mistake sorry
from emacs-emojify.
The functionality looks good, this is useful. I did manage to reproduce the bug by restarting emacs and using emojify-apropos-emoji
before I had enabled emojify-mode
in any buffers.
from emacs-emojify.
I did manage to reproduce the bug by restarting emacs and using emojify-apropos-emoji before I had enabled emojify-mode in any buffers.
I see, I had fixed this but not merged it with master, I have updated master, next MELPA build will have the fixed version. I am closing this issue. Thanks a lot for testing this
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
- Is it possible to use openmoji that I downloaded manually?
- Emoji is not displayed in mini buffer HOT 1
- Blurred emojis on HiDPI screen
- 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.