Fork me on GitHub

I want to use unicode chars, but I want all sources to be ascii. Is there a way to get fn to look like \lambda, and so forth ?


so to be clear, the source file contains fn, but emacs diksplays it as \lambda in the buffer

New To Clojure12:12:04

(λ (x y)
  (if (≥ x y)


precisely what I wanted; thanks!


@ghsgd2: in return, any quick questions I can help with?

New To Clojure12:12:34

@qqq I have Emacs 25.3.1 built for MacOS. C-x 5 2 shows new frame with giant font which makes it unreadable. Any ideas how to fix that?


I'm using Emacs 25.1 on OSX


I also use C-x 5 2


I've never had the problem you're describing.


I have this in my config:

(progn "config font"
       (add-to-list 'default-frame-alist '(font . "Fira Code 14"))
       (set-default-font "Fira Code 14"))
replace Fira Code 14 with your favorite font, and see if it helps.


I think the default-frame-alist '(font ...) part specifies the font new frames use.


I also have a hydra with:

("9" (set-default-font "Fira Code 14"))
  ("0" (set-default-font "Fira Code 18"))
this lets me easily toggle the font of the current buffer

New To Clojure12:12:47

@qqq That fixed the issue, thank you!


@ghsgd2: prettify-symbols currently gives me: "ascii string -> single unicode char" can I somehow get "ascii string -> unicode string" ? one silly example would be "defn" -> "=\lambda" or something like that

New To Clojure20:12:36

@qqq Good question. I'm not using such feature so could check . One of implementations might have support this.


Have been using emacs with clojure for the past few months with no problems but now trying to work on a cljs reagent app and am having issues with the cljs repl. Specifically, either the repl hangs on compile and does not return an error, or I get errors such as No such namespace: js when trying to do simple js interop. I added this to my emacs config

(setq cider-cljs-lein-repl
        "(do (require 'figwheel-sidecar.repl-api)
And am just running cider-jack-in-clojurescript after running lein figwheel. What am I missing? Thanks for any help!