Live data from Hacker News

What’s new in Emacs 28.1?

masteringemacs.org

231–240 of 290 posts

Re: What’s new in Emacs 28.1?

#231

Earlier quoted context omitted.

>If it takes an IDE to write your code, then it will likely take an IDE to read your code There is nothing wrong with this. We shouldn't let old text editors hold back the productivity of programmers.

There is lots wrong with this and with this mind set. This is not about "productivity" at all but about being auditable and working in a team.

Expecting your teammates to use an IDE does not get it the way of working in a team. In my experience as a team we have a default IDE for everyone to use and a configuration file for it so everyone's is using the same settings. Usually you could use a different IDE if you could configure it to act similar, but making sure everyone uses the same tools doesn't prevent you from working as a team.

Re: What’s new in Emacs 28.1?

#232
post #140

Earlier quoted context omitted.

FWIW, emacs is extremely easy to build from source.

it is, and i do, but i got bored of doing that a few years ago, and prefer to use 100% packaged stuff.

apt install guix :)

This gives you guix "FD" and its great on top of debian for emacs especially (and you can move a lot of your emacs packages into guix as well).

The apt packages handles most of this but its good to follow along a little -

https://guix.gnu.org/en/manual/devel/en/html_node/Installati...

Re: What’s new in Emacs 28.1?

#233
post #68

Earlier quoted context omitted.

emacs "gui" perfectly supports the mouse out of the box. For use in a terminal (after using both for some time, I find the gui version better tbh), see https://www.gnu.org/software/emacs/manual/html_node/emacs/Te...

I personally think GUI mode is simply better. There is no real advantage to running emacs in a terminal imo.

Hard disagree. Sometimes the terminal is the most efficient way to run Emacs on a machine in a remote data center that has a mountain of CPUs, GPUs, memory, and disk. TRAMP can be slow and inefficient. A LSP server process on a huge monorepo can chew up a large amount of memory and CPU on startup. Running all of this stuff locally on the actual hardware your code needs to run on is great.

Re: What’s new in Emacs 28.1?

#234

Earlier quoted context omitted.

I used Emacs almost exclusively for half a decade and got pretty good at it. But I feel like VS Code is the natural evolution of all the great ideas of Emacs. So I use VS Code almost exclusively now.

For me it doesnt even come close to it. Maybe if you wtite your own plugins but even then there are many limitations. The one-window problem for example. In emacs I can overwrite ANY function wherever it is from my config and change for example how shr (an html renderer) handles/styles headings. Its crazy! One MAJOR thing that emacs does better is making things work together. I have orderless installed for matching s…

The cohesion and interoperability of Emacs packages is hard to find elsewhere. When I tried Neovim recently, it was blatantly obvious and I was quickly turned off by how each plugin creates psuedo-TUI elements and prompts for input slightly differently.

Re: What’s new in Emacs 28.1?

#235

Earlier quoted context omitted.

I can write the same code significantly faster with an IDE because of all the autocompletion and code navigation. I don't use the version control features other than the occasional blame, preferring to stick to a command line for that.

The speed at which you write code is meaningless. Write speed is not the bottleneck for software development. What's far more important is that you take your time, pick names that a human can read and understand, write code that a human can read and understand, and write documentation. An IDE simply does not help with any of the things that lead to good software. If it did, the push to turn software engineering into…

This is simply not my experience. For example, an IDE lets you rename a variable or type in a semantic fashion, making it easier for me to iterate on names and land on something that people understand.

There's a huge mental component to coding (I doubt it's 90% though). In any case, an IDE makes that easier by getting the boring physical stuff out of the way quicker.

And the speed at which you write code is quite meaningful. I can easily write 1000 lines of high-quality Rust code on a good day with just the LSP (rust-analyzer) for support. More recently, I started a project that hit some bugs in rust-analyzer -- working on it was a comparatively miserable experience.

Edit: Never mind, I see above that you're comparing a full-fledged IDE to just using an LSP. I consider LSP to be in the IDE category; I agree that LSP is just about where I want to be and that a full JetBrains-like IDE is overkill. What I don't like is not having any sort of code completion or rename support.

Re: What’s new in Emacs 28.1?

#236
post #125

Only thing I'm missing from Emacs is the ability to completely freeze all packages and configs. As soon as I feel like everything is stable and great, it decides to update 180 packages while I'm trying to edit a file and destroys something in my setup. If anyone knows a way to prevent all updates and "freeze" a version that would be excellent.

I use Emacs with Nix, which parses my config for use-package declarations and installs them for me. Emacs packages are pinned the same way as anything else in Nix and, as a bonus, it can also manage non-Emacs dependencies.

I wouldn't recommend Nix just for a reproducible Emacs config, but if you end up considering Nix for broader reasons, being able to use it for Emacs could be a nice bonus :)

Re: What’s new in Emacs 28.1?

#237
post #150

Earlier quoted context omitted.

What parts did you find difficult? When I first started, I found the keybindings odd, but now I love them since the core set of shortcuts—C-a, C-e, C-f, etc.—work "everywhere" from the terminal, to GNU readline-based programs, to even native macOS text boxes. If you don't like the default keybindings, you can change them or use the Evil package [0] for Vim bindings. If you want to get up and running quickly, I'd chec…

Do you use it as an IDE? That's the part I had trouble with (react/typescript and python). I could get it almost there, but essentially what I would need is a VS Code mode. A side panel with the collapsible directories, double click into them, global search, linting, syntax, etc.

Give tide a try. I use it daily with typescript and it's great :-)

Re: What’s new in Emacs 28.1?

#238
post #41

Earlier quoted context omitted.

Emacs it's not an IDE (out of the box), so it's not your use case, obviously.

If OP wants to compare Emacs to Visual Studio and Jetbraines IDE's, then we are going to compare features.

Go ahead comparing apples and oranges, what can I say.

Re: What’s new in Emacs 28.1?

#239
post #170

Earlier quoted context omitted.

> Because navigating text with emacs gives me the emacs pinky, I had RSI issues early in my career (not Emacs related), and learned some tricks that come handy with Emacs. Your keyboard has two control keys. Use both of them. In particular, use the "opposite" one. If you want to press C-c, use the right Control key with your right hand. If you want to press C-l, use the left control key with your left hand. This way…

map capslock to be a control key.

The emacs keybindings evolved on keyboard with two control keys on both sides, later augmented to have replicated (starting from space bar) control meta super Hyper keys. A PC104 keyboard's main sin for emacs akt where control should be - but not requiring pinky for bucky bits

Re: What’s new in Emacs 28.1?

#240
post #54

Earlier quoted context omitted.

Are you using viper or evil-mode often (or some other thing which gives emacs vi bindings, I think there are a couple)? Because navigating text with emacs gives me the emacs pinky, I'm wondering how folks deal with that. Transposed cpslck with ctrl?

> Because navigating text with emacs gives me the emacs pinky, I had RSI issues early in my career (not Emacs related), and learned some tricks that come handy with Emacs. Your keyboard has two control keys. Use both of them. In particular, use the "opposite" one. If you want to press C-c, use the right Control key with your right hand. If you want to press C-l, use the left control key with your left hand. This way…

> If you want to press C-c, use the right Control key with your right hand

First thought: but C is on the right.

Second thought: ah, I use Dvorak

Post reply on HN