This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-21
Channels
- # admin-announcements (3)
- # beginners (15)
- # boot (96)
- # cider (5)
- # cljsjs (2)
- # cljsrn (3)
- # clojure (22)
- # clojure-austin (2)
- # clojure-russia (16)
- # clojured (2)
- # clojurescript (65)
- # css (4)
- # cursive (89)
- # datomic (7)
- # emacs (89)
- # events (1)
- # hoplon (126)
- # leiningen (2)
- # off-topic (2)
- # om (268)
- # onyx (19)
- # parinfer (42)
- # re-frame (5)
- # reagent (30)
- # yada (8)
is there a way for emacs eval of clojurescript to actually show me exceptions in a buffer, like how it does with clojure when I write bad code, and do C-x C-e, the error shows up in the repl buffer as oppose to creating a new emacs buffer popup
Does anyone know of a comprehensive set of "pretty symbols" font-lock for Clojure in Emacs (like λ)?
Currently use the ones by Jay Fields https://github.com/jaycfields/unplugged-pack/blob/master/init.el#L94-L130
I used to really love these but there is a serious problem with them: they mess up indentation
yeah it’s true
but my indentation is already a mess 😛
I use Pragmata Pro, but unfortunately no ligatures in Emacs 😞
which is not that feature rich but does really nice things: like proper arrows for threading macros
how do you get that to work without ligatures though?
I should try that!
where can I find it ?
I think I currently use the railway cat (?)
and i really recommend @malabarba’s articles about prettify symbol on http://endlessparentheses.com/
-> works fine in TextEdit.app as a ligature
not in Emacs 😞
I’m on 24.5.1, Carbon version
weird, I’ll check the docs
so I use:
If you're using the latest railwaycat Mac port of Emacs, you can instead use:
(mac-auto-operator-composition-mode)
and i just followed this: https://github.com/railwaycat/homebrew-emacsmacport#homebrew
ah yes (mac-auto-operator-composition-mode) did it
amazing, thanks so much
finally get to use some of the Pragmata Pro features
which is an amazing font without ligatures too 😉
I’ll still use some font lock keywords
just not the fn, defn ones
which mess up indent badly (especially since I use agressive-indent)
in @malabarba articles you can find some workarounds
thanks, I’ll take a look
wouldn’t want my colleagues to become /too/ upset with my indentation
which is a general problem with Lisps I’ll admit
not a big problem, but still
haha used to shock my colleagues with pretty symbols… but then it also messes with how clj-refactor finds symbols and other stuff to work on. so that finished my prettify symbols adventures apart from a few small ones with workarounds recommended by @malabarba
clj-refactor doesn’t work in most of our projects due to the namespace redefs
which messes up system somehow
haven’t been bothered to investigate further 😛
good question, I think a colleague of mine (@wagjo) knows more details
there should be some details on this somewhere, let me look
ah okay, it’s been a while since we started this project
(July last year or something)
nice, I’ll check it out again. Although I’ve never been good at putting these things is muscle memory
still not used to magit, most of the time I still use gitx (which was incidentally developed by a co-student of mine back in the day :p)
it doesn’t play well with Evil though, and I’m still no spacemacs convert (you can pry my 5 years of custom init.el from my cold dead hands :p)
they might have fixed that too though
I’m slow on the uptake sometimes 😛
yeah, it’s weird how easy you commit things to muscle/procedural memory
even though better things exists, you get somehow stuck with your own peculiar workflow
eh whatever gets the job done well
hah that’s true! Clojure was actually the reason I converted from Vim to Emacs, and then got even more interested in Lisps
interestingly i learned doing java in emacs looong time ago. there was even functional JDEE that time which got revived lately
Back in my Java days I was still a solid Vim user, tried various plugins for Eclipse … but it never really worked well; so I basically ended up using Eclipse
the Clj experience is much better 😛
wow that sounds like I’m really old, I’m not though … but 5 years ago can seem like a long time
it probably completely swaps out the rendering panel for the OSX native one, if I remember there has been some work to get this in general Emacs
but nothing in main yet
perhaps that would open up the way of composing pretty symbols an other way — but i am way out of my league here...
yeah same, it’s probably part of the C/C++ core stuff
which I have no idea how to approach