This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-10
Channels
- # adventofcode (99)
- # architecture (10)
- # bangalore-clj (1)
- # beginners (65)
- # boot (9)
- # cider (78)
- # clojure (87)
- # clojure-austin (1)
- # clojure-brasil (13)
- # clojure-dev (14)
- # clojure-gamedev (3)
- # clojure-greece (2)
- # clojure-italy (2)
- # clojure-russia (18)
- # clojure-spec (26)
- # clojure-uk (15)
- # clojurescript (62)
- # core-logic (1)
- # cursive (1)
- # datomic (27)
- # emacs (17)
- # fulcro (2)
- # off-topic (44)
- # onyx (25)
- # perun (139)
- # re-frame (40)
- # reitit (2)
- # ring (4)
- # rum (2)
- # shadow-cljs (1)
- # slack-help (14)
- # unrepl (18)
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
@qqq See http://emacsredux.com/blog/2014/08/25/a-peek-at-emacs-24-dot-4-prettify-symbols-mode/
(λ (x y)
(if (≥ x y)
(something)
(something-else)))
@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 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 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@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
@qqq Good question. I'm not using such feature so could check https://www.emacswiki.org/emacs/PrettySymbol . 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)
(figwheel-sidecar.repl-api/start-figwheel!)
(figwheel-sidecar.repl-api/cljs-repl))")
And am just running cider-jack-in-clojurescript
after running lein figwheel
. What am I missing? Thanks for any help!