This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-20
Channels
- # aleph (19)
- # aws-lambda (8)
- # bangalore-clj (1)
- # beginners (13)
- # boot (179)
- # cljs-dev (12)
- # cljsjs (2)
- # cljsrn (6)
- # clojure (174)
- # clojure-italy (14)
- # clojure-nl (2)
- # clojure-russia (172)
- # clojure-spec (29)
- # clojure-uk (22)
- # clojurebridge (10)
- # clojureremote (1)
- # clojurescript (79)
- # cursive (46)
- # data-science (1)
- # datascript (8)
- # datomic (18)
- # defnpodcast (2)
- # emacs (9)
- # events (6)
- # hoplon (11)
- # klipse (13)
- # lein-figwheel (1)
- # leiningen (1)
- # luminus (1)
- # lumo (88)
- # numerical-computing (1)
- # off-topic (24)
- # om (33)
- # onyx (58)
- # protorepl (8)
- # re-frame (10)
- # reagent (26)
- # ring (8)
- # ring-swagger (7)
- # rum (22)
- # spacemacs (25)
- # specter (5)
- # uncomplicate (37)
- # untangled (75)
- # vim (17)
- # yada (3)
@jeff.terrell in order the stuff to show up in your agenda the files need to be added to org-agenda-files
.
read up the documentation on the variable: SPC F1
org-agenda-files
then C-o
till it jumps to variables section (because there’s also a function with the same name).
@ag - Ah, very nice. (Well, I wasn't sure when to hit C-o
, but I eventually switched to my org file and hit M-x org-agenda-file-to-front
and that worked.) Thank you!
Didn’t see anything in the Layer docs or code - https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/java - https://github.com/syl20bnr/spacemacs/blob/master/layers/%2Blang/java/packages.el
@jeff.terrell > I wasn't sure when to hit C-o
if you’re using Helm, SPC F1 some-symbol
opens helm-apropos. Like many other helm-buffers it contains multiple sections: for commands, functions, variables, etc. To quickly jump between the sections you can press C-o
.
You, can set directory path or regex in org-agenda-files
. Then all the files in that path will show up in agenda view
@ag - Ah, very cool! I actually did check out the Helm actions menu (with C-z
), but didn't see C-o
listed, so gave up on that. But now I see what you mean, once I try it. Neat tip, thanks!
@twashing as an example, this is how I set up indent for web mode http://emacs.stackexchange.com/questions/25044/how-do-i-set-up-indentation-to-2-spaces-in-web-mode
It could be something like (setq java-mode-code-indent-offset 2)
, but only if the Java mode is written in the same way as the web mode.
Seems you may have to dig into the Java support in Emacs further than the Java layer
Hey @jr0cket , yeah that’s the first thing I checked. There’s indent-offset
vars for web , haskell, and a few other modes...
Sorry I cant help more. However, if you are doing Java or Scala development with Emacs you may be interested in http://ensime.org/
Oh it’s all good. I’m just trying install eclim, because the Spacemancs Java layer seems to need it. https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/java
Ensime gives you some of the features you get from a Java IDE, so possibly an alternative to Eclim (not very experienced with either, but I know one of the maintainers of Ensime)
I’m curious as to how others are installing Eclim, as it seem to be failing on my machine: MacOS 10.12.2 (edit)
@jr0cket Hmm, I’ve had success using Ensime with Scala. But if I do that, then I couldn’t use Spacemacs’ Java layer (which requires Eclim).
Sorry, again not sure. The Ensime install doent seem to require any packages except for vim (I could be reading that wrong) and uses electric-indent-mode
for indenting (built into emacs 24 onwards). There is a suggestion in the install of how to set up Ensime in Spacemacs.
Gotta go, good luck.
Just an FYI for anyone trying to install eclim for Java layer support. I had an issue trying to install eclim on my MacOS 10.12.2. - http://eclim.org - https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/java#layer-installation This issue helped me get most of the way there. - https://github.com/ervandew/eclim/issues/479 And these are some other issues that give context to why you would want to do the abouve. - https://github.com/ervandew/eclim/issues/484 - https://github.com/ervandew/eclim/issues/428