LEM - What If Emacs Was Multithreaded

  Рет қаралды 26,992

Gavin Freeborn

Gavin Freeborn

Күн бұрын

Пікірлер: 56
@celestialbeing4767
@celestialbeing4767 2 жыл бұрын
Emacs is underrated
@mrdkyzmrdany8742
@mrdkyzmrdany8742 Жыл бұрын
Well, it may take some people some 20 years to stop hating it -- I've used emacs occasionally for slime or fuel REPL years back, and couldn't grasp how someone could use it for text editing. But some 1 or 2 years back I've bitten the bullet - mainly because I heard how magit and org-roam were great; and because I love extensible things you can modify at runtime; oh, and it got a JIT... What can I say, I'm now an emacs-infested zombie, I'm thinking about splitting my config into multiple files, I've read-up on stuff I'll need to connect to (friggin corporate) Exchange server from emacs. I'm toying with the idea to use emacs as a front-end for some simple app (just for admins to use) just for the laughs and bragging rights. Who knows when I'll start biting normies and infecting them too ;-)
@NILOCOgov
@NILOCOgov 2 жыл бұрын
I’m really loving how diverse the text editor ecosystem is these days. So much cool stuff to try and get inspiration from.
@jastern949
@jastern949 Жыл бұрын
It takes until 11:34 to get the caveat, "It isn't exactly stable yet" :-P heheh.. Thanks, Gavin, I enjoy your videos. lem was not as easy to get going on openSUSE/Tumbleweed, owing to TW using ncurses6 (not 5) and cl-charms' logic for that not being optimal. Got it going tho' with a little commenting help. Fun to play with tho'! Wow! a LISP-e editor Some Techie hints for future vids 1. A headset instead will not only improve audio signal but also prevent the sub-bass rumble in the microphone from the keyboard keypresses. 2. Some wax paper over the circular cam light will eliminate the 'zombie eyeballs'. Thank you again! Keep going!
@ChaosTheory666
@ChaosTheory666 Жыл бұрын
I couldn't get it working at all on openSUSE Tumbleweed. Got as far as compiling it, but as soon as (lem:lem) is entered it all goes to ****. Really like the idea of a CL editor though.
@sjatkins
@sjatkins 2 жыл бұрын
AWESOME! Something to play with as an emacs and lisp person.
@oflameo8927
@oflameo8927 2 жыл бұрын
If I was going to write a new text editor, it would have Evil mode key bindings by default and be a modal editor.
@AndersJackson
@AndersJackson 2 жыл бұрын
It is strange, I can't stand modal editors. Basically that started because of how editors worked back them (like ed). And then it added a text gui in front of ed. The next development was Emacs and getting away with the modal mode. But yes, we are different.
@AndersJackson
@AndersJackson 2 жыл бұрын
@@vlc-cosplayer vi/vim is a thin full screen character based layer on top of ed(1). Which is a line editor optimized for teletype/printer I/O. Yes, I have used them back when it was used as main terminal on a minicomputer (the one that would crush any limb of yours if you put the minicomputer on it, as it wheight about 500 kg or so). If you do not know what ed(1) is, please look up the man page. So by design vi/vim had to be designed to be modal. Even if it was sub optimala not a modern design. Emacs used then modern full screen designed, as it used moder CRT terminal, like VT-100, where you could control the promts position, erase lines etc. That was later used as model when xterm was designed. Yes, I have used them too That meant that Emacs could use control keys (Control combined with a character) as commands instead of input them into a buffer, like vi does. You OBVIOUSLY have absolutely no knowledge about how input works in Emacs, do you? Because then you would not make those assumptions. Emacs use programmable key maos to look up commands, and that has nothing to do with ESC in vi(1). Which are hard coded. There are nothing like vi:s edit mode, input mode and visual mode. That is vi modal levels. Yes, as Emacs has programmable keybindings, you could change the default keybindings to one that simulate vi keybindings and modes. Actyally, as Emacs is fully programmable, introspective, live programmable, it isn't rocket science to do that. Actually there are several keybindings that do that, in different levels of success. Most common is evil-mode. Still, most Emacs non modal keyboard bindings are still available if one want to use the abomination 😉 like evil-mode. And again, vi doesn't have programming language support, with an REPL to the inner parts of vi. Vim has some extension languages, as an after thought. Not by design, like Emacs. So yes, vi/vim might be usable for your need. But please, don't make the mistake to think you now know Emacs, because you obviously doesn't. And please don't make the mistake and say that vi or even vim us as expandable as Emacs. Because then where is an Org mode extension delivered by default in vim? And where are the Emacs keybindigs mode for vim, by default? As Emacs do have Org mode and Evil-mode by default. Yes, if you have an easy to access extension for those, please inform me about them. Because if there are a Emacs bindings in vim, I might try them. And by the way, default keybindings in Bash are Emacs keybindings. Try C-e and C-a or C-r in Bash. Have a nice day.
@AndersJackson
@AndersJackson 2 жыл бұрын
@@vlc-cosplayer and seriously? C-o i instead of C-a? And vim users say they are into vim for the efficient key bindings?
@AndersJackson
@AndersJackson 2 жыл бұрын
Thanks, LEM was interesting, but I think I stay with Emacs. :-)
@stevenlitvintchouk3131
@stevenlitvintchouk3131 9 ай бұрын
At my advanced age, I'm too set in my ways. GNU Emacs for one.
@CaribouDataScience
@CaribouDataScience 11 ай бұрын
Say what tiling wm are you using?
@mishaerementchouk
@mishaerementchouk 2 жыл бұрын
Have you looked at emacs-ng? It’s a technology expanded emacs. I didn’t use for a while because of issues with the resolution on hidpi monitors but the performance boost for me was impressive. I often have to deal with long org files with a lot of math and for such files the performance wowed me.
@AndersJackson
@AndersJackson 2 жыл бұрын
Lates Emacs has compile on demand, which should make Emacs run faster.
@mishaerementchouk
@mishaerementchouk 2 жыл бұрын
@@AndersJackson It does run faster. However, emacs-ng has a few features that make it even faster. At least, this is so for my workflow: Emacs hangs on some of my org files with a lot of formulas, so I cannot have the "latexpreview" option in the header. Emacs-ng has no trouble opening these files right away. If not for a bunch of oddities (for one, formulas are rendered with artifacts, which is a dealbreaker for me), quite likely I'd be using emacs-ng.
@JungleLibrary
@JungleLibrary Жыл бұрын
Emacs ng's Dev put it on hiatus in May 22: "The problem is that there are not enough experienced people maintaining the project. I was hoping we could encourage more people to help when the project provides new features that users are interested in. However we obviously didn't get to that point. I would gladly give it another try, but I'm not able to fix the more complicated issues myself or implement cool new stuff(at least not at a level that would make a difference). Maybe some users will continue the work that was started. I would join them ;)"
@mishaerementchouk
@mishaerementchouk Жыл бұрын
@@JungleLibrary That's a pity. I didn't understand how they were pulling this off as maintaining such a project requires quite a bit of work. I presumed they had some strong momentum going. Apparently, it didn't reach the critical mass. Too bad, it was an interesting project.
@JungleLibrary
@JungleLibrary Жыл бұрын
@@mishaerementchouk if it's working for you, they are at least still merging the latest changes to Emacs, but if you've been dealing with issues in the hope that it'll improve, I wouldn't count on it.
@aleccox7383
@aleccox7383 Жыл бұрын
I like the wallpaper you have, any link to it or an update your wallpaper git repo?
@lamprospitsillou6325
@lamprospitsillou6325 2 жыл бұрын
Could you add the github link in the description? Nice vid!
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Just added it. Thanks for the reminder
@connorcreegan
@connorcreegan Жыл бұрын
this is pretty interesting, definitely gonna fool around with this at some point. too bad it's only cli, as i use emacs gui pretty frequently for in-line images. otherwise i'd be sold, for sure.
@mrdkyzmrdany8742
@mrdkyzmrdany8742 Жыл бұрын
Lem has SDL back-end (don't try the terminal one on windows, it's butt-ugly -- if you can get it to work)
@yash1152
@yash1152 Жыл бұрын
4:47 redo only got added recently in emacs... ohw, can same be expected for the readline library for bash cli?
@yash1152
@yash1152 Жыл бұрын
9:43 it will be ctrl + \ if it were to happen it seems
@miricaley4988
@miricaley4988 2 жыл бұрын
Is it got a GUI interface, or is it still in development and will merge in the near future?
@marcinmiszczyk
@marcinmiszczyk 2 жыл бұрын
looks nice
@kitcarson2034
@kitcarson2034 Жыл бұрын
There is very few contents about this interesing editor, do you still use it?
@noblesavage149
@noblesavage149 2 жыл бұрын
👍
@thelambdafunction
@thelambdafunction 2 жыл бұрын
There is a substantial mistake in this video: LEM does not plan to implement Emacs in CLisp. It just so happens that uses the -macs approach (that is "editing macros"), but does not plan to support and/or replace Emacs. Its aim is to be the ideal IDE for CLisp, perhaps to replace Emacs in the famous Portacle project
@pavelxbushmakin7252
@pavelxbushmakin7252 2 жыл бұрын
Do you know good editors writing by Scheme(Guile)? I want Guile EMacs, but it doesn’t maintained
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
I've seen a few but non seem to have gotten much farther than a proof of concept
@ivanicguildmember2844
@ivanicguildmember2844 2 жыл бұрын
Awesome video as always. Could you please tell me the name of the terminal font you are using here.
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
PregmattaPro
@GeorgijTovarsen
@GeorgijTovarsen 2 жыл бұрын
Never heard of it. I was expecting something like Climacs but it seems nobody is using it anymore.
@spookyconnolly6072
@spookyconnolly6072 2 жыл бұрын
LEM is highly like the Climacs project but renamed like 5 times and the code altered to be closer to modern programming standards, which includes awful punnery
@defaultxr
@defaultxr Жыл бұрын
There is a new incarnation of Climacs called Second-Climacs. I don't think it's ready for general use yet, but development is active.
@LambdaJack
@LambdaJack 2 жыл бұрын
curses is a sign of quality.
@geoffreyvanwyk4588
@geoffreyvanwyk4588 14 күн бұрын
Please make a video of Lem 2.0.
@محمدفرج-ث7ذ3د
@محمدفرج-ث7ذ3د 2 жыл бұрын
Bon for emacs it will awesome review
@Mythologos
@Mythologos 2 жыл бұрын
I love your channel but it would *really* improve your work if you used easier to read fonts with fewer crazy colors and magnified the text more. It's very hard to follow and you seem to change all that between videos. Are you familiar with SystemCrafters? He keeps an Emacs in a VM for doing tutorials, so it's always the same - and he keeps a uniform look from video to video.
@cory1111
@cory1111 2 жыл бұрын
I’m actually surprised that someone who loves functional languages is running Arch instead of Nix or Guix
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
I know right! Big reason is many of the projects I play with and contribute to don't seem like they would work well with Nix.
@abc249
@abc249 2 жыл бұрын
@@GavinFreeborn If you ever try nixos, it would be cool, if you make a video on it? There are no videos about the configuration of emacs or vim on nixos, at least I haven't come across those.
@peterzimmermann55
@peterzimmermann55 Жыл бұрын
@@abc249 configuration on NixOS (and guix as far as ik) works the same way that it does on any other system. Nix is a package manager, and NixOS is built around it. There might be a way to configure it in home manager, which i agree would be great for a video but you aren’t forced to use home manager. Personally I install all of my addons with home manager and use a standard elisp config file to actually write my configuration
@florianfelix8295
@florianfelix8295 2 жыл бұрын
Damn I’ve been hoping for sth like that in guile :‘(
@AndreasWilfer
@AndreasWilfer 2 жыл бұрын
There used to exist one, but I don't know where it's hosted, if at all anymore..
@florianfelix8295
@florianfelix8295 2 жыл бұрын
@@AndreasWilfer you can look on the guile mailing list. I think it is a branch of guile itself (guile-elisp). If you mean guile-eMacs. But it needs to be ported to guile3
@defaultxr
@defaultxr Жыл бұрын
@@AndreasWilfer Perhaps you're thinking of Zem? "Extensible Emacs-like text editor with Guile"
@yash1152
@yash1152 Жыл бұрын
1:06 watch later.
@thelimatheou
@thelimatheou 2 жыл бұрын
You should make your bed ;)
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Oh definitely 😅. Just keeping the environment interesting.
@0netom
@0netom 2 жыл бұрын
The bed looked perfectly fine to me... :D
@borschtnazi8195
@borschtnazi8195 Жыл бұрын
stop saying "you guys" and "ackchuyally"
@richiee1720
@richiee1720 2 жыл бұрын
👍
Unleash The REPL With Sly
14:45
Gavin Freeborn
Рет қаралды 12 М.
Rewrite Your Scripts In LISP - with Roswell
21:23
Gavin Freeborn
Рет қаралды 21 М.
MY HEIGHT vs MrBEAST CREW 🙈📏
00:22
Celine Dept
Рет қаралды 90 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 9 МЛН
My Emacs Workflow - As a Software Engineer and Student
14:02
Gavin Freeborn
Рет қаралды 26 М.
Why Are Lisp Macros So Great!?
16:28
Gavin Freeborn
Рет қаралды 16 М.
Why No One Can Answer The "Vim Versus Emacs" Question
13:44
DistroTube
Рет қаралды 27 М.
You Should Really Learn Org Mode - It's Easy
19:32
Gavin Freeborn
Рет қаралды 52 М.
Nix explained from the ground up
23:39
Surma
Рет қаралды 51 М.
Why You Should Learn Lisp In 2024
21:50
Gavin Freeborn
Рет қаралды 66 М.
Vim Versus Emacs. Which Is Better?
30:38
DistroTube
Рет қаралды 271 М.
Why Rust is NOT a Passing Fad...
8:54
Travis Media
Рет қаралды 41 М.
Interview with an Emacs Enthusiast in 2023 [Colorized]
8:50
Programmers are also human
Рет қаралды 1,2 МЛН