Live data from Hacker News

IDEmacs: A Visual Studio Code clone for Emacs

codeberg.org

151–160 of 191 posts

Re: IDEmacs: A Visual Studio Code clone for Emacs

#151
This is an interesting project and the picture can certainly fool you for a moment.

I do wonder who the target audience is. Sure, this is a nice tryout if you are a VSCoder and want to try emacs. This essentially comes down to new users of emacs and trying to replicate it like another editor. Sounds you are skipping the basics of emacs training.

Perhaps I am wrong, here?

At the end of the day - it's just an .emacs file with the appropriate packages. I would recommend learning those packages individually, allowing you the freedom to express emacs that suits you. If there is something you still like with editors or IDEs like VSCode, you can adapt it.

Emacs is a customisation program!

I have been a C# developer for nearly 20 years (and an emacs user for about the same)

I have been using emacs for practically all languages except for C# with Visual Studio (IDE). However, as the years passed.. have slowly moved over to emacs. By the time .NET Core was introduced (I think VSCode was around this time, also) I realised that I have most if not all tools I need to do some serious .NET work in Emacs. -- Today.. I pretty much use emacs with odd exceptions.

My emacs is very simple. I have my lsp-mode (csharp-ls) as well as the usual magit, yasnippet, etc. With a nice dark theme, I have all I need to navigate about my project/solution. It's funny... when my co-workers see me with emacs they just assume I am "trying to be different" for the sake of it. However, when they watch me.. and without the use of a mouse.. they soon understand why I use it.

I have also added additional functions to create solutions, projects, building, deployments.. all visible from a custom screen.

Re: IDEmacs: A Visual Studio Code clone for Emacs

#152

Earlier quoted context omitted.

I’ve been using emacs for very many years, and have a configuration that has evolved over a decade. I was able to pick up VSCode in an hour. It’s not complicated. I’m using it with the Haskell extension and it’s great. Honestly, I’m tired of Emacs’ performance, bugs, complexity, and poor UI that requires an enormous amount of hacking to make a usable IDE. VSCode is a breath of fresh air. The only things I’m not using…

> requires an enormous amount of hacking to make a usable IDE. When you're using it for one, specific purpose, like an IDE for specific language(s), then yes, sure, it may feel like that. Yet Emacs is so much more. It's not an IDE (but it could be); it's not [the best] source control tool; it's not [greatest] note taking app; it's not an [amazing] mail client; it's not [most beautiful] pdf reader; nor a [feature rich…

I have a job to get done, and my job isn’t screwing around with my Emacs configuration.

And honestly, even if that was my job, I wouldn’t want to spend all my time messing around with a fragile, slow, untyped lisp REPL in the first place.

I used Emacs because it helped me get my job done, not because I have any particular affinity for lisp. I truly do not — in fact, I have even less affinity for it now that I’ve wasted so much time making Emacs usable for my purposes.

Re: IDEmacs: A Visual Studio Code clone for Emacs

#153
post #91
post #69

Earlier quoted context omitted.

If you want all keybindings, C-h b typically helps, and you can search within the single buffer it returns. Every key in Emacs is bound to something, but a plain modifier key event like Ctrl will not be sent from a terminal to any command that runs inside it, eg Emacs, only the modified key. (There exist modifications/extensions of this protocol, eg kitty, but most combinations wouldnt see these events.)

Sure, I know about C-h b and C-h m and find those useful. But I think what the GP post describes is more contextual: A way to not display every keybinding, but only those directly accessible by pressing the currently held modifier combo followed by one key (so holding Ctrl+Meta for more than a couple of seconds might remind you of all structural editing commands for example). This is indeed not possible in a classica…

Agreed. I keep almost all things same between terminal and graphical UI, so I would never use it, but I can see the appeal of having the ability for handling keyboard events differently than character inputs in some cases in the GUI.

Re: IDEmacs: A Visual Studio Code clone for Emacs

#154

Earlier quoted context omitted.

With emacs, you can just use “customize” (for options) and “M-x” (for commands) and never care about anything else. Yes, it’s not as visible as vscode, but it’s very much the same thing. But once you learn elisp, then you have the power of a full VM at your disposal and not wait for a plugins to exist and hopefully implement your workflow. And adhoc integration (like having ticket number in comments be clickable) is…

Your argument is like... "once you learn C++ you have your whole processor at your disposal, you don't need to wait for any software because you can write it yourself."

That just highlights some confusion about Emacs. It’s more akinto Unix and the shell as a whole. That’s why I said VM. If you know perl and have a whole host of utils from a unix box, you can script the workflow you want quite easily, especially if you have access to the cpan libraries.

The same thing can happen with emacs. There’s a lot of low level interfaces (network, process,…) and some high level ones regarding the UI. Then there’s a lot of utils andd whole software built with those. All modifiable quite easily. As another commenter had put it, you don’t even need to save a file. You just write some code, eval it, and you have your new feature. If you’re happy with it, you add it to your config or create a new module (very simple). So elisp covers the whole range from simple configuration to whole software.

Re: IDEmacs: A Visual Studio Code clone for Emacs

#155

Earlier quoted context omitted.

> requires an enormous amount of hacking to make a usable IDE. When you're using it for one, specific purpose, like an IDE for specific language(s), then yes, sure, it may feel like that. Yet Emacs is so much more. It's not an IDE (but it could be); it's not [the best] source control tool; it's not [greatest] note taking app; it's not an [amazing] mail client; it's not [most beautiful] pdf reader; nor a [feature rich…

I have a job to get done, and my job isn’t screwing around with my Emacs configuration. And honestly, even if that was my job, I wouldn’t want to spend all my time messing around with a fragile, slow, untyped lisp REPL in the first place. I used Emacs because it helped me get my job done, not because I have any particular affinity for lisp. I truly do not — in fact, I have even less affinity for it now that I’ve wast…

> I have a job to get done

Yeah, it so totally fair to hear it from a Haskellite, I'm so convinced now... /s

"I have a job to get done, and my job isn't learning category theory, monads, type families, fighting compiler's cryptic messages and pragmas. I don't have any particular affinity for FP. I truly do not - in fact, I have even less affinity for it now that I've wasted so much time making Haskell do basic I/O and fighting the type system for my purposes..."

Even though the take like this maybe viewed as the honest one since Haskell's learning curve is genuinely brutal for practical work, I personally would never say that. I don't use Haskell, but I never regret time I spent trying to conquer it.

You can pretty much assert similar comments as yours about just any tool if you use it without proper understanding of the ideas behind it:

Python: my job isn't screwing around with virtual environments, dependency shit, and pretty useless type hints...

Java: my job ain't wrestling with Spring Boot config files, Maven POMs, and classpath issues...

C++: my job isn't learning the difference between stack/heap allocation, smart pointers, and move semantics...

Rust: my job isn't fighting the borrow checker and lifetime annotations...

Let's be honest, it seems you're mad at Emacs on an emotional level, rather than from educated, pragmatic stance. I admit, over the course of my career path I have felt similarly about different hard-to-learn things, I was like: "I feel like a sucker for not mastering this thing. Other people seem to make it sing. I wasted time and gave up. Now I need to feel like it was the tool's fault, not mine."

Eventually, I learned ways to distill great ideas and borrow them from different tools. I may not use a specific concrete implementation of a given tool daily, yet I find some of the abstract principles behind it appealing.

You have no idea how instrumental Emacs is for my everyday job-to-get-done tasks. It makes me sad to hear you failed to find the same dynamics even after spending a good amount of energy on it. When you're looking for a gray cat in a dark room and there is no cat, you'll spend a lot of time looking. And when you learn that it wasn't about a cat at all, you may end up hating all the cats. Attempting to use Emacs without understanding Lisp is like trying to cook in a dark kitchen. But programmers who dismiss Lisp entirely, are like musicians who refuse to learn music theory because they can play by ear. It's just sad to watch their talent getting lost in unnecessary limitations they've imposed on themselves. It like a talented musician who could understand harmony, composition, structure - but chooses not to. So they plateau. They hit a ceiling where ear alone can't take them further. And devs dismissing Lisp? They might have skills, but they're voluntarily blind to a way of thinking that could deepen their craft.

Re: IDEmacs: A Visual Studio Code clone for Emacs

#156

Earlier quoted context omitted.

Not sure where you get "most" from. Personally I've found the exact opposite: Despite having been forced by work constraints to use most major IDE platforms at one point or another, sometimes for years at a time, I always come back to emacs with great relief and find it better in pretty much every way. I know better than to assume my experience is that of "most" people, though.

I've installed emacs now on ArchLinux Wayland system and its window refuses to resize (on purely default settings), and freezes the contents until I move it. Very refreshing indeed. I bet this is some kind of a known issue, but that just reinforces my original point above. edit : yeah, here it is: https://bugs.kde.org/show_bug.cgi?id=509871 I mean, how it's not an Emacs issue if it only happens with emacs ?

> I've installed emacs now on

I never had what you describe. The variability there could be almost random - which version of Emacs you're installing? How are you installing it? Are you trying to build it from source? What renderer are you using - there are several: Lucid, Motif, GTK, NS, W32, Haiku, Android, Cairo, Pgtk. Perhaps it's installing different renderer instead of using pgtk. Maybe it's not a bug with Emacs but with the package that bundles it for your distro?

> how it's not an Emacs issue if it only happens with emacs?

It does seem to be an Emacs issue. But it is a specific issue that happens on the combination of your hardware and your OS configuration.

Re: IDEmacs: A Visual Studio Code clone for Emacs

#157

Earlier quoted context omitted.

I've installed emacs now on ArchLinux Wayland system and its window refuses to resize (on purely default settings), and freezes the contents until I move it. Very refreshing indeed. I bet this is some kind of a known issue, but that just reinforces my original point above. edit : yeah, here it is: https://bugs.kde.org/show_bug.cgi?id=509871 I mean, how it's not an Emacs issue if it only happens with emacs ?

> I've installed emacs now on I never had what you describe. The variability there could be almost random - which version of Emacs you're installing? How are you installing it? Are you trying to build it from source? What renderer are you using - there are several: Lucid, Motif, GTK, NS, W32, Haiku, Android, Cairo, Pgtk. Perhaps it's installing different renderer instead of using pgtk. Maybe it's not a bug with Emacs…

[deleted]

Re: IDEmacs: A Visual Studio Code clone for Emacs

#158

Earlier quoted context omitted.

I've installed emacs now on ArchLinux Wayland system and its window refuses to resize (on purely default settings), and freezes the contents until I move it. Very refreshing indeed. I bet this is some kind of a known issue, but that just reinforces my original point above. edit : yeah, here it is: https://bugs.kde.org/show_bug.cgi?id=509871 I mean, how it's not an Emacs issue if it only happens with emacs ?

> I've installed emacs now on I never had what you describe. The variability there could be almost random - which version of Emacs you're installing? How are you installing it? Are you trying to build it from source? What renderer are you using - there are several: Lucid, Motif, GTK, NS, W32, Haiku, Android, Cairo, Pgtk. Perhaps it's installing different renderer instead of using pgtk. Maybe it's not a bug with Emacs…

Yes, I'm always having "special" problems. It's probably due to the fact that I jump around platforms a lot between Linux, macOS and Windows, mixed GUI and ssh.

For example, macOS emacs always starting at the bottom of the window stack instead of the top. macOS emacs having different font notation than Linux emacs, so maintaining common config is hard. Terminal emacs -nw having its own set of rules, and M-x needs to be addressed with ESC x. Etc, etc.

Re: IDEmacs: A Visual Studio Code clone for Emacs

#159

Earlier quoted context omitted.

This, most people that try and use these legacy editors spend most of their time configuring it get it to be as good as vs code and usually fail. A lot of wasted time and frustration when one click gives you a perfectly modern fast editor with a smorgasbord of great extensions that just work. I do use vim for quick editing of files in the terminal but never for serious work.

> one click gives you a perfectly modern fast editor with a smorgasbord of great extensions that just work I use over 300 hundred packages in my Emacs setup. I honestly not sure if I can install even half of that number of VSCode extensions and expect it to still run smoothly, maybe people do that, I just don't know. They are called "packages" and not "extensions" for a reason - an extension that e.g., ships with a b…

> In Emacs I can reuse functions of one package in another

You say like it's some kind of feature, but for me it sounds like a potential for name clash, and using private API which is prone to change/break.

> You call it "a legacy editor" without the slightest clue of what Emacs hackers are capable of doing

The thing is that is was VSCode which has brought us LSP, not "emacs hackers". It was VSCode which has brought us LLM Agent mode. All editors are catching up to VSCode, not the other way around.

LSP, LLM, ssh/docker/podman remote development, what's the Emacs answer to those? (I mean, nowadays vim+emacs have their own LSP clients built-in, years after VSCode)

Re: IDEmacs: A Visual Studio Code clone for Emacs

#160

Next up, how to make your Ferrari into a Fiero clone. Seriously, though, this seems kind of counterproductive. The power of Org mode and some of the other tools in Emacs comes from being integrated into the rest of Emacs and the synergies from Emacs idioms and concepts working everywhere in Emacs. Just my opinion, but the time spent learning this front end would be better spent just learning the Emacs UI. It's really…

It's more like how to put a modern day car dash over an F16 fighter jet. One has modern expectations and standards everyone is already familiar with but far less power and features, while the other existed before usability was even an idea but has more power and features than even most experts can handle. And in this case (and analogy), you can always slowly remove parts of the interface that hide the more powerful f…

> It's more like how to put a modern day car dash over an F16 fighter jet.

Yeah, that's probably a better analogy.

> If only it weren't a full time job just maintaining a basic emacs config.

I've heard that before, and I don't get it. I might spend 20 minutes a month updating my config, but it's really a set it and forget it thing for me. What are people doing that requires so much work?

Post reply on HN