Fork me on GitHub
#emacs
<
2015-11-29
>
bozhidar07:11:55

here’s why you shouldn’t be using Marmalade anymore - the repo is basically dead

r0man10:11:21

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.

r0man10:11:02

When starting a clean Emacs with emacs -nwq I also get this.

r0man10:11:36

Any ideas?

andrewtropin10:11:58

C-m is equivalent of RET

r0man10:11:05

@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.

andrewtropin11:11:28

I'm not good enough in emacs keybindings, because they aweful, i prefer to use spacemacs with vim-like keybindings

r0man12:11:21

@andrewtropin: ok, thanks anyway simple_smile

andrewtropin12:11:14

C-c RET works in my spacemacs

twillis14:11:02

@r0man: what does

C-h b
tell you?

twillis14:11:44

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

r0man21:11:32

@twillis: mine is this

twillis23:11:57

hmmm how about

C-h f cider-macroexpand-1
?

twillis23:11:29

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]