News for hackers. Stuff that matters.
Re:Making Emacs Popular Again by Osiris on Friday May 08, 2020 @12:03AM (#23111274)
I'm not familiar with emacs. Does that mean that you don't need to install any supporting software like indexers, linters, syntax highlighters, etc? Does the emacs file contain all that or tell it how to download all the plugins?

If you could just copy one file and get all that, that's pretty cool.

Re:Making Emacs Popular Again by ipv6ipv4 on Friday May 08, 2020 @12:25AM (#23111372)
No. It doesn’t. You still need to install and configure plenty of 3rd party packages and tools that are completely outside of emacs. For C++, things like cscope, ctags (or maybe etags or gtags), clang autocomplete tooling, etc.

These, their dependencies and layouts, typically change from machine to machine, OS to OS, distribution to distribution and version to version. So placing it in your emacs config isn’t really portable.

Re:Making Emacs Popular Again by Scarbutt on Friday May 08, 2020 @12:39AM (#23111446)
Same for vscode? ex: if you want eslint, you install it from npm.
Re:Making Emacs Popular Again by ipv6ipv4 on Friday May 08, 2020 @01:22AM (#23111652)
My experience with VS code has been a couple clicks for C++, Python (2 & 3), and a smattering of other languages and configuration files (YAML, cmake, etc.) on a fairly large (~1MLoC) enterprise code base.

Another click for remote editing over ssh.

No pain and most importantly no constant tinkering.

VS Code started very humbly a few years back and was useless to me because it only supported JavaScript and a couple other things with no plugins to speak of. It has since grown into a seriously powerful tool.

Re:Making Emacs Popular Again by Alex63 on Friday May 08, 2020 @12:23AM (#23111364)
The 'one file' installs the other tools for you. At least mine does. I move between machines regularly, and when I do I just install emacs according to the recommended method for the particular OS and copy my init.el file to the new machine. All the packages I depend on are installed the first time I run emacs. And my init.el would be considered pretty basic by the standards of an advanced user.
Re:Making Emacs Popular Again by chrischen on Friday May 08, 2020 @03:48AM (#23112402)
You install something like spacemacs or doom emacs for vs code parity. And then it lazy loads packages based on the file type.

You enable features in config by uncommenting, and it auto installs.

Re:Making Emacs Popular Again by ekko911 on Friday May 08, 2020 @12:14AM (#23111328)
The "Emacs file" can contain that yes. Since .emacs is written in Lisp (Emacs Lisp) you can basically tell it to do anything om start up.