This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-18
Channels
- # adventofcode (40)
- # aleph (8)
- # announcements (2)
- # beginners (27)
- # calva (3)
- # cider (3)
- # clj-kondo (21)
- # cljsrn (9)
- # clojure (122)
- # clojure-europe (38)
- # clojure-france (93)
- # clojure-nl (2)
- # clojure-spec (1)
- # clojure-uk (32)
- # clojuredesign-podcast (1)
- # clojurescript (10)
- # community-development (11)
- # conjure (14)
- # cursive (11)
- # datalog (7)
- # depstar (21)
- # emacs (31)
- # fulcro (85)
- # google-cloud (1)
- # graalvm (1)
- # graphql (7)
- # jobs-discuss (3)
- # joker (1)
- # kaocha (14)
- # pathom (2)
- # re-frame (1)
- # reagent (1)
- # reitit (6)
- # reveal (50)
- # shadow-cljs (64)
- # spacemacs (8)
- # tools-deps (5)
Hi guys, by any chance does anyone run emacs with EXWM and CIDER and use Zoom for screen sharing? I'm not sure if the issue lies with my hardware or with EXWM but the resulting set up ends up with a lot of latency such that in that sense screen sharing properly is impossible. Any thoughts about it?
I use exwm, cider and zoom.. But for me zoom takes 100% CPU even without sharing, so as soon as I start zoom I basically can't do much anyway 😞 jitsi, google meet etc all works fine. I read reports that other people complained about the zoom client as well (especially under linux)
I don't use EXWM, use BSPWM with NixOS and it works really nice without any issues.
@zackteo for latency in the user interface it's probably the compositing manager used. EXWM supports several, so try using a different one of see if there are settings to tweak. I had the same thing with a different tiling window manager and I switched off the compositor and it ran very smoothly.
Question to the Spacemacs users in here: how do I disable the Clojure layer from using clojure-lsp? It's an annoying memory hog for me
@zilti The Spacemcs Clojure layer does not include any configuration for clojure-lsp, so you cant disable it in the Clojure layer. I assume you have the Spacemacs lsp layer installed and clojure-lsp binary, and some configuration in your .spacemacs file (probably in dotspacemacs/user-config) that configures clojure-lsp to run when in clojure-mode.
Remove the lsp layer from .spacemacs and restart Emacs, this should be the quickest way to remove it. I would need to see your .spacemacs config to help further
Yes, it does now: https://develop.spacemacs.org/layers/+lang/clojure/README.html#optional-lsp-server
Thats very bad if someone just added it without telling people. Its also using quite negative tone against the well established CIDER approach. I will investigate and raise this with the Spacemacs maintainers...
Especially having it enabled by default. All other languages I use require you to set a variable to enable it
Yes, this is really badly though through. It forces anyone who does not want lsp for clojure to add another vairable to their .spacemacs layer config. I believe this should switch it off..
clojure :variables
clojure-backend 'cider
Thanks for raising this. Using clojure-lsp would kill my startup times, turning a few seconds into several minutes whilst clojure-lsp goes and re-indexes all the project where I have a clojure buffer open....
Yes, they didnt even bother documenting how to switch it off properly either... I would be interested in using clojure-lsp but is very heavyweight around the UI and I found a lot of clashes with CIDER when I ran them both together earlier in the year. I also need to tell it to not index all my projects on Emacs startup, otherwise its there for minutes each time... clojure-lsp doesnt seem to work with Java 11 unless you compile it yourself, so some more work there. I would like to see some documentation that explains how to configure clojure-lsp before I try it again.
It's in my backlog adding a tutorial using CIDER with clojure-lsp 😅 https://emacs-lsp.github.io/lsp-mode/tutorials/CPP-guide/
But I agree, it's missing docs explaining how to use both, after some tweaks they work together and work really nice
Yes, we discussed recently here: https://clojurians.slack.com/archives/C099W16KZ/p1608042920265000
it's pretty snappy. No major issues so far.
I've been using the native-comp version from the snap store: sudo snap install emacs --edge --classic
. It's working well for me, but updates frequently and everything has to be recompiled each time. That used to be more of a pain, but seems to happen automatically now.
didn't know there was a snap for that, seems handy
is there an easy way to do so from brew? On my older linux box i compiled from source but now on my newer mac i just pull from brew
For nix users there is the easy way emacsGcc
: https://github.com/nix-community/emacs-overlay#emacs-from-git-and-latest-including-pre-releases