emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
Gleb Posobin 2020-12-15T01:55:40.260600Z

I am not using this template, but I am using Cider repl in Doom Emacs with a shadow-cljs and re-frame project. What's the problem you are seeing?

Felix M 2020-12-15T02:24:22.262600Z

Hi, I'm looking for any reference materials that translate vanilla emacs keybinds to their evil-mode equivalent? e.g C-x C-f = SPC ff

practicalli-john 2020-12-15T08:39:00.263700Z

I haven't seen anything like that, so I wrote a book on using Spacemacs using Evil https://practicalli.github.io/spacemacs/spacemacs-mini-cheatsheet.html

Felix M 2020-12-15T15:28:26.265700Z

@jr0cket Thanks, your guide looks very easy to follow, just what I need. I use Doom and was struggling to follow Clojure for the Brave's Emacs tutorial with the vanilla keybinds, hence the search for a translated reference.

practicalli-john 2020-12-15T16:19:37.266Z

@heyhey the brave Clojure config is quite dated unfortunately, but otherwise it's a great book I am not sure if Doom is as complete with its Clojure key binding, compared to Spacemacs, but I have been adding the command name to make it easier to use the Practicalli Spacemacs book with other Emacs setips

🙏 2
practicalli-john 2020-12-15T16:19:58.266200Z

Of you have any questions, please ask

🙏 1
zach 2020-12-15T03:49:05.262700Z

Ah, thank you for replying, @posobin! The issue I am having is that after I start up the project with lein watch and then go into doom and run cider jack-in cljs, I get an error of server already running

zach 2020-12-15T03:49:48.262900Z

I assume this is because emacs is trying to create and start a repl which was already made by running lein watch, and so I try to do cider connect cljs and choose the nrepl created which is port 8777.

zach 2020-12-15T03:50:23.263100Z

This will open up a repl in doom set to the namespace cljs.user. I can write functions in this repl, and I can send stuff to the browser (e.g. (js/alert ’something”)), but I can’t evaluate any functions in my buffer.

zach 2020-12-15T03:51:21.263300Z

The hot reloading is working, if I adjust views i see that reflected in the browser…but if i wrote (+ 1 2 3 4) in one of the files, then did ,ee to evaluate….nothing happens. If I do ,eE to send a form to the repl I get the message file is not connected to any repl session

zach 2020-12-15T03:52:21.263500Z

this also means I can’t look up a variable with cider docs or any other useful stuff i’m used to with a straight clojure project

2020-12-15T14:35:20.265Z

Did anyone try the native version of emacs? I just compiled it, and it is really faster.. I was wondering about downside if anyone had any?

dakra 2020-12-16T10:11:08.268500Z

Hmm. Don't remember all packages as most of them are fixed by now. I remember treemacs https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41112 and currently outstanding jupyter https://github.com/nnicandro/emacs-jupyter/pull/248 But I don't think anything should actually cause a crash. If you can reproduce a crash you should report it with M-x report-emacs-bug

richiardiandrea 2020-12-16T22:34:10.269200Z

@daniel415 I can reproduce consistently when I copy and paste stuff so I will definitely report it

anonimitoraf 2020-12-18T08:36:49.273100Z

It works perfectly for me except for sayid :(

richiardiandrea 2020-12-18T21:09:27.300300Z

In my case XLIB_SKIP_ARGB_VISUALS=1 was breaking copy/paste 🤷

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

Anyone here successfully compiled it on ubuntu 20?

anonimitoraf 2020-12-20T05:44:38.302600Z

Yep. Im on ubuntu 20.04

Ben Sless 2020-12-20T07:18:00.302800Z

Can you please share how you went about it @nicdaoraf? Whatever I try I get a segfault temacs starts the dump process

2020-12-20T07:53:58.303800Z

I am also on 20.04. I followed this stackoverflow post: https://emacs.stackexchange.com/questions/59538/compile-emacs-from-feature-native-comp-gccemacs-branch-on-ubuntu

Ben Sless 2020-12-20T09:29:23.304200Z

I did that, too, still crashed and burned 😞

anonimitoraf 2020-12-20T09:33:17.304400Z

Oh, yea I essentially did the same as https://emacs.stackexchange.com/a/60858

Ben Sless 2020-12-20T09:36:52.304700Z

For some reason starting in a clean directory from scratch did work

🎉 2
2020-12-20T10:39:41.305100Z

Congrats! Tell us what you think about it.

Ben Sless 2020-12-20T13:06:11.305300Z

do you know where it saves the compiled .eln files?

2020-12-20T13:08:32.306400Z

In /usr/lib/emacs/emacs-28.../native-libs

2020-12-20T13:08:34.306700Z

For me

2020-12-20T13:09:03.307700Z

[i got it trying to make a symlink but I had to make a bash file haha]

Ben Sless 2020-12-20T13:09:58.307900Z

I think it's misbehaving and generating them in the library where the binary is run (i.e. in pwd)

Ben Sless 2020-12-20T13:17:09.308100Z

I think the biggest issue I found until now is that it can't be built in the same directory twice

2020-12-20T20:00:36.309700Z

I found an issue with json where one of the deps renders kill-buffer impossible to use.

ericdallo 2020-12-15T14:54:51.265100Z

I'm using with doom-emacs for a while and it's working very good

🦜 1
2020-12-15T15:01:44.265400Z

I am using it with prelude 🙂

dakra 2020-12-15T16:51:39.266400Z

I use it as well and works really well. When I started there where a couple of packages that needed some fixes to compile cleanly but now iirc only jupyter is the last package in my config that doesn't work out of the box with native-comp. (and a PR I made is outstanding to fix it)

richiardiandrea 2020-12-15T22:45:23.268100Z

@daniel415 which packages required adjustment? I am curious cause I am seeing some crashes and I wonder if I am missing something