News for hackers. Stuff that matters.

clojureyoureyes

I'd rewrite in a Clojure-like language
Re:Magit, the magical Git interface (2017) on Saturday October 23, 2021 @07:47AM (#28967537)
tried Wanderlust?
Re:Magit, the magical Git interface (2017) on Saturday October 23, 2021 @07:28AM (#28967443)
> Autocompletion is supported, but git provides this as well.

git, as a classic unix cli app, doesn't provide autocompletion

git, as a classic unix cli app, doesn't know nothing about the result of a previous command, etc.

These aren't the git flaws, but Unix ones.

Re:Magit, the magical Git interface (2017) on Saturday October 23, 2021 @07:14AM (#28967374)
> I have no interest in trying to memorize which hotkey does what, and how to bend yet a new interface to my will

you don't have to, most of the time `git subcommand` counterpart is just `M-x magit-subcommand`

Re:Magit, the magical Git interface (2017) on Saturday October 23, 2021 @07:10AM (#28967360)
> Yeah, git is certainly a low level tool.

> I too google the commands I don't use often.

So, spend more time getting the same result is fine for you?

Re:Magit, the magical Git interface (2017) on Saturday October 23, 2021 @07:09AM (#28967355)
Software is for people, not for software itself.

I want to get things done fast and with less cognitive load, magit allows me to, git doesn't.

Re:Life is 90% of my use cases for org-mode on Tuesday June 30, 2020 @10:20AM (#23690260)
> and modal editing saved my career from an early death by wrist injury

The fun thing is I stopped experiencing wrist pain after I switched from Vim to Emacs (with ±native bindings), partly because I moved Ctrl to Caps almost instantly, partly because I stopped using a lot 3rd party apps (e.g. XMPP/IRC clients) which required mouse.

Re:Life is 90% of my use cases for org-mode on Tuesday June 30, 2020 @10:07AM (#23690124)
> Because the MacBook trackpads are so precise

But you to have to know where to click. And that's the biggest problem with so-called "modern" UIs - it lacks discoverability. Either you memorize all menus and dialogs, or you have to seek out the functionality you need each time you can't remember anything. And sometimes these dialogs change, so you have to rediscover everything once again.

In Emacs, it's enough only to remember basic movement shortcuts. The rest of commands could be discovered easily with M-x and which-keys.

> You don't need emacs for that - just find a scheme interpreter in a web browser [0] and start reading SICP [1] until you get bored. That's all the effort you need to get the mind-expanding effect.

One of the main reasons I moved to Emacs (11 years ago) was Common Lisp and SLIME.

> If you really like it, move on to a "real" Lisp.

A real(world) Lisp is Clojure these days

Re:Life is 90% of my use cases for org-mode on Tuesday June 30, 2020 @09:54AM (#23689997)
> but I haven't developed the mental capacity to remember all the keyboard shortcuts for emacs or vim.

In Emacs - you don't have, there are a lot of packages which make the discoverability a breeze - counsel-M-x, helm-M-x for exploring all commands with corresponding shortcuts and also which-key, which allows you to automatically pop up the "next steps" in your current state.

How about having a mental capacity to remember all menus/dialog boxes in your IDE?

Re:Life is 90% of my use cases for org-mode on Tuesday June 30, 2020 @09:45AM (#23689908)
> I don't need my text editor to send email

You don't, there's an MTA for that, but for composing mail, filtering mailbox, searching and other text-related tasks Emacs has much superior interface.

> be an IRC client

Messaging consists mostly of text editing, especially in IRC, which doesn't have fancy stuff like stickers, GIFs, videos.

> What difference does it make what programs do those things, as long as they work well and I can extend the functionality as needed?

A consistent, self-documenting, extendable interface.

Re:Life is 90% of my use cases for org-mode on Monday June 29, 2020 @11:18AM (#23678386)
Emacs is not about shortcuts, you can use default, CUA, viper, Evil, or even custom ones. The main things are lisp and interactive commands.
Re:Life is 90% of my use cases for org-mode on Monday June 29, 2020 @11:15AM (#23678352)
emacsclient usually starts even faster than the Vim (even without .vimrc)
Re:Life is 90% of my use cases for org-mode on Monday June 29, 2020 @11:13AM (#23678329)
> I need better manipulation of context-specific, meaningful, rich objects.

They are still represented as text in 99% of editing interfaces, and you have to work with that representation.

Re:Life is 90% of my use cases for org-mode on Monday June 29, 2020 @11:11AM (#23678307)
> Emacs was invented for a world where Text was everything.

Text is still a large part of computing.

> These days programming languages are designed around tooling.

Every time I see a language which requires a lot of tooling to use it comfortably, usually it's bad designed one

> The whole idea of one having to press less buttons to move text around is really a solution for a problem that doesn't exist in the modern world.

I think the idea is not about having to press fewer buttons, but to bother your brain with unnecessary things as little as possible. With Emacs, you don't have to remember "where the hell is this command and what is the shortcut for it?", you type M-x (especially if you use plugins like counsel or helm) type some related words and that's it. You don't have to know how every function works - M-x decribe-function at your service! Not enough? You can always jump to definition and take a look at it.

> The thing is that kind of text manipulation work isn't common anymore.

You still write programs in text, the commands you give to computer ARE text too, even "modern" menus are nothing but text.

> The thing is that kind of text manipulation work isn't common anymore.

Emacs has LSP plugins, if that's what you are talking about

> Or in general some emacs features ported to vscode would be really neat.

Which features does VS Code have but Emacs don't?

Re:Life is 90% of my use cases for org-mode on Monday June 29, 2020 @10:51AM (#23678112)
Then find another one. Clojure is quite popular these days.