Live data from Hacker News

What’s new in Emacs 28.1?

masteringemacs.org

151–160 of 290 posts

Re: What’s new in Emacs 28.1?

#151

Earlier quoted context omitted.

I have used Jetbrains IDEA and Clion extensively to understand the other side. An IDEs heavy introspection isn’t necessary, and perhaps actively harmful towards writing and reading code. It’s rigid policy over tools like git is certainly actively harmful. If it takes an IDE to write your code, then it will likely take an IDE to read your code. They are tools that allow you to take shortcuts were you shouldn’t, and ro…

>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.

It's not "old text editors". There are current tools for viewing source (pull requests/diffs a prime example) that are extremely good at what they do but are language agnostic. As is so often said, code is read more than it's written. If I can't understand the source without pulling it into my IDE, that adds a lot of friction to these reading tasks.

Re: What’s new in Emacs 28.1?

#152
post #133

Given all the emacs ninjas here - what’s the best way to do JSX/TSX formatting while playing nice with js2-mode, tide and web-mode? I’ve been stuck for months on finding a good config and almost wanted to move to VS Code to try it out. Then, while using it I just couldn’t do without emacs buffers and panels flexibility — so moved back :))

I gave up on getting these modes to consistently format. It seems really fragile and never quite right. So now I just have prettierjs set up and I don’t have to think about it.

Re: What’s new in Emacs 28.1?

#153
post #61
post #56

Earlier quoted context omitted.

No. In my youth I just played through the pain, but I recently just ordered this: http://xahlee.info/kbd/xbows_keyboard_review.html

Fair (though I recommend you give kinesis a try: https://kinesis-ergo.com/keyboards/advantage360/ ). Separately, I just want to throw it out there, you guys should try sublimity: https://github.com/zk-phi/sublimity Particularly, the minimap is awesome because it provides an intuition about where one is and that just feels nice.

How did you learn that keyboard exists? It is not on their keyboard page. Kinesis needs a better organized site.

I got the Freestyle2 a few weeks ago, enjoying it, still have some issues finding the navigation keys, home, end etc. I really like having my arms pointed straight rather than angled in like with a normal keyboard. Keys are a bit mushy, went from cherry blues.

Re: What’s new in Emacs 28.1?

#154

Earlier quoted context omitted.

Alas, in some orgs you will need permission to authenticate davmail to Outlook. My IT department has not approved davmail.

How can they tell? Honest question because I fear my uni will start doing this out of “security “.

Office 365 requires SMTP/POP/IMAP to use an "xoauth" authentication scheme which relies on getting an authentication token from a web browser. The process of getting that token involves sending a request that includes an application ID.

Re: What’s new in Emacs 28.1?

#155
I used Emacs for 20 years, contributed to popular open source emacs projects, and am the maintainer of a couple of emacs packages with small numbers of users.

It's wonderful and extremely powerful having everything in lisp; don't bother with emacs if you're not interested in writing lisp.

One silly thing that I could never get to grips with is the way the minibuffer always seems to get stuck asking me a question, but the cursor isn't in the minibuffer. Or it's in some sort of recursive minibuffer mode. So many times I've just mashed C-g repeatedly in irritation!

I stopped using Emacs last year in order to access the high quality LSP experiences that are available for Typescript and Rust and other languages in VSCode. I'm firly happy with the configurability of VSCode and generally fairly happy with the move. VSCode needs Emacs' window-configuration registers though.

Re: What’s new in Emacs 28.1?

#156
post #22

Earlier quoted context omitted.

"you can have a full fledged IDE with 0 fiddling" - that is 100% not a thing that has ever happened to me whenever I go and look at emacs/vim! Modal editing is not really something that is needed anymore, and a lot of people don't have time to learn a new language just to move about in their IDE - just click the mouse button ...

Emacs isn’t a modal editor!

That's true, my bad. I've just only ever used it with evil (I find the chords even harder to remember!)

Re: What’s new in Emacs 28.1?

#157
post #108

Earlier quoted context omitted.

I’ve been using emacs on and off for about 20 years and I don’t really get the fanaticism. Org mode and magit and all these things are cool. I like that you can hack it. But — to me it never stops feeling like an ongoing project when you try to live your entire life in it. I like it obviously otherwise I wouldn’t still be using it, but it will never exactly feel elegant to me. More like a good text editor and a hundr…

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.

Yeah the LSP ecosystem is so much nicer than the machinations hacked into text editors over the last 20 years. When you get down to it a modern editor is just a process manager for language servers, a global event bus/RPC layer across them all, and a UI layer. Instead of reinventing bespoke versions of those things, just solidify it using standard protocols like JSON RPC, HTML for UI, etc.

Re: What’s new in Emacs 28.1?

#158
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.

You might want to check out straight.el [0] in replacement of package.el; it can pin package versions, etc. It is used by the very popular Doom Emacs [1] to lock package versions for reproducible config reasons. [0] https://github.com/raxod502/straight.el [1] https://github.com/hlissner/doom-emacs

Haven't yet needed to freeze a package, but I can confirm that setting up your packages is stupid simple in Doom (Straight), and freezing them equally so.

Re: What’s new in Emacs 28.1?

#159

I almost wish I never tried Emacs. Ignorance is bliss, and Emacs ruined all other text editors for me. There are absolutely areas that others do better, but the self-documenting “living program” nature is too much to give up; everything you ever need to know or do is a few keystrokes away.

How did you approach Emacs to make it such a valuable tool? I have tried to get started with Emacs a few times but the initial resistance has been too large

Ironically, part of the problem for the newbie is the enthusiasm of the heavy users, which can make getting started feel overwhelming.

Just bare emacs is a great editor. You only need a few commands, and then can incrementally learn more as you go. Often, when you learn some new command or new package you'll wonder "how did I manage to use emacs for all this time without knowing this?" But the answer is: you were able to get a lot done with what you already knew.

I've been using Emacs for over 40 years and have a very short init file with only a small amount of customization. And I still learn a new command or package every couple of weeks.

Re: What’s new in Emacs 28.1?

#160
post #54
post #17

I was an Emacs user back in my software writing days, but I thought I had left it behind when I became a lawyer. Over the past month or two however I’ve moved more and more of my workflow over to Emacs. I started with using Org Mode and PDF tools for note taking and reviewing PDFs and task management: https://news.ycombinator.com/item?id=30492373 . More recently I switched my email over to mu4e: https://www.emacswiki…

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?

my .02$: get an ergonomic keyboard (I use the MS Sculpt keyboard nowadays), and learn to type like a pianist (use both hands, don't be afraid to move them to minimise strain).
Post reply on HN