Fork me on GitHub
#emacs
<
2023-01-13
>
joshmiller20:01:29

In certain places in my Emacs UI, I get little boxes with four characters that are definitely supposed to be some icon or something that must be missing? This is an example. Does anyone know what this is, or at least what it might be called so I could try googling it?

jkxyz20:01:02

It may be this package: https://github.com/domtronn/all-the-icons.el It requires installing some fonts.

joshmiller20:01:44

That was it! Thank you @UE72GJS7J!

joshmiller20:01:56

I had that package installed (probably as a dependency), but had to M-x all-the-icons-install-fonts

jkxyz20:01:05

Great! :)

noonian21:01:57

Is there an indentation configuration for clojure-mode that will give me this behavior (or close to it) when there is an arg on the first line and without?

(dom/div {}
  "foo")

(dom/div
 (dom/div
  (dom/div "foo")))
I can get one or the other but not both using put-clojure-indent , but I'd like to have both cases in my code Update: (setq clojure-indent-style 'always-indent) gives me what I want in this case, but changes indentation for or to
(or foo
  bar
  baz)
It seems like I can fix this by calling put-clojure-indent with 0 for all the standard functions I'd like aligned

moe05:01:57

does (put-clojure-indent 'div :defn) do what you want?

noonian05:01:25

Not on it's own, but in conjunction with (setq clojure-indent-style 'always-indent) got me pretty close. Now I'm just having to add custom indentation for the core library fns that were messed up by always-indent. I'm happy right now at least in this codebase ¯\(ツ)