This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-05
Channels
- # bangalore-clj (4)
- # boot (196)
- # chestnut (1)
- # cider (4)
- # clara (3)
- # cljs-dev (23)
- # cljsjs (28)
- # cljsrn (1)
- # clojure (79)
- # clojure-art (1)
- # clojure-berlin (1)
- # clojure-hk (17)
- # clojure-italy (5)
- # clojure-korea (1)
- # clojure-russia (21)
- # clojure-spec (5)
- # clojure-uk (26)
- # clojurescript (125)
- # core-async (1)
- # cursive (23)
- # datomic (7)
- # emacs (17)
- # hoplon (51)
- # jobs (2)
- # leiningen (2)
- # om (11)
- # om-next (26)
- # onyx (39)
- # pedestal (9)
- # proton (4)
- # re-frame (43)
- # reagent (1)
- # ring (2)
- # slack-help (12)
- # sydney (4)
- # test-check (9)
- # yada (40)
is it possible to tell clojure-mode
not to ident after a certain symbol?
say, for instance, in the following form:
(defc my-thing < something
something-else
{:could-be :a-map}
[args]
(forms))
I would like to align everything after the <
, so that they fall under each other
so,
something
something-else
{:map :thing}
etc
the <
is not a macro, though. just a plain symbol
would love to be able to solve it. i’ve been using rum
a lot, so i’ve switch to LightTable since it plays nicely with custom structure formatting. but, i do miss the structural editing of emacs
so you can call (define-clojure-indent (<clj-symbol> <property>))
, where <clj-symbol>
is the symbol you want to indent and <property>
can be one of the following (from clojure-mode docs):
- defun', meaning indent
defun'-style;
- an integer N, meaning indent the first N arguments specially
like ordinary function arguments and then indent any further
arguments like a body;
- a function to call just as this function was called.
If that function returns nil, that means it doesn't specify
the indentation.
- a list, which is used by `clojure-backtracking-indent'.
is there a way to force the stack trace buffer to always appear in a specific window?
Is there a keybinding in emacs to print docstring of a function in point to the repl (ie. not open another buffer like with C-c C-d d.