emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
2020-06-11T04:33:03.386900Z

Currently using parinfer with Emacs and it doesn't seem to be working on cljs files, but works perfectly on clj. Issue is whenever I drop to the line below a form and attempt to tab over I get the error Wrong number of arguments: (1 .1) 0. Anything I can configure to get that to work? Did a google search and surprisingly came up with nothing. Edit: nvm, I stumbled across some magical set of key strokes that made it work.

camsaul 2020-06-11T21:19:23.397900Z

Hey everyone. I think getting in to Emacs Lisp can be a little hard, even if you've been using Emacs for a while, and even if you know Clojure pretty well on top of that. I'm started a series of blog posts that show you how to write Emacs Lisp step-by-step for practical real-world things. A "Practical Emacs Lisp" if you will. I'm starting with a 3-part post that explains how to write a command that displays a preview of Markdown files directly in Emacs, and it goes into a lot of detail explaining basic concepts you need to understand in order to write that command. I'm trying to find a good balance between showing people how to build cool things right away and explaining the concepts behind them. On one end of the spectrum, I'm just showing you some code that you have no understanding of at all. On the other end of the spectrum, we spend so much time explaining concepts that you know how the whole language works before you've actually used it for anything. So my goal is to find a good middle ground where we start building cool things immediately but get to learn Emacs Lisp concepts gradually at the same time. The 3-part post starts here: https://camsaul.com/emacs-lisp/2020/06/09/emacs-lisp-intro-markdown-live-previews-part-1.html I've gotten a lot of good feedback about the series in https://www.reddit.com/r/emacs/comments/h08cq8/intro_to_emacs_lisp_adding_live_previews_when/ and elsewhere, so I'm planning on making it the first part of an ongoing series of posts in the same vein. If you've every wanted to drink the Kool-Aid and learn Emacs Lisp, I hope you find these posts useful, and please let me know if you have any feedback or suggestions!

👏 5
1
2020-06-11T21:26:11.398700Z

This is great! I had just switched to Doom Emacs about 9 days ago from using Spacemacs for about a year.

2020-06-11T21:26:58.399400Z

Markdown preview is definitely a feature I've been pining for. I would also love more details on configuring\using org-mode.

Mitch 2020-06-12T15:44:32.407600Z

Not sure if this is exactly what you are thinking, but I've used vmd-mode for a while to good success. Gives a live github-like preview of your markdown

2020-06-12T16:01:17.407800Z

Thanks I’ll look into it

naomarik 2020-06-11T21:31:12.399900Z

How do you like it vs spacemacs? I kept trying to try it out but have too much work to do so haven't given it enough time yet.

2020-06-11T21:42:51.401400Z

I LOVE it. I can't remember the last time I was this excited\motivated to learn how to customize a tool like this. I learned more in 1 day about emacs lisp using Doom than a year of Spacemacs.

naomarik 2020-06-11T21:51:32.402100Z

do you feel it's faster too? my main problem with spacemacs is that it seems a bit slow sometimes, actually my mac can't run it anymore without burning up

2020-06-11T21:59:37.403300Z

Yes, for me it boots up in < 3 seconds (though there's instructions for setting up native compilation in the Doom discord, which people are now getting < 1 second boot). It feels snappier despite all the customizations I've been adding https://gist.github.com/eccentric-j/04a20edcfb7bb41bc85aa1ee503207e2.

2020-06-11T22:58:42.404600Z

i found two things that were helpful to know about doom are: 1) there is an out-of-emacs update process, 2) asking for help at the discord server is very much worth it

💯 2
2020-06-11T23:07:55.406800Z

Very true! The other interesting discovery is how REPL driven Emacs actually is. My Spacemacs process was typically to update my config, hope like mad that it worked, and use SPC f e R to reload the config. With Doom it was immediately clear how to evaluate directly against emacs like I would with cider. That made learning elisp a lot more fun and fast.