Fork me on GitHub
#emacs
<
2016-07-13
>
kevin4212:07:33

Hello, does anyone knows if there’s a way to have the fringe margin when running emacs in a console?

kevin4213:07:53

It works in the GUI but not in text mode. I’m not sure if it’s possible. Maybe something else can emulate it? Thanks 🙂

radon13:07:39

@malabarba: Well, I now realize that the indentation is obviously correct for reader conditionals, because in that case the keyword isn’t a function, but is there a way to tell emacs to indent keywords-used-as-functions the same way as regular functions?

malabarba13:07:00

I'm confused

malabarba13:07:11

Maybe my browser is swallowing one of your spaces

radon13:07:14

I’d like

(:some-function
  arg1
  arg2)

malabarba13:07:27

It looks like that's exactly what you have

radon13:07:45

Currently I have

(:some-function
 arg1
 arg2)

radon13:07:51

I.e. I have only one space of indentation and would like two.

malabarba13:07:24

Gah. My browser is definitely small something. Both examples look the same to me

malabarba13:07:32

But I see what you mean now

malabarba13:07:05

I'll have to recheck the code for that

radon13:07:46

My silly workaround is to add each keyword individually to the define-clojure-indent call in my init-file, but of course a regex-based solution would be more tenable in the long-term 😛

radon18:07:12

Sometimes when I press C-c C-k to compile a Clojure file, if there’s also a *cider-doc* buffer visible, the doc buffer closes, I get the error Wrong type argument: stringp, nil in the minibuffer, and the file isn’t compiled. Has anyone happened to run into this before?

radon18:07:40

(Well, I assumed the file wasn’t compiled. I should actually check that.)

radon18:07:33

It’s erratic, and I haven’t been able to find a consistent reproducible case yet.