Fork me on GitHub
#editors
<
2015-06-15
>
long.clojure07:06:16

I’m using Mac with OSX 10.10.4, JRE and JDK already installed with 1.8 version

long.clojure07:06:59

@sveri: thanks for your comment. my JAVA_HOME already in place. but still doesn’t work

long.clojure07:06:30

I’m currently using zsh, not sure because of that ?

sveri07:06:33

@long.clojure Sorry, I don't know anything about mac.

long.clojure07:06:11

ahh.. it took me forever to figure out this, try many different methods but still doesn’t work. I think I might go with Vim

sveri07:06:50

@long.clojure: can you ran javac from zsh?

sveri07:06:05

what does echo $JAVA_HOME give you in zsh?

long.clojure07:06:21

It gave me this /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home

long.clojure07:06:29

I think it’s correct path

sveri07:06:06

@long.clojure: Hm, I think it should point to: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk if I am guessing your path correct

sveri07:06:19

Contents/Home looks weird to me, but, like I said, I never used Mac

agile_geek08:06:16

@long.clojure: that path looks fine. Same as mine. I can start Light Table OK although I don’t use it (emacs). However, I think the Mac looks in /etc/launchd.conf and environment.plist if you are starting an App in the GUI. It probably only reads JAVA_HOME if running a command from terminal. However, this said, your default Java install should be set up correctly so not sure why Light Table is not working. Sorry not much help!

long.clojure08:06:47

thanks @agile_geek, you remind me about some other thing. I will try that out. Light Table actually worked for me before. But it broken after I did the OS upgrade.

martinklepsch08:06:49

@danielcompton: re comments, theres a slight difference between ; and ;; — usually one semicolon is used when theres something else on the line already. Did that in emacs for a while and was super confused why it’s indenting so weird

danielcompton08:06:58

@martinklepsch: ahh, I think I had the same confusion when I was using emacs, solved it now!

bozhidar09:06:56

@clojuregeek: your problem is definitely caused by the middleware not loading

bozhidar09:06:38

as the profile settings look correct it might be that you have something that interferences with the middleware’s loading

bozhidar09:06:42

do you have any other middlewares in your profile or project.clj?

bozhidar09:06:02

btw, there’s also #C0617A8PQ and you can of course always report the problem on our issue tracker

chris11:06:39

@long.clojure: iirc there is some bug with Java applications started from the gui that doesn't let them access the env variables (intellij suffers from this for sure). Presumably in light table there is some way to set the path manually? I would try that

rauh12:06:18

@cfleming: Please consider https://readthedocs.org/ for documentation. The full text search (elasticsearch) is a huge help

cfleming12:06:30

rauh: I’ll check it out, thanks

borkdude12:06:35

in Cursive, it seems that when I have a broken file in terms of paredit, I cannot type a closing parenthesis.

borkdude12:06:45

what is the solution? @cfleming

cfleming12:06:33

borkdude: Currently it’s disabling paredit temporarily (in the bottom status bar) or cutting and pasting a closing paren

borkdude12:06:57

that was easy enough simple_smile

borkdude13:06:14

did connecting to a REPL from cursive recently change? I don't see an option in the menu anywhere

cfleming13:06:11

borkdude: No, do you want to connect to a remote REPL?

borkdude13:06:55

I'm trying cursive out again, after a while of absence

cfleming13:06:58

You want Run->Edit configurations, create a new Clojure->Remote REPL, and then add the details

cfleming13:06:23

borkdude: Nice, let me know how it goes, I’m always interested in experience reports

borkdude13:06:55

it works simple_smile sorry, I forgot how it worked

sveri13:06:10

@borkdude: sometimes I copy & paste a paranthese or whatever, no need to use the mouse then.

clojuregeek13:06:24

@bozhidar: thanks, I will do some more digging in my emacs .. usually when browse packages its like a kid in candy story, i’ll add several things and maybe not try them out right away and forget 😑

bozhidar14:06:26

most likely the problem is not in the Emacs setup, but it the clojure/java deps/plugins you have

bozhidar14:06:11

because the warning pretty much says that cider-nrepl hasn’t been loaded and since it’s in your profile

bozhidar14:06:23

something else there or in the project itself is the problem

bozhidar14:06:43

try connecting using a clean project and a basic profile with only cider-nrepl in it

borkdude14:06:20

today I'm using emacs to write clojurescript and cursive for server side clojure: want to experience both simple_smile

bozhidar14:06:50

I often say this - IntelliJ is my favourite IDE

bozhidar14:06:00

the problem is that I don’t like IDEs that much simple_smile

bozhidar14:06:20

but they definitely have a ton of perks

chris14:06:39

I ❤️ intellij, but that might just because the alternative is eclipse

chris14:06:45

(for java)

borkdude14:06:40

I see editors and IDEs as tools, I'm not religious about it. Whatever gets the job done.

borkdude14:06:33

@cfleming: is there a way to see the files that have function arity errors in the side bar?

cfleming14:06:42

borkdude: You mean to have it marked in the project window?

erichmond20:06:08

@cfleming: if we have a cursive issue, would you prefer we mention it here? or on the mailing list?

erichmond20:06:15

or on the github issue tracker?

sveri20:06:44

@erichmond: from my experience he is very responsive on the github tracker simple_smile

sveri20:06:38

apart from that, other can google and search that, so, it surely is better to have it centralized and one place to go, from my point of view, but, I am not cfleming, so, take it with a grain of salt 😄

erichmond21:06:19

yeah, thats what I am thinking too

erichmond21:06:28

I just want to do whatever helps his flow the best