This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-19
Channels
- # beginners (34)
- # boot (111)
- # cider (37)
- # clara (57)
- # cljsjs (1)
- # cljsrn (22)
- # clojure (156)
- # clojure-austin (2)
- # clojure-mke (7)
- # clojure-russia (9)
- # clojure-spec (221)
- # clojure-uk (47)
- # clojurescript (42)
- # code-reviews (4)
- # community-development (9)
- # core-async (3)
- # cursive (50)
- # datomic (81)
- # emacs (12)
- # events (5)
- # hoplon (1)
- # jobs (2)
- # lein-figwheel (4)
- # leiningen (1)
- # luminus (3)
- # mount (2)
- # off-topic (1)
- # om (94)
- # om-next (3)
- # onyx (33)
- # re-frame (23)
- # reagent (41)
- # remote-jobs (9)
- # rum (30)
- # slack-help (2)
- # specter (1)
- # untangled (20)
- # yada (17)
Hi. Is there a way to set max length (for formatting via C-M-\
) to e.g. 120 characters?
cider 15-snapshot upgrade == effortless. Re-read the docs last night super sweet stuff.
there's a function called cider-toggle-current-connction or something like that that can switch you to cljs mode
good stuff! Is clojure interation mode significantly different? I looked at the bindings and couldn't really see anything
haven't looked into the keybindings but it inherits from clojure-mode so should be very similar
Is there a way in eamcs to bind a hot key to "emulate C-x C-e" ? so I want it to run eval-last-sexp when in .el files, cider-eval-last-esexp in .clj files -- and basically do whatever "the current file format has bound C-x C-e to" ?
if you hit C-x C-e
it will always do "whatever 'the current file format has bound to C-x C-e to'"
if I bind C-p to eval-last-sexp, then it alos tries it in *.clj files, which is wrong, since it sholud be doing cider-eval-last-sexp
Variable: change-major-mode-after-body-hook This is a normal hook run by run-mode-hooks. It is run before the mode hooks. Variable: after-change-major-mode-hook This is a normal hook run by run-mode-hooks. It is run at the very end of every properly-written major mode command.
If I use a hook, I'd have to have a global varaible somewhere which the hook sets and the hydra calls.
get the name of the function you're interested in via describe-key
and the keystrokes/combo you want to it
(lambda () (let ((f (function-lookup-whatever-this-is (kbd "C-c C-e"))) (set-key ...))