This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-06
Channels
- # architecture (25)
- # bangalore-clj (1)
- # beginners (21)
- # boot (45)
- # cljs-dev (38)
- # clojure (272)
- # clojure-austin (7)
- # clojure-finland (7)
- # clojure-france (3)
- # clojure-italy (7)
- # clojure-japan (1)
- # clojure-russia (13)
- # clojure-spec (36)
- # clojure-uk (31)
- # clojurescript (96)
- # core-async (15)
- # cursive (16)
- # datascript (3)
- # datomic (97)
- # emacs (107)
- # hoplon (16)
- # jobs (9)
- # keechma (1)
- # luminus (1)
- # off-topic (19)
- # om (39)
- # onyx (15)
- # pedestal (3)
- # planck (22)
- # protorepl (4)
- # re-frame (20)
- # reagent (3)
- # ring-swagger (25)
- # specter (26)
- # test-check (19)
- # testing (1)
- # untangled (381)
donโt think so @lvh. if you want to do that in the current ns (not globally) a regex search and replace should do the trick ?!
in emacs, what is the easiest way to open all files in src/ ? the goal here is to use imenu-in-all-buffers ... well, in this case I better have all of src/ open
or http://emacs.stackexchange.com/questions/613/recursively-open-files-matching-regexp-in-marked-directories if you meant recursively
@mgrbyte: yeah, meant recursively (I should have clarified; sorry!) -- ended up writing a *.el file to do just that
@lepistane that is one of the few blog posts I have ๐ http://mping.github.io http://mping.github.io/2015/11/17/clojure-emacs-cider.html
@lepistane don't follow the guide that @mping put when it talks about putting nrepl in your lein profile file
CIDER used to require you to keep its dependencies in your lein profiles. But CIDER and cider-nrepl have the same version numbers so its easy to keep them in sync. You are putting a hardcoded 0.10-snapshot but CIDER is 0.14.0 on melpa stable and 0.15 on melpa
but CIDER now injects its dependencies so stating them is no longer required, but only serves to explicitly mismatch the frontend (CIDER) from the backend (cider-nrepl)
@dpsutton hi because prelude has too much stuff in it i cant catch up if you ever used setup from Brave and True it is really small. i tried updating cider using that setup but i am getting an error like "symbol's function body is null" or something like that i dont want things in i just want Brave and True setup with new cider that doesnt give me errors
re the errors @lepistane do you mean you got errors updating with the brave clojure setup?
i've seen those errors and the best idea i have is that the brave setup does something fundamentally bad
it's using a version of cider from 2014 and it includes the compiled elisp code in addition to the source code
my best guess so far is that emacs has changed the compiled code of lambdas and this is breaking it
i'm not a big fan of it for that reason and for others (manually keeping a dependency at 0.8.2) so that when you jack in you get front-end backend mismatches
my best suggestion is to totally drop the brave clojure estup and install prelude from scratch
barring that, i would start totally fresh and pick and choose which parts of the brave setup you want to keep but do not install it
let me ask you this. when i install package do i need to do anything else to 'turn it on' ??
@lepistane it greatly depends on what the package is (and sometimes on how you installed it). Often times packages that provide major modes for files (like clojure-mode, or rust-mode) will automatically set up a hook to turn themselves on when you open a file with a specific file name ending.
Many packages that are "on all the time", like smex, or other packages that provide enhancements to emacs as a whole, generally require you to enable them in some way.
@lepistane how's the CIDER installation going? I'm back at a computer
Fun days! inf-clojure
now support REPL type for extensibility and Lumo! If you have some time, test and bug me with bugs https://github.com/clojure-emacs/inf-clojure/pull/44
@dpsutton took this blog https://coderwall.com/p/53bfpg/for-beginners-get-emacs-with-clojure-up-and-running and started installing things dont know how to turn on smex and idomenu
ye i figured that but not sure in which file i write that i dont have init.el like i had with Brave and true setup
Configuring Emacs
C-x C-f ~/.emacs <br/>
Welcome to the world of elisp! After you've survived that shock, let's get started!<br/>
Ok, first, place this at the end of the file:
i made that file and put https://gist.github.com/zilti/6083155 into ;;your code goes here
Warning (initialization): An error occurred while loading `/home/marko/.emacs': Symbol's value as variable is void: defun To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace.
i was talking about if i were to use prelude steps would be the same. i'd just put these things (hooks and all that) into personel.el file just like you said yesterday
ye ye so this was easier to grasp than prelude right away. i am absolute beginner so it takes time. Thank you for being patient with me
question on the side. when i delete emacs.d i get fresh new emacs i dont have to sudo apt-get remove emacs or purge or anyting like that?
when emacs starts up, it looks at your emacs config file or directory to know what to do and what to look like
i failed to make init work but i learned a lot i will setup prelude now thank you so much thank you for taking time out of your day to help me