Fork me on GitHub
#cider
<
2016-07-04
>
bvulpes02:07:55

malabarba: phone's a computer too :P

jan.zy09:07:30

Hi, I’d like to use this setting:

(setq cider-refresh-before-fn "start-server"
         cider-refresh-after-fn "stop-server”)
but only for one project

jan.zy09:07:02

so, what would be a nice way of storing custom settings for a selected projectile project?

jan.zy09:07:31

[hm, maybe I should ask on emacs channel]

malabarba09:07:33

@jan.zy: dir-local variables

malabarba09:07:57

Though it looks like you might have swapped the order there. ;-)

malabarba10:07:56

I think I have a post topic for this week. Way too many people ask about this. 🙂

jan.zy10:07:19

hmm, ok I created .dir-locals.el file using projectile-edit-dir-locals function

jan.zy10:07:35

I switched to to this project

jan.zy10:07:44

and still my vars are unset

jan.zy10:07:22

This is my .dir-locals.el:

((nil . ((cider-refresh-before-fn . "wunder-auth.repl/stop-server")
         (cider-refresh-after-fn . "wunder-auth.repl/start-server"))))

jan.zy10:07:39

hmm, it should just work

dhruv114:07:12

this is the output I see when I exectue the function describe-personal-keybindings C-c C-o `cider-repl-clear-buffer’ but when i execute C-c C-o it doesn’t do anything

dhruv114:07:47

can anyone tell me how I can debug this? I don’t see any messages in the *Messages* buffer

jan.zy14:07:17

i had the same problem

jan.zy14:07:34

it deletes only output of the last command

jan.zy14:07:54

or the output of earlier command - if you move your cursor on it

malabarba16:07:42

Press C-u before it

malabarba16:07:50

@jan.zy did you reopen the file?

malabarba22:07:42

@cddr: not that I know

malabarba22:07:59

But PRs welcome simple_smile