Live data from Hacker News

Literate Devops with Emacs Org-Mode (2014)

howardism.org

21–30 of 86 posts

Re: Literate Devops with Emacs Org-Mode (2014)

#21
post #6

much of whats covered in org mode can be handled by vim's folding option. if you write ansible playbooks with coworkers who handle automation as a stream of consciousness out of a single file, folding can save you some sanity. http://vim.wikia.com/wiki/Folding

Since we're off-topic anyway: have you tried Spacemacs? It's all the ingrained vim keybindings on top of a... more powerful system.

Re: Literate Devops with Emacs Org-Mode (2014)

#22
post #2

Org-mode & Magit really are the secret superpowers of modern emacs. And notmuch (full-text search of one's email, at least one order of magnitude faster than Gmail's!). And elfeed. And gnus. And dired. And pretty much everything else in emacs …

Org-mode has been nice the few times I've tried it, but without decent mobile support or multi-master syncing, it's hard to adopt it as my main productivity tool.

I've tried a few mobile org-mode clients and been universally disappointed. I'm increasingly convinced that the right path forward is to give Emacs an Android port (it's not that hard) and let the mobile org just be the mainline org, perhaps with a layer of android.view.View widgets (orchestrated from lisp) as an interface.

Re: Literate Devops with Emacs Org-Mode (2014)

#23
post #6

much of whats covered in org mode can be handled by vim's folding option. if you write ansible playbooks with coworkers who handle automation as a stream of consciousness out of a single file, folding can save you some sanity. http://vim.wikia.com/wiki/Folding

folding is a convenience feature of org-mode, and really not what it's all about.

I'm sure most of the individual features are available in vim and other editors, but it's tying everything together in a neat package that's the main draw of org-mode.

Re: Literate Devops with Emacs Org-Mode (2014)

#24
post #6

much of whats covered in org mode can be handled by vim's folding option. if you write ansible playbooks with coworkers who handle automation as a stream of consciousness out of a single file, folding can save you some sanity. http://vim.wikia.com/wiki/Folding

The ability to fold is defintively important to org-mode, but that's not really the point. Folding is a core-feature of Emacs (hs-minor-mode: https://www.gnu.org/software/emacs/manual/html_node/emacs/Hi...) and not inherent to org-mode.

org-mode is a major-mode and covers a little more than that^^

Re: Literate Devops with Emacs Org-Mode (2014)

#25
post #6

much of whats covered in org mode can be handled by vim's folding option. if you write ansible playbooks with coworkers who handle automation as a stream of consciousness out of a single file, folding can save you some sanity. http://vim.wikia.com/wiki/Folding

Do vim's folds give you a full literate programming environment with support for executing code, saving results in vars, WEB syntax, etc? From what I'm familiar with, vim's folding is a lot closer to outline-mode[1], which org relies on for folding. The folding is a very small part of org-mode's functionality.

[1] https://www.gnu.org/software/emacs/manual/html_node/emacs/Ou...

Re: Literate Devops with Emacs Org-Mode (2014)

#26
Org-mode and babel sound like good ideas, but in practice I've found it very finicky to use.

My main problem with it is that, unlike with executing commands in the shell, with org you don't get any progress, and emacs seems to hang while running the command.

For example, running apt update tends to freeze emacs without any progress reporting for a few minutes.

I'm hoping that I'm doing something wrong and that someone can chime in with a suggestion, because I really like org-mode, and I really like the idea of doing devops using it.

Re: Literate Devops with Emacs Org-Mode (2014)

#27
post #2

Org-mode & Magit really are the secret superpowers of modern emacs. And notmuch (full-text search of one's email, at least one order of magnitude faster than Gmail's!). And elfeed. And gnus. And dired. And pretty much everything else in emacs …

Org-mode has been nice the few times I've tried it, but without decent mobile support or multi-master syncing, it's hard to adopt it as my main productivity tool. I've tried a few mobile org-mode clients and been universally disappointed. I'm increasingly convinced that the right path forward is to give Emacs an Android port (it's not that hard) and let the mobile org just be the mainline org, perhaps with a layer of…

I use dropbox for multi-master syncing. Seems to work ok. Emacs even has some file locking stuff that seems to help prevent me from clobbering changes I've made on another machine

Re: Literate Devops with Emacs Org-Mode (2014)

#28
post #4
post #2

Org-mode & Magit really are the secret superpowers of modern emacs. And notmuch (full-text search of one's email, at least one order of magnitude faster than Gmail's!). And elfeed. And gnus. And dired. And pretty much everything else in emacs …

Is there some way to tell org exactly how I want it to spit out HTML? I was going to do my blog entirely with org-mode+org-publish, but it spits out a mess of HTML and also a small bit of js for some reason, so I'm just writing html directly myself now. I don't really find writing html myself all that annoying or anything, but it'd be nice if I could get org to generate really clean/simple HTML for me that I could th…

Not exactly what you're asking for but I got great results with org-page[0]. It might be worth taking a look.

[0]: https://github.com/kelvinh/org-page

Re: Literate Devops with Emacs Org-Mode (2014)

#29
post #26

Org-mode and babel sound like good ideas, but in practice I've found it very finicky to use. My main problem with it is that, unlike with executing commands in the shell, with org you don't get any progress, and emacs seems to hang while running the command. For example, running apt update tends to freeze emacs without any progress reporting for a few minutes. I'm hoping that I'm doing something wrong and that someon…

It's not 'freezing' Emacs so to speak, source block execution is synchronous.

Check out: https://github.com/astahlman/ob-async if you want to change that.

Re: Literate Devops with Emacs Org-Mode (2014)

#30
post #2

Org-mode & Magit really are the secret superpowers of modern emacs. And notmuch (full-text search of one's email, at least one order of magnitude faster than Gmail's!). And elfeed. And gnus. And dired. And pretty much everything else in emacs …

Org-mode has been nice the few times I've tried it, but without decent mobile support or multi-master syncing, it's hard to adopt it as my main productivity tool. I've tried a few mobile org-mode clients and been universally disappointed. I'm increasingly convinced that the right path forward is to give Emacs an Android port (it's not that hard) and let the mobile org just be the mainline org, perhaps with a layer of…

Check out orgzly: http://www.orgzly.com/
Post reply on HN