This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-22
Channels
- # announcements (3)
- # beginners (22)
- # braveandtrue (6)
- # calva (2)
- # cider (85)
- # cljdoc (1)
- # cljs-dev (21)
- # cljsrn (2)
- # clojure (70)
- # clojure-italy (9)
- # clojure-spec (1)
- # clojure-uk (144)
- # clojure-ukraine (6)
- # clojurescript (109)
- # cursive (59)
- # data-science (15)
- # datomic (40)
- # emacs (8)
- # fulcro (64)
- # funcool (8)
- # graphql (8)
- # hispano (3)
- # hoplon (7)
- # jobs-discuss (29)
- # leiningen (3)
- # luminus (2)
- # off-topic (13)
- # onyx (9)
- # parinfer (49)
- # pedestal (2)
- # portkey (8)
- # re-frame (10)
- # reagent (33)
- # reitit (13)
- # ring (2)
- # ring-swagger (16)
- # shadow-cljs (193)
- # spacemacs (1)
- # sql (19)
- # tools-deps (19)
Morning!
Bore da
Morning.
morning all
looks good @jasonbell!
@jr0cket - I am using Spacemacs in eVil mode this morning, and I have to say I am loving the experience. BTW, that weird bug I showed you last night was just me being a giant n00b about the thread-first macro; have fixed it once I stopped being so numb. 😉
In case anyone else is wondering why I am telling @jr0cket about my editor preferences this morning, he ran his Spacemacs tutorial at SkillsMatter last night and it was very instructive 🙂
i love spacemacs too, but holy-mode puhleez
i know @thomas, i love that there's a whole new battleground opened up... for completeness someone really needs to create a holy-mode for vim
Reminds me of two boys at primary school, who had endless discussion about which car was better: Saab or Volvo... and when they finally agreed on something, one of them would start it again on some other topic.
I took the red pill and moved to Emacs, can't move back now, it's in my head too much. You should see me switch back to doing Java development in IDEA, so many Emacs keybindings in my code...
https://github.com/tpope/vim-rsi just because of the name
What is holy-mode? Is it just a spacemacs toggle to switch vi keybindings off and use emacs ones?
@rickmoynihan C-z puts the current buffer into an Emacs State if you selected Evil as your default during install. If you choose holy on install, it doesn't install Evil (as it wouldn't be holy anymore)
thanks
As an Emacs user I had a fear of missing out… but looks like it’s only relevant if you use spacemacs; which is what I suspected
@rickmoynihan i'm not really sure of what all the differences are - but you get the spacemacs menus from a different key (i use <alt-spc>) and you are in edit-mode all the time as per normal emacs
I’ve played with Spacemacs a few times and it’s pretty impressive; but my 20 year old Emacs config is too ingrained in my muscle memory to switch
@mccraigmccraig I'm not sure what the advantages are to a holy-mode spacemacs (why not just your own config or prelude)?
@otfrom i declared emacs-config bankruptcy a while back - life is too short for me. i used prelude for a while and liked it, but after seeing @jr0cket and the travelling spacemacs circus i tried spacemacs and didn't go back to prelude - i found spacemacs fitted together better
partly because i seem to prefer helm to ido, partly because spacemacs default window-handling is very nice and its dark-theme is great
I think I've declared emacs bankruptcy a few times in the last 6 years. I tried prelude (and Sam Aaron's stuff). I found that learning someone else's config was too hard (I always had something I wanted to change)
my emacs config has been pretty stable since @rickmoynihan helped me iron out the bugs in it a couple of years back... tried spacemacs but it didn't feel as lean(?) idk, it was very much a feeling that it wasn't 100% what felt natural
The biggest reason I like spacemacs rather than just doing it myself is consistency. I can set up a new computer install the same layers and have the same experience without having to store my custom config somewhere like github. It also means I can pair with other people on their computer and have the same experience. The biggest issue I've always had working in emacs is trying to pair
I try to keep my keybindings vanilla to make pairing easier. The only thing I'm finding I need to do is come up with some terminal/tmate friendly keybindings for paredit
I used emacs a bit in 2003/2004 but never really got the hang of it and never really used it in combination with I am afraid.
Wow, I did not expect this much discussion, though on reflection who am I kidding..? 😉
I have learned a tiny bit of "holy-mode", using Emacs with EmacsLive (Sam Aaron's setup) and then Spacemacs in Holy Mode as a default, but I have to be honest the Spacemacs experience in eVil Mode is great for me - 20 years of Vi(m) use suddenly paying off, plus I love the Space(bar) menu which I have already got the hang of about 4 hours in.
Also, I am very pro the Spacemacs consistency arguement - I no longer need to consider having custom .dotfiles approach, I can just grab Spacemacs and the layers I use and boom I am productive.
@alex.lynham and @rickmoynihan do you have your configs on github or similar?
my recent-ish one is here: https://github.com/otfrom/otfrom-org-emacs
mine's just starter kit with some nicer fonts and a modeline, relative line numbers and a few utils
+1 to use-package
@otfrom: what’s interesting about your org-mode setup?
had it working on my company laptop pretty presto this time around tbf
hmm... I suppose I don't really find it interesting at all. Possibly my use of use-package and the org-mode bits.
hopefully each of the snippets is pretty clear and independent so thus good for stealing by people (as long as they use use-package)
ha yours is about a million times neater than mine
mine's string and duct tape by comparison
is there a primer somewhere?
I try to keep my keybindings vanilla to make pairing easier. The only thing I'm finding I need to do is come up with some terminal/tmate friendly keybindings for paredit
the readme here: https://github.com/jwiegley/use-package
@otfrom: FYI I discovered a new feature (or at least one I wasn’t aware of from when I last checked) of use-package which is that you can now do this
https://github.com/otfrom/otfrom-org-emacs/blob/e5430524dc2672656ed41fd949a2f287ea8fbe41/init.el#L17
inside use-package
declarations.
e.g.
(use-package cider
:ensure t
:pin melpa-stable
:diminish
:config
,,,)
yeah, that pinned package bit has been around for a while, I just couldn't get it to work last time I gave it a go. I should try again (it was probably PEBCAK)
interesting
I think if I was using emacs everyday I would look at moving it over, for now I can't really justify it
I only discovered it the other day, but have been using use-package
for a long time, so wasn’t aware of it; but the migration was trivial and just worked.
IIRC, the problem was some packages were pulling in things from other repos as a part of their dependencies and bypassing my use-package pinning, So I did it at the top to prevent it.
but I didn't properly get to the bottom of it b/c my escape hatch worked and I had other things to do than shave that yak. 😉
one of my goals w/my emacs config is that I should be able to clone it before I start emacs and all the things should be downloaded on start up and everything should just work. And mostly it does.
yeah use-package
is great for that… no longer need to commit the elpa
directory!
and I "test" it every once in a while by having a package change a macro signature and then I have to blow away my elpa, but that is just the joys of living in an image based world. 🙂
I had to do some wrangling with Emacs 25.2, Cider and clj-refactor every update comes with it's own set of fun.
I guess I have enough dependency issues with projects, I try to just stay away from it with my editor and keep things as stable as poss... but maybe that's just me excusing my own laziness
same. life is far too short
high five to that
Think I feel a greater affinity with Major Clanger (FX: crestfallen swanee whistle).
@rickmoynihan C-z puts the current buffer into an Emacs State if you selected Evil as your default during install. If you choose holy on install, it doesn't install Evil (as it wouldn't be holy anymore)
Any feedback on my Spacemacs book is appreciated https://practicalli.github.io/spacemacs/ - still a work in progress.
What about people who lost the ability to remember short cut keys?
I was a vi user when I started. I was able to remember vi keys and linux commands and options in an instant
I don’t think you can ever remember shortcuts, you kind of have to get them in muscle memory
Yeah I find that too. Weird stuff happens when you remember the combinations… e.g. Once when I was doing some numeric data entry task I entered a few numbers repeatedly on the numeric keypad and noticed by pure coincidence it happened to also be my debit card pin number. Then when I next went to purchase something my account got frozen, because my muscle memory had reversed for that number due to the opposite keyboard layouts on ATM keypads vs keyboard ones. Very weird, and embarrassing when your card gets frozen, and you’re swearing blind you’ve entered the right number! lol
nowadays I can't remember emacs bindings
sometimes when I try to remember what I press to get X or Y done, I get seriously stumped
spacemacs keybindings are good and they are like the ms office shortcuts..
But I wish we have a proper eclipse IDE
Personally I am happy with spacemacs.. Feels easier than vanilla emacs
I recently found a Eclipse framework called XText
to write DSLs and generate Eclipse IDE plugins for the DSLs
It requires a ANTLR V3 grammar
I wish someone who knows those Compiler grammar give it a shot and create a simple Eclipse IDE
I started to read xtext book in safari to create a IDE for Pony lang.
But still struggling to convert Pony's ANTLR V3 grammar into XTEXT Grammar
Does Clojure have its own ANTLR Grammar?
PS: CCW-IDE proved to be unusable with Eclipse for Java EE. It has some known unsolved problems
I have cursive IDE. The reason for looking for eclipse alternative is license cost to employers in adapting cursive
~$200 dollars per employee licence isn’t too bad if you think you’ll be more productive with it. I’m sure other costs make it pretty negligible.
Not as in 'beer' then?
at meetups sometimes it is!
@U08TUA46M you can have my beer .... unless it's GF of course... then deals off!
I feel the shadow of Bug (Bozhidar) in this thread
Is Clockwise for Eclipse not still a thing?
I thought that Cognitect originally gave some financial support to Clockwise and then the guy behind it suggested changing targets to IntelliJ and that the support for Clockwise "went away" and so it's died on the vine... I admit that I cobbled this theory together from heresay and rumour, but what I meant by Clockwise leading to Cursive was that I had thought the creator / writer / developer was the same person and that Cursive came out of the "lessons learned" on Clockwise...?
it's just a coincidence that cognitect originally sponsored ccw and later sponsored cursive
I thought they were unrelated as ccw was always on Eclipse and Cursive on Idea (IntelliJ)
ccw ide was developed by Laurent Petit. He is in clojure slack channel. I saw the github repo and the issues in it. The main reason for ccw-ide to die seems to be a known issue that causes eclipse crashes..