News for hackers. Stuff that matters.
Re:EmacsConf 2021 Call for Proposals by taeric on Thursday August 05, 2021 @03:59PM (#28078833)
I'm curious what OS you are in. Unless I am over a slow tramp connection, it isn't common for me to see any lag in the editor.

And it is amusing that async through a buffer has always been possible. Just far more common for folks to not go that route on round one.

Re:EmacsConf 2021 Call for Proposals by zdragnar on Thursday August 05, 2021 @04:21PM (#28079180)
Not OP, but macOS here on a MacBook Pro less than a year old. Emacs has always tempted me, but a number of commands take roughly 2-5x the time compared to something like vscode.

Every time I get back to trying out emacs again, I find myself wondering why I would bother with the massive time sink to get it customized to be a sub-par equivalent to another tool that works better for me.

Doom emacs comes the closest for pre-configured setups, but even that isn't halfway to the productivity of what I am trying to replace.

What I really wish is sublime had gone with something other than python for plugins, and was more scriptable overall...

Re:EmacsConf 2021 Call for Proposals by pdimitar on Thursday August 05, 2021 @04:29PM (#28079303)
That's why I am 99% likely to move to NeoVim (or LunarVim which steps on it). LuaJIT looks like a very easy script language to learn, with minimal quirks -- at least on the first few looks.
Re:EmacsConf 2021 Call for Proposals by taeric on Thursday August 05, 2021 @04:39PM (#28079432)
What commands, in particular?
Re:EmacsConf 2021 Call for Proposals by zdragnar on Thursday August 05, 2021 @05:44PM (#28080350)
The most distinctive one is when you start typing a chord- it can take up to a good second to populate the command list. Compare this to vscodes command palette which is instant.

I admit that perhaps there is a configurable lag built in (it would make sense to do so) and while there are other examples that I know bother me, this is the one that jumped out straight away. I'd have to dig back in to have more specifics.

Re:EmacsConf 2021 Call for Proposals by taeric on Thursday August 05, 2021 @06:00PM (#28080552)
I'm not sure what chord menu you mean. :(. I /think/ you are describing "echo-keystrokes", which defaults to one second.

M-x is basically instant for me, though. So, not sure why anything like that would be slow.

Re:EmacsConf 2021 Call for Proposals by jasonmorton on Thursday August 05, 2021 @04:46PM (#28079525)
Not OP, but for me adding or deleting a character in the middle of a paragraph in a latex doc hangs for maybe .5s or more, often. This is a fairly new phenomenon, never happened 2+ years ago.
Re:EmacsConf 2021 Call for Proposals by taeric on Thursday August 05, 2021 @06:05PM (#28080596)
That sounds broken. :(

Good luck getting it fixed, if you are still trying. A basic profiler-start, type, profiler-stop, profiler-report can probably pay the blame easily.

Re:EmacsConf 2021 Call for Proposals by pdimitar on Thursday August 05, 2021 @04:03PM (#28078897)
macOS.

Can you give me a hint on how to do the async LSP thing then? I never was actually interested in becoming a master in Emacs. ¯\_(ツ)_/¯

Re:EmacsConf 2021 Call for Proposals by taeric on Thursday August 05, 2021 @04:15PM (#28079095)
Apologies, I meant that async had long been doable in emacs. Compilation mode being a clear example of what that could look like.

That said, most of the newest lsp code is built with the idea that calls out to the server are fast enough to just block.

Re:EmacsConf 2021 Call for Proposals by pdimitar on Thursday August 05, 2021 @04:32PM (#28079344)
Thank you for clarifying, much appreciated. <3
Re:EmacsConf 2021 Call for Proposals by dbmikus on Thursday August 05, 2021 @06:32PM (#28080916)
Looks like LSP mode is async [1], but I haven't set it up myself. I mostly use Emacs as an org-mode app.

[1] https://emacs-lsp.github.io/lsp-mode/

Re:EmacsConf 2021 Call for Proposals by taeric on Thursday August 05, 2021 @08:13PM (#28081710)
I'm the same. I do still edit all of my code in emacs, but I grew to dislike most auto complete setups years ago. :(

I sometimes fear it hurts my productivity, but I'm not seeing any real boost in the folks that use them.