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?
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
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
@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.
@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
Of you have any questions, please ask
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
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.
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.
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
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
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?
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
@daniel415 I can reproduce consistently when I copy and paste stuff so I will definitely report it
It works perfectly for me except for sayid :(
In my case XLIB_SKIP_ARGB_VISUALS=1
was breaking copy/paste 🤷
Anyone here successfully compiled it on ubuntu 20?
Yep. Im on ubuntu 20.04
Can you please share how you went about it @nicdaoraf? Whatever I try I get a segfault temacs starts the dump process
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
I did that, too, still crashed and burned 😞
Oh, yea I essentially did the same as https://emacs.stackexchange.com/a/60858
For some reason starting in a clean directory from scratch did work
Congrats! Tell us what you think about it.
do you know where it saves the compiled .eln files?
In /usr/lib/emacs/emacs-28.../native-libs
For me
[i got it trying to make a symlink but I had to make a bash file haha]
I think it's misbehaving and generating them in the library where the binary is run (i.e. in pwd)
I think the biggest issue I found until now is that it can't be built in the same directory twice
I found an issue with json where one of the deps renders kill-buffer impossible to use.
I'm using with doom-emacs for a while and it's working very good
I am using it with prelude 🙂
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)
@daniel415 which packages required adjustment? I am curious cause I am seeing some crashes and I wonder if I am missing something