Fork me on GitHub
#emacs
<
2017-06-09
>
jumar06:06:01

that dependency is in central maven repo: http://mvnrepository.com/artifact/org.openjdk.jol/jol-core However, reading cljr-add-project-dependency documentation: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-add-project-dependency > Completing read among artifacts from clojars, and a selection from maven central.

jumar06:06:19

I'm not sure what the "selection from maven central" means

jumar06:06:02

Only artifacts matching [group-ids #{"com.cognitect" "org.clojure"}] are fetched from maven central

benedek07:06:21

that is weird, probably performance tweak… care to file an issue?

jumar07:06:27

no problem - Maybe it makes sense to limit the results for cljr-add-project-dependency, but "hotload-dependency" could work.

jumar07:06:18

Using alembic directly can help in this case: (alembic.still/distill '[org.openjdk.jol/jol-core "0.8"]

benedek07:06:26

so you can do that obviously if you add this manually to your project.clj and invoke hotload dependency

benedek07:06:49

i guess reasoning behind this limitation is that would be very ineffective to retrieve everything from maven central for you to select from with add proj dep

stardiviner14:06:31

I want to use Org-mode babel to generate inline plot image with Incanter or other Clojure plotting library. Here is the question: https://emacs.stackexchange.com/questions/30849/how-to-generate-inline-plot-result-for-ob-clojure And I'm trying one way: try to output image to =stdout= instead of a file:

#+BEGIN_SRC clojure :session :results file :dir "data/images" :file "clojure-babel-figure-result.png"
(use '(incanter core stats charts io))

(def my-plot (function-plot sin -10 10))

my-plot
#+END_SRC

#+RESULTS:
[[file:/home/stardiviner/Org/Projects/data/images/clojure-babel-figure-result.png]]
But the result file is empty.

stardiviner10:06:54

I want to know how to output image to stdout so that Org-mode babel can pipe output to a file result. (Assume Org-mode Babel can handle this)

stardiviner10:06:03

I want to know how to output image to stdout so that Org-mode babel can pipe output to a file result. (Assume Org-mode Babel can handle this)

hkjels13:06:25

@U28FF36Q4 I’m not entirely sure I understand your question, but inlining plots can be done without setting a result-flag

hkjels13:06:01

http://orgmode.org/worg/org-tutorials/org-plot.html Note that all of the orgmode documents are org-files, so you can view their source by clicking the button at the very bottom

stardiviner14:06:20

I want to know how to output image to stdout so that Org-mode babel can pipe output to a file result. (Assume Org-mode Babel can handle this)

qle-guen19:06:37

hey I'm getting these errors in spacemacs, auto-completion not working: https://gist.github.com/qleguennec/97516fca6f2011778e2052e63cf8a765

qle-guen19:06:51

it seems to be an error in the company package, has anyone ever get this kind of error?