Many thanks for this video :) i"ve just started getting more into emacs (i've been a casual user for 20 years but only ever really used it as a text editor). Sly is very cool and i can already see how useful it is during development to be able to test the different functions while you're writing them. A word of warning for people who stumble into the same problem as me. when i tried to open the main.lisp project file, the slynk server refused to start. this is because i'd added an alias (alias sbcl="rlwrap sbcl") to my .bashrc. to fix this, just add (setq inferior-lisp-program "/usr/bin/sbcl") to init.el or define the variable some other way in emacs.
That’s a great tip and thanks for sharing it, I think I remember it hit upon this issue myself but simply removed the alias and the more I used eMacs the less I used sbcl in the terminal. If I may, can I put this tip on my website as it seems pretty useful and as I (slowly) compile my videos into written tutorials it seems this could be a great little tip on its own.
@@NeilMunro yes, sure. documenting how to get to a working installation is always tricky because there are so many different systems :/ and it can be quite discouraging for the beginner if it doesn't work. I suppose that's one reason why docker was invented.
Have you previously configured SLY? I followed and rewatched this tutorial couple of times, but I still ended up with different SLY config. Basically I don't have the key binding "SPC m e" . I tried following the docs for SLY to find keybinding or commands. Can't seem find a command that will evaluate the lisp in the buffer for MREPL like you have.
It might be you need to enable lisp config in doom emacs, you can use my config here: github.com/nmunro/.doom.d I wrote up the process here nmunro.github.io/2020/05/10/cl-setup.html if that doesn’t help let me know :)
@@NeilMunro had to do do ~/.emacs.d/bin/doom sync for SLY to be configured properly. After that I had the SPC - m menu available. SPC mef didn't output to the mrepl. To fix that I had to run sly-mrepl-sync (SPC m r s)
@@NeilMunro hi, thanks but it doesnt work. IDK why. I used your instruction, check a folder doom.d and after clone, and upgrade and i dont have a repl when i type in :ls =( SPC m, m is undefined. ive done it. we have to clone config to ~/config/doom and thats all. Now i have repl.
Hello, as of 16th of October 2020 quickdocs.org had been closed. Do you know any other sites to look up for packages? Thank you for the videos, really appreciate it.
It works quite differently than it does in most other programming languages but there’s a way to do that. It could make a short video but may still be useful
Thanks, I’ve been super busy with work, and you know, global pandemic stuff like everyone else, I should have some free time to get back into this soon.
I am using windows, can I follow this series then, and if yes pls do a series of problem solving sessions in lisp, where u solve problems using lisp to understand the concept better...
I don’t have windows so I can’t test anything specifically windows related. When writing code there’s nothing Mac or Linux specific when writing code, but setting emacs up on windows can be tricky...
I want to run the code in my IDE - intelligidea. I found a lisp plugin. I am clueless on setting up the shell script to put on the configuration. is there any way you can help?
Any help I would give is “just use eMacs”, seriously, switch, even if just for lisp. I used to try making lisp work in other editors as I’d had a lot of bad experiences with eMacs before (Google the language Mozart oz) and in the end I just gave up and tried using lisp in eMacs and… it was the path of least resistance. Also I do not recommend intellij products, even for the languages they’re meant for, in my day job I write python and pycharm does not work reliably with the tooling and infrastructure we have to use and even if it does temporarily it breaks on each update. Save yourself the headache, use eMacs for lisp.
I am not a touch typist and I have an extreme hatred of "modal" editors such as Vim. I have Vim installed and I have tried to learn to use it multiple times but the modal thing frustrates me terribly, so to my way of thinking ruining a perfectly good editor such as Emacs by causing it to emulate such a monstrosity as Vim is a cardinal sin. That is why when I use Emacs for lisp editing, i tend to use vanilla Emacs or something like Portacle. To each his own I suppose.😁
I’ve been using vim since the start of my career as there was a list of approved editors where I worked… I’m institutionalised now and can’t use anything else.
@@NeilMunro I can understand that and I know that there are many people who adore Vim. I believe most of them are probably touch typists which is a factor perhaps. But for me as a ten finger hunt and pecker the presumed advantages of Vim are lost. There is also the "modal" problem that I just can't seem to get past, but as I said earlier, to each his own.😬
Oh aye, I’m totally a touch typist with a config I’m always tweaking and making work for me more… although I will say, learning to touch type and finding and editor that damn near becomes an extension of your body is a good investment. I love not having to be able to think about my editor… what I want flows into the buffet as quickly as I can type it
@@NeilMunro Hey, when you're right, you're right. I know that it would be a good idea for me to learn to touch type, but at my age, breaking the old bad habits would require enormous effort, and apparently I'm just a bit to lazy to do it. Sigh. What is one to do?
>appears out of nowhere
>drops 33 quality lisp tutorials
>vanishes
lispma grindset
Hello, could you add the text describing the keys pressed, please? It is not clear how all the actions take place in emacs. Thank you.
Thank you for your tutorial series. You are a good speaker, please continue.
You're welcome, I'm glad you find the videos useful! Don't worry I'm still making videos :)
this didn't age well
@Jack__21 the setup?
Thanks! Cool! I dont' remember seeing when SLYNK was installed.
I'll test it in the next few days, but I belived it's installed by default, will check!
@@NeilMunro Same problem figuring out Slynk. Mine's not installed by default
Hi. Thank you for your tutorial. How did you end up in 21:26 to the second screen on the right?
I typed :vs to vertically split the buffer and pressed ctrl and while holding it pressed w twice
@@NeilMunro Thanks man.
starting 2024-02-23
Many thanks for this video :) i"ve just started getting more into emacs (i've been a casual user for 20 years but only ever really used it as a text editor). Sly is very cool and i can already see how useful it is during development to be able to test the different functions while you're writing them.
A word of warning for people who stumble into the same problem as me. when i tried to open the main.lisp project file, the slynk server refused to start. this is because i'd added an alias (alias sbcl="rlwrap sbcl") to my .bashrc. to fix this, just add (setq inferior-lisp-program "/usr/bin/sbcl") to init.el or define the variable some other way in emacs.
That’s a great tip and thanks for sharing it, I think I remember it hit upon this issue myself but simply removed the alias and the more I used eMacs the less I used sbcl in the terminal. If I may, can I put this tip on my website as it seems pretty useful and as I (slowly) compile my videos into written tutorials it seems this could be a great little tip on its own.
@@NeilMunro yes, sure. documenting how to get to a working installation is always tricky because there are so many different systems :/ and it can be quite discouraging for the beginner if it doesn't work. I suppose that's one reason why docker was invented.
Have you previously configured SLY? I followed and rewatched this tutorial couple of times, but I still ended up with different SLY config. Basically I don't have the key binding "SPC m e" . I tried following the docs for SLY to find keybinding or commands. Can't seem find a command that will evaluate the lisp in the buffer for MREPL like you have.
It might be you need to enable lisp config in doom emacs, you can use my config here: github.com/nmunro/.doom.d
I wrote up the process here nmunro.github.io/2020/05/10/cl-setup.html if that doesn’t help let me know :)
@@NeilMunro Thanks for the prompt reply! I will follow your write up.
@@NeilMunro had to do do ~/.emacs.d/bin/doom sync for SLY to be configured properly. After that I had the SPC - m menu available. SPC mef didn't output to the mrepl. To fix that I had to run sly-mrepl-sync (SPC m r s)
@@NeilMunro hi, thanks but it doesnt work. IDK why. I used your instruction, check a folder doom.d and after clone, and upgrade and i dont have a repl when i type in :ls
=(
SPC m, m is undefined.
ive done it. we have to clone config to ~/config/doom and thats all. Now i have repl.
That’s unfortunate… what OS are you using?
Thanks for the video!
Hello, as of 16th of October 2020 quickdocs.org had been closed. Do you know any other sites to look up for packages? Thank you for the videos, really appreciate it.
So as I understand it quickref is now the place to find documentation as of today!
This is awesome. Any plans to cover ASDF in the future?
In part literally next week, packages, how to load and test packages etc!
would have been nice if you showed how to "build project" (is this even a thing?) into an executable
It works quite differently than it does in most other programming languages but there’s a way to do that. It could make a short video but may still be useful
Great Keep It Up 👍🏻
Thanks, I’ve been super busy with work, and you know, global pandemic stuff like everyone else, I should have some free time to get back into this soon.
I am using windows, can I follow this series then, and if yes pls do a series of problem solving sessions in lisp, where u solve problems using lisp to understand the concept better...
I don’t have windows so I can’t test anything specifically windows related. When writing code there’s nothing Mac or Linux specific when writing code, but setting emacs up on windows can be tricky...
I want to run the code in my IDE - intelligidea. I found a lisp plugin. I am clueless on setting up the shell script to put on the configuration. is there any way you can help?
Any help I would give is “just use eMacs”, seriously, switch, even if just for lisp. I used to try making lisp work in other editors as I’d had a lot of bad experiences with eMacs before (Google the language Mozart oz) and in the end I just gave up and tried using lisp in eMacs and… it was the path of least resistance.
Also I do not recommend intellij products, even for the languages they’re meant for, in my day job I write python and pycharm does not work reliably with the tooling and infrastructure we have to use and even if it does temporarily it breaks on each update.
Save yourself the headache, use eMacs for lisp.
Thank you for this very confusing video!
You know a lot, sure, but the doubts, the keyboard noise, the small font, are very stressful!!
the audio seems very slightly out of sync with the video
It’s a bug I became aware of and am no longer using the same software, I switched to something else
@@NeilMunro ah ok
Speak louder or up your input volume.
I am not a touch typist and I have an extreme hatred of "modal" editors such as Vim. I have Vim installed and I have tried to learn to use it multiple times but the modal thing frustrates me terribly, so to my way of thinking ruining a perfectly good editor such as Emacs by causing it to emulate such a monstrosity as Vim is a cardinal sin. That is why when I use Emacs for lisp editing, i tend to use vanilla Emacs or something like Portacle. To each his own I suppose.😁
I’ve been using vim since the start of my career as there was a list of approved editors where I worked… I’m institutionalised now and can’t use anything else.
@@NeilMunro I can understand that and I know that there are many people who adore Vim. I believe most of them are probably touch typists which is a factor perhaps. But for me as a ten finger hunt and pecker the presumed advantages of Vim are lost. There is also the "modal" problem that I just can't seem to get past, but as I said earlier, to each his own.😬
Oh aye, I’m totally a touch typist with a config I’m always tweaking and making work for me more… although I will say, learning to touch type and finding and editor that damn near becomes an extension of your body is a good investment. I love not having to be able to think about my editor… what I want flows into the buffet as quickly as I can type it
@@NeilMunro Hey, when you're right, you're right. I know that it would be a good idea for me to learn to touch type, but at my age, breaking the old bad habits would require enormous effort, and apparently I'm just a bit to lazy to do it. Sigh. What is one to do?
The typing of the dead 🤣 it’s a wonderfully weird touch typing gsme
wasting everyone's time.
Thanks, I take corrections and publish them online, but you know, you can also make your own video and fix what you think is wrong :)