News for hackers. Stuff that matters.
Re:EmacsConf 2024 Notes by lysace on Saturday December 28, 2024 @11:07AM (#42531965)
I wonder how many users Emacs has lost to VS Code over the past few years. I'm one of them.

Feels sad. And also potentially shortsighted.

Re:EmacsConf 2024 Notes by devjab on Saturday December 28, 2024 @12:02PM (#42532400)
I’m genuinely wondering why you would chose VSC over emacs. Granted, I’m on doom emacs and it’s mainly because I’m too lazy to config Neovim, so it’s not like I’m really a purist. I even use VSC occasionally when I’m in a context on my lovely windows work computers where I don’t have access to WSL, but it’s such a horrible experience. It’s slow, the plugins are ass and the LSPs are horrible for basically anything which isn’t Typescript.

I don’t even think VSC is “that” bad despite what I made it sound like, but it’s probably as temporary as any other modern IDE. In a few years “every” VSC user will probably have moved on to Zed. Meanwhile your emacs (or vim) dot files will setup the only IDE you’ve ever used on any machine.

Re:EmacsConf 2024 Notes by lysace on Saturday December 28, 2024 @12:16PM (#42532523)
I started using GNU Emacs in the mid 1990s. I like the ergonomics of the interface. It's muscle memory since long. I tolerated the LISP.

In VS Code I use "Awesome Emacs Keymap" extension by Yuichiro Tachibana (Tsuchiya):

https://marketplace.visualstudio.com/items?itemName=tuttieee...

What won me over? GH Copilot + the overall packaging. It just works. Good UX.

Re:EmacsConf 2024 Notes by BeetleB on Saturday December 28, 2024 @01:05PM (#42532966)
Copilot is available on Emacs, but yes, a lot less polished.
Re:EmacsConf 2024 Notes by arrsingh on Saturday December 28, 2024 @03:21PM (#42534277)
I've been using emacs for 30 years and have tried VS code several times but the muscle memory on Emacs has prevented me for switching. I've gotten LSP on emacs working well enough but the performance just isn't there. So today thanks to your suggestion I tried it once more with the Awesome Emacs Keymap extension and right away I ran into not having dired mode to switch files.

A quick google search got me vscode-dired (incase anyone else runs into it):

https://marketplace.visualstudio.com/items?itemName=rrudi.vs...

Quick Tip: I set C-x C-d, C-x C-b and C-xb all to call extension.dired.open per this stackoverflow: https://stackoverflow.com/questions/62235792/how-to-add-mult...

that seems to satisfy the muscle memory... and it seems at first glance that this time the switch to vscode might actually stick. (thanks for the link to the emacs keymap extension)

We'll see how it goes!

edit: After even 5 minutes of building some rust code I ran into too many issues! I love the syntax highlighting in VS Code and everything else but I have way too much custom elisp to build and debug Rust/Go/C++ and recreating all that in VSCode or learning the new bindings is a bridge too far! I would pay real money to someone who would build an amazing performant experience for emacs. Sigh.

Re:EmacsConf 2024 Notes by throwup238 on Saturday December 28, 2024 @03:34PM (#42534402)
Depending on the language you use VScode might not be any more performant because it probably uses the same LSP on top of electron instead of elisp. I write Rust/C++ on a sizable project and since everyone depends on rust-analyzer* all IDEs are just unbearably slow and mostly useless in language integration beyond basic refactors and click to go to definition.

* except RustRover but that comes with its own set of issues

Re:EmacsConf 2024 Notes by arrsingh on Saturday December 28, 2024 @03:44PM (#42534523)
yes its rust. Looks like you're right. Well is back to good old emacs for me!
Re:EmacsConf 2024 Notes by throwup238 on Saturday December 28, 2024 @03:54PM (#42534632)
> I have way too much custom elisp to build and debug Rust/Go/C++

What kind of emacs scripts do you write to help debug Rust?

Re:EmacsConf 2024 Notes by arrsingh on Saturday December 28, 2024 @06:50PM (#42535989)
Nothing special or too sophisticated. On the one hand I use Just (a command runner) to standardize specific build and test commands that call cargo with various flags. Here is a simple example from one of my repos: https://github.com/deepmesa/deepmesa-rs/blob/mainline/justfi...

Then I have a bunch of elisp code that calls just and / or generates boilerplate code right in the buffer - M-x new-macro or M-x run-test (asks for a test to run) etc. I keep writing more elisp as I go along and add specific key bindings to specific things and now its too hard to move away from it all.

Re:EmacsConf 2024 Notes by iLemming on Sunday December 29, 2024 @04:52AM (#42538927)
> LSP on emacs working well enough but the performance just isn't there.

Have you tried https://github.com/blahgeek/emacs-lsp-booster? Also, build Emacs --with-native-comp flag

Re:EmacsConf 2024 Notes by iLemming on Sunday December 29, 2024 @02:43AM (#42538375)
> It just works.

That "it just works" thing gets me all the time. I just don't get it. Some things surely do work nicely out of the box in a proprietary specialized tool, like for example JS/TS-related things indeed are very nice in VSCode. Just like Java-related stuff works great in IntelliJ.

But programming is far more than writing code. I can argue that writing in plain English for a programmer is perhaps far more important than writing in a PL.

And for any kind of plain-text manipulation, Emacs absolutely has no match today. Of that, I'm certain, because I have watched and followed many VSCode/IntelliJ power users and long-time users, and I do occasionally use those tools personally as well. There are so many practical example use cases where Emacs just kicks things out of the ballpark - from sending requests to LLMs in the midst of taking notes, to controlling video playback, and annotating PDFs - typing those annotations while browsing the document.

And then that "it just works" fallacy. No cookie-cutter solution ever can make a true coder happy. How can one not get annoyed by a bunch of minor, seemingly not-big-of-a-deal issues over a long period of time? Like having to use the mouse for certain operations without a good alternative, or fixed keybindings that can't be fully customized, or the search bar not remembering your last search position and parameters? It's like buying a car with seats at a fixed angle and not even being able to change that.

I mean, sure, Emacs may seem dauntingly complex at first glance, but the initial investment in learning this infinitely hackable tool pales in comparison to the countless hours lost wrestling with the unchangeable constraints of less adaptable alternatives.

> I tolerated the LISP aspect.

I don't know the extent of what you meant by that, but I guess you've "acquired a vehicle," using it to commute and go grocery shopping, and never even realized that you had an actual spaceship all this time. Emacs is most importantly "a Lisp Machine" with a built-in text editor and not the other way around. It is exactly Lisp that makes it so fascinatingly hackable. One chooses Emacs, Lem, Light Table, etc., specifically because of Lisp, not to "tolerate" or "suffer" through dealing with it.

Re:EmacsConf 2024 Notes by sgillen on Saturday December 28, 2024 @12:39PM (#42532717)
I switched because all my coworkers use VSC, just easier to have extensions like linters and goto definitions synced, we can help each other with any issues in the workflow.

Still use emacs + org mode for notes though, and spent quite a lot of time getting VSC to act like emacs in terms of shortcuts etc.

Re:EmacsConf 2024 Notes by BeetleB on Saturday December 28, 2024 @01:06PM (#42532981)
> Still use emacs + org mode for notes though,

Sounds like you didn't switch, but rather added another tool in your toolbox.

The constant comparisons to VSCode frustrate me because they're often presented as "either-or".

I use Emacs. And I use VSCode.

Re:EmacsConf 2024 Notes by lucasoshiro on Saturday December 28, 2024 @04:46PM (#42535048)
> The constant comparisons to VSCode frustrate me because they're often presented as "either-or"

I can say the same for Vim... My primary editor is Emacs, but I use vim if I want to edit something quickly in the terminal (config files, git commits, etc). If the codebase is bigger then I use the JetBrains IDEs...

I installed VSCode but I just don't like it. Until today I didn't find a use case for it being added to toolbelt. But I must admit that it almost won the editor wars, people just suppose that you use it.

Re:EmacsConf 2024 Notes by tcoff91 on Sunday December 29, 2024 @01:13AM (#42538021)
Do you use EViL mode?
Re:EmacsConf 2024 Notes by lucasoshiro on Sunday December 29, 2024 @03:01PM (#42542551)
No. I have used exclusively Vim for some time before going to Emacs, and I switched because the package management in Emacs was better and because the plugins were more polished. Then I wanted to do "the official way", using the default Emacs keybindings, even though I find the Vim keybindings better.

I switched in late 2015, things were different back then. If it was today I think I would probably jump to Doom Emacs or Neovim.

Re:EmacsConf 2024 Notes by subjectsigma on Saturday December 28, 2024 @12:52PM (#42532848)
> It’s slow

What?

> the plugins are ass > the LSPs are horrible for basically anything which isn’t Typescript

What??

I need to edit projects on a remote machine nearly every day. (I do cross-platform Python dev so I need to run and test code on Windows and Linux VMs while working on a Mac.) Compare VSC’s Remote Edit plugin to TRAMP and let me know what you think. For me it’s not even a contest. TRAMP just simply doesn’t work in a majority of use cases and I’ve only had a few small hiccups with the VSC Remote Edit. Getting LSP plugins working over TRAMP on another machine is hell. I just use Emacs for org-mode and Magit now.

Re:EmacsConf 2024 Notes by d0mine on Saturday December 28, 2024 @02:54PM (#42533997)
Most of my work projects require remote machines. But I edit local files most of the time (in Emacs). Unit tests may be run locally sometimes (docker or even on the localhost). Other tasks/tests run remotely and setup may be rather involved (VSC would be of little help here) but it is easy to use/extend (Python glues together some ssh commands and cloud APIs). The code may be synced (non CI case) using a customizable wrapper around entr & rsync (more efficient, more control, more reliable than VSC plugin)— it helps with the fast feedback loop.
Re:EmacsConf 2024 Notes by IceDane on Saturday December 28, 2024 @01:58PM (#42533472)
Anyone comparing tramp to Vscs remote editing is delusional, and I say this as an emacs user.
Re:EmacsConf 2024 Notes by otabdeveloper4 on Saturday December 28, 2024 @04:31PM (#42534936)
VSCode remote editing is a broken piece of shit.

[Yeah, yeah, I know, I shouldn't be running NixOS and I should use a Microsoft (c) approved OS instead like all the cool kids. Wake me up in 100 years when Microsoft ceases to exist.]

Re:EmacsConf 2024 Notes by ParetoOptimal on Saturday December 28, 2024 @06:18PM (#42535735)
For fully local things like docker containers or across lan, its comparable if you use SSHControlMaster.

Also, the emacs approach uses very little resources. This matters if your LSP server takes 80% of your RAM. Vscode takes 20%, emacs/tramp doesn't.

Re:EmacsConf 2024 Notes by subjectsigma on Sunday December 29, 2024 @12:39AM (#42537837)
I can’t tell from this comment if this means you like VSC remote editing or dislike it
Re:EmacsConf 2024 Notes by zelphirkalt on Monday December 30, 2024 @04:15PM (#42553626)
This is not a fair comparison though, since you are relying on having some probable non-free software running on the server, while Emacs is able to give you remote editing and keeps your server clean.

You would have to compare what VSCode does to running Emacs server side and connecting with Emacs client to the server. Then it would be a fair comparison.

Re:EmacsConf 2024 Notes by shepherdjerred on Saturday December 28, 2024 @12:58PM (#42532908)
At the very least it's useful to use the tools that your coworkers are using. If you're helping a new grad out you do _not_ want to recommend that they use emacs over VS Code. And, when they have questions about VS Code, it's useful if you can answer them.

Maybe you don't have to use VS Code full-time, but having a knowledge of it is useful.

Personally, I started using VS Code because support for frontend is much better there than in JetBrains IDEs and it has great remote editing capabilities. I would prefer to use JetBrains IDEs (I did for many years, and I still go back for Java), but VS Code is just better. I would never use Vim for editing full-time, though I do use lunarvim when I need to quickly edit a remote file.

Re:EmacsConf 2024 Notes by zelphirkalt on Monday December 30, 2024 @04:10PM (#42553568)
But I am not the Microsoft support guy, or maintainer of VSCode. It happened in the past, that even though I don't use VSCode, I knew how to help someone, but I would never go as far as endorsing it, especially not to a new grad. If anything in the direction, it would be VSCodium, which the no-carers don't even know exists. Other than that, I would tell them they have to make their own choice and if they happen to choose a tool I know, I can help them out, perhaps. If they want to learn Emacs and ask me questions about how I do something, I would be glad to help them learn this freedom respecting tool, over something like VSCode.
Re:EmacsConf 2024 Notes by golly_ned on Saturday December 28, 2024 @02:04PM (#42533540)
I use doom too. It’s slow vs VSC for me and doesn’t have a lot of code intelligence actions easily accessible. The LSPs are great for languages I code in, Go and Python.
Re:EmacsConf 2024 Notes by mardifoufs on Saturday December 28, 2024 @03:50PM (#42534597)
What do you mean by slow? Like, slow at doing what? I can't think of a specific feature that is slower on vscode. Emacs is actually rather slow...
Re:EmacsConf 2024 Notes by cerved on Saturday December 28, 2024 @05:43PM (#42535494)
Starting
Re:EmacsConf 2024 Notes by ParetoOptimal on Saturday December 28, 2024 @06:15PM (#42535712)
Remote access because vscode uses a daemon but emacs uses scp for tramp.
Re:EmacsConf 2024 Notes by mardifoufs on Saturday December 28, 2024 @07:20PM (#42536177)
Remote access has been way faster on vscode for me. I'm not sure what the daemon has to do with speed here, if anything it's one of the reason why remote SSH on vscode is so good.
Re:EmacsConf 2024 Notes by zelphirkalt on Monday December 30, 2024 @04:04PM (#42553502)
I think the point is comparing 2 different things. VSCode with a helper daemon running on the server, and Emacs not configured to run as a daemon on the server side, accessing the server via SSH and scp.

I am not sure how the speed of both compares, if one properly sets up Emacs on the server as well, to make it a fair comparison.

Re:EmacsConf 2024 Notes by mdaniel on Saturday December 28, 2024 @09:03PM (#42536774)
Merely for consideration, ControlMaster gets one out of the business of establishing a fresh ssh session per ssh/scp operation: https://man.openbsd.org/ssh_config#ControlMaster (and its friends https://man.openbsd.org/ssh_config#ControlPersist & https://man.openbsd.org/ssh_config#ControlPath )
Re:EmacsConf 2024 Notes by iLemming on Sunday December 29, 2024 @03:44AM (#42538604)
> Emacs is actually rather slow.

It depends on so many different things. Aside from platform specifics (sure, it can be painfully slow on Windows), Emacs might feel slow for various reasons, but it doesn't have to be. Built-in Profiling tools are godsend and if used properly Emacs can be quite impressively fast. My Emacs starts quickly (in less than a second), and it is very pleasantly snappy.

Re:EmacsConf 2024 Notes by parasti on Saturday December 28, 2024 @05:05PM (#42535209)
I switched from Emacs to VS Code some years ago after being a hardcore Emacs user for many years. For me it was customization fatigue. Just an endless accumulation of Emacs Lisp one liners and functions that I have no use for outside of Emacs. In comparison, I don't even know where my VS Code dotfiles are. I don't need it to be set up with my customizations, I just use it out of the box and add extensions when I need to.
Re:EmacsConf 2024 Notes by f1shy on Saturday December 28, 2024 @11:27AM (#42532113)
Is a matter of time until it will be enshitified, and they come back…
Re:EmacsConf 2024 Notes by lysace on Saturday December 28, 2024 @11:45AM (#42532241)
I guess there are two aspects to the the typical process of MSFT enshittification:

a) lack of regular revenue leading to bizarre product management choices (probably not a case, because of GH Copilot subs)

b) initial really talented team members gradually being replaced by bozos because of entropy and/or management (work on something new/important)

I suppose b) is the most obvious risk.

Re:EmacsConf 2024 Notes by devjab on Saturday December 28, 2024 @12:19PM (#42532552)
I think option A is actually part of their problem. Not because they lack revenue but because they are successful with it. You mention Copilot but VSC integrates with a lot of Microsoft owned cloud services as the “default” or “first class citizen”. I’m not sure why people would use the Azure extensions over the AZ cli, but they are obviously rather popular. It’s a lot like how Google search became the default search in a lot of products, except here it’s GitHub, Azure and so on.

On top of that they get some wild telemetry. Your privacy data is obviously safe, but the metadata they collect goes right down to your project structure. So Microsoft knows what sort of projects and in what sort of languages everyone uses. They know what you’re putting into your Azure cloud and they know if you’re not using Azure. I imagine these things are rather valuable to the biggest tech company in the world.

Obviously they’re going to focus their development on upselling Microsoft products to you. Which will only get worse as they succeed more and more. Because why wouldn’t an enterprise company do that?

Re:EmacsConf 2024 Notes by iLemming on Sunday December 29, 2024 @04:48AM (#42538908)
Yup. The prospect of having to someday switch to VSCode unnerves me. It's not because it's technologically inferior to Emacs or because of my habits, muscle memory, dogmas, or childhood traumas. It's because of Microsoft. I just can't blindly trust the good intentions of a mega-corporation. A behemoth that expends huge amount of resources constructing a modern code editor packed with numerous features that they then offer at no cost. When I used IntelliJ and paid for it, I understood precisely what I was buying, I understood their revenue model. Then I switched to Emacs - which is only theoretically free - as it cost a substantial amount of time, dedication, and energy. I still understand who benefits from my choice - the community, me, and the wider industry too. Every time I activate a VSCode instance, I'm unsure of the exact cost that I'm incurring. It already felt like a hostage situation when they took over GitHub. If everyone is now must become a VSCode user, I don't even understand how people don't realize how dystopian that is.
Re:EmacsConf 2024 Notes by devjab on Sunday December 29, 2024 @06:05AM (#42539225)
I don’t see why you would ever have to switch to a certain IDE, but I can see from some of the other comments a lot of people seem to be unfortunate enough not to have the choice. One of the reasons I like emacs (again in in doom so it could be Neovim) is that it’s basically an IDE I can use forever and easily get working on any computer by pulling my dot files from my git repo. I say easily but it’s obviously not easy on windows considering you sort of need WSL, C server and to install some LSP support.

I understand why people like VSC, but at the same time I’ve seen people go from other IDEs to VSC and now many are going yo Zed. Mean while I can just trundle along in the same IDE. Some of the emacs purists haven’t had to learn a new IDE for decades and likely never will.

To each their own of course.

Re:EmacsConf 2024 Notes by iLemming on Sunday December 29, 2024 @11:08AM (#42540771)
> I don’t see why you would ever have to switch to a certain IDE

Alarmingly, basic proficiency in VSCode becoming a must in many software developing teams and I don't like that. People really seem to have zero concerns about Microsoft aggressively pushing their proprietary agenda, neatly wrapped in "open-source" packaging.

Re:EmacsConf 2024 Notes by Lyngbakr on Saturday December 28, 2024 @12:32PM (#42532638)
I was an Emacs user for years, then discovered Helix. I tried it on a whim and it turns out that I really enjoyed a modal editor that requires minimal config. I'm not sure if it's due to my an age, but I no longer want to constantly tweak my setup and just want a solid out of the box experience.
Re:EmacsConf 2024 Notes by seanw444 on Saturday December 28, 2024 @01:17PM (#42533084)
Yeah if I'm on a machine that I isn't my primary system, and I don't want to spend forever configuring my whole setup, I use Helix or (Neo)vim.
Re:EmacsConf 2024 Notes by BeetleB on Saturday December 28, 2024 @01:13PM (#42533047)
> I wonder how many users Emacs has lost to VS Code over the past few years. I'm one of them.

I think Emacs users care more about the total population than one particular outmigration.

I don't have actual data, but if I compare to the amount of activity (blog posts, tweets/toots, packages, etc), then (heavy) Emacs usage seems to be monotonically increasing.

Almost everyone I know who switched to VSCode was using Emacs primarily for work, and mostly limited to SW development. That category of users may be large in absolute numbers, but most of the Emacs ecosystem is not driven by that category (i.e. even if that category shrinks to a tenth of its size, it won't have any impact on Emacs development).

Just take a look at the talks in the conference. The vast majority are orthogonal to SW development/programming.

Re:EmacsConf 2024 Notes by lawn on Saturday December 28, 2024 @02:45PM (#42533900)
I think your analysis applies to Neovim too.
Re:EmacsConf 2024 Notes by lysace on Saturday December 28, 2024 @03:01PM (#42534068)
Non-programmer usage of neovim outweighs programmer usage?
Re:EmacsConf 2024 Notes by opan on Sunday December 29, 2024 @07:32AM (#42539532)
I consider myself a non-programmer and use nvim daily on my PC for config editing, note-taking, anime playlist management, writing emails (inside aerc). Next time I try programming, I'll also use it for that I'm sure.
Re:EmacsConf 2024 Notes by skirge on Monday December 30, 2024 @01:31AM (#42547042)
vimwiki!
Re:EmacsConf 2024 Notes by lysace on Saturday December 28, 2024 @04:22PM (#42534865)
Are you saying that most emacs users aren't in "SW development/programming"? Of course not.

Would someone not very carefully reading your comment think otherwise? Yes, probably.

Re:EmacsConf 2024 Notes by yoyohello13 on Saturday December 28, 2024 @06:08PM (#42535675)
I’m continually surprised how many non-programmers or occasional programmers use emacs. Writers seem to love it.
Re:EmacsConf 2024 Notes by iLemming on Sunday December 29, 2024 @03:32AM (#42538551)
> Writers seem to love it.

Of course, how can you not love it? All the tools you need for writing are at your fingertips. You can have a thesaurus, spellchecking, translation and search, dictionaries, etymology lookup, word counter, Flesch-Kincaid reading ease tester, ChatGPT, Anthropic and other models, dictation, formatter, converter, exporter and so much more. Why would anyone ever exposed to that power willingly part with it?

Re:EmacsConf 2024 Notes by kragen on Sunday December 29, 2024 @07:12AM (#42539461)
Which packages do you recommend for each of these things? I don't have most of them in my Emacs.
Re:EmacsConf 2024 Notes by iLemming on Sunday December 29, 2024 @10:58AM (#42540676)
You can simply 'M-x list-packages' and search for things.

- Thesaurus - there are a few different packages, powerthesaurus, le-thesaurus, etc. I use mw-thesaurus, at this point mainly out of habit, it's the first Emacs package I ever made and it served me so well, I never had reasons to look for alternatives.

- Spellchecking - I suppose flyspell still holds the majority, I prefer jinx.el, it completely replaced flyspell for me

- translation - also multiple choices, from translate-mode, org-translate, ob-translate, lingva, immersive-translate, etc. I use google-translate - for no particular good reason, it's just an old habit.

- search - consult-omni, it takes some initial tweaking, but then you can simultaneously search on Google, Wikipedia, YouTube, your browser history, etc., while typing the query once.

- dictionaries - sdcv

- etymology - define-it, wiktionary-bro

- word counter - is built-in; reading ease testing - writegood.el

- LLMs - multiple choices, gptel and chatgpt-shell are the most popular.

Re:EmacsConf 2024 Notes by kragen on Sunday December 29, 2024 @03:16PM (#42542671)
Thanks!
Re:EmacsConf 2024 Notes by zelphirkalt on Monday December 30, 2024 @07:57AM (#42548892)
I suspect, that most of those users did not create such an elaborate setup, that has all those things. But perhaps, if there is a ready made config for all of it somewhere, maybe they are using that?
Re:EmacsConf 2024 Notes by iLemming on Monday December 30, 2024 @09:53PM (#42555931)
You don't really need an elaborate setup; it's sufficient to know how to install packages and explore some possibilities. It usually takes someone experienced to convince them that Emacs is truly the best choice for dealing with plain text. I'm not a musician, but I suppose if I was an aspiring and very talented guitar player and someone would convince me that Gibson Les Paul or Fender Statocaster is just the hands-down the best choice for the job - nothing would ever stop me from finding a way to have and use one, right?

And to leave you with a practical recommendation, not just philosophical rambling, here's https://github.com/pprevos/emacs-writing-studio. Note that I haven't used it myself. I don't know anything about it, beyond its existence.

Re:EmacsConf 2024 Notes by yoyohello13 on Monday December 30, 2024 @11:42AM (#42550896)
I guess I should clarify. I'm not surprised how much writers like it. I'm more surprised by how many non-programmers are enthusiastic about diving into elisp.
Re:EmacsConf 2024 Notes by iLemming on Monday December 30, 2024 @09:40PM (#42555859)
Right. I had the privilege and pleasure of watching and guiding people with and without a previous background in programming to learn a Lisp dialect. Some beginners, for various reasons, would pick Clojure or Emacs, or in one case, even both at the same time. Interestingly, they had no problem approaching new concepts. Meanwhile, programmers with previous experience in other programming languages sometimes struggled, became confused, and irritated. I think this makes sense - when you don't know any programming, you approach it without prejudice, there is nothing "weird" about things; you don't get confused about Lisp-1 vs. Lisp-2, dynamic and lexical scope, naming, types, etc.; you have no reasons to dislike or hate things - when something works you get excited. And it's not too difficult to find some joy with Emacs these days - you only need to find a starter kit like Doom, open a scratch buffer write an expression and eval it. Once someone is guided through the initial steps, they'd write their first Lisp function or an expression, get to see it working - of course they get very enthusiastic.
Re:EmacsConf 2024 Notes by BeetleB on Saturday December 28, 2024 @08:22PM (#42536530)
I'm saying that the bulk of the community that keeps it alive and growing are either not SW professionals, or are but their use of Emacs goes well beyond SW use. As such, even if they "switch" to a tool like VSCode, they'll still primarily use Emacs for most things (email, document authoring, TODOs, etc). And Emacs as a SW will continue to grow as a result.

A significant portion of the Emacs "influencers" are not SW developers (think Protesilaos). Quite a few very popular Emacs packages are made by non-SW folks.

Which, as I pointed out, is why most of the talks are not related to SW development. Because that's not why the power users use Emacs.

In my (large) company, the bulk of Emacs users I've met use it for SW development, and little else. As such, while they may be really good users for the SW development they do, they tend to be fairly ignorant about the rest of Emacs (not heard of org mode or magit, some even think XEmacs is the improved Emacs, etc). Globally, such folks may well be in the majority, and if the bulk of them stop using Emacs, no one would even notice.

In fact, as someone who's been using Emacs since before VSCode existed, I simply did not notice the (real) exodus to VSCode. If you follow only the Emacs ecosystem (Emacs reddit, blogs, social media), the online engagement has exploded in the last 15 years. You would never guess that Emacs may have lost users overall (if it did).

Re:EmacsConf 2024 Notes by SoftTalker on Sunday December 29, 2024 @01:47AM (#42538158)
Why would emacs users care what editor anyone else uses? Emacs seems like the sort of thing you use and develop for if it solves a problem for you. It's not a business; it doesn't need to win popularity contests.
Re:EmacsConf 2024 Notes by rtpg on Sunday December 29, 2024 @02:18AM (#42538293)
I think it's interesting to think about why people choose things. You can then decide "we want these qualities as well", or "we don't want those", or "we want them but haven't figured out how to get there without paying too high of a cost we want in other things".

Not a goal in itself to capture everyone, of course. But it's a data point!

Re:EmacsConf 2024 Notes by iLemming on Sunday December 29, 2024 @03:25AM (#42538524)
"Data point" is simply this - Emacs and Vim have seen way too many popular editors and IDEs over the years and VSCode is just another thing in a long list of "contenders" - Brief, Wordstar, Borland Sprint/Turbo Pascal/varios 'Builders', QEdit, TextPad, Norton, Delphi, Adobe shit, Macromedia stuff, Microsoft crap, Eclipse, Netbeans, etc.

Emacs proceeds strategically, not tactically. Even though it outlived so many different editors it was only a single decade, a point in history when it was considered kinda, sorta mainstream, the rest of its lifetime it wasn't.

Emacs is just like Lisp itself - it never dies, and never gets to be hugely popular. Anyone wishing either speedy death or widespread popularity for Lisp (and Emacs) will likely remain disappointed. Those who value Lisp and Emacs will continue using them, even decades from now. Those who never learn to appreciate either - will keep ignoring them.

Re:EmacsConf 2024 Notes by rtpg on Sunday December 29, 2024 @05:31AM (#42539075)
I mean Lisp "never dies", but there have been plenty of Lisp flavors that have come and gone. We don't write Lisp, we write some flavor (each with vastly different properties and values).

There's nothing wrong with looking at the ecosystem and saying "huh, this is a pretty good idea". Emacs (the community as a whole) didn't ignore the LSP, and thanks to that it gets first-class support for tools that otherwise would have required someone to show up and "do the work" to get it to happen.

I do think we're in agreement about "strategically, not tactically". Like Emacs _is_ doing its own thing. It's just that sometimes you can see good ideas from other places.

Re:EmacsConf 2024 Notes by skydhash on Sunday December 29, 2024 @12:26PM (#42541322)
The thing is Emacs, just like Lisp, can incorporate all those neat ideas without drastically transforming itself. I don’t know any strong features other editors have that users can’t replicate unless powered by closed source code. It won’t be as polished, but that mostly because users have different workflow.
Re:EmacsConf 2024 Notes by iLemming on Sunday December 29, 2024 @06:21PM (#42544492)
Yup, Lisp is extremely malleable and egalitarian and unrestricted - that's why there's almost universally at least one dialect of Lisp exists for any non-lispy language and almost every known programming paradigm.

The only rule it insists on is the parentheses, and it's quite ridiculous how people dismiss the entirety of this foundation for incredibly powerful ideas and abstractions, solely for that reason.

Re:EmacsConf 2024 Notes by rtpg on Monday December 30, 2024 @07:28AM (#42548699)
Yeah I don’t think we’re in disagreement here. The community can do a lot with the flexibility granted to it!
Re:EmacsConf 2024 Notes by b1476 on Saturday December 28, 2024 @01:40PM (#42533316)
I’ve tried twice to make the move to VS Code and keep coming back to Emacs. I would often be overwhelmed by my obsession to tweak things (ADHD..) but switching to Doom Emacs and sticking to the standard config helped with that. Learning some Elisp to write custom functions and embracing org-mode has made it near impossible to switch to another editor now.
Re:EmacsConf 2024 Notes by kstrauser on Saturday December 28, 2024 @04:53PM (#42535113)
I was one of them but I went back. It’s just soooo good, and VS Code sits in my uncanny valley of almost-but-not-quite native in a way that bugs me.
Re:EmacsConf 2024 Notes by ParetoOptimal on Saturday December 28, 2024 @06:11PM (#42535689)
I tried vscode, but couldn't picture leaving emacs for it.
Re:EmacsConf 2024 Notes by uludag on Sunday December 29, 2024 @04:40AM (#42538867)
The percentage of the pie is smaller, but the pie has grown so much larger that in absolute numbers, there may not be any decrease.

> And also potentially shortsighted.

Looking at the recent releases, it feels like the vscode enshittification has already begun...

Re:EmacsConf 2024 Notes by nickysielicki on Sunday December 29, 2024 @09:46AM (#42540270)
If vscode could replicate the fuzzy-search -> filter -> collect-to-buffer flows that I'm used to with emacs, I'd be right there with you.

I don't think there's an argument to be made that we're at risk of losing something. So much of editor progress in the past ~years is shared -- treesitter, lsp backends, linters and snippets, etc. It's hard for me to imagine how the editor ecosystem could collapse.

Re:EmacsConf 2024 Notes by magical_spell on Sunday December 29, 2024 @02:33PM (#42542310)
Could you elaborate on those flows? Sounds useful. Is it vanilla Emacs?
Re:EmacsConf 2024 Notes by nickysielicki on Thursday January 02, 2025 @11:57PM (#42582592)
It’s very hard to describe without a visual but the gist of it is that the combination of the following 3 packages make it possible dynamically create queries, refine the results to precisely what you want, and then either perform some action on them or just plop them into a buffer for later use. There’s some notion of a type of the result, which means that the actions and results can be richer than just plaintext. Ie: you can imagine a query over a list of commits, where it displays while you’re searching as only the commit shortrev and subject, but where you can viably define a filter on the commit date or commit author. You can then export that list to a temporary buffer, and pressing enter on any given commit will show you the full diff and the full commit message. Orderless means you’re not crafting regexes directly, but just some combination of words in any order or casing.

Another example: grep in the current project for any function matching foo bar baz in any order followed by an open paren, restrict the search to only header files, export to a buffer, run search in replace in that temporary buffer, review the changes, then commit the modification to disk in every matched file with a single keystroke.

https://github.com/minad/consult/

https://github.com/oantolin/orderless/

https://github.com/oantolin/embark/