Earlier quoted context omitted.
Somehow, Microsoft managed to invent LSP for VSCode and then abandon some parts of it just a couple of years later -- e.g. python language server is dead, pylance is there instead, closed source, VSCode-specific and with prohibitive license. Most language plugins in VSCode don't use LSP anymore IIRC.
While it may be true that pylance is closed source and vscode specific, pyright[1] is MIT. Pylance does appear to still be a language server as well. As far as I know, most language plugins still use LSP, including Typescript/Javascript, Rust, and Go. [1] https://github.com/microsoft/pyright
Batteries included with Emacs (2020)
211–220 of 228 posts
Re: Batteries included with Emacs (2020)
#212Earlier quoted context omitted.
I mean. Emacs has the ability to do basically what vim does. Evil mode is really nice (though I can never get used the = register evaluating elisp instead of vimscript). What kills me about emacs is the startup time. Breaks my flow when I'm jumping around and need to edit something quickly. Though I'll admit that doom provides a very nice environment for when I want to play around with some lisp.
I use vanilla Emacs with 145 packages and my startup time is 0.9 sec on a 6 y/o thinkpad. With deferred evaluation, there is no need to use a daemon.
Re: Batteries included with Emacs (2020)
#213Earlier quoted context omitted.
I had a very similar experience, but I started with plain Emacs, and little by little adding what I needed. I was afraid of getting something really bloated, or not understanding how it all bundles together. I think it has paid off a bit, but the learning curve has been steep.
IMO that's the proper way to learn Emacs. Doom seemed right to me at the time because I just wanted to uncomment `;; org` in `init.el` , not learn a lot of keybindings and get started. I think I'll start an "Emacs from scratch" someday too.
Re: Batteries included with Emacs (2020)
#214Earlier quoted context omitted.
I use vanilla Emacs with 145 packages and my startup time is 0.9 sec on a 6 y/o thinkpad. With deferred evaluation, there is no need to use a daemon.
Is your initial hosted anywhere? I'm interested in how you implement that.
The maintainer of Doom responded with a good list of improvements that he uses in his distribution to achieve fast startup. If you transplant all of them into your configuration, your startup time would probably be 1-2 sec.
Re: Batteries included with Emacs (2020)
#215Earlier quoted context omitted.
IMO that's the proper way to learn Emacs. Doom seemed right to me at the time because I just wanted to uncomment `;; org` in `init.el` , not learn a lot of keybindings and get started. I think I'll start an "Emacs from scratch" someday too.
Why didn't you just start with the arrow, backspace, and delete keys?
Re: Batteries included with Emacs (2020)
#216Earlier quoted context omitted.
All these friendly gooey things want to help you by popping up this kind of stuff. But luckily, some of them let you turn it off. I've told IntelliJ and Eclipse and VSCode to please stop popping up suggestions, and let me type Ctrl+space to summon them. Aaaah. Much better.
Drives me crazy that these types of programs always want to fill in the closing bracket for you. Like, as soon as you type an opening bracket, it sticks a closing bracket there. Completely interrupts my train of thought, why would I want the editor to assume it knows what I want and write things for me? Maddening. Especially something that messes with my internal thought process around the syntax "tree" that I'm tryi…
(But getting out of the auto-paired thing could be improved. In IntelliJ, when entering Java code, I usually type cmd-shift-return to complete the statement, and that does what I want. It does different things in different situations, but it's easy to predict what it does.)
Re: Batteries included with Emacs (2020)
#217Re: Batteries included with Emacs (2020)
#218Earlier quoted context omitted.
That sort of blows my mind. How can you not learn to touch type? It will take you a month at most and it greatly improves life at a keyboard.
> It will take you a month at most I always gave up after about a week, I've tried it twice or three times during the last 25 years. Like always, good (fast) enough beats perfection. And I'm a mathematician and programmer because I'm lazy :D
Re: Batteries included with Emacs (2020)
#219Earlier quoted context omitted.
"public nuisances like vim" Others here seem to have taken this as tongue-in-cheek. On the first read I took it as "I think vim is ridiculous". I'm honestly curious to know which it is (or if both are inaccurate).
Of course it's tongue in cheek. Vim is venerable high quality software that a lot of people love. Emacs people dunking on vim (and vice versa) is just an old traditional joke with no actual animus behind it.
At any rate I didn't read your comment as being "and emacs user dunking on vim" (you mentioned emacs in a list of editors, but it wasn't obvious that you were coming from the emacs camp). A lot of people scoff at vim because it works so much differently than anything else they've used before (mostly due to modal editing). I guess that was the vibe I got from my first reading of your comment, but I'll just chaulk that up to there being no "tone of voice" when reading text.
Personally I am in both camps - I use both editors. and like both of them for different reasons.
Re: Batteries included with Emacs (2020)
#220Earlier quoted context omitted.
I think JetBrains has a great system to it. cmd+shift+a opens a command palette with every possible command in the IDE. It matches as you type the name of an action, and every action has a keybinding shown to the right (if it exists). Every relevant button generally has keyboard shortcuts right on them. And pressing cmd+e opens a list of gui interactions you've made so you can repeat them (things like focusing buffer…
shift-shift brings up the same window, albeit with different prompts.