Fork me on GitHub
#cider
<
2017-04-25
>
dpsutton02:04:08

that glyph should always appear. anything loaded should have it

gonewest81803:04:40

Thanks... any idea what function produces that glyph?

gonewest81803:04:11

Ah. On closer look, the glyph is there but the color is almost indistinguishable from the background. In our office lighting I missed it. I’m trying to figure out what sets the color.

dpsutton03:04:25

let me dig. i'm very near there

dpsutton03:04:29

grep for fringe in cider

dpsutton03:04:11

(defface cider-fringe-good-face
  '((((class color) (background light)) :foreground "lightgreen")
    (((class color) (background dark)) :foreground "darkgreen"))
  "Face used on the fringe indicator for successful evaluation."
  :group 'cider)

dpsutton03:04:00

i'm not sure how easily changed that is. you could probably put this snippet in your own init file with whatever colors you'd like. moreover, a submitted patch with those colors as a defcustom would most probably be very welcome

dpsutton03:04:32

@gonewest818 ^

gonewest81803:04:10

@dpsutton: thanks much for hunting that down.

dpsutton03:04:04

no problem. happy to help

gonewest81804:04:53

@dpsutton so it turns out you can call customize-theme-set-faces to override these defaults, and in particular the zenburn theme offers an additional macro zenburn-with-color-variables that provides a table of color names like zenburn-bg as a convenience. So I was able to customize the theme in init.el like this:

gonewest81804:04:06

(defun my-customize-zenburn ()
  (zenburn-with-color-variables
   (custom-theme-set-faces
    'zenburn
    `(fringe ((t (:foreground ,zenburn-fg :background ,zenburn-bg))))
    `(cider-fringe-good-face ((t (:foreground ,zenburn-green+1))))
    )))

(load-theme 'zenburn t)
(my-customize-zenburn)

dpsutton04:04:28

perfect. glad it worked out for you

dpsutton04:04:31

that's really helpful

cddr10:04:25

Has anyone figured out how to run speclj tests using cider-test?

andrea.crotti12:04:56

after the last upgrade of Cider the repl behaves a bit strangely

andrea.crotti13:04:33

pressing TAB for example actually moves the prompt around even if there is nothing

andrea.crotti13:04:39

which I don't think was happening before

andrea.crotti13:04:55

and auto completion seems a bit off (not auto completing files for example)

andrea.crotti13:04:11

anyone saw similar problems with CIDER 0.15.0snapshot (package: 20170403.402) ?

jsa-aerial14:04:17

couple questions - when (release) did that fringe thing come in and what is supposed to be for??

dpsutton14:04:55

it's been out for a while and it marks which forms are loaded in the repl

jsa-aerial14:04:41

Thanks. I'm on 12. Wonder how much will break if I upgrade to 14 (which seems to be latest released?)

dpsutton14:04:24

14 is latest on melpa-stable, 15 is on melpa

dpsutton14:04:08

hopefully nothing will break πŸ™‚

richiardiandrea15:04:52

@gonewest818 nice I am using zenburn and i did not even know about the existence of the fringe there πŸ˜€

richiardiandrea17:04:30

so is cider-fringe-good-face the only face the fringe has?

gonewest81819:04:50

Here are all the β€œdefface” that occur in the cider codebase. https://github.com/clojure-emacs/cider/search?utf8=%E2%9C%93&amp;q=defface&amp;type=

romain18:04:28

@richiardiandrea yes unfortunately 😞

richiardiandrea19:04:34

@romain was it for me on the #emacs channel πŸ˜„ ?

romain20:04:31

@richiardiandrea hehe no, I answered your question about only one font face

romain20:04:48

but now I see you ask about cider, I meant about clojure-mode :x

richiardiandrea20:04:37

Eh eh, proposal, why don't we rename this channel to #clojure-emacs like the GitHub org btw?