emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
zackteo 2020-12-18T08:57:47.273500Z

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?

dakra 2020-12-18T12:29:57.275200Z

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)

ericdallo 2020-12-18T12:42:04.275700Z

I don't use EXWM, use BSPWM with NixOS and it works really nice without any issues.

practicalli-john 2020-12-18T13:24:56.279800Z

@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.

☝️ 1
zilti 2020-12-18T16:10:57.280700Z

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

practicalli-john 2020-12-18T16:19:27.283600Z

@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.

practicalli-john 2020-12-18T16:20:55.285100Z

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

zilti 2020-12-18T16:22:31.285800Z

I need lsp-mode for other things, so I want to keep the lsp layer

practicalli-john 2020-12-18T16:38:26.286900Z

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...

zilti 2020-12-18T16:46:55.287800Z

Especially having it enabled by default. All other languages I use require you to set a variable to enable it

practicalli-john 2020-12-18T16:51:24.289100Z

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

practicalli-john 2020-12-18T16:52:40.290300Z

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....

zilti 2020-12-18T16:59:52.290700Z

Sure. And thank you for the off switch 🙂 it works.

practicalli-john 2020-12-18T17:09:03.296Z

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.

ericdallo 2020-12-18T17:25:05.296100Z

It's in my backlog adding a tutorial using CIDER with clojure-lsp 😅 https://emacs-lsp.github.io/lsp-mode/tutorials/CPP-guide/

ericdallo 2020-12-18T17:25:44.296400Z

But I agree, it's missing docs explaining how to use both, after some tweaks they work together and work really nice

mpenet 2020-12-18T17:43:02.297200Z

Any of you tried the gcc branch already?

Carmine Casciato 2020-12-19T09:52:57.301500Z

it's pretty snappy. No major issues so far.

Ben Sless 2020-12-19T14:40:29.302Z

Anyone here successfully compiled it on ubuntu 20?

Eamonn Sullivan 2020-12-21T13:33:01.310400Z

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.

Carmine Casciato 2020-12-23T18:41:30.313700Z

didn't know there was a snap for that, seems handy

ericdallo 2020-12-18T17:44:11.297600Z

Yes, we discussed recently here: https://clojurians.slack.com/archives/C099W16KZ/p1608042920265000

dpsutton 2020-12-18T17:44:22.298100Z

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

dpsutton 2020-12-18T17:45:06.298200Z

thanks for the link!

😉 1
ericdallo 2020-12-18T17:46:47.298500Z

For nix users there is the easy way emacsGcc : https://github.com/nix-community/emacs-overlay#emacs-from-git-and-latest-including-pre-releases

ericdallo 2020-12-18T17:47:19.298800Z

I use NixOS so this is the canonical way, but MacOS users can use nix too 😅

tvaughan 2020-12-18T17:51:53.299400Z

FYI, https://github.com/d12frosted/homebrew-emacs-plus/pull/188

2
practicalli-john 2020-12-18T18:45:55.299700Z

Looking forward to this, as I can see the potential. Thank you.

☝️ 1