This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-29
Channels
- # beginners (41)
- # cider (2)
- # cljs-dev (5)
- # cljsrn (16)
- # clojure (157)
- # clojure-russia (29)
- # clojure-uk (1)
- # clojurescript (164)
- # code-reviews (7)
- # cursive (3)
- # datavis (7)
- # datomic (1)
- # emacs (16)
- # hoplon (2)
- # ldnclj (1)
- # off-topic (4)
- # om (167)
- # other-lisps (10)
- # overtone (8)
- # parinfer (1)
- # re-frame (19)
- # testing (2)
Hello, I have a strange Emacs problem related to keybindings. I'm trying to get cider-macroexpand-1 working on my machine. This should be bound to C-c C-m in cider mode. This used to work some time ago, but now whenever I hit C-c C-m
Emacs barks with C-C RET is undefined
.
C-m is equivalent of RET
@andrewtropin: Hmm, ok. Looking at the keybindings in cider-mode it also says C-c RET
is bound to cider-macroexpand-1
. But if I press this key sequence nothing happens and the minibuffer shows C-c RET-
waiting for another key. If I then press "x" for example it says C-c RET x is undefined
.
I'm not good enough in emacs keybindings, because they aweful, i prefer to use spacemacs with vim-like keybindings
@andrewtropin: ok, thanks anyway
C-c RET works in my spacemacs
for example my cider related ones...
Major Mode Bindings:
key binding
--- -------
C-c Prefix Command
C-j cider-repl-newline-and-indent
RET cider-repl-return
C-x Prefix Command
ESC Prefix Command
, cider-repl-handle-shortcut
<C-down> cider-repl-forward-input
<C-return> cider-repl-closing-return
<C-up> cider-repl-backward-input
<S-home> cider-repl-bol-mark
C-x C-e cider-eval-last-sexp
M-, cider-pop-back
M-. cider-find-var
M-n cider-repl-next-input
M-p cider-repl-previous-input
M-r cider-repl-previous-matching-input
M-s cider-repl-next-matching-input
C-c C-b .. C-c C-c cider-interrupt
C-c C-d cider-doc-map
C-c RET cider-macroexpand-1
C-c C-n cider-repl-next-prompt
C-c C-o cider-repl-clear-output
C-c C-p cider-repl-previous-prompt
C-c C-q cider-quit
C-c C-r cider-eval-region
C-c C-u cider-repl-kill-input
C-c C-x cider-refresh
C-c C-z cider-switch-to-last-clojure-buffer
C-c ESC Prefix Command
C-c C-. cider-find-ns
C-c M-. cider-find-resource
C-c M-i cider-inspect
C-c M-m cider-macroexpand-all
C-c M-n cider-repl-set-ns
C-c M-o cider-repl-switch-to-other
C-c M-s cider-selector
C-c M-t Prefix Command
C-c M-t n cider-toggle-trace-ns
C-c M-t v cider-toggle-trace-var
C-c C-d C-a cider-apropos
C-c C-d C-d cider-doc
C-c C-d C-j cider-javadoc
C-c C-d C-r cider-grimoire
C-c C-d A cider-apropos-documentation
C-c C-d a cider-apropos
C-c C-d d cider-doc
C-c C-d h cider-grimoire-web
C-c C-d j cider-javadoc
C-c C-d r cider-grimoire
mine....
cider-macroexpand-1 is an interactive autoloaded Lisp function in
`cider-macroexpansion.el'.
It is bound to C-c RET, <menu-bar> <REPL> <Macroexpand>
<Macroexpand-1>.
(cider-macroexpand-1 &optional PREFIX)
Invoke 'macroexpand-1' on the expression preceding point.
If invoked with a PREFIX argument, use 'macroexpand' instead of
'macroexpand-1'.
[back]