Live data from Hacker News

Batteries included with Emacs (2020)

karthinks.com

31–40 of 228 posts

Re: Batteries included with Emacs (2020)

#32

Sometimes I wish I initially spent my time learning emacs. Vim has been great to me. I don't value programming workflows as much as I used to so I'm not going through that steep learning curve again

You may like Doom Emacs. It has really really good Vim keybindings. Some people like Spacemacs too, but I found it too bloated and too abstracted (hard to fix when it breaks). I still find myself reaching for Vim when I want to just write a simple script. Emacs, VS Code, etc. can just be too much sometimes.

I had a pretty full featured vim setup (creaking under the weight of all those plugins) and then switched to spacemacs. You're exactly right that debugging was a pain sometimes, but once I started to figure out what everything was, I wanted to replicate everything I had in vim.

I realised that if I'd started minimal I would have reinvented so many of the spacemacs wheels, but done it worse.

Spacemacs could do with being slightly more user friendly. It gives you a lot of friendliness already, but to prevent people from being frightened off by emacs' formidable reputation it really needs to "work" out of the box. For me that would be one click install and a reasonable suite of IDE-like features for working with a given language pre-configured. That would include scripting to install the command line tools that they shell out to, e.g. ag or rg.

Re: Batteries included with Emacs (2020)

#33
post #6
post #3

I think many Vim users look at Emacs and go “Hmm, Emacs is a bit more clunky when I use Emacs to do the exact same things I do in Vim. Therefore, I’ll stick to Vim.”

As a vim user, I mostly look at this article and think, "Hmm, Emacs seems to include an artists mode for drawing ASCII images. I need a text editor. Therefore, I'll stick to vim."

As a vi user, I got to artist mode and was wondering what keys you would press to draw rectangles and circles and how you would get out of it, but it doesn’t say.

Re: Batteries included with Emacs (2020)

#34

Sometimes I wish I initially spent my time learning emacs. Vim has been great to me. I don't value programming workflows as much as I used to so I'm not going through that steep learning curve again

I think you get a lot just out of knowing modal editing. Sometimes I don't even realise what is emacs and what is vim because of evil keybindings.

Re: Batteries included with Emacs (2020)

#35
post #27

Earlier quoted context omitted.

That's like wondering if elephants could ever roam the depths of the oceans. If they did, they would no longer be elephants. What specific features of vscode would you like to see in a terminal editor?

I’m not sure why not? Everything has a shortcut in vscode. And if it doesn’t you can use the command palette.

You might like VIM. In VIM everything has a shortcut as well.

In fact, in VIM, everything _is_ a shortcut.

Re: Batteries included with Emacs (2020)

#36
post #19

Sometimes I wish I initially spent my time learning emacs. Vim has been great to me. I don't value programming workflows as much as I used to so I'm not going through that steep learning curve again

Conversely I feel I wasted my time learning emacs and moved to vim eventually. I also only religiously use a subset of vim functionality which is fulfilled by most of the vi equivalent editors. This turned into a massive advantage for me as I spent most of my career dotting around random Unix and Linux machines doing admin work. Vi derivative is always there and the muscle memory was ready to go. One of the key thing…

FWIW if I can ssh I can use emacs tramp to edit remotely, if there's latency lag, it seems similar to using local editor.

Re: Batteries included with Emacs (2020)

#37

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

Run Emacs as a server. Then open with emacsclient. Instant and you have access to the same process you've been using with all the buffers, etc. emacs --daemon emacsclient

  emacs --daemon=
  emacsclient -s 
Useful for when you have different contexts and want to separate them more cleanly.

Re: Batteries included with Emacs (2020)

#39
After spending endless hours in learning the ins and outs of Emacs and starting to learn Elisp, I come to realize that Emacs‘ tinkering-to-doing ratio is too high. I need tools that get out of my way. Emacs can get a hobby or an obsession. If you have nothing else to do, fine, spend your time sharpening the saw instead of cutting wood.

I turned to VS Code + PyCharm for coding. And use Emacs for editing text only. And for that, it is excellent.

What I love about Emacs most is the macro recorder. Whenever I have to transform text, I record my steps in Emacs‘ macro recorder and replay the steps. That’s like magic. I wouldn‘t even bother writing a Python script for these one-off transformations.

Re: Batteries included with Emacs (2020)

#40

I really respect people who can use emacs (and vim, vi etc...) they wiz around doing allsorts and make it look effortless. The only reason I have not tried is I seem to spend most of my time thinking about the change, and the time saved is easily wiped out by the time taked to re-write the line 5 times.

You don't really have to. Try DoomEmacs or something similar, very little tinkering needed to get going.
Post reply on HN