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
I need lsp-mode for other things, so I want to keep the lsp layer
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....
Sure. And thank you for the off switch 🙂 it works.
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
Any of you tried the gcc branch already?
it's pretty snappy. No major issues so far.
Anyone here successfully compiled it on ubuntu 20?
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
Yes, we discussed recently here: https://clojurians.slack.com/archives/C099W16KZ/p1608042920265000
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
thanks for the link!
For nix users there is the easy way emacsGcc
: https://github.com/nix-community/emacs-overlay#emacs-from-git-and-latest-including-pre-releases
I use NixOS so this is the canonical way, but MacOS users can use nix too 😅
FYI: https://dev.to/louy2/use-nix-on-macos-as-a-homebrew-user-22d
FYI, https://github.com/d12frosted/homebrew-emacs-plus/pull/188
Looking forward to this, as I can see the potential. Thank you.