News for hackers. Stuff that matters.
Re:Life is 90% of my use cases for org-mode by Rerarom on Sunday June 28, 2020 @07:16PM (#23672796)
I don't use emacs.

I use text files to organise myself but I use notepad++ to edit them.

I have tried to learn emacs a couple of times but I am really unmotivated - don't see any case where it would help me. I am afraid I'm missing something.

Re:Life is 90% of my use cases for org-mode by tgbugs on Sunday June 28, 2020 @10:24PM (#23673816)
An anecdote on what you might be missing. There is nothing concrete that not using org-mode would cause you to miss out on, it is rather the possibility of being able to access one of countless workflows that have been built on top of it.

When I started to use org-mode it was because I needed to generate a gant chart and I wanted a text format. I haven't used that functionality every again. Since then I have used org-mode for a variety of things, but never all at once, always a little piece at a time. Typeset a thesis in latex? Execute analysis code in a reproducible way? Write DRY bash scripts and tangle (compile) them? Run and log the output of one-off commands on remote servers so that if you ever have to do it again you have a record of it? The list goes on and on.

Last week I was told that I needed to start keeping track of the time I spend working on different tasks. Despite keeping todo lists I have never used the org clocking functions, ye there they were there, just a C-c C-x C-i and C-c C-x C-o away. Integrated into my workflow when I needed it with all of 30 seconds of effort and two key combinations of overhead.

Emacs is useful because countless others have encountered problems the likes of which a single person only rarely dreams. Not only that but they have probably already implemented a solution that is fairly easy to find once you encounter the problem and in 80% of the cases can be used unmodified.

Yes, you and all the rest of us are missing something. It is impossible NOT to miss something and no tool can solve that for you. The question to me is whether you want to spend your time learning a tool and integrating with an ecosystem where you never have the possibility of benefiting from the things that others did not miss.

Re:Life is 90% of my use cases for org-mode by brandonmenc on Sunday June 28, 2020 @10:12PM (#23673739)
Longtime (two-decade-ish) previous emacs user. I lived in it. I used it for literally everything - web browsing, mail, mp3 playing, etc.

> I am afraid I'm missing something.

You are not.

Nowadays I just use crappy little text editors for small notes and JetBrains IDEs for dev work.

Re:Life is 90% of my use cases for org-mode by Cthulhu_ on Monday June 29, 2020 @05:03AM (#23675759)
I needed to hear that; articles like this give me FOMO for emacs and lisp and the like, but the learning curve intimidates me. It wouldn't be the first task tracking application I'd be trying.

Right now I use intellij for my main development work; I use some keyboard combinations where applicable (and changed the keymap to Sublime Text because I've used it and its derivatives (vs code mainly) for the better part of my career.

I don't have a dedicated flow for task tracking. Right now for work we use Phabricator, it's a bit awkward because it's a heap of independent modules built on top of each other, but it met our requirements (free, open source, self-hosted, not shit).

For a while I used a todo.txt addon in Sublime Text, which worked great; haven't been able to find a good alternative to it.

Used Wunderlist for a while, but I couldn't find my finished tasks without paying and it's been discontinued. Same with Todoist, minus the discontinued-ness.

Anyway, I don't think keyboard-based tools for me; I'm pretty good at typing if I do say so myself (~120wpm according to online tests / typeracer and co), but I haven't developed the mental capacity to remember all the keyboard shortcuts for emacs or vim.

I also didn't grow up with *nix systems, commandline only became a thing once I started my education and career ~15 years ago.

Re:Life is 90% of my use cases for org-mode by brandonmenc on Monday June 29, 2020 @11:07PM (#23686080)
> articles like this give me FOMO for emacs and lisp and the like, but the learning curve intimidates me

Lisp is great and you should learn it. (If you want.)

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. This approach is also way more fun.

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

> Anyway, I don't think keyboard-based tools for me

Honestly, me neither.

At least, not the way they were when I used emacs as my "daily driver." Why? Because the MacBook trackpads are so precise and fast that "using the mouse" is no longer an impediment.

If you ever try to use a pre-2000 mouse and operating system with their horrible (compared to now) tracking and accuracy, the claim that mice slowed a developer down makes total sense. Nowadays? Not so much.

[0] https://inst.eecs.berkeley.edu/~cs61a/fa14/assets/interprete...

[1] https://mitpress.mit.edu/sites/default/files/sicp/full-text/...

Re:Life is 90% of my use cases for org-mode by clojureyoureyes 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 by brandonmenc on Tuesday June 30, 2020 @11:37AM (#23691116)
> 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.

afaik every modern IDE has this discoverability functionality. I use shift-shift and control-control autocomplete command menus all the time in JetBrains.

Re:Life is 90% of my use cases for org-mode by clojureyoureyes 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 by codygman on Monday June 29, 2020 @05:15PM (#23683175)
> > I am afraid I'm missing something. > You are not

You are missing an entire world treated as text and a consistent and an endlessly configurable interface for everything you can pull into your emacs Borg.

See this comment too: https://news.ycombinator.com/item?id=23673299

Note, many still use emacs for what the GP described and more.

Re:Life is 90% of my use cases for org-mode by brandonmenc on Monday June 29, 2020 @07:37PM (#23684762)
Yes, but you don't like, need that to be, I dunno, a complete programmer or person. Which is how the "cult" (tongue-in-cheek) treats it, and why this person has FOMO.

There are tons of examples of programming wizards and productivity gurus who don't use emacs. And you'll encounter lots of people who can't get shit done but who fiddle endlessly with emacs or vi or whatever configs and believe they have some super efficient direct connection from their brain to their computer.

Some of the best, most productive programmers I know use notepad, and some of the worst use emacs. ymmv.

Re:Life is 90% of my use cases for org-mode by codygman on Tuesday June 30, 2020 @06:34PM (#23695569)
> Yes, but you don't like, need that to be, I dunno, a complete programmer or person.

Yeah? I'm not sure how meaningful this argument is here since you can just get by with nano and a terminal.

> Which is how the "cult" (tongue-in-cheek) treats it, and why this person has FOMO.

I frequent the places that the "cultists" would most likely be and the prevailing theme is "if your workflow works, keep it, but emacs could do X for you".

> There are tons of examples of programming wizards and productivity gurus who don't use emacs.

Yeah, but that doesn't mean Emacs wouldn't make them less or more productive.

I don't think I've seen the "you need emacs" strawman your arguing against in practice.

> And you'll encounter lots of people who can't get shit done but who fiddle endlessly with emacs or vi or whatever configs and believe they have some super efficient direct connection from their brain to their computer.

Would those people be more or less productive without emacs? I find answering questions like this for myself difficult, I can't imagine trying to decide others would be better off not using an editor.

Isn't saying lots of people exist that would be more productive without the kind of presumption that annoyed you from the Emacs cult?

> Some of the best, most productive programmers I know use notepad, and some of the worst use emacs. ymmv.

Right, which is why I commented what the other user was missing and not "you need this".

Re:Life is 90% of my use cases for org-mode by thom on Sunday June 28, 2020 @08:50PM (#23673299)
Emacs is an enormous investment but every time I'm forced to use another editor or IDE I'm reminded how much it pays off. Fundamentally, all Emacs does is treat the whole world as text. Everything from that point forward is about giving you (or allowing you to build) tools to manipulate text in a way that is natural and powerful for you.

This doesn't sound particularly earth-shaking, but it really is. Think of a language like Ruby or especially Clojure, where there are a few core data structures, but many things that leverage them. This means that every time you learn part of the Ruby Array API, or a useful function to work on Clojure sequences, you get to use that _everywhere_. So all of Emacs' basic interactions (and they may seem weird to begin with but they're honestly just trying to save your wrists some pain) work everywhere. You can always trust your intuitive, spatial model of the thing you're looking at. Search backwards in a text file, find some text, select it, copy it, go back to the end and paste it. That works exactly the same in a shell. It works exactly the same in a database client. Or SSH'd into a server. Or replying to an email. Same gestures when entering commands, same gestures moving around in autocomplete popups.

Everything you learn with Emacs (and later, everything you write with elisp), has a little incremental benefit to your power and productivity manipulating text. Except everything is text, and so it all multiplies together.

For whatever reason, I've been trying VSCode on Windows the last couple of weeks, coming from an Emacs on Linux background. I cannot tell you how painful I find it, even after making a pretty good attempt to map all the keys correctly (snarky sidebar, sorry: every editor and IDE has really good Vim key bindings, but terrible Emacs support. I used to feel bad about this until I realised it was a sign that Vim people clearly didn't use Vim that much, whereas Emacs people never leave Emacs). But VSCode begins at a completely different level of abstraction to Emacs. It doesn't want to show you a text-based UI everywhere, and implement tools to manipulate text. It wants to show you windows and panels and configuration screens and extensions with their own behaviour. Everything is modal and different, some windows are special, and you can't just navigate around the same way everywhere.

So, sure, this isn't for everyone, but it's what I love about Emacs, to the point that the many regular indignities it forces on you (hangs if you're not careful about large files, abysmal performance of various things on Windows because of the overhead of starting processes, and sure, the learning curve for some people) are bearable because everything is so natural.

Re:Life is 90% of my use cases for org-mode by smichel17 on Sunday June 28, 2020 @10:44PM (#23673888)
> snarky sidebar, sorry: every editor and IDE has really good Vim key bindings, but terrible Emacs support. I used to feel bad about this until I realised it was a sign that Vim people clearly didn't use Vim that much, whereas Emacs people never leave Emacs

[vim user] Usually I don't get baited by the holy war, but this one got me good, well played.

I don't use other editors much, but my experience with them has been that they usually do have good basic vim keybindings, but only for the default keys, and never with support for configuration; I have k-j and j-k mapped to esc, so I don't have to take my hands off the home row to leave insert/visual mode, and not being able to do that is terrible. So I don't use vim keybindings even if they are available -- it's more frustrating to put my brain in "vim mode" and then have some things missing, than to just use the default settings.

Also, it's always been weird to me how it's emacs vs vim. Vim is a text editor; emacs is an IDE and an operating system. When I'm working I'm constantly ctrl-z-ing out of vim to use other tools.

Re:Life is 90% of my use cases for org-mode by tasuki on Monday June 29, 2020 @02:57AM (#23675083)
> have k-j and j-k mapped to esc [...] and not being able to do that is terrible

Me too, and for me too.

What do you use that doesn't allow jk for normal mode? I found it works with most programs in which I use vim bindings nowadays:

https://github.com/tasuki/dotrc/blob/master/.inputrc#L8-L13

https://github.com/tasuki/dotrc/blob/master/.zshrc#L41-L42

https://github.com/tasuki/dotrc/blob/master/.ideavimrc#L5-L7

Re:Life is 90% of my use cases for org-mode by codygman on Monday June 29, 2020 @05:18PM (#23683216)
I use jf as escape in emacs/evil ;)
Re:Life is 90% of my use cases for org-mode by kamaal on Sunday June 28, 2020 @09:49PM (#23673642)
Emacs is suffering from the same problem Perl is suffering offlate. Emacs was invented for a world where Text was everything. These days programming languages are designed around tooling. This is very much true for languages like Java, Python, Go. The programming tool needs to have a lot of sane builtin defaults and extensions.

The other problem is speed of typing is irrelevant if you are working with libraries all the time, which is basically what most of the programming world does. This is also true in part for vim. 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.

Emacs is still very good in things like Keyboard macros, and M-x Occur etc. Basically text manipulation stuff. The thing is that kind of text manipulation work isn't common anymore.

Having said that, I'd be very happy if there was a good default keyboard macro system in vscode. Or in general some emacs features ported to vscode would be really neat. Some features in emacs would make great feature ideas in vscode.

Re:Life is 90% of my use cases for org-mode by clojureyoureyes 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 by _emacsomancer_ on Monday June 29, 2020 @08:11PM (#23685052)
> Emacs was invented for a world where Text was everything.

Given that you're still on a computer, what do you think isn't representable as text in one way or other? You can drag and drop images from a browser into Emacs[1], and it will download the image to a sensible (and configurable) location, add a link to the file and display it inline.

> The other problem is speed of typing is irrelevant

Yes, but having an interface which is reasonable and configurable is important for managing cognitive load, and Emacs excels here.

[1] https://github.com/abo-abo/org-download

Re:Life is 90% of my use cases for org-mode by kamaal on Monday June 29, 2020 @11:48PM (#23686351)
Doing less work is pretty much the programmer creed. But that statement has several dimensions. Including having to do less configuration and tweaking work.

I think a modern lisp based editor, with concurrency/threading built in. With Racket/Clojure/CL backend with modern controls builtin would be all we need.

You still keep the emacs spirit, but with modern outlook.

Re:Life is 90% of my use cases for org-mode by _emacsomancer_ on Tuesday June 30, 2020 @12:00AM (#23686401)
> I think a modern lisp based editor, with concurrency/threading built in. With Racket/Clojure/CL backend with modern controls builtin would be all we need.

Sure, but it's the same as the "replace (La)TeX" problem: part of the value of the ecosystem is the huge collection of packages/extensions.

But if there was a reasonable way of porting packages over to a CL/Scheme new editor base, I agree that would be good.

> Including having to do less configuration and tweaking work.

Sure, but a bad, unconfigurable tool is more work.

Re:Life is 90% of my use cases for org-mode by codygman on Monday June 29, 2020 @05:22PM (#23683263)
> Emacs was invented for a world where Text was everything.

Text still is mostly everything for all of my backend programming, note taking, etc.

> The other problem is speed of typing is irrelevant if you are working with libraries all the time, which is basically what most of the programming world does.

Typing speed is far from the most important part. It's the consistent interface for everything, reduction of cognitive load, and everything being available at your fingertips in emacs.

Re:Life is 90% of my use cases for org-mode by Skunkleton on Sunday June 28, 2020 @10:19PM (#23673783)
> snarky sidebar, sorry: every editor and IDE has really good Vim key bindings, but terrible Emacs support. I used to feel bad about this until I realised it was a sign that Vim people clearly didn't use Vim that much, whereas Emacs people never leave Emacs

How could you emulate emacs? Just the keybinds would miss the point.

Re:Life is 90% of my use cases for org-mode by rz2k on Sunday June 28, 2020 @11:46PM (#23674159)
Is there a way to run Emacs on MacOS with an updated interface? Running Emacs in the terminal limits the functionality, but the GUI versions I've tried are garish-looking to me.
Re:Life is 90% of my use cases for org-mode by f89839999999999 on Monday June 29, 2020 @05:54AM (#23675995)
By garish-looking do you mean with the default white background and awful looking buttons?

I installed the Doom Emacs configuration and it looks really great and modern on macOS. I think you'd like it! Definitely worth a quick install to see what is possible - you can always go and make your own configuration based on that if you want

Doom Emacs: https://github.com/hlissner/doom-emacs

Doom Emacs themes: https://github.com/hlissner/emacs-doom-themes (can be installed standalone but not sure if they disable the toolbars etc)

Re:Life is 90% of my use cases for org-mode by ryukafalz on Sunday June 28, 2020 @11:52PM (#23674189)
It absolutely is possible to get Emacs on macOS looking super minimal with no toolbars. Here's mine, for example:

https://imgur.com/a/om7exnP

Re:Life is 90% of my use cases for org-mode by rz2k on Monday June 29, 2020 @12:09AM (#23674249)
I toned down my original comment, but that looks much better than the default installation.

Is that just the default installation with better choices in the settings? I should have been more patient Emacs and persistent in configuring it.

Re:Life is 90% of my use cases for org-mode by ryukafalz on Monday June 29, 2020 @11:18AM (#23678379)
I used a few packages to get me there (though some of it can be done through configuration, it was just easier that way). The relevant bits in my config are:

- better-defaults (removes the toolbars/etc): https://github.com/technomancy/better-defaults

- doom-modeline (a nicer-looking modeline - that's the bar at the bottom): https://github.com/seagle0128/doom-modeline

- base16-chalk theme from base16-theme

All of the above packages are in MELPA.

And then the transparent titlebar is:

    (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
    (add-to-list 'default-frame-alist '(ns-appearance . dark))
Re:Life is 90% of my use cases for org-mode by billwear on Sunday June 28, 2020 @11:52PM (#23674187)
can you get to a Darwin shell? i think my wife runs emacs there from the cmd line, which is much calmer.
Re:Life is 90% of my use cases for org-mode by thom on Monday June 29, 2020 @08:28AM (#23676935)
On a similar note, I have found on Linux that just switching to a virtual terminal and running Emacs in text mode is an absolutely wonderful way of achieving deep focus without distractions. Obviously not much use if you need a web browser on your second monitor though.
Re:Life is 90% of my use cases for org-mode by uaas on Monday June 29, 2020 @04:52AM (#23675715)
Have you tried spacemacs yet?
Re:Life is 90% of my use cases for org-mode by vkou on Sunday June 28, 2020 @10:48PM (#23673906)
But I don't work with text. I work with semantically meaningful code.

I don't need better manipulation of meaningless context-free lexicographical symbols. I need better manipulation of context-specific, meaningful, rich objects. I spend very little time on the former, and almost all of my programming time on the latter.

Re:Life is 90% of my use cases for org-mode by deleuze on Sunday June 28, 2020 @11:11PM (#23674015)
This is why you write Lisp in Emacs. :)
Re:Life is 90% of my use cases for org-mode by vkou on Monday June 29, 2020 @06:28AM (#23676186)
Sadly, my employer does not pay me to lisp.
Re:Life is 90% of my use cases for org-mode by clojureyoureyes on Monday June 29, 2020 @10:51AM (#23678112)
Then find another one. Clojure is quite popular these days.
Re:Life is 90% of my use cases for org-mode by codygman on Monday June 29, 2020 @05:25PM (#23683299)
You can have a good text editor and semantically meaningful code manipulation.

Emacs has had structural editing for lisp how long?

Plus, it's nice to fallback to ctags or ripgrep if your lsp server dies

Re:Life is 90% of my use cases for org-mode by clojureyoureyes 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 by fsckboy on Sunday June 28, 2020 @09:37PM (#23673561)
emacs used to treat the whole world as text. now it treats .jpg files as images, and based on the extension, not the magic numbers. it's mildly infuriating.
Re:Life is 90% of my use cases for org-mode by totetsu on Sunday June 28, 2020 @08:15PM (#23673142)
I only really use emacs for Org mode and Org mode extensions. It wasn't too hard to learn just enough emacs for that. The motivation comes from how fast and convenient org mode is as a journal and a static site generator, compared to other tools, and having all my documents in plain text for future proofing.
Re:Life is 90% of my use cases for org-mode by billwear on Sunday June 28, 2020 @08:32PM (#23673224)
yes, exactly. i don't even pretend to know a shard of what's available in emacs. i think of it like being able to afford a full-size, professional mechanic's toolbox: you won't have a clue what half of those tools do, but if you run into some weird problem, you can figure out the tool and solve the problem without buying something else.
Re:Life is 90% of my use cases for org-mode by bitwize on Sunday June 28, 2020 @11:29PM (#23674097)
Don't worry about it too much. If your workflow works for you, go nuts with it.

But should you one day find yourself needing an informational omnitool that can be adapted to the task at hand while you work with it, you will find that there is simply no substitute for Emacs. And that's the difference between an extensible text editor and Emacs. A few lines of Emacs Lisp and some Unix plumbing can get you very far -- and you can debug it in production, dynamically updating the Lisp code as you use it.

Re:Life is 90% of my use cases for org-mode by bananamerica on Sunday June 28, 2020 @07:21PM (#23672829)
Emacs is great, but use whatever you want. Of course you’ll be missing on something but that’s true for a lot of things.
Re:Life is 90% of my use cases for org-mode by taeric on Sunday June 28, 2020 @08:04PM (#23673071)
Worth underscoring that you are always missing something. You don't dodge that bullet by using emacs, just pick what you want to miss.
Re:Life is 90% of my use cases for org-mode by bitdeveloper on Sunday June 28, 2020 @08:21PM (#23673175)
For example, if you do choose to use emacs, then you are missing out on time you could have spent learning vim.
Re:Life is 90% of my use cases for org-mode by bananamerica on Sunday June 28, 2020 @08:53PM (#23673312)
I used Vim for two years, now I use Evil on Doom Emacs. I actually find it superior to the real thing.
Re:Life is 90% of my use cases for org-mode by deleuze on Sunday June 28, 2020 @11:12PM (#23674025)
IMO Emacs is better at being Vim than Vim
Re:Life is 90% of my use cases for org-mode by bananamerica on Monday June 29, 2020 @06:17AM (#23676117)
One thing I like more about Vim is that its ideal for quick edits in the command line. I don't my whole Emacs init for that. Maintaining two sets of configurations on Emacs is not as simple as it should be.
Re:Life is 90% of my use cases for org-mode by yourapostasy on Monday June 29, 2020 @08:39AM (#23677015)
Try configuring your environment so you run constantly within your Emacs, and use tramp to get to those quick edits. I do reach for vim when I'm on like an airgapped or DMZ'd system, so I totally know what you are saying. Tramping out to nearly all my servers has let me retain for longer the threads of flow established within my Emacs session.

Lately, I've been experimenting with CRIU preserving my tmux'd Emacs session state. So unless an OS update hits libraries my Emacs session needs to reload, I should be able to maintain a better relocatable resumable state than even the Emacs desktop alone could.

Re:Life is 90% of my use cases for org-mode by deleuze on Monday June 29, 2020 @10:33AM (#23677938)
Run Emacs as a daemon/server and then connect with emacsclient in the terminal. Will start up in about the same time as Vim.
Re:Life is 90% of my use cases for org-mode by bananamerica on Monday June 29, 2020 @11:28AM (#23678481)
I run Emacs as a daemon but I need two sets of configurations because many colors and keybindings won’t work on the terminal.
Re:Life is 90% of my use cases for org-mode by _emacsomancer_ on Monday June 29, 2020 @08:12PM (#23685059)
You can run multiple daemons of course.
Re:Life is 90% of my use cases for org-mode by bananamerica on Tuesday June 30, 2020 @03:19PM (#23693753)
Complexity intensifies... hahaha
Re:Life is 90% of my use cases for org-mode by clojureyoureyes 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 by philosopher1234 on Sunday June 28, 2020 @08:39PM (#23673251)
Nothing like a bit of vim vs emacs. Though I do get sick of vim winning every time ;)
Re:Life is 90% of my use cases for org-mode by bananamerica on Sunday June 28, 2020 @08:55PM (#23673324)
Vim and Emacs are not in the same category. Direct comparisons are silly and useless, like comparing Pycharm and Notepad++.
Re:Life is 90% of my use cases for org-mode by craig131 on Sunday June 28, 2020 @09:20PM (#23673487)
Nothing’s in the same category when you look deep enough into them.
Re:Life is 90% of my use cases for org-mode by bananamerica on Sunday June 28, 2020 @09:24PM (#23673505)
This says nothing about the matter at hand. The concept of category is useful, regardless of its impreciseness. And some categorizations are better than others.

> Nothing’s in the same category when you look deep enough into them.

That’s also patently false: many things belong to the same category. Everything that exists belongs to the existent category, for example.

Re:Life is 90% of my use cases for org-mode by komali2 on Sunday June 28, 2020 @09:26PM (#23673512)
Evil mode on emacs, that was easy ;)
Re:Life is 90% of my use cases for org-mode by maxmalysh on Sunday June 28, 2020 @08:41PM (#23673260)
But be careful with vim, because one does not simply quit vim...
Re:Life is 90% of my use cases for org-mode by nayaketo on Sunday June 28, 2020 @09:07PM (#23673400)
... or exit it.
Re:Life is 90% of my use cases for org-mode by Koshkin on Sunday June 28, 2020 @07:44PM (#23672950)
Emacs is just a different universe. You either learn to live in it or you don’t. That’s all there is to it.
Re:Life is 90% of my use cases for org-mode by umvi on Sunday June 28, 2020 @07:22PM (#23672832)
I think the appeal is hack-ability. You can easily write a little Lisp program that hooks into emacs which you can trigger any number of ways.
Re:Life is 90% of my use cases for org-mode by naveen99 on Sunday June 28, 2020 @09:10PM (#23673422)
Checkout the emacs wiki: https://www.emacswiki.org/

See if you find any features or extensions that aren’t available on notepad++...

My .emacs configuration is based on vim style modal shortcuts that make me faster than a mutant: https://github.com/tinku99/dotfiles/blob/master/init-public....

I also use org-mode as a minor mode for autohotkey code editing, by changing the outline character from * to ; ... https://github.com/tinku99/ahk-org-mode

Re:Life is 90% of my use cases for org-mode by na85 on Sunday June 28, 2020 @07:28PM (#23672860)
I say this as an avid emacs user: Emacs has a real problem in that it's very powerful but the, let's say, spiritual leader of the project (Stallman) is so wildly divorced from the real world because of his personal choices that he really has no idea what makes a compelling UX vs what makes a complete mess of arcane incantations. On top of that, the documentation is only suitable as a reference for someone who already knows emacs, so it's hard to learn.

To wit: Again I really really like Emacs as a piece of software, and I've been using it for like 10 years now. Maybe 3 or 4 of those years I've been using it reasonably seriously and even I find my eyes glaze over because of how dense and unapproachable the documentation is.

On top of that, being a political project, Stallman actively resists certain improvements to Emacs that would for example make it work better on my Mac, because my Mac is nonfree and Stallman would rather have an objectively poorer piece of software than one that "encourages" using MacOS.

And of course the other senior people in the Emacs project don't want to go against Stallman, so emacs is doomed to being a mediocre niche text editor with unrealized potential to become a household name.

If someone wrote an open source clone of Emacs that adopted some sane defaults, modern UI conventions, and dropped all the political BS it could be so much better.

Alas I don't have the skill nor the time to attempt such a thing.

Edit: hey how about a substantive reply rather than drive-by downvotes?

Re:Life is 90% of my use cases for org-mode by quadrifoliate on Sunday June 28, 2020 @08:21PM (#23673173)
I'm genuinely puzzled about why posters like this want to make Emacs into some kind of household name if only it would do some random thing that they want.

I'm a die-hard Emacs fan, but it's a tool. It works well -- really well for a lot of us. For the rest, honestly, I don't care very much about evangelizing Emacs because I have a lot left to explore about using it first. There is 20- and 30- year old elisp out there that still runs perfectly well on a modern Emacs and probably solves some of your problems. Rendering a crop of the latest fly-by-night emoji is honestly the least of my concerns (with reference to the MacOS thing), although I personally disagree strongly with Stallman's stance in that matter.

I agree about the docs being dense and somewhat unapproachable, a lot could be done towards making elisp easier to approach. I think a big problem here is the unapproachability of any Lisp (not just Emacs Lisp) as a scripting and configuration language. In fact, I wonder if (Clojure being the first), elisp is the second most popular scripted Lisp in existence.

Re:Life is 90% of my use cases for org-mode by hvis on Monday June 29, 2020 @04:23PM (#23682347)
> Rendering a crop of the latest fly-by-night emoji is honestly the least of my concerns (with reference to the MacOS thing), although I personally disagree strongly with Stallman's stance in that matter.

Of course you do. This policy doesn't benefit you in the slightest, and since you are a macOS user already, all of your experience is telling you that this policy doesn't work.

But this particular policy is logical, and it doesn't really hurt Emacs. And, who knows, perhaps one day some talented/bored macOS developer will become so unhappy with Emacs not showing the latest fashion of emojis, they will go on and implement that support in Free libraries that are used for text rendering on GNU/Linux, and contribute it upstream.

Re:Life is 90% of my use cases for org-mode by omaranto on Sunday June 28, 2020 @10:20PM (#23673787)
> If someone wrote an open source clone of Emacs that adopted some sane defaults, modern UI conventions, and dropped all the political BS it could be so much better.

Emacs does have sane defaults. Did you mean instead you want defaults that remind you of the defaults in other (younger) programs that people might be more familiar with? That can be useful to gain more users. But it doesn't require an Emacs "clone", just an Emacs package with the settings you want. This approach is actually pretty popular: many people use CUA mode, Evil or even a distribution like Doom or Spacemacs. There's no need to change Emacs just to change a few defaults.

There are also package that address the "modern UI conventions" part of your complaint too to some extent, and again, distributions like Doom and Spacemacs include some of these packages. (Personally I only care if UI is practical and efficient, not if it is modern, but I do understand that some people like modern UIs for their own sake.)

Re:Life is 90% of my use cases for org-mode by lgessler on Sunday June 28, 2020 @07:40PM (#23672920)
> If someone wrote an open source clone of Emacs that adopted some sane defaults, modern UI conventions, and dropped all the political BS it could be so much better.

Worthy of mention, of course, is Spacemacs[1], which made Emacs approachable to me, someone who hadn't used much beyond Notepad++ and Eclipse before then.

[1]: https://www.spacemacs.org/

Re:Life is 90% of my use cases for org-mode by na85 on Sunday June 28, 2020 @07:41PM (#23672932)
To me, the existence of spacemacs and doom and others are an indictment of Emacs' poor out of the box experience.
Re:Life is 90% of my use cases for org-mode by iLemming on Sunday June 28, 2020 @09:44PM (#23673606)
You have to understand that Spacemacs, Doom, ErgoEmacs, Prelude, etc. are not products. They are collections of recipes. And bare-bone Emacs is not a product either. Emacs is a kitchen where you use Lisp to bake your own editor/IDE/frankensteinian toy. Using Spacemacs or Doom doesn't liberate you from learning Lisp and Emacs internals.
Re:Life is 90% of my use cases for org-mode by mercer on Monday June 29, 2020 @03:21AM (#23675264)
> Using Spacemacs or Doom doesn't liberate you from learning Lisp and Emacs internals.

Yes it does, for me anyways, for the most part. While I definitely plan to dive deeper, I'm using plenty of Emacs stuff via Spacemacs, and I've customized plenty of stuff by copy/pasting incomprehensible elisp snippets.

Re:Life is 90% of my use cases for org-mode by iLemming on Monday June 29, 2020 @06:20PM (#23684009)
It does in the beginning. But if you want to become a serious Emacsen, it's better to learn some emacs-lisp.
Re:Life is 90% of my use cases for org-mode by mercer on Tuesday June 30, 2020 @04:51AM (#23688085)
Sure, but 'using' Spacemacs is still perfectly possible without learning Lisp and Emacs internals. I use magit, orgmode, tramp, and I'm in Emacs for significant chunks of the day. I'd say that doesn't only mean that I'm a proper 'user' of Emacs, but that I'm pretty serious about it!

Of course as a Lisp weenie I do intend to dive into Emacs and honestly part of the reason I don't is that I'm afraid I'll end up spending way too much time diving and tinkering.

Re:Life is 90% of my use cases for org-mode by lgessler on Sunday June 28, 2020 @07:58PM (#23673038)
I don't disagree. I greatly appreciate Emacs now that I know (5% or less of) it, but I don't think I could have gotten here if Spacemacs hadn't provided sane defaults for packages and keybindings.
Re:Life is 90% of my use cases for org-mode by jonfw on Sunday June 28, 2020 @08:20PM (#23673164)
That's the makings of great open source software- you have something very lightweight and unopiniated at the core, and distributions can pack all of the features and opinion they want on top of that to target more specific use cases. This allows you to keep the opinion downstream of the core project, so changes by people with different opinions can still find their way upstream.

Linux and Kubernetes are structured the same way- nobody is using that out of box on it's own

Re:Life is 90% of my use cases for org-mode by ssivark on Monday June 29, 2020 @02:11PM (#23680400)
And that’s fine, because Emacs is not meant to be an opinionated “app” or product. And that’s exactly what makes it so fantastic, in a landscape filled with crud that’s simple out-of-the-box, and then puts you in a straightjacket forever afterwards.
Re:Life is 90% of my use cases for org-mode by sriku on Sunday June 28, 2020 @09:48PM (#23673631)
Been reading Wittgenstein's Tractatus the past few days and your comment reminded me of the beginning (quoting from memory, not exact words) - "this book will perhaps be understand only by those who've already had the thoughts expressed in it or similar thoughts" :)

Emacs kind of gives me that same vibe. I used it for many years to organize my research but still have a hard time remembering key strokes and such .. though i dont have a similar issue with vim whose modal interface I find rather pleasantly compositional. So I get both the sense of power and flexibility, and the chaos of it.

Re:Life is 90% of my use cases for org-mode by taeric on Sunday June 28, 2020 @08:02PM (#23673061)
If all you think it needs are sensible defaults, try just bending said defaults.

I'm somewhat curious what choices of Stallman's you think are holding it back. Feels more alive to me than it has ever felt. And that branch that is using gcc to compile elisp is a delight.

I concede I expect there are choices made that could be bad; but I suspect most of the choices people think matter, don't. Which is why i highlight the compiling elisp branch. A complete rewrite would not have had as much of an impact. And, frankly, I feel elisp is easily as good of a language as any proposed choice. Better than most.

Re:Life is 90% of my use cases for org-mode by omaranto on Sunday June 28, 2020 @10:23PM (#23673811)
I agree about Emacs Lisp. A language without dynamically scoped variables or without macros would be a big step backwards.
Re:Life is 90% of my use cases for org-mode by tetris11 on Sunday June 28, 2020 @08:45PM (#23673278)
This. How is Stallman holding back the UX?
Re:Life is 90% of my use cases for org-mode by iLemming on Tuesday June 30, 2020 @06:08PM (#23695344)
He ain't holding it back. He's stalling it. He's the Stall-Man after all.
Re:Life is 90% of my use cases for org-mode by bitwize on Sunday June 28, 2020 @10:49PM (#23673909)
It doesn't follow Apple UI guidelines. In 1984 we learned that having one, single, mouse-driven UI paradigm for all programs, handed down to us by our superiors in Cupertino, was an objectively superior mode of interaction with a computer, saving many lives' worth of time and brainpower over the years. Yet somehow, Stallman remains so empathy-deprived as to be stubbornly unenlightened by this knowledge.
Re:Life is 90% of my use cases for org-mode by saagarjha on Sunday June 28, 2020 @07:39PM (#23672917)
> so emacs is doomed to being a mediocre niche text editor with unrealized potential to become a household name

Emacs is absolutely a household name, at least in the world of text editors…

Re:Life is 90% of my use cases for org-mode by lgessler on Sunday June 28, 2020 @07:40PM (#23672925)
I'd venture that it's not among rank-and-file software developers, though.
Re:Life is 90% of my use cases for org-mode by nsl73 on Sunday June 28, 2020 @07:47PM (#23672968)
I’m a software developer, that commonly talks about software development with a diverse group of software developers.

I’ve never had a conversation with a software developer where they didn’t know what vim or emacs are.

Re:Life is 90% of my use cases for org-mode by lgessler on Sunday June 28, 2020 @07:56PM (#23673025)
I just suspect that people here on HN are coming from the upper portions of the software developer spectrum in terms of experience, aptitude, enthusiasm, and training--there are plenty of other people in the world who do software development but lack some of those things. For my own part, I graduated with a bachelors in computer science having only heard Emacs mentioned once in a course (at the beginning of the second course in the intro sequence) by a particularly enthusiastic professor, and I never heard anyone talking about Vim or Emacs at my first job, where everyone more or less had to work exclusively with Visual Studio and an in-house IDE.
Re:Life is 90% of my use cases for org-mode by saagarjha on Sunday June 28, 2020 @08:03PM (#23673065)
Anyone that knows what vi is almost certainly knows what emacs is.
Re:Life is 90% of my use cases for org-mode by totetsu on Sunday June 28, 2020 @08:18PM (#23673152)
I'd say there is a fair few beginner Linux users who have followed a tutorial on OMGUbuntu or stackexchange who know of VI but will never hear of emacs.
Re:Life is 90% of my use cases for org-mode by nordsieck on Sunday June 28, 2020 @08:34PM (#23673231)
> I'd say there is a fair few beginner Linux users who have followed a tutorial on OMGUbuntu or stackexchange who know of VI but will never hear of emacs.

Ok.

But of those people who stick with vi for more than 6 months, how many of them have yet to hear of emacs at that point? Maybe 5%?

Re:Life is 90% of my use cases for org-mode by bitwize on Sunday June 28, 2020 @10:41PM (#23673876)
The software developers I asspciate with today in the enterprise world fall in one of two camps:

1) Emacs? What is that? Looks like it came out before I was born. No thank you, I need something modern.

2) Emacs? That's still around?! I remember that from my Vax days...

Either way, few of them would countenance the idea of using Emacs to do professional software development in 2020. The vast, vast majority of developers out there use either a large feature-rich IDE like Visual Studio, IntelliJ, or Eclipse... or they use Visual Studio Code.

Re:Life is 90% of my use cases for org-mode by komali2 on Sunday June 28, 2020 @09:30PM (#23673537)
https://insights.stackoverflow.com/survey/2019#technology-_-...

4.5%. So not many but it's certainly "among."

Re:Life is 90% of my use cases for org-mode by grzm on Sunday June 28, 2020 @09:32PM (#23673543)
That's those who use Emacs, not those who know what it is.
Re:Life is 90% of my use cases for org-mode by komali2 on Sunday June 28, 2020 @09:48PM (#23673632)
Surely the number of people who know what it is is higher than those who use it?
Re:Life is 90% of my use cases for org-mode by grzm on Sunday June 28, 2020 @09:52PM (#23673657)
My post was mostly a response to "not many".
Re:Life is 90% of my use cases for org-mode by sgillen on Sunday June 28, 2020 @07:49PM (#23672978)
Really? I don't think I've ever met a software developer that didn't know what vim and emacs were.
Re:Life is 90% of my use cases for org-mode by billwear on Sunday June 28, 2020 @08:36PM (#23673240)
my entire MAAS development team at Canonical are emacs users. we also have those who use vi or even visual studio. it's all about what works for you, i guess.
Re:Life is 90% of my use cases for org-mode by na85 on Sunday June 28, 2020 @07:40PM (#23672923)
I mean household name in the same class as MS Office.
Re:Life is 90% of my use cases for org-mode by fwip on Sunday June 28, 2020 @07:44PM (#23672947)
Are there any text editors that are? Maybe Notepad or Notes.app because they come preinstalled?
Re:Life is 90% of my use cases for org-mode by trenchgun on Monday June 29, 2020 @03:56PM (#23681897)
VScode is.
Re:Life is 90% of my use cases for org-mode by fwip on Tuesday June 30, 2020 @01:09AM (#23686757)
The same class as Office?

My teachers in highschool knew what Office was and how to use it. I doubt most teachers now have heard the name VS code and don't know why they'd want it.

Re:Life is 90% of my use cases for org-mode by _emacsomancer_ on Monday June 29, 2020 @08:15PM (#23685073)
In 20 years, no-one will remember VScode, but Emacs will still be around.
Re:Life is 90% of my use cases for org-mode by bjr11 on Sunday June 28, 2020 @07:59PM (#23673045)
You are asking others to make something that you want that they don't want and not giving them anything in exchange (money, time, code). Then saying "ALAS" I wont make these changes myself only complain on the internet about them. These vague wondrous changes will make Emacs a "household name".

1) Who cares about being a household name. Vain goals serve no one 2) You didn't specify one actionable change.

Re:Life is 90% of my use cases for org-mode by na85 on Sunday June 28, 2020 @08:19PM (#23673161)
>You are asking others to make something that you want that they don't want and not giving them anything in exchange (money, time, code).

Please quote where I asked anyone to do anything. I merely explained why emacs is not popular and why in my opinion it will never be.

This is sad to me because I quite like emacs, and if I had the capacity to fork it I would.

Re:Life is 90% of my use cases for org-mode by antoineMoPa on Sunday June 28, 2020 @07:36PM (#23672899)
Just sit down and follow the tutorial that you can click in the emacs homescreen.

It is not that easy, but the effort you invest in learning emacs will pay off eventually.

Re:Life is 90% of my use cases for org-mode by machinesbuddy on Monday June 29, 2020 @01:25AM (#23674611)
You are right if you are comfortable with your editor you're not missing a lot. I tried Emacs for a while it's nice and comfortable the moment your brain get used to the keyboard shortkeys though since it's a different word you start running everything in Emacs and it becomes your OS. Why it can be a problem is another story. Anyway I switched back to use different tools for different jobs. For taking notes and managing them I use Joplin it supports markdown, todo lists, etc. and you can even copy paste images into the editor. Lots of other features as well as sync with different backends.
Re:Life is 90% of my use cases for org-mode by clojureyoureyes 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 by Polylactic_acid on Sunday June 28, 2020 @08:53PM (#23673316)
I have been using zim wiki. Its essentially just a basic text editor but it has a tree view for your files and supports basic syntax including check lists. I have found this suits basically all of my needs.
Re:Life is 90% of my use cases for org-mode by iLemming on Monday June 29, 2020 @06:09PM (#23683890)
I have used many popular and some esoteric editors and IDEs (some of them today would be considered forgotten). The last one was IntelliJ that I used very extensively. To the point of finding some undocumented features. I have participated in many conversations regarding plugins. I have almost started building my own. I was pleased with it. JetBrains does make an incredibly powerful IDEs. After almost seven years of using IntelliJ, I switched to Emacs.

Emacs taught me something about myself that no other editor/IDE done before. It helped me to discover my hidden predilection. I realized that I am a tinkerer. You may say: "Aren't we all? We make software because we are tinkerers..." But there are two kinds of developers: non-conformist tinkerers and consumer-tinkerers.

People who end up using Emacs are those who would choose Gentoo or Arch, first of all, because "fuck Windows" and "Ubuntu is lame", and then because they can do some crazy stuff like hijacking display brightness beyond default limits (because one time they had to stare at it, sitting on a beach). Sometimes they hook up their garage doors to a DB, so they can collect data and analyze it later. Or they build their own mechanical keyboards. Etc.

Emacs taught me to abhor repetition and mundane tasks. It taught me that anything can be automated. Even Hell and Chaos can be automated. In that case, you simply end up having an automated hell and chaos. There are so many tiny examples, like whenever I'm writing something let's say in Python, and I would like to search for a code snippet on GitHub, I would simply select a piece of code in my editor and search for it - Emacs would navigate to GitHub, pass the string and even set the language to Python. Or whenever I need to create a new branch, I don't need to think about the name, I can use the ticket number and Emacs would request the issue tracker and create a branch name based on ticket's title. Or I can create a Gist (public or private) by pressing a couple of keys. And many, many more.

I can watch anyone using their favorite IDE and whenever they do something so trivial, something they've been doing for a long time, and very often I'd think - "Oh, I know, more efficient way of doing the same thing" or "Ah, I've been doing it the same way for years, maybe it's time to improve it. I just realized that this is not efficient enough." But it's not just about efficiency - when you add a tiny bit of automation to your task, it becomes so much less frustrating.

Of course, it is possible to have the same mindset and never get into Emacs. However, Emacs offers hundreds of tiny pieces to satisfy your needs. People say: "Emacs takes a long time to learn", but in reality - it would take you longer to become a true power-tinkerer using any other ecosystem of tools.

But it is also totally okay not to be a power-tinkerer. I know many developers who don't use any fancy ways of doing things, but they are still quite impressively, very productive.