Live data from Hacker News

Emacs org-mode examples and cookbook

ehneilsen.net

11–20 of 166 posts

Re: Emacs org-mode examples and cookbook

#11
post #4

It's worth noting a great Android client for org-mode has been recently open sourced: http://www.orgzly.com/ https://github.com/orgzly https://f-droid.org/wiki/page/com.orgzly It was a little annoyance we did not have anything as good as this before.

An even better Android client for org-mode:

1. Install the Termux app.

2. Install the Termux API app.

3. Install the Termux api CLI tools via apt. You now have access to clipboard.

4. Install Emacs within termux.

Termux offers an apt-based package management system, and a substantial, though partial, set of Debian-based packages. (592 packages as I write this -- a full Debian archive is >60k packages now.)

There are other tools installable through other package-management archives -- notably python's "pip", which provides tools such as youtube-dl (I've previously mentioned this for offline viewing and listening of YouTube and other video/audio content).

I'm not particularly enamoured of the Android app "ecosystem" on multiple points. Including privacy and quality.

Re: Emacs org-mode examples and cookbook

#12
post #7

Looks great but I personally prefer to take notes with jupyter notebook. For TODO lists I prefer Asana, since it will send you e-mails/push notifications, and has a website + mobile app.

Can jupyter do tables and diagrams followed by code snippets in multiple languages?

A lot of the things in the article are supported.

You can format text and tables via Markdown, add MathJax equations, etc.

Then you can write down code, evaluate it, and it can evaluate to images as well... charts and such.

You can optionally export the resulting document to HTML and share it in static form, or just share a link to the notebook. In addition, github supports Jupyter notebooks.

Re: Emacs org-mode examples and cookbook

#13

Looks great but I personally prefer to take notes with jupyter notebook. For TODO lists I prefer Asana, since it will send you e-mails/push notifications, and has a website + mobile app.

Would that be this? https://jupyter.org/

(Your comment could be substantially improved by pointing to the source, and perhaps explaining why the tool is preferable, in your view.)

Re: Emacs org-mode examples and cookbook

#14
post #4

It's worth noting a great Android client for org-mode has been recently open sourced: http://www.orgzly.com/ https://github.com/orgzly https://f-droid.org/wiki/page/com.orgzly It was a little annoyance we did not have anything as good as this before.

There's also MobileOrg on iOS, but can only read from WebDAV or Dropbox.

Re: Emacs org-mode examples and cookbook

#16
post #10

Org-mode is on my list of things I should probably learn better, but never seem to get around to. Here are some entries in that list: Emacs Regex Latex Bash/Terminal/Powershell Unicode APL/J/K Linear Algebra Category Theory

I keep dozens of org files on Github in public repos. Here are a few: https://github.com/melling/LanguageLearning https://github.com/melling/ios_topics/blob/master/README.org https://github.com/melling/ComputerGraphics

This gave me an idea on how to organize interesting stuffs and it's quite simple. Thanks! I hope nickpeterson did got that idea too. And what I could recommend is to use emacs and org-mode everyday especially when taking notes. You can't learn without using them. It gave me lots of benefits.

Re: Emacs org-mode examples and cookbook

#17

Looks great but I personally prefer to take notes with jupyter notebook. For TODO lists I prefer Asana, since it will send you e-mails/push notifications, and has a website + mobile app.

Would that be this? https://jupyter.org/ (Your comment could be substantially improved by pointing to the source, and perhaps explaining why the tool is preferable, in your view.)

It is a very well known project, I didn't feel the need to introduce it.

You can see some demos here:

https://github.com/jupyter/jupyter/wiki/A-gallery-of-interes...

It's free/open source and can embed lots of different technologies:

https://github.com/jupyter/jupyter/wiki/Jupyter-kernels

I think Jupyter is very powerful, the learning curve is lower, and you can share your documents in an easy way if you need to.

Re: Emacs org-mode examples and cookbook

#18
post #4

It's worth noting a great Android client for org-mode has been recently open sourced: http://www.orgzly.com/ https://github.com/orgzly https://f-droid.org/wiki/page/com.orgzly It was a little annoyance we did not have anything as good as this before.

An even better Android client for org-mode: 1. Install the Termux app. 2. Install the Termux API app. 3. Install the Termux api CLI tools via apt. You now have access to clipboard. 4. Install Emacs within termux. Termux offers an apt-based package management system, and a substantial, though partial, set of Debian-based packages. (592 packages as I write this -- a full Debian archive is >60k packages now.) There are…

This is a great setup. However, on a small screen phone without a physical keyboard I tend to prefer a touch-based application. I rarely make any edits to my org files, but I often want to have a quick look.

Re: Emacs org-mode examples and cookbook

#19
post #7

Earlier quoted context omitted.

Can jupyter do tables and diagrams followed by code snippets in multiple languages?

A lot of the things in the article are supported. You can format text and tables via Markdown, add MathJax equations, etc. Then you can write down code, evaluate it, and it can evaluate to images as well... charts and such. You can optionally export the resulting document to HTML and share it in static form, or just share a link to the notebook. In addition, github supports Jupyter notebooks.

Both serve a similar purpose, but are not exactly equivalent. I use Org to take notes and write prose. I guess Jupiter could be extended enough to support many features that Org provides...

I guess it boils down to having a hierarchical vs sequential document as the base form, really.

Re: Emacs org-mode examples and cookbook

#20

Org-mode is on my list of things I should probably learn better, but never seem to get around to. Here are some entries in that list: Emacs Regex Latex Bash/Terminal/Powershell Unicode APL/J/K Linear Algebra Category Theory

Start using the tools.

For LaTeX: I very strongly recommend picking up a copy of the Lion Book (Leslie Lamport) and running through the examples. I actually picked up a great deal by taking documents I'd found online in bastardised for and tagging them up manually in LaTeX for output into flexible formats -- HTML, PDF, ePub, and more. It turns out that the basics of LaTeX are, well, pretty basics. Paragraphs are double returns, which buys you a lot. Italic and bold text, and the ``quoting'' style, are the main adaptations I had to make.

Digging into the equations and images features takes some doing, but you can produce excellent docs well before that point.

Stack Exchange has a wonderful LaTeX community.

Of the rest of your list:

1. Emacs: I actually got pretty good at it at one point, then signed on to a gig (in the days just before running one's own Unix was readily possible) in which it wasn't available and the boss (idiot) didn't believe in installing anything which wasn't vendor-provisioned. That said: commit to using it. I've found that I prefer vim's editing modes, but there's viper-mode in emacs. The power of having all text interactions under your editor is ... immense.

2. Regex: Start with the basics. The Sed & Awk book (O'Reilly) is a good start. Most of it is simple substiutions, and you can get tremendous mileage from that, though as with many tools, you can abuse the concept. Perl remains probably the canonical home for advanced regex use, though most languages have some facility for it now.

3. Bash: I'd recommend this, if only because Microsoft has a poor track record of integrating with others and/or supporting other tools over a long period of time. Bash has existed on Windows since the 1990s under various toolkits, most notably Cygwin, and is now pretty much native.

4. Unicode: mostly a matter of figuring out what bits you need within a given project. I'd deprecate that on your list and consider it something to pursue on an as-needed basis.

I can't much speak to the remainder of your list, though I'd suggest treating them as tools adapted to uses and goals.

Post reply on HN