calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
javahippie 2021-03-20T14:54:29.041400Z

Hey all! I finally made the jump from Emacs to VS Code with Calva on Mac, loving it so far! There is just one thing about paredit that I am wondering about. I am clumsy, and often type “]” instead of “[” or “)” instead of “(”. In this case, I am writing an unbalanced paren - that I cannot delete, because somehow paredit seems to prevent me from doing it. I can select and cut it with CMD-X. Is there something I am missing, or something I can configure?

javahippie 2021-03-21T08:02:54.046800Z

Just did, thank you very much for your response! https://github.com/BetterThanTomorrow/calva/issues/1075

Tomas Brejla 2021-03-20T16:38:06.041500Z

Not sure about Mac, but it's possible to use`Alt+Backspace` instead of just plain Backspace on linux. The alt-variant ignores balancing. Similarly, it's possible to use Alt+Del instead of just Del

javahippie 2021-03-20T16:40:37.041700Z

That’s a good step, thank you! The ideal way would to prevent unbalanced parens completely. I just rechecked with Emacs, and I’m not able to type anything unbalanced, there. Is there a good reason to allow this? It’s not really a big deal, but something that really sticks out when switching

pez 2021-03-20T22:17:59.041900Z

It is a quirk we have lived with for very long. I think we have turned blind towards it. Please file and issue about it.

pez 2021-03-20T22:18:46.042300Z

Welcome to Calva, @javahippie!

👋 1
az 2021-03-20T22:23:07.043300Z

Hi all, is there a way to bind a key command to evaluate a specific form in Calva? Like to run (restart) from the user ns even if I’m somewhere else?

az 2021-03-20T22:24:31.044Z

I currently make an edit somewhere, switch over to user ns and then restart the server. I’m sure there must be a better way here.

pez 2021-03-20T22:27:56.045400Z

Hi, @limix! Yes, use the Custom REPL Commands featue for this. https://calva.io/custom-commands/

az 2021-03-20T22:28:16.045800Z

beautiful thank you @pez

1