conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
orestis 2020-08-14T06:23:04.036100Z

I’m often seeing Conjure’s floating window not scroll to the bottom of the results, so I have to open the log to get the full picture.

orestis 2020-08-14T06:23:30.036700Z

It’s usually a combination of stdout printing a few lines, then the returned data structure is pretty-printed so it’s a few lines long.

orestis 2020-08-14T06:23:57.037200Z

Not a huge deal as I don’t use the floating windows very often, but perhaps I’ve misconfigured something?

Olical 2020-08-14T08:31:18.037800Z

That's actually by design and took a long time to get right 😅

Olical 2020-08-14T08:31:39.038600Z

It's because the most interesting part of the data structure is usually at the top, so that's what I try to show in the HUD.

Olical 2020-08-14T08:31:55.039200Z

If you get a bunch of closing parens and braces it's less useful

Olical 2020-08-14T08:34:01.042100Z

BUT, that could be configurable. However: I'm about to head off to stay with my family for a week so I'm going to have minimal input for a bit (I'll be on a small boat on a river somewhere in England). So I'm probably going to forget, would you be able to raise issues for this and anything else that comes to mind?

Olical 2020-08-14T08:34:40.043400Z

I'm planning on moving my huge Todo list to GitHub so I can show what I'm working on and people can discuss things. As well as show what'll be in the next release ahead of time ☺️ but I'll do that after my holiday.

🚀 6
orestis 2020-08-14T09:50:13.043800Z

Enjoy your holiday!

➕ 2
orestis 2020-08-14T09:50:45.044300Z

No worries, enjoy your holiday, sounds lovely :)

2020-08-14T18:52:22.047700Z

If I do the following: • navigate to org.company.component-test,eb to evaluate the buffer • ,tn to test the namespace • change (deftest foo ...) to (deftest bar ...),eb to evaluate the buffer (or ,er if the cursor is in the (deftest bar ...),tn to test the namespace It still runs the tests for foo. What should I do differently to make sure that internals get undefined when they are removed? Or how can I remove them manually?

2020-08-17T06:18:49.053500Z

@fortino645 the issue isn't relative to what's being evaluated, it's that the deftests are being evaluated and placed in the namespace. When the deftest is removed, the test is still defined in the namespace as far as the REPL is concerned

Olical 2020-08-17T10:38:41.054300Z

The messages in #vim are a good bet, you need to undef the old one through a Clojure var mechanism. Not sure which one exactly, but you could then create a mapping to this via the ConjureEval command

Olical 2020-08-17T10:39:11.054500Z

I don't think there's a way for me to do this automatically in a way that wouldn't break a bunch of other behaviours and workflows

dave 2020-08-14T19:13:20.048300Z

it sounds like ,tn might be tied to the current state of the file instead of the buffer

Olical 2020-08-17T10:39:50.054700Z

tn will be whatever is currently evaluated in memory, so it could differ from the file and buffer 😅

dave 2020-08-14T19:13:36.048700Z

if you save the file and use ,ef instead of ,eb, does it work?

Fortino Gutierrez 2020-08-14T19:13:54.048800Z

What I do is save it and the use ef to evaluate the file instead of the buffer

Fortino Gutierrez 2020-08-14T20:33:53.049500Z

Hi guys, is there a way to have a loading indicator when you reload a bunch of files?

Olical 2020-08-17T10:40:52.054900Z

Hmm, could you narrow that down a little for me? Because I can think of a way (see sandbox.cljc in the dev/clojure directory of conjures source, there's a thing that prints out equal signs on a timed loop in the big comment block)

Olical 2020-08-17T10:41:19.055100Z

Do you mean when you use tools namespace refresh? Because I don't think that gives me any feedback?

Fortino Gutierrez 2020-08-17T14:46:00.058300Z

No, i mean when you load files to the repl \rr I usually reload a bunch of files, and the HUD shows a list of all the files to be reloaded and at the end it just shows that the reload ended, I was thinking in maybe show a spin or something in the status bar when the files are still loading

Olical 2020-08-21T18:24:17.001300Z

Hmm yeah a progress bar isn't possible as far as I know, however some more feedback about it working in the background could be good!

Fortino Gutierrez 2020-08-21T18:51:16.001500Z

Yep any info that is working will be helpful