Emacs4CL: A DIY kit to set up vanilla Emacs for Common Lisp programming
github.com
github.com
Relatedly, I made the switch to sly not long ago. Well, ok, it was a few years at this point...
Regardless, worth taking a look at including in this guide. http://joaotavora.github.io/sly/#Stickers, in particular, are very powerful and fun playing with.
1) Download Emacs 2) Download e.g. sbcl 3) Install SLIME using Emacs’s package manager 4) Maybe install paredit
That’s basically it, modulo a few small bits of configuration I may have overlooked.
Failing that, true support for out-of-the-box with Visual Studio Code would be nice. Yes, I know about Alive and that... what I mean is, you open up a Lisp file and it asks to download the LSP for Lisp, Alive, and other support extensions.
The barrier to entry is not the IDE, its that Lisp is not fashionable at the moment. Those who know how to use it, put their head down and do the work, those who dont will follow the next fashionable trend for their work that they see their employment needing.
Common Lisp will probably never be the next Python, but it might be the next Ruby.
The number of new Lisp users in 2023 is pretty small, sure. But it's frickin' 2023, those users need a better onboarding experience than having to futz with Emacs, even given something like Portacle. They will be familiar with VSCode or one of the above IDEs, not Emacs, and they shouldn't have to entirely relearn how to write code.
Funny, the years spent onboarding Emacs, and GNU/Linux for that matter, was the experience I was looking for.I never wanted to be just another cog in a well lubed task grinding machine.
>they shouldn't have to entirely relearn how to write code
If you are referring to elisp, it really isn't a mountain to climb or anything like that. Besides, only very basic lisp knowledge is required to customize Emacs, after that you can code your day away in a lisp of your choosing.
If you are looking for a more modern experience with emacs try elgot + tree-sitter [1]
I might also copy some of the article’s .emacs file and try it.
Maybe LispWorks and Allegro Common Lisp should be less ignored, or have more FOSS friendly licenses, but that is all.
I've unfortunately put CL on the back burner for the past month or so. I felt I kind of stagnated with it, couldn't grasp some concepts (condition systems), and then felt I needed to up my game at work so put CL aside for a bit.
It’s kind of like being able to direct exception handling from farther away in the stack.
I say this as someone who started learning CL in earnest maybe two months ago :)
It’s no great mystery; it’s right there in the menu. Select Options → Show/Hide → Tool Bar → None
Then, to make the change persist, select Options → Save Options
Edit: I love SBCL, but sometimes I don’t love it taking a minimum of 100 MB of RAM.
> Use Emacs
> Emacs is a very powerful and extensible editor. It comes with over 10,000 built-in commands.
this cracks me up. i know lots of people love emacs, but who hears “10k commands” and goes, “wow, perfect”
You have to understand: Those thousands of commands are like songs. You wouldn't pay and subscribe to Spotify if they allowed only a few hundred songs, right? When another editor adds another command, it's not composable. You cannot meddle with it; there are no hooks, no advising. In Emacs, every command is a function, a function you can alter, extend, exploit, or override. So, yes, give me a million elisp functions. I'd love to use them in every weird way possible.