Too bad Emacs doesn’t have a good text editor.
Programmer Humor
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
Evil mode helps with that
Modalka for me. It has exactly what you want and no more, which also makes it a lot easier to learn: useful for me that I'm not a programmer.
eMacs takes a life time to learn, so the sooner you start, the longer it will take.
Upvote just for "melon husk" 😂
There was another Twitler who tried to create an everything Reich.
Elon is racing him to see who can collapse a thousand-year social media platform the fastest
Emacs is the GOAT computing environment.
I couldn't help but think of Emacs when I was reading A Constructive Look At TempleOS. It's like TempleOS that is actually finished, it just lacks kernel.
just lacks kernel.
Sounds like a trademark of GNU tbh
I'm sure the port to TempleOS is being worked on as we speak
Thanks for sharing. I have never seen that deep dive into templeOS before and it is a much more interesting OS than I anticipated.
Yeah it's pretty amazing system all things considered. It's kind of as if 8-bit home computer systems continued to evolve, but keep the same principles of being really closely tied to the HW and with very blurry line between kernel and user space. It radiates strong user ownership of the system. If you look at modern systems where you sometimes don't even get superuser privileges (for better of worse) it's quite a contrast.
Which is why it reminds me of Emacs so much. You can mess with most of the internals, there's no major separation between "Emacs-space" and userspace. There are these jokes about Emacs being OS, but it really does remind me of those early days of home computing where you could tinker with low level stuff and there were no guardrails or locks stopping you.
What even is emacs
An extremely extensible text editor, there's jokes that it can do literally anything, you can play music, watch video, etc.
It's often at war with the cult of vi and the church of emacs.
Don't forget us nanoites. The clearly superior text editor
nanoers just never figured out how to :wq
if you listen closely, you can still hear the terminal bells ringing of those that never managed to ESC
Use :x
you pleb
They just said :wq
in school, so thanks for the tip. Hard to believe it saves even when the file hasn't been changed if you use :wq
. What is the use case for that? If the file gets changed in another program and you want to revert??
Edit: Just saw the comment about the modification times being updated.
I don't do a lot of text editing in terminal, but I used to have to at my last job and I always reached for nano and gave instructions fot nano since it's just pick up and use.
Nano just feels sluggish as soon as you know vim keybindings. Emacs is a bit overkill for some quck edits, but nano is just to basic
Nano is a fantastic default editor for gui-focused distros. If you aren't a command line wizard, nano is a better default because it's a lot more straightforward.
That said, nano is incredibly limited and if you have any experience with vi/vim/nvim, it's the best solution full stop. It's so much faster and more powerful but hot damn is it unintuitive for noobs.
As a nanoite who couldn't be bothered to learn editor commands, I switched to turbo, which is essentially a linux port of the DOS text editor
By "as soon as you know" you mean "as soon as you have put those bindings to muscle memory". Knowing them isn't really enough.
Yeah, again, I don't do much terminal text editing. I have an IDE. If I'm trying to help someone across the country 1000 miles away fix something on the machine I develop for, I'm going to give them instructions on something that will be incredibly easy to use. I don't want to have to explain why the arrow keys aren't working and why they have to use jkl; to navigate or explain how enter edit mode or how so save and exit. Keep it simple stupid.
You should really convert to helixism, the latest messianic update to the cult of vi.
ill try it again when it support pulgins
I mean it does support LSP, natively, I found that ultimately that's all the plugins I really need. It working out of the box and not requiring megabytes of configuration files is one of its great strengths.
If all you need is some customisation it's perfectly possible to write custom commands that execute sequences of commands. Including calling out to the shell and piping to and from external programs. Strictly static sequences though unlike the abomination that is vimscript they're not making keybindings a scripting language...
I'm a vim and emacs user for some decades already. I had this urge one day to try and work with helix. It kind of misses some things such as file manager or editorconfig support. Nine months later I'm still using helix. It still misses these things, but I really started to like how I don't need any plugins to work with it and I need about five lines of configuration to have a usable editor. Probably going to continue using it.
And it is written in Rust, which is my main language and I can just jump in to the editor source and fix things if needed.
I miss magit and org from emacs a lot though. Every time I need to write an article, I do it in emacs.
It's probably this, for all of you whou didn't know Helix before, like me: https://helix-editor.com/
Eight Megs And Constantly Swapping
Esc-Meta-Alt-Ctrl-Shift
A self-documenting, extensible lisp computing environment that uses text buffers as its main data format.
Which video player did you use?
im a vim user, i dont usually put videos players in my text editor
otherwise, i use mpv for desktop
It's possible to watch videos in the terminal as ASCII art with both vlc and mplayer, by the way.
mpv --vo=tct
Late 30s dev here: I've never cared to learn emacs or vim, tried when younger, but left it. Am I a fraud?
I used to be a vim fan but now I only use it for modifying files over SSH. Other than that I code with an IDE, you can't beat all the plugins and linters with a in-terminal editor. A colleague still codes in emacs and its code is dirty af.
A colleague still codes in emacs and its code is dirty af.
PEBKAC - don't blame emacs (not sure why anyone would use it when vim exists, though)
What's emac?
It's an iMac with electronics in it.
It's like a Big Mac but with emu meat.