cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
bozhidar 2020-11-26T07:48:02.106500Z

It's coming from here https://github.com/clojure-emacs/orchard/blob/master/src/orchard/info.clj#L170

bozhidar 2020-11-26T07:49:04.106800Z

Which is afterwards used here https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/middleware/info.clj#L61

bozhidar 2020-11-26T07:51:03.107200Z

I'm guessing the real problem is that you're missing mappings like https://github.com/clojure-emacs/orchard/blob/master/src/orchard/java.clj#L407

2020-11-26T19:13:34.115900Z

Thanks, this looks like exactly what I need. Is there some reasonable way to inject custom calls like this? (in a deps.edn project)

2020-11-26T20:01:42.116100Z

Ah, looks like cider-repl-init-code does it.

bozhidar 2020-11-26T07:52:23.108400Z

The javadoc code can't know that's the actual URL on which some Javadoc is hosted, so this information needs to be added on separately.

2020-11-26T11:09:19.109300Z

FYI this commit https://github.com/clojure-emacs/cider/commit/ef47c1de151c212b8d2ddeb9af6c8b0dfc0e300f broke my cider, and I fixed it buy forcing an install of the seq library from gnu, which atm I already had built-in at version 20

2020-11-26T11:09:36.110300Z

should the installer have tried to upgrade it automatically in theory?

2020-11-26T11:09:47.110800Z

I guess it will break for many others otherwise probably

bozhidar 2020-11-26T14:38:14.112300Z

@andrea.crotti It was my understanding that the package update was going to force the installation of the right seq.el. I saw the warning, I wasn't sure when was the function deprecated, so I just opted for the latest seq.el version to be on the safe side.

2020-11-27T09:55:08.116900Z

on my personal machine I see that seq was already up to date

2020-11-27T09:55:10.117100Z

to the latest

2020-11-27T09:55:40.117300Z

so yeah maybe it wasn't a widespread issue

2020-11-26T14:39:56.112400Z

yeah I don't know how it works but the automatic update didn't happen

2020-11-26T14:40:07.112600Z

maybe becasue seq was both in built-in and in the gnu repository?

2020-11-26T14:40:24.112800Z

not sure but I just suspect many more people will have the same issue

2020-11-26T14:44:43.113400Z

I was wondering if it was possible to automatically name the cider repls to make it more clear which one is the clj and which one is the cljs repl

2020-11-26T14:45:13.114300Z

atm they are just .clj) and ...clj)<2>

2020-11-26T14:45:44.115Z

ideally it should be just cider-repl-$project-&lt;clj|cljs&gt; for example

bozhidar 2020-11-27T08:12:03.116700Z

Yep, I can confirm there's a project name in the REPL buffer's name when doing cider-jack-in.

2020-11-27T10:10:42.117500Z

yeah I know the project name is there

2020-11-27T10:10:51.117700Z

that was just an example of how I'd like the full name

2020-11-27T10:11:26.117900Z

I just wanted to remove the host/port for example and add clj/cljs

2020-11-27T10:11:44.118200Z

since I don't think I ever used the host/port for anything

2020-11-27T12:07:47.118500Z

I tried to find where that string is generated btw but I failed miserabily

2020-11-27T12:07:57.118700Z

any hints to understand what to poke?

bozhidar 2020-11-28T09:51:18.134400Z

I'd start with nrepl-repl-buffer-name-template in nrepl-client.el.

bozhidar 2020-11-26T20:24:21.116300Z

Perhaps you're right. There haven't been many complaints so far, so there's also the chance yours was an isolated incident.

bozhidar 2020-11-26T20:25:17.116500Z

It's definitely possible and I was under the impression the project name was displayed somewhere even now (at least when using jack-in). I'll have to check, probably I haven't been paying enough attention to this.