Fork me on GitHub
#cursive
<
2017-03-03
>
cfleming07:03:11

@dnolen Sorry, that’s old crappy code - I’ve been meaning to fix it up but it doesn’t get used much.

gfredericks16:03:21

does anybody know or have a good guess whether the cursive formatter is configurable enough to do roughly this with ns forms? https://stuartsierra.com/2016/clojure-how-to-ns.html

gfredericks16:03:49

my team uses a linter for that style and I think cursive formats it a different way by default

shaun-mahood16:03:49

@gfredericks: What do you want Cursive to do for you related to that post? I use cursive and follow this way manually without any problems, though I haven't got it linted or really pay that much attention to the spacing of things.

gfredericks16:03:00

@shaun-mahood I think the main issue is how the clauses below :require etc. are indented (two spaces when the standard says one)

gfredericks16:03:39

if yours indents one space then that gives me confidence I can figure out how to configure it to do the same thing; though if you didn't have to configure it at all that confuses me a little

shaun-mahood17:03:26

@gfredericks: Ok, mine indents 2 there (2 is the default) but there's a super easy configuration change for indent depth - it has both a global setting and form specific settings, though I don't see ns or require on the list of options - but I'm on a bit older of a version than current and haven't changed that config at all, so there may be someone else who has it figured out. You want it to be 2 spaces between ns and require, and 1 space after require right?

shaun-mahood17:03:32

The config is pretty straightforward to check, you should just download it and see if you can figure it out - it's a pretty fantastic editor 🙂

gfredericks17:03:53

does it have org-mode

Alex Miller (Clojure team)17:03:16

you can probably run cursive inside emacs if you need to

gfredericks17:03:57

I'm a level 5 emacs user: I only run it in a terminal window

gfredericks17:03:42

so I would need a plain-text version of IntelliJ

Alex Miller (Clojure team)17:03:25

I assume that’s level 5 of 100

gfredericks17:03:40

the emacs levels just keep going

manutter5117:03:53

what level is it when you run emacs in a terminal window in intellij?

gfredericks18:03:08

That is a level of intellij usage that is expressed in quaternions

cfleming18:03:07

Software must eat itself!

cfleming18:03:34

@gfredericks I’m still mostly asleep, will check that a bit later on. Someone mentioned last week that they had a problem with that.

cfleming18:03:32

There is a lists-indent-1-space rule, which is there purely to placate the vengeful Emacs god

cfleming18:03:47

But IIRC the ns form formatting doesn’t obey it.

kenny20:03:10

So I have "Check for EAP builds" enabled and I am not getting the usual Cursive update dialog for 1.5.0-eap1. I am running 1.4.3-2016.3 on both my Mac and Ubuntu.

kenny20:03:01

To be clear, I'm not getting updates on my Mac or Ubuntu.

cfleming20:03:41

@kenny Is it possible your licence update period has expired? You can check it in Help-&gt;Register Cursive.

kenny20:03:24

Ooooo yeah, you're right. I had no idea. Maybe a dialog for license expiration would be helpful 🙂

cfleming20:03:16

Actually, there is one - did you not get a reminder notification?

kenny20:03:42

I certainly didn't see one

cfleming20:03:06

There was some confusion because I had to delay the initial renewal period, and I suspect some users didn’t receive notifications because of that.

cfleming20:03:26

I should probably send reminder emails as licences expire too.

kenny20:03:46

That'd be awesome.

kenny20:03:04

Is the renewal price always the same?

cfleming20:03:29

No, it starts out at 50% of the initial purchase price, and gradually goes up to 75% over the following year.

cfleming20:03:07

Because presumably the longer you wait, the more new stuff you get when you upgrade.

kenny20:03:08

I need the namespaced map printing fix 🙂

cfleming20:03:44

And hopefully the REPL slowdown fix is next week too.

cfleming20:03:18

Sorry that one took so long to look at, I was rather embarrassed when I saw the date on your email when I finally looked at it.

kenny20:03:21

Eh, it's alright. We get busy and emails disappear 😆

cfleming20:03:10

Hehe - I should have created an issue. That said, they have a tendency to languish as well.

cfleming20:03:43

I’m actually planning to make a plugin to help with issue triage.

kenny20:03:06

I am renewing my license right now and I noticed a difference in price. When I click “Show Price” on the renew page it says $53 but on the popup dialog it shows $50.

cfleming20:03:27

That’s not good.

cfleming20:03:41

Go ahead and pay $50, I don’t mind - I’ll check that, though.

kenny20:03:38

Yup, my receipt shows I paid $50 as well.

cfleming20:03:50

Ok, I’ll take a look, thanks

shaun-mahood20:03:54

@cfleming: I need to renew as well, says $107 but is going to change me US $99.50. I'll wait until you fix it and renew then.

cfleming20:03:38

@shaun-mahood Thanks - I won’t mind if you renew in the meantime 🙂

shaun-mahood20:03:22

It's a corporate purchase ;)