This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-24
Channels
- # beginners (19)
- # boot (118)
- # capetown (4)
- # cider (37)
- # cljs-dev (69)
- # cljsjs (23)
- # clojure (212)
- # clojure-austin (10)
- # clojure-india (3)
- # clojure-italy (2)
- # clojure-mke (1)
- # clojure-nl (1)
- # clojure-russia (5)
- # clojure-spec (52)
- # clojure-uk (86)
- # clojurescript (31)
- # core-async (9)
- # cursive (123)
- # datomic (91)
- # emacs (22)
- # events (3)
- # hoplon (68)
- # klipse (4)
- # lambdaisland (10)
- # leiningen (2)
- # off-topic (14)
- # om (14)
- # onyx (44)
- # perun (14)
- # proton (20)
- # re-frame (15)
- # reagent (10)
- # ring-swagger (9)
- # specter (18)
- # untangled (3)
- # vim (26)
- # yada (4)
so I just spent about 5 hours debugging with a (defun ... ) was causing all types of problems
Usually, all the function names in a package are prefixed with the package name. Generally, people try to do the same thing in their init-file. Don’t define get-file
, define qqq-get-file
or somesuch. That prevents such an error from happening.
I need something to interface with boot in a particular way, and inferior lisp seems to be documented nowhere
Noob question: I'm using prelude, and I can't figure out where I'm supposed to put (define-clojure-indent ...)
. I can eval it in *scratch*
without a problem, but if I put it in a file in emacs.d/personal/
I get Symbol's function definition is void: define-clojure-indent
@madstap if clojure-mode isn't required before your emacs.d/personal stuff is evaluated, define-clojure-indent
won't be defined yet. It looks like adding (prelude-require-package 'clojure-mode)
before calling define-clojure-indent
should work: https://github.com/bbatsov/prelude#personalizing
alternately, you could wrap it in eval-after-load
:
(eval-after-load 'clojure-mode
'(define-clojure-indent ...))
@qqq I am curious now 😀 why writing a new inf-clojure
? Which part of boot do you want to target?
@richiardiandrea : recently switched form lein to boot, saw how simple boot was, andbecame curious whether I could get a inf-lisp to work with boot; turns out it was pretty easy
@qqq yes because inf-clojure
just needs a server that can accept input, so I was kind of wondering if it would work out of the box with boot