-
Notifications
You must be signed in to change notification settings - Fork 48
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
Adding maths symbols #27
Conversation
I also wrote another version of extract_emojis.py which pulls the emoji list from https://unicode.org/Public/emoji/12.0/emoji-data.txt. The added benefit is that it is lighter than https://unicode.org/emoji/charts-12.0/full-emoji-list.html and you do not need BeautifulSoup for parsing. The names of the unicode characters are pulled from https://unicode.org/Public/UNIDATA/UnicodeData.txt. That seems to be what the core module You may want to check it out! https://github.com/chmduquesne/rofimoji/tree/no_html |
Hey there, I very much enjoy getting feedback about this :-) |
I haven't forgotten you, @chmduquesne, I've just been busy 😉 |
First off, thanks for the addition. And the code looks good, too 👍 The only thing I'm not sure about is whether it should be part of the "default" emoji list or if it should be a separate file - my gut instinct tells me that as a user I'd only want either-or and never both mixed. Therefore, for now I'd prefer both the list and the extraction to be separate files... but I'm open to a discussion. Maybe the Also, separate character sets would be an interesting thing in combination with modes (#24) where you could have a combi mode with all of them. If that is the way to go, separate files would be the right choice. In any case, thank you very much for the work! 😊 |
👍 I do see myself using both lists together, but as you said, people may in general prefer either-or.
I do not, but it shouldn't be a hassle. You may want to use a |
I tend to use rofimoji as a replacement for my compose key, so I tend to want both lists together. I can separate them if needed. Do you prefer that? |
My perfect solution would be that people could choose which symbols they want. Ideally, via rofi modes where you can also have a combi mode for all of them, or via cli parameters. However, right now modes do not work and require quite a bit of effort to implement. So I think a good solution would be to separate the maths symbols in a file and let the user "activate" them via a cli switch; I also thought about moving the emojis out to their file, but they use a special logic that is hardcoded into |
I have something new on the Would you please take a look and see if that would work for you, @chmduquesne? If so, can you rebase this branch onto it? If not, let me know and we can find a solution 🙂 @polyzen I also added a |
Is there a shorthand to use all files? Would that be too slow? With the single file in |
Side note: I normally find This seems like a good resource: https://github.com/navdeep-G/setup.py |
I had not thought anyone would want all the files, but I think it can be done.
That's less than ideal 🙁 Do you know whether it is the
Okay, can do 🙂
Thank you, Google only finds very simple tutorials... |
This shows all configured unicode characters. That is an actual lot. Issue: #27
This shows all configured unicode characters. That is an actual lot. Issue: #27
After looking things over, that is indeed quite a lot.. I also had not realized or forgot the math symbols were separate 😅. Don't foresee myself using anything but
Will try to look into this. My first assumption is simply because it's reading from multiple files and not just running off of one.
❤
|
https://github.com/ninjaaron/fast-entry_points |
Wow, thank you! 🙂 So, from what I've read, we can either use |
Wheels do work and rofimoji launches quickly again. 🎉 |
Hi @chmduquesne , sorry for hijacking this PR 😉 I would still love to have maths symbols in rofimoji. Are you still interested in updating this PR? If not, I would try to adapt it for the latest version. |
I don't have bandwidth to create this PR at the moment, so I really don't mind if you make it your own 😉On Feb 21, 2020 17:26, Fabian Winter <notifications@github.com> wrote:Hi @chmduquesne , sorry for hijacking this PR 😉
I would still love to have maths symbols in rofimoji. Are you still interested in updating this PR? If not, I would try to adapt it for the latest version.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
I added this with e366d09. Hope you're okay that I added you as a co-author, @chmduquesne 🙂 |
@fdw, wheels are no longer needed for quick start-up time with setuptools >= 47.2.0 and Python >= 3.8 🎉: |
Cool, thanks! Do you think we should move to something else than wheels, even though they seem to work well enough? |
There is "a new style of source tree based around the I'm not sure if it's worth still providing wheels for rofimoji: https://pythonwheels.com/ |
Took some time, but now it's done. Thank you, again :) |
Fix #26