News for hackers. Stuff that matters.
Re:Use GNU Emacs by xlii on Friday March 03, 2023 @04:15AM (#35007443)
I’ve been using Emacs for ~15 years right now, but I don’t recommend it for the last few.

I love it, it’s great, and as many others, I tried to move out of it but there was something I couldn’t do I KNEW I could get in Emacs and it frustrated me so much I kept going back.

But I don’t think it brings a lot of added value. There are many very very powerful IDEs and editors which offer out of the box great UX and feature discoverability. Hell, probably if IntelliJ toolset would allow me to customize it deeper with Lua/Lisp/JS/whatever I’d probably switch in a jiffy.

I compare Emacs to vinyls or paper books. It requires investment, in many cases it is worse than competition and requires more energy to just be on par. But it is absolutely lovable. Vinyl record comparison - they are expensive, heavy, require a lot of maintenance but for specific type of people it makes their heart skip a beat when they take it from the sleeve.

That’s why people are constantly talking about their Emacs. Same with vim or nvim. I rarely hear people talking with excitement about WebStorm or VS code.

So yeah, if you’re not into it just keep in mind that like some freak who spend their weekend on polishing rims of dream come true 1959 Fiat 500, some of us spend their time with Emacs.

Don’t get bullied into it, don’t get FOMO about it, but please don’t spoil our fun.

You’re always welcome to join in.

Re:Use GNU Emacs by mlatu on Friday March 03, 2023 @04:28AM (#35007510)
i get that, though i would rather compare it with chopsticks than vinyl records.

you use emacs to do stuff, you dont just listen to/watch it do its thing.

chopsticks might not seem like a good metaphor at first glance, as they are much more simple, but they are highly compatible with a lot of tasks and can be utilized in many ways that a fork, spoon, spork or colander just wouldnt handle as well. to my mind, the simple thing hidden in emacs' complexity is that it is a closeted lisp machine

Re:Use GNU Emacs by oliverbennett on Friday March 03, 2023 @04:57AM (#35007687)
Both metaphors seem apt. One is leaning towards how a product makes a person feel when using it, one is about what the product offers.

I hear arguments around what products can offer me all the time, they make sense, but I generally go with how a product makes me feel. Probably more than I even realise.

I don’t use Emacs, I do whisk eggs and fish doughnuts out of oil with chopsticks, I couldn’t fully say why for either.

Re:Use GNU Emacs by mlatu on Friday March 03, 2023 @05:28AM (#35007873)
oh i get it and i will contradict my own saying "you dont need GPU for handling source code" when i talk about my personal projects, but there is a time and a place for all the tools there are: some have janky handles, some have single-purpose nibs, others are as customizable as your regular homeowners house.

i am still a bit iffy about emacslisp, but less so than before i grokked CL (thanks for that goes to "practical common lisp" by peter seibel)

but: whatever floats your boat will keep your boat afloat :D

Re:Use GNU Emacs by pmontra on Friday March 03, 2023 @05:38AM (#35007928)
As a westerner, chopsticks are much better than spoons or forks at getting that last grain of rice in the plate, or a small piece of salad.
Re:Use GNU Emacs by ninkendo on Friday March 03, 2023 @06:58AM (#35008383)
They’re also great for eating Cheetos without getting orange residue on your fingers. :)
Re:Use GNU Emacs by slowmovintarget on Friday March 03, 2023 @11:29AM (#35011700)
Or eating vegetables like sauteed kale, or string beans.

I will admit that for that very last teaspoon full of rice, though... I grab a spoon.

Re:Use GNU Emacs by uhtred on Friday March 03, 2023 @04:30AM (#35007528)
I love the vinyl or paper books comparison.

I have a strange nostalgia for the old Unix days that I was too young— perhaps not even alive yet— to experience the first time around. It's what draws me to learning and using things like vim, Perl, awk, sed, etc. Those tools feel arcane and mystical.

Re:Use GNU Emacs by rahen on Friday March 03, 2023 @05:38AM (#35007930)
I've been there too. Installing, trying, running older and older Unixes in SIMH. 4.1BSD, 32V, V7, V6, all the way down to V0 on the PDP-7. I still keep a neatly organized folder of primitive Unix systems with their RK drive images and SIMH boot scripts.

But going all the way back to the Big Bang at V0, a funny thing happened.

The essence wasn't still there, things were still missing, because indeed the open-source foundation wasn't only born from Unix and the PDP-11.

No. The missing half of the puzzle is ITS and the PDP-10.

This is where GNU and the free software philosophy was born. The root of emacs, LISP, TeX, and many more. And interestingly, they're both older and more timeless than the Unix part of the puzzle. Unix (and then Linux) just happened to be a hardware abstraction layer for what really mattered. And then I reached the end of my journey to enlightenment.

I finally understood that GNU's Not Unix!

Re:Use GNU Emacs by anthk on Friday March 03, 2023 @10:07AM (#35010540)
GUIX as the OS it's the ultimate GNU system witht he spirit of ITS+Emacs.

Not everything open and insecure, but hackable up to the last bit.

Re:Use GNU Emacs by pxc on Friday March 03, 2023 @12:43PM (#35012751)
You can even run Guix System with the Hurd kernel. It really feels like a forgotten dream renewed.
Re:Use GNU Emacs by steve1977 on Friday March 03, 2023 @10:41AM (#35011031)
I pretty much went through the same. It’s funny, I was reading your article and from about the middle of it, I had the word „enlightenment“ in mind.
Re:Use GNU Emacs by oblio on Friday March 03, 2023 @05:08AM (#35007758)
Great comment, I'm glad you put into words what I've been trying to communicate as someone on the outside looking in.

A minor joke here:

> Hell, probably if IntelliJ toolset would allow me to customize it deeper with Lua/Lisp/JS/whatever I’d probably switch in a jiffy.

It's not going to be quick and it's not going to be pretty, but I think you could technically do it with Clojure :-)))

Re:Use GNU Emacs by tmtvl on Friday March 03, 2023 @08:03AM (#35009018)
Or ABCL or Kawa.
Re:Use GNU Emacs by forty on Friday March 03, 2023 @05:12AM (#35007775)
I switched from VSCode to Doom Emacs with very little of my own customization (doing TS, Scala, Rust mostly) a few years ago. There is not one thing of VSCode that I miss, and I enjoy some of the most powerful features like wgrep & all, and a great vim emulation layer (the one I had in VSCode sucked).
Re:Use GNU Emacs by mtzet on Friday March 03, 2023 @05:51AM (#35008007)
I agree. Emacs out-of-the-box is terrible, but my Doom Emacs config is all 50 lines of code. For that I get:

- IDE-like features via LSP

- The best git porcelain out there: magit. Even when I'm not using emacs, I come back to magit for code-browsing (recursive blame) and staging hunks.

- Emacs/vim's fantastic buffer/window concept, where open files are not owned by their windows. I miss this whenever I use anything else.

- project support to quickly grep across all files or jump to files

- Very mature vi keybindings, with their infinite composability

I still sometimes find that it's either too rigid or too manual at certain things, but I could say the same for CLion and VSCode. I still come back to CLion for its refactoring tool, the 3-way merge window and the debugger integration.

It is a bit messy though. It's very well done for what it is, but it's cobbled together from many disparate components. It seems that it should be possible to create the same type of experience from a simpler, more coherent system. I rarely update the base system, but when I do, I've occasionally had to google for some exotic elisp error and add a fix here or there.

Re:Use GNU Emacs by saeranv on Friday March 03, 2023 @02:42PM (#35014079)
> - Emacs/vim's fantastic buffer/window concept, where open files are not owned by their windows. I miss this whenever I use anything else.

Why is this useful? I basically treat my nvim buffers like windows. What am I missing?

Re:Use GNU Emacs by _a_a_a_ on Friday March 03, 2023 @02:56PM (#35014238)
Because you can look at and maniuplate the same file n different ways. Something I sorely lack when using e.g. visual studio
Re:Use GNU Emacs by saeranv on Saturday March 04, 2023 @11:47AM (#35022215)
I guess I need to experiment with this. I'm fairly conservative when it comes to experimenting with files since I find it always ends up triggering .swp file recoveries, which is not just annoying[1], but has also resulted in me accidently losing work before.

[1] Why can't we just delete the extra file after we recovered the .swp!

Re:Use GNU Emacs by _a_a_a_ on Friday March 03, 2023 @02:55PM (#35014228)
> - Emacs/vim's fantastic buffer/window concept, where open files are not owned by their windows. I miss this whenever I use anything else.

oh hell yes!

Re:Use GNU Emacs by weberer on Friday March 03, 2023 @07:44AM (#35008823)
But don't you miss your editor spying on you and sending your data straight to the NSA?

https://en.wikipedia.org/wiki/PRISM

Re:Use GNU Emacs by rrdharan on Friday March 03, 2023 @08:53AM (#35009637)
If you’re a PRISM target wanting to protect yourself from the NSA you’re gonna need a lot more OpSec than just switching from VSCode to Emacs.
Re:Use GNU Emacs by jmnicolas on Friday March 03, 2023 @09:07AM (#35009796)
That's the problem, we're all NSA targets, just unimportant ones.
Re:Use GNU Emacs by xrd on Friday March 03, 2023 @08:50AM (#35009599)
Since reading your comment, I have gotten very excited about Doom Emacs in the last 45 minutes.

But, now I realize this is a very powerful configuration of Emacs if and only if you prefer using the VI keybindings.

It looks like spacemacs is that as well.

I actually enjoy Emacs keybindings, and would like to find something as polished and supported as Doom, but without using VI keybindings.

Does anyone know where I should look for that?

Or, can I revert to emacs keybindings in Doom and use the rest of the amazing features? I'm concerned I might be swimming against a tsunami if I try to do that and would be better off finding another project.

Re:Use GNU Emacs by forty on Friday March 03, 2023 @08:58AM (#35009706)
While Doom defaults to Vi bindings with evil mode (and has awesome defaults to use evil mode almost for all modules) I don't think it's mandatory at all and you should be able to enjoy it without evil (I haven't tried but after all, non-evil key bindings are the default on Emacs :) )

See https://github.com/doomemacs/doomemacs/blob/master/modules/e...

Re:Use GNU Emacs by xrd on Friday March 03, 2023 @08:55AM (#35009669)
Re:Use GNU Emacs by tcmart14 on Friday March 03, 2023 @11:27AM (#35011668)
Spacemacs on initial start-up, it will prompt you to choose either evil mode (vi) or holy mode (standard emacs) keybindings. Before I went to vanilla emacs, I was a spacemacs user using the 'holy mode.'
Re:Use GNU Emacs by lkjdsklf on Friday March 03, 2023 @11:46AM (#35011933)
As mentioned, you can disable evil mode in spacemacs or doom.

There's also prelude which doesn't include evil by default. Not quite as fully featured as doom/spacemacs, but it's a good place to start.

All that said, you could just set it up from scratch. Now that lsp-mode and dap-mode are things, you can setup a fully featured IDE in not very much config at all. I have everything in my init.el and setting up projectile, lsp-mode and dap-mode which is like 85% of what you need for a fully featured IDE. That bit is only about 30 lines of config. Throw in flycheck, company-mode, hydra for keybindings. maybe treemacs for a project view.. a few hundred other lines to make it not all look like trash....

On second thought, it's kind of a pain in the ass. Just use clion or vscode or something.

Re:Use GNU Emacs by xrd on Friday March 03, 2023 @11:58AM (#35012137)
Lol, that last comment.

Can't I beg you to share your init.el? I want LSP and the other stuff but Doom even when turning off evil mode seems to far away from the emacs I'm familiar with.

Re:Use GNU Emacs by lkjdsklf on Friday March 03, 2023 @01:40PM (#35013417)
My config is pretty barebones these days. This is what i use every day for C++ dev work

https://pastebin.mozilla.org/mShC6Dm0

I'm still using evil mode. Most of my important functions are bound to some combination off space bar though.

It's certainly not perfect and has some "quirks" (or bugs if we're being honest), but it works pretty well.

Re:Use GNU Emacs by chimprich on Friday March 03, 2023 @12:10PM (#35012314)
Alternative opinion that you completely didn't ask for: I wouldn't bother with Doom, or any of the other pre-packaged Emacs distributions. If you like the default Emacs bindings, I would suggest just... using Emacs.

Unconfigured Emacs is a bit clunky, but you'll understand it a lot better if you configure it yourself. Also, just in my opinion, there are better options than the packages supplied by Doom.

My suggestion is to set up Emacs with use-package for package configuration (this will be in Emacs 29 anyway), and then you can easily play around with different package combinations.

I'd add a nice-looking theme first of all, then try adding the following modern packages, one at a time. Play around with them a bit before adding another so you know what they do.

Vertico - visual completion UI (selecting files, buffers, commands etc.)

Orderless - user-friendly completion framework

Consult - search and navigation commands

Embark - contextual actions

Marginalia - fancy completion decorations

Magit - nuclear-powered Git framework

Eglot - lightweight LSP functionality (will be in Emacs 29)

...that gives you a powerful selection of features that play nice together and you can easily build on.

Re:Use GNU Emacs by gshulegaard on Friday March 03, 2023 @12:15PM (#35012374)
I had the same realization...so I took some bits of doomemacs/spacemacs and incorporated it into my personal emacs configuration. I am not great at maintaining my config or writing elisp in general, but feel free to reference my config if you wanted to take a stab at creating a doomemacs-like experience with your own configuration choices:

https://gitlab.com/gshulegaard/my-emacs

Disclaimer: This config is a bit perpetually dusty at this point, so I wouldn't copy it verbatim but instead use it as inspiration for some packages that might be worth looking into. JFYI anything that is from Marmelade might be worth avoiding as I suspect it is unmaintained given it's SSL cert expired in 2018. I just haven't gotten around to removing it from my config.

Re:Use GNU Emacs by Rotareti on Friday March 03, 2023 @08:52AM (#35009621)
Same. I was using intellij, then vscode the ten years before I switched to doom. I tried a lot of other editors and IDEs, but emacs was the only one with good vim integration. From all editors I tried, it was also the only one with good plugin interoperability. In emacs plugins are often build up on the interfaces of other plugins. In vscode plugins tend to be encapsulated, competing units which often do not play well together. I also find it much easier to customize emacs to my needs, because the interfaces of both the system and the plugins are mostly well documented.

Emacs has a high barrier of entry though. I think it would be difficult for a novice to get a good IDE experience from emacs, even with doom.

Re:Use GNU Emacs by qwertox on Friday March 03, 2023 @05:28AM (#35007870)
When I open Android Studio I often think: "Man, how lucky we developers are, we have such great tools to do our work." I thought the same about Visual Studio with Whole Tomato's Visual Assist. And VS Code is not quite there, it has a chaotic keyboard navigation + highlighting issues, but it is a pretty good tool, for being a text editor.
Re:Use GNU Emacs by zelphirkalt on Friday March 03, 2023 @07:10AM (#35008482)
It's been a few years since I last touched it, but Android Studio is the last thing, that I would ascribe "great tool" to. I ended up coding views by hand in the XML, because the graphical editor would go out of sync or render things wrongly. As far as I remember I also had to manually code in the XML event listeners for clicks, because the GUI did not offer that. All it did benefit me with was project structure and being able to press a button to put an app on a USB connected phone.
Re:Use GNU Emacs by trs-80 on Friday March 03, 2023 @10:54PM (#35017998)
You got further than me. Just seeing the size of the monstrosity was enough for me to nope the f out.

Well, that on top of the creepy uneasiness I always feel whenever dealing with companies like Google (or M$, FANG, etc.).

Re:Use GNU Emacs by otabdeveloper4 on Friday March 03, 2023 @06:02AM (#35008072)
I've been using Emacs for 25 years, and I use a stock install and I never even touch the .emacs file.

It's just a text editor. For many tasks it has better usability than the competition. This is why I use it. (Not for everything, though, and that's okay.)

I'd guess most people are like me. Configuring text editors is not our hobby.

Re:Use GNU Emacs by loopz on Friday March 03, 2023 @06:11AM (#35008128)
Spacemacs got lots configured out of the box, which allows to keep this workflow but still not miss out on much.
Re:Use GNU Emacs by otabdeveloper4 on Friday March 03, 2023 @06:51AM (#35008327)
I don't care about LSP and today's iteration of "IntelliSense", so I'm not missing out much in any case.

Since most people today are more than happy to code in Jyputer notebooks (yuck), I guess I'm not actually that weird.

Re:Use GNU Emacs by gpderetta on Friday March 03, 2023 @09:28AM (#35010020)
Jupyter has code completion. Once in a while it even works.
Re:Use GNU Emacs by bachmeier on Friday March 03, 2023 @07:21AM (#35008568)
> It's just a text editor.

I'll never understand comments like this. There's a full Lisp implementation available in there. Other text editors don't come with org-mode, either.

Re:Use GNU Emacs by ColonelPhantom on Friday March 03, 2023 @09:27AM (#35010011)
> There's a full Lisp implementation available in there.

Okay? Neovim and Lite XL ship with full Lua implementations. VSCode ships with a full JS implementation.

Being scriptable is not unique to Emacs. Though I do think the combination of - big ecosystem (missing for Lite) - scripting freedom (missing for VSC, iirc its plugin APIs are kinda limiting) - GUI (neovim) is pretty much unique.

A lot of other editors are also extensible, either via scripting or dynamically linking native code.

The only reason Org is unique to Emacs is that it's "too large to clone", i.e. it'd be a lot of work. I think a lot of editors could provide the same features with a plugin, given sufficient effort.

Re:Use GNU Emacs by ubermonkey on Friday March 03, 2023 @09:51AM (#35010310)
I think it's 100% clear that Org could exist in several other places if there was a will to implement it. My first target would probably be Obsidian.
Re:Use GNU Emacs by IncRnd on Friday March 03, 2023 @10:03AM (#35010471)
Most people get a car in order to drive from point A to point B. Not everyone puts a bra, rear-spoiler, fancy wheels, and other customizations on their car. I imagine the people who do those things also wonder why other people don't.
Re:Use GNU Emacs by lispm on Friday March 03, 2023 @01:16PM (#35013148)
For him it's a text editor, that's how he sees it, since the Lisp underneath is not touched by him.

True, some extensive modes written in Lisp by users are a work of art. That's a layer a non-programming-user may not see.

Re:Use GNU Emacs by spopejoy on Thursday March 09, 2023 @08:35AM (#35080984)
As a former elisp package maintainer and emacs bigot ...

... I really just use it as an editor/IDE these days, and couldn't be happier.

Emacs is how I learned LISP which forever transformed me as a programmer and I'm grateful. But let's be clear WHY I was doing that: it was horrible as an IDE at the time and I needed it to do the thing.

Now, with elpa, great themes, solid modes for every major language, magit etc, it just works. I customize ... via customization.

I still have my .emacs (dating myself there) and a few nifty functions I wrote. I maintain a programming language, so pact-mode is still there. The ugly truth there is that it's actually easier to write integrations (for a LISP-like no less!) for VS Code than write a major mode.

I miss hacking on emacs but I'm more productive for it.

Re:Use GNU Emacs by chucksmash on Friday March 03, 2023 @07:51AM (#35008879)
> I use a stock install and I never even touch the .emacs file.

Not even to centralize the `backup.foo~` and `#auto-save.foo#` files that emacs loves to litter the file system with? I can't wrap my mind around it.

Re:Use GNU Emacs by otabdeveloper4 on Friday March 03, 2023 @08:17AM (#35009169)
I don't mind the backup files. And once in a blue moon they're useful.
Re:Use GNU Emacs by dmd on Friday March 03, 2023 @08:26AM (#35009262)
Yes, but they're more useful in a central location.
Re:Use GNU Emacs by hirvi74 on Friday March 03, 2023 @06:11PM (#35016274)
So, put them all in a central location. It's very doable, for I have this very thing in my config.

https://www.emacswiki.org/emacs/BackupDirectory

Re:Use GNU Emacs by dmd on Friday March 03, 2023 @06:17PM (#35016320)
Exactly. Did you miss the gp comment?
Re:Use GNU Emacs by lkjdsklf on Friday March 03, 2023 @11:51AM (#35012017)
I find it fun to find random poop.cpp~ from 5 years ago in some random place on the filesystem. It's like discovering buried treasure. Who knows what's in there? Could be anything!
Re:Use GNU Emacs by whartung on Friday March 03, 2023 @11:16AM (#35011488)
I'm in this camp.

My first, very brief, foray into Emacs was at the suggestion of a friend back in, oh, '91-92. He raved about the buffers and the shell windows. Well, I couldn't run my 4GL programs in the shell windows, since they were full screen programs, and the terminal emulation wasn't working. So, I just stopped and went back to what I was doing.

This turned out to be a blessing in disguise. For this what the heart of the UNIX explosion. Everybody and their mother had some new box running some sort of UNIX, and we were installing software on all of them. While I spent my day in SCO on 486/66 (Shared by 8 other people), we were installing on Suns, IBM, NCRs, DG, Sequent, HP, and probably something else. I was always on someone else machine.

vi, of course, was everywhere. Not so much Emacs. I was also working in their environments, not mine, so box stock was the norm. And at the time, vi was more than suitable and capable. I still use vi pretty much the same way. Today I have multiple windows, unlike back then, but beyond that those formative years were so ingrained, those patterns and habits stick to this day. vi doesn't need plugins, it has bang-pipe. My file systems (notably tmp) are littered with x.x, y.y, z.z, etc. files adding as ad hoc cut and paste buffers. If I couldn't do the work with bang-pipe, shell out, bonk on some data in /tmp/x.x, pop back into vi and :r /tmp/x.x. Is it a single keystroke? No. But it's not in vi either. yyp is about as short as you can get.

Later, as I moved into Java and Python, I started adopting Emacs. I was particularly attracted to its auto formatting support for Java. Later on I chose Ant (Java build tool) because is had a -emacs switch to make the output compatible with emacs so I could jump to compiler errors. But that's stock behavior in emacs, we get that "for free", Ant conformed to emacs, vs the other way around.

I still kept my vi habits in emacs. If I wanted to refactor something, I was more apt to do something like vi `find . -name "*.java" | xargs grep methodToRename` than use emacs. I had multiple windows, so this was simple to do. Since Java is strictly typed, it coped well with yelling at my ham fisted endeavors when I went stomping through the code base.

I finally moved to an IDE, NetBeans, around NB 5 or so. Auto complete spoiled me.

Today my use of Emacs is mostly only for Lisp, and even then my Nerd Cred isn't up to par. I don't use Slime. I use emacs for lisp almost solely for auto indent, and paren matching. vi's lisp indent isn't spectacular, but emacs' is pretty good. The paren matching is about par, it doesn't bother me to use % in vi to test parens, but emacs is better. Then, I just ^S, and reload the file in my REPL.

I've tried Slime, but simply I don't do enough Lisp to make it worthwhile. It doesn't stick, so I have to relearn it when I come back. Just not worth the bother. I just want to work and get stuff done, not fight tools. Emacs on the Mac works well enough out of the box for me. Scroll wheel scrolls, Cmd-XCV cuts/copies/pastes, I can mouse around and double click things. You know, text editor. I also like messing with elisp in the scratch buffer. Even an old guy like me can remember ^J.

Basically what I've learned in my computing career, having to jump around every place, there's one commonality that's at every location I visit. Me. Rather than relying on adapted environments, I rely on an adaptable me. I like tools, I use tools, but I pick tools that work well out of the box. I want a tool, not a kit. Unix, thankfully, comes with a base set that I learned a long time ago. The important ones (important to me) have stuck with me. I can awk all day long, but I can't even spell 'perl', and it's my go to shotgun if I need it.

Re:Use GNU Emacs by ocimbote on Friday March 03, 2023 @07:00AM (#35008400)
> I rarely hear people talking with excitement about WebStorm or VS code.

VSCode? It's got its fan base and it's quite vocal. Actually, Didn't VSCode collate the majority of the former Atom users, as Atom collated the majority of SublimeText before it?

Re:Use GNU Emacs by slowmovintarget on Friday March 03, 2023 @04:04PM (#35014961)
First, interesting (and proper) user of "collate." To me, until this moment, it meant basically "to sort," but I looked it up to see if I was wrong. It means to "collect and combine in order." Neat.

I'm an editor vagabond. I went from Ed 4 to Notepad++ to JEdit to UltraEdit to TextPad to Sublime Text to Atom to VS Code.

Of all of these, Sublime Text is the one I still use every day. TextPad on Windows was the other one that was sticky, though Sublime has replaced it. I kept dabbling with Emacs, kept knocking into vi flavors for "just getting it done."

Perhaps it's time to find a home with Emacs and try to use it for everything. But there's always that next one... maybe Xi, maybe NightCode (nope), maybe Edita...

Emacs and vi will still be there, and I'll probably pay for the next three versions of Sublime Text like have the first three.

Re:Use GNU Emacs by ocimbote on Sunday March 05, 2023 @09:54AM (#35030079)
Thanks for noticing. I had to double check as well :p

I'm also on the lookout for my next "forever home" but I set the bar to only try a modal editor that acrually differs from Vim's modes. So, modal without vim-mode.

Re:Use GNU Emacs by mark_l_watson on Friday March 03, 2023 @07:11AM (#35008490)
Just wanted to mention: the Community Edition of IntelliJ is open source. I used to routinely build it from source (but haven’t tried that in a few years). You might have fun making the extensions you want for more extension languages.

I have been using Emacs for 40 years and still love it, but I do find myself using VSCode more often now for Python work. Emacs has very good CoPilot support, but it sometimes lags a bit behind the support in VSCode. I also have started using a proprietary MarkDown editor instead of Emacs or VSCode.

For me a big draw of Emacs is that I have it easily configured for almost all programming languages I use.

Re:Use GNU Emacs by II2II on Friday March 03, 2023 @08:22AM (#35009218)
> It requires investment, in many cases it is worse than competition and requires more energy to just be on par.

One way to think of it is any tool requires some investment. The big difference with Emacs is it has always been around and always will be around, so you are continuously building upon that investment. Contrast that more modern tools. The learning curve is nowhere near as severe to start out, yet one is far less likely to learn how to use it so the same depth in the long term since it is far less likely to exist for the long term.

Re:Use GNU Emacs by teddyh on Friday March 03, 2023 @08:52AM (#35009635)
Please name any other comparable IDE or editor which is also free software (and also preferrably developed by more than a single company).
Re:Use GNU Emacs by ubermonkey on Friday March 03, 2023 @09:52AM (#35010325)
Most people don't care about that as a qualification.
Re:Use GNU Emacs by teddyh on Friday March 03, 2023 @10:11AM (#35010598)
I would assume that many people here do some work on free software. If people producing free software are not able to comfortably develop free software using only free software, then we have lost something important.
Re:Use GNU Emacs by kilgnad on Friday March 03, 2023 @10:51AM (#35011181)
We likely have lost something. It's like global warming. Everybody talks about it as if they care, but if you still drive a car, do you actually care? No. Not enough to stop contributing to global warming.

It's the same thing with free software. I care, but not enough to stop me from using the easiest thing out there to use regardless of whether or not it's free.

Re:Use GNU Emacs by teddyh on Friday March 03, 2023 @01:41PM (#35013428)
Let’s not exaggerate; some people do care enough to have it affect their behavior. If there’s something you “care” about, but this does not affect any decisions you make in any way, do you actually care about it?
Re:Use GNU Emacs by kilgnad on Friday March 03, 2023 @02:51PM (#35014187)
The answer is: No, I don't actually care. I wouldn't say it's complete apathy though, I can still recognize that it's not exactly the most moral decision.

I agree, let's not exaggerate, if the overwhelming majority in aggregate acts in the exact same way, the aggregate action overwhelms the minority action.

In this case, most people don't care and share my viewpoint on the situation.

Re:Use GNU Emacs by ubermonkey on Sunday March 05, 2023 @11:14AM (#35030918)
That's a foolish binary.

You can care about something, but have other contributing factors to your decision that override that care.

I care about the environment, but I still drive an internal-combustion vehicle, because NOT doing so isn't really an option where I live.

I care about issues of poverty, but enough to minimize all our expenses in order to give away more funds, because we want to be able to enjoy our lives.

Re:Use GNU Emacs by teddyh on Tuesday March 07, 2023 @09:52AM (#35055961)
It’s not meant to be taken as an absolute binary; it’s a question one should ask oneself. If you think you “care” about something, but never allow it to influence any decisions, you should really question yourself whether you actually care or not. As you say, the answer might very well be “Yes, I care, but there aren’t actually any options to express my precise level of care. The choice I make might be the same as if I didn’t care, but that’s because choices are limited, and my decision is ‘rounded up’ to the same choice I would have made if I did not care.” It is valuable to examine one’s own choices like this, because it causes you to notice when an alternative which is acceptable turns up.
Re:Use GNU Emacs by ubermonkey on Sunday March 05, 2023 @11:10AM (#35030872)
Well, feel free to try and bridge that gap.

Emacs is likely to continue to exist for a long time, but the gap between it and modern IDEs is also likely to widen over that same timeline.

Re:Use GNU Emacs by tronx on Friday March 03, 2023 @09:29AM (#35010037)
I have only used IDEs and tried getting into emacs because I heard so many times how great it is, but it was the learning curve paired with the lack of good tutorials for beginners that made me eventually give up.
Re:Use GNU Emacs by billfruit on Friday March 03, 2023 @09:53AM (#35010336)
Emacs tutorial is quite good, IMO. It is interactive and built into Emacs itself.
Re:Use GNU Emacs by lkjdsklf on Friday March 03, 2023 @12:00PM (#35012172)
If you're actually interested in learning, there's a pretty good series "Emacs From Scratch" on the systemcrafters youtube channel.

He starts with a completely empty emacs config and builds it up to a full blown IDE explaining how everything works along the way.

Some of the things he does, there are better alternatives these days but most is still relevant and it'll teach a lot about how emacs works.

That said, emacs is more of a hobby than an IDE. If you just want to get work done, using something like vscode or intellij or whatever else makes way more sense. If you find it fun to tinker around and customize your editor you can make emacs incredible, but it's something you have to want to spend time on.

Re:Use GNU Emacs by tronx on Friday March 03, 2023 @07:21PM (#35016805)
Thanks for the tip!
Re:Use GNU Emacs by cyrialize on Friday March 03, 2023 @09:30AM (#35010054)
I share the same sentiment. It's taken me quite a while to be comfortable in Emacs, and honestly, I feel like I still need to spend more time to up my game in it.

My main gripe is dealing with several major modes at once, I still find that Emacs isn't the best at that.

I will say for anyone curious about Emacs, do try it out in your spare time. It's so much fun to customize and play around with.

Re:Use GNU Emacs by taeric on Friday March 03, 2023 @10:39AM (#35011002)
I know you are doing a more vague accusation, but I don't appreciate being cast as bullying people into using Emacs. :) (Smile is intentional, not trying to be aggressive here.)

There is an odd aggression against Emacs that typically does lead to people having to go to extra effort to justify why they use it. And I can agree many of the justifications can feel like a stretch. They aren't false, though. Nor are we working on some archaic thing that only we can appreciate.

I'm also always amazed at how we think Emacs is somehow more archaic than anything else in a computer. Getting my kids into computers. It is Scratch to start, than probably crippled Python environments. That they are almost certainly going to break and wonder what happened. We even got started on some Arduino stuff, and their IDE is not bad, necessarily, but don't pretend like it is easy and quick in ways that Emacs isn't. Want to make a small game? Good luck, as there are no other environments for that anymore. (Used to, the computer booted into a BASIC shell in ages past.)

And this is avoiding the environments for content creation. Blender is amazing. And amazingly hard to use/explain. Fusion? TinkerCAD is at least easy to explain. But again, very easy to screw up in. (And I'm growing rather tired of all of the times I come back to a computer with hundreds of tabs in a browser all convinced they need to save data.)

All of that is to say, computers are tough. Period. I hope people can find a comfort zone for creation. But I am not convinced there is a single answer there. And more than happy to share what has worked for me.

Re:Use GNU Emacs by steponlego on Saturday March 04, 2023 @04:33PM (#35024707)
Emacs has the best tutorial. It’s built in. And once you’ve completed it you are ready to use the whole system. Then you read the elisp intro and bam, you’re extending your editor. You can easily tackle both documents in a day.

No other editor comes with such a good tutorial.

Re:Use GNU Emacs by crabbone on Friday March 03, 2023 @10:48AM (#35011137)
At one point, my employer forced me to use Intellij products... I have no idea why anyone using Emacs would want that. It's awful all around. I also cannot imagine why would anyone come to conclusion that Emacs is like paper books. The UX is definitely better than in Intellij. And, feature discoverability is... well, it's for people with < 1 year experience. Who cares about their opinion? They know nothing, and are expected to not know anything.

> I rarely hear people talking with excitement about WebStorm or VS code.

You seem to be living in a very remote area where no programmers can reach you, beside those using Emacs. Yeah, people using VSCode talk about it a lot, given an opportunity.

In an average programming company, programmers might talk more about Emacs because for the overwhelming majority it's a mystery. It's the same how others might be driven to discuss UFOs or weird cultural kinks found in distant lands. But, really, it's not an indication of anything.

Re:Use GNU Emacs by _a_a_a_ on Friday March 03, 2023 @02:46PM (#35014136)
Disagree. It's definitely falling behind in certain areas such as LSP support but overall it is just so much better than anything else I've tried in terms of moving around, macros, regular expressions that do what they're supposed to do, stability, stability of user interface (I could open an Emacs from 20 years ago and start using it immediately), quick and thoughtful response to bug reports…

It just works for me. It really, really does need some improvements in places but in other areas everything else just lags behind.

Re:Use GNU Emacs by SeqDesign on Monday March 06, 2023 @04:33PM (#35047945)
I disagree 100%.

Emacs is the best. I do not hesitate to recommend it. Will it work for you? I don't know. Might it be exactly what you were looking for? Yep! That's how it was for me: it gave me everything I ever wanted and more. Period.