News for hackers. Stuff that matters.
Re:A CEO's Guide to Emacs by seanw444 on Thursday January 11, 2024 @09:55AM (#38952965)
I still really like Emacs. Granted, I use Doom, because modal editing is just better. But I don't need to use Vim/Neovim unless I need a quick light editor over a remote connection. There's still a lot of useful integrations and applications within Emacs. I use Calc all the time, Org, LSP is thankfully open and makes Emacs a full-on IDE, RSS reader, file explorer, by far the best Git client, and I still use it to analyze and operate on basically anything text-related.

I think it goes both ways. There are a lot more closed-down things these days, but the things that are open feel more established and professional than they ever did before.

Re:A CEO's Guide to Emacs by aldanor on Thursday January 11, 2024 @10:37AM (#38953639)
I used to keep doom distribution around solely for magit and missed it a lot since it's the best git client by far and large. These days, thankfully there's lazygit around which, although not integrated directly in the editor and although not as good as magit, covers the need for a decent terminal-based git client with vim-like controls.
Re:A CEO's Guide to Emacs by softirq on Thursday January 11, 2024 @10:04AM (#38953089)
I really meant it when I said that AI will kill Emacs. In the future every application will be connected to a backend inference engine to act as the primary or close to primary interface to the application. A calculator that can't run prompts is going to be like using an abacus in a few years. Same thing for Magit/regular git.
Re:A CEO's Guide to Emacs by dan-g on Thursday January 11, 2024 @12:16PM (#38955238)
Emacs is able to run prompts, just like any other tool that's able to make an HTTP request. E.g., https://github.com/karthink/gptel provides hooks to both OpenAI and local LLMs, and allows you to use them anywhere—since everything in Emacs is a buffer.

There are some pretty great examples in the README.

Re:A CEO's Guide to Emacs by zilti on Thursday January 11, 2024 @12:30PM (#38955492)
AI as-is is completely useless for programming, or even counter-productive.
Re:A CEO's Guide to Emacs by ParetoOptimal on Thursday January 11, 2024 @06:32PM (#38961132)
This will be far far in the future. I say this as someone using gpt4 a lot daily for their programming tasks and experimenting with local models like mixtral instruct.
Re:A CEO's Guide to Emacs by cmrdporcupine on Thursday January 11, 2024 @10:14AM (#38953257)
"because modal editing is just better"... for _you_

luckily emacs gives people options

Re:A CEO's Guide to Emacs by shrimp_emoji on Thursday January 11, 2024 @10:15AM (#38953285)
It's not better for anyone except delusional people. It was created for ADM terminals whose keyboards lacked the keys vim users use to navigate in modal editing, and there's no reason for it anymore.
Re:A CEO's Guide to Emacs by newlisp on Thursday January 11, 2024 @10:33AM (#38953591)
Vim's modal editing allows for wider key space and better ergonomics. Both are good to have for programming IMO.
Re:A CEO's Guide to Emacs by necrotic_comp on Thursday January 11, 2024 @10:27AM (#38953492)
That's awfully harsh. People's brains work in different ways, and for some people separating movement from editing makes a lot of sense.
Re:A CEO's Guide to Emacs by cmrdporcupine on Thursday January 11, 2024 @10:37AM (#38953649)
It is what it is, I wouldn't deny it to anybody. But I really wish the subsection of the geek population that runs around with the Vim religion denigrating everything else would just STFU.

I've been Unixing for 30 years. If I was going to join that cult, I would have done it a long time ago.

Modal is not superior, it's just something else.

Re:A CEO's Guide to Emacs by robertlagrant on Thursday January 11, 2024 @11:19AM (#38954281)
I don't think your denigrating people is going to help anything.
Re:A CEO's Guide to Emacs by cmrdporcupine on Thursday January 11, 2024 @11:23AM (#38954353)
I'm not the denigrator, you're probably mistaking me for the other commenter, "shrimp_emoji"
Re:A CEO's Guide to Emacs by drbaba on Sunday January 14, 2024 @05:08AM (#38989091)
> terminals whose keyboards lacked the keys vim users use to navigate in modal editing, and there's no reason for it anymore.

Vim keybindings really are more comfortable if you struggle with RSI. I’ve had such issues despite having used Caps Lock as Ctrl for years, and despite pressing it with my ring finger instead of pinkie. In my case, I have big hands and often have to work from small laptop keyboards for my job, which likely makes it worse.

The 3 times I’ve tried to go all-in on Emacs keybindings, I’ve after 1-2 months developed pain in my left forearm that then took months to heal. I developed some similar pains when I tried to use Sublime Text keybindings as well, but it was worse with Emacs. I blame this on excessive chording.

Except these excursions into other keybinding sets, I’ve used mainly Vim keybindings for nearly two decades now. I never had arm pains using Vim or Evil.

All this is to say: “There is no reason for it anymore” is too dismissive. The original reason Bill Joy wrote Vi the way he did was those constraints, but it has benefits today for other reasons.

Re:A CEO's Guide to Emacs by allarm on Wednesday January 17, 2024 @01:48AM (#39024125)
Every single time in emacs/vim posts there’s a guy who knows better than me what is better for me, without even knowing me and my reasoning. There is a lot of reasons people use modal editing, but we didn’t realize that all of them don’t exist anymore because shrimp_emoji thinks so. Oh boy.
Re:A CEO's Guide to Emacs by ParetoOptimal on Wednesday January 17, 2024 @09:44AM (#39028377)
There are a lot of things people can potentially teach others, but typically it's a good idea to show some curiosity and learn about the use-cases of others before making sweeping statements :)