Fork me on GitHub
#emacs
<
2022-01-20
>
winsome17:01:45

This might be off-topic, but I've made a wordle clone in clojure and I'd like to be able to print out the colored squares in the repl, but the glyphs just turn up as those unicode squares with numbers inside. I've clearly got the font somewhere on my system since it shows up just fine in other applications, how do I get my emacs font stack to handle this correctly?

winsome22:01:55

I found this answer for setting up emojis in emacs, it works for this case as well: https://emacs.stackexchange.com/questions/62219/how-do-i-get-colour-emoji-to-display-in-emacs

tomekw22:01:08

Hey! 👋 Trying emacs afters years with vim and after 3 years break with it as well. I really can't find it in the docs. Pure smartparens setup (no doom, spacemacs): how do actually raise a sexp? Assume I've something like this: [:a [:b :c]] -> [:a :c] assuming my cursor is on :c.

practicalli-johnny23:01:55

Yes, sp-raise-sexp with the cursor on :c will produce the desired result

1
👀 1
tomekw13:01:32

I must be blind, thank you!

practicalli-johnny16:01:07

sp-cheat-sheet is very useful, opens a buffer with all the smartparens functions and their descriptions

2
Ted Ciafardini02:01:30

doesn’t include an animated raise-sexp, but I still think its nice

jumar10:01:58

@U05254DQM thanks for the tip. When I invoke sp-cheat-sheet it eventually shows but it takes several seconds. Any idea why it's that slow?

practicalli-johnny12:01:16

The cheat sheet did take a bit of time to open. It is a big file, but don't know why it takes so long (perhaps it's automatically generated from the elisp code)