Live data from Hacker News

Get things done with Emacs

labri.fr

61–70 of 82 posts

Re: Get things done with Emacs

#61
post #41

I can just use VS Code.

> I can just use VS Code.

So how many VS Code extensions have you written? How many workarounds have you invented to make your workflow more productive?

Do you use VS Code for automation? Does it run any tasks for you?

Can you for example open a page in your browser, send it to VS Code instance and let it collect all the links on that page and show them?

Can VS Code work as a window manager? Email client? Maybe RSS reader?

Do you read PDFs in VS Code and make notes and annotations? What about epubs? djvu maybe?

Do you do project management in VS Code? Is there a way to calculate the number of days between the two dates? Convert that to hours?

Do you test HTTP requests in VS Code? Can you send a request, then feed the results to a Python Script, then based on that - create a SQL query and send it to a DB, then transform the data with Clojure and finally create a table with the final results? Can you do that in VS Code? Because I do something like that in Emacs quite often.

Do you plot sequence diagrams in VS Code? Or do you write math formulas? Do you work with research papers? Does VS Code have support for scientific citations?

What about prose? Do you write plain text in VS Code? I'm typing this in Emacs. I have syntax and spell checkers, integration with Grammarly (I know VS Code can do that one); I have Google translate integration, have dictionaries and thesauri.

What about some advanced version control? Can you change the editor settings depending on what git worktree you're in? Can you select a few files in the directory tree and see the git log pertaining only those? Can you edit the directory tree using regexp-replace or multiple cursors, or do something like "find all the files larger than 3Mbs that were created between two days in March, and rename them all?"

---

Whenever anyone claims that they can perfectly do anything that you can do in Emacs, they probably have no idea what you can do in Emacs.

Re: Get things done with Emacs

#62

His nano-emacs is one of the cleanest I’ve seen: https://github.com/rougier/nano-emacs I did a short interview with Nicolas not long ago (very short): https://www.syntopikon.com/workflows/nicolas-rougier/

Anyone that loves emacs and loves pretty should basically look at everything on Nicolas’s github profile that’s emacs related. He’s an inspiration.

Re: Get things done with Emacs

#63

Earlier quoted context omitted.

> Vim is only slightly slower Both vim and neovim (be it in TUI or GUI form) are faster than Emacs. https://pavelfatin.com/typing-with-pleasure/#summary

Arguing that Vim or Neovim run faster than Emacs is like saying that your single-engine sport aircraft moves faster than my best aircraft carrier. An average Emacs user installs and loads a few hundred packages, ranging from Org-mode and version control extensions to PDF tools, and natural language assistants. I bet Vim wouldn't be "faster" if you feed it up with even half of that number of plugins. Vim and Emacs hav…

> Arguing that Vim or Neovim run faster than Emacs is like saying that your single-engine sport aircraft moves faster than my best aircraft carrier.

Vim vs. Emacs debates these days remind me of a story I read about an F-16 pilot and an A-10 Warthog pilot sitting in a bar, debating the merits of their respective planes. At one point the F-16 pilot said something like "Come on, you have to admit that an F-16 with AIM-9 Sidewinders on its pylons is pretty badass!"

The Warthog pilot just smiled. "Do you know what the pylons on my 'Hog are meant to carry?" he said. "F-16s."

I've long considered Emacs to be the Warthog of editors: big, ugly, a little outdated, but absolutely your best friend when it comes to certain big ugly jobs (and nothing else comes close). These days it comes with a pretty decent implementation of much of Vim, so it really is like a Warthog carrying a pair of F-16s. That said, it also has in common with the Warthog that its number is coming up and it is probably soon to be retired permanently because the landscape has evolved out from underneath it.

> What people very often miss is that both Vim and Emacs are absolutely free. Free to use, free to copy, free to change. And that freedom is worth protecting and worth fighting for. Because no matter how MSFT, JetBrains, et al. paint it - VSCode and IntelliJ are not free products. And not just the money at stake here - the entire ideology and the idea of being a hacker with control over computational power and the tools is something worth protecting. I (just like many others) am so fed up with proprietary services and corporations taking your data hostage. Tired of being locked in and losing control over my data; tired of the status quo, of that infamous: "people don't know what they want..."

Most developers use Visual Studio Code. IntelliJ is still largely considered a must for development in Java-family languages. Microsoft and JetBrains are doing something right. It may be the case that people really don't know what they want. Whatever the case, if you work as a professional and do not use the tools that maximize your productivity, you are leaving money on the table.

Re: Get things done with Emacs

#64
post #60

Earlier quoted context omitted.

> but bolting on modality to an editor that was never meant for it Frankly, I don't even know what you're talking about. Modality is all over Emacs. It was there even before Evil. Some extensions even use modality completely differently - not like in Vim. As an avid, hard-die Vimmer, I tend to agree when people say "there's no such thing as Vim-emulation", it's either Vim/Neovim or something half-baked. But Emacs is…

Emacs is not a "better vim than vim". That's just absurd.

It's not absurd. It very often does "vim" better, I'm using "vim" here as a verb, apply whatever meaning your heart desires. Even when it comes to some practical text manipulation like I once demonstrated here: https://www.youtube.com/watch?v=UieaT354GkU - I needed to replace every single occurrence of UUID in the file, generating a new one in the stead.

My friend later did try (https://www.youtube.com/watch?v=4FbnQCNe3YY) to replicate the same thing in Vim.

Of course, it's all subjective - some may like Emacs way, some Vim. But guess what? I'm helping now that friend of mine to learn Doom.

Re: Get things done with Emacs

#65

Richard stallman himself got repetitive strain injury from emacs. So many people have. They tell you to remap the key to caps lock they tell you to use your palm instead of your finger they tell you to get a weird keyboard but at the end of the day it was just poorly designed. Vim is only slightly slower but so much easier on my hands. Yes, I could get emacs evil or spacemacs or whatever but bolting on modality to an…

> Richard stallman himself got repetitive strain injury from emacs Is this really true? Some notes at https://stallman.org/stallman-computing.html indicate it was a different type of strain injury, unrelated to ctrl/meta key: > In the mid 90s I had bad hand pain, so bad that most of the day I could only type with one finger. The FSF hired typists for me part of the day, and part of the day I tolerated the pain. After…

I really want a basically traditional keyboard, except with a thinner space key that permits two more modifier keys under each thumb. The anatomy of the hand is meant for the thumb to work in opposition with the other four fingers.

Sadly the ErgoDox doesn't fit my hands so it's uncomfortable to use the thumb clusters. The Kinesis does if I place it very low, but I'd like to retain the rest of my muscle memory for key location.

Re: Get things done with Emacs

#66
post #31

I really like emacs, and I want to use it. I really loved the way I could mix my thoughts and tasks in org and have an agenda view that shows me a todo list. However, I spend so much time without a computer that it doesn’t make sense for me to use org mode. I’ve tried a mobile app for org mode but it didn’t work as well for me as a task tracker that has a mobile app. How are others in this situation working with org?

On Android devices, you can use Termux (Debian style Linux as an app) and install a complete emacs inside. I use it on a tablet and sync files (incl. *.org) over ssh with my "real" computers.

The tablet can be used with a bluetooth keyboard if I have to do a lot of typing and have no laptop with me. And thanks to ssh I can reach any of my computers, even ones at home via reverse ssh tunneling.

Re: Get things done with Emacs

#67
post #66
post #31

I really like emacs, and I want to use it. I really loved the way I could mix my thoughts and tasks in org and have an agenda view that shows me a todo list. However, I spend so much time without a computer that it doesn’t make sense for me to use org mode. I’ve tried a mobile app for org mode but it didn’t work as well for me as a task tracker that has a mobile app. How are others in this situation working with org?

On Android devices, you can use Termux (Debian style Linux as an app) and install a complete emacs inside. I use it on a tablet and sync files (incl. *.org) over ssh with my "real" computers. The tablet can be used with a bluetooth keyboard if I have to do a lot of typing and have no laptop with me. And thanks to ssh I can reach any of my computers, even ones at home via reverse ssh tunneling.

Isn't that too much effort for something as simple as that.

Re: Get things done with Emacs

#68
post #63

Earlier quoted context omitted.

Arguing that Vim or Neovim run faster than Emacs is like saying that your single-engine sport aircraft moves faster than my best aircraft carrier. An average Emacs user installs and loads a few hundred packages, ranging from Org-mode and version control extensions to PDF tools, and natural language assistants. I bet Vim wouldn't be "faster" if you feed it up with even half of that number of plugins. Vim and Emacs hav…

> Arguing that Vim or Neovim run faster than Emacs is like saying that your single-engine sport aircraft moves faster than my best aircraft carrier. Vim vs. Emacs debates these days remind me of a story I read about an F-16 pilot and an A-10 Warthog pilot sitting in a bar, debating the merits of their respective planes. At one point the F-16 pilot said something like "Come on, you have to admit that an F-16 with AIM-…

> That said, it also has in common with the Warthog that its number is coming up and it is probably soon to be retired permanently because the landscape has evolved out from underneath it.

Do you think so?

Unlike the Warthog, Emacs has also been evolving. Doesn’t LSP close a large part of the gap with IDEs?

Re: Get things done with Emacs

#69

Richard stallman himself got repetitive strain injury from emacs. So many people have. They tell you to remap the key to caps lock they tell you to use your palm instead of your finger they tell you to get a weird keyboard but at the end of the day it was just poorly designed. Vim is only slightly slower but so much easier on my hands. Yes, I could get emacs evil or spacemacs or whatever but bolting on modality to an…

> Richard stallman himself got repetitive strain injury from emacs Is this really true? Some notes at https://stallman.org/stallman-computing.html indicate it was a different type of strain injury, unrelated to ctrl/meta key: > In the mid 90s I had bad hand pain, so bad that most of the day I could only type with one finger. The FSF hired typists for me part of the day, and part of the day I tolerated the pain. After…

Mine was more ulnar tunnel (emacs pinky) than carpel. I too had the problem of the hard keys. From what I can tell my problem was that my muscles grew so tight that there was no space for my nerves, causing owner tunnel numbness. Neurologist tested my nerves and found no damage, and the massage therapist I later visited told me that this could happen. It also explains why rock climber's stretches helped me make the problem go away. But to this day it comes right back the minute I turn on emacs.

Re: Get things done with Emacs

#70

Side comment about the presentation on the blog. Looks like old type-written page, with color. Very clean style, very readable. I like it. The CSS style sheet has the author's name on it, so I guess it is their work. Good job!

The CSS stylesheet is available at https://github.com/rougier/emacs-gtd/blob/master/GTD.css
Post reply on HN