Live data from Hacker News

Emacs org-mode examples and cookbook

ehneilsen.net

111–120 of 166 posts

Re: Emacs org-mode examples and cookbook

#111
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.

I was wondering just a few days ago whether building a nice Mac desktop app or maybe a web app, akin to Ulysses, but for Org file writing/editing, exporting etc. would be a viable idea and whether it could eat some of Markdown's marketshare by not being tied to Emacs, which is why I feel most people don't pick it up. Would that be something the HN crowd would be interested in?

It's way easier for someone to hack up an acceptable new UI for org-mode (whatever that looks like) using the existing underlying Emacs org-mode code/runtime than it is to hack up a new UI and completely replace all the Emacs code & org-mode.

You can run Emacs headless, it has C extension support now, your Mac app could start it headless and communicate with it over a socket or as a network process. Multiple Emacs modes do this to make Emacs itself talk to other programs (e.g. mu4e mu, gud gdb), there's no reason you can't do it the other way around.

Re: Emacs org-mode examples and cookbook

#112
post #53
post #9

Earlier quoted context omitted.

Yes. You can use cell magic to change the language for each cell and you can display HTML/latex output inline or just mix computations in with markdown. The only problem is that the editor is just a text box with annoying bracket matching instead of Emacs.

I really want to like Jupyter. But taking notes or working through things in a textbox element just doesn't cut it. If I could build my notebooks in emacs... But then org mode has most of the same functionality.

You actually can: http://kitchingroup.cheme.cmu.edu/blog/2017/01/21/Exporting-...

Re: Emacs org-mode examples and cookbook

#113

Earlier quoted context omitted.

You can get help in the spacemacs gitter chat... there is usually someone around that can help you out for most things. https://gitter.im/syl20bnr/spacemacs

In my experience, it was kind of hard to get someone to reply back to me when I had a problem.

I can be for some advanced things. it's still emacs under the hood though so emacs resources are valid sources of information. That said, it's not busy during the weekend usually and is more active during US business hours.

Re: Emacs org-mode examples and cookbook

#114
post #15

Every time I try to get into org-mode, I just don't get where to start and how to do things. So I end up going back to Sublime text, creating markdown files to take my notes, works well.

>Every time I try to get into org-mode, I just don't get where to start and how to do things.

Don't start with the manual. Emacs manuals are more like reference books.

Find some tutorials and go from there.

The learning curve is shallow - that I can promise.

Re: Emacs org-mode examples and cookbook

#115
post #60

I have been a heavy user of Emacs for six years or so. However, I never really got into org-mode. I use it for some simple notes and lists, but I never export them into any different format. If I want to produce a well-formatted PDF, I directly write LaTeX with the help of some very nice Emacs modes. For online documents I feel that some sort of Markdown is often the most practical choice. So far, in my experience th…

> If I want to produce a well-formatted PDF, I directly write LaTeX with the help of some very nice Emacs modes.

My experience is quite the opposite. I was a heavy LaTeX user, and stopped pure LaTeX years ago when I learned org mode. For the usual markup, Org mode syntax is much nicer than LaTeX's. And if I want custom LaTeX, Org mode lets me insert it in the document.

I never manually write TeX or HTML documents any more. I always author in Org mode and export.

>I thought org-mode would be useful for personal task management, but I find it to offer way to many intricate options for that. The restricted feature set of Wunderlist is actually better for me, and having all lists always fully available on any device and the web is extremely useful.

The task management is as simple or as intricate as you like. Org mode doesn't force any intricacies on you. If you want a simple flow, you can get it without learning too much Org Mode.

However, having it available on any device is a big deal. I'll grant you that.

Re: Emacs org-mode examples and cookbook

#116

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

Regarding regexes, I would recommend http://www.regular-expressions.info/tutorial.html

It doesn't take long, and I found the explanation clear enough that it's stuck. It's also a good reference site if you want to quickly remind yourself what X means in Y dialect.

I also have a long todo list that more things go on than get done. But, I think it's probably unreasonable to expect to learn more than say one or two programming-language level things a year if you've got a job. Certainly if you're going to do the learning thoroughly and not just forget it all by the next year.

Re: Emacs org-mode examples and cookbook

#117
post #91
post #73

Earlier quoted context omitted.

You can generate iCal files and import them in a calendar application.

Yeah, I'd prefer that something like this hooked into existing system functionality as much as possible.

Have it execute a shell script that sets a cron job?

Re: Emacs org-mode examples and cookbook

#118
post #58

Question I've found myself running into with org-mode. How do you use it to collaborate and share notes with others? I work in a Windows shop (Microsoft data platform partner), and most of my coworkers don't even know what emacs is. I can always export my own notes to HTML or similar for others to consume, but most of my coworkers are using OneNote. I prefer org-mode to OneNote, but for convenience I use OneNote sinc…

Maybe make an AskHN out of your question? Or ask on the Emacs Stackexchange - http://emacs.stackexchange.com/ - Link back here if you do

Re: Emacs org-mode examples and cookbook

#119
I've been trying for a while to understand what org-mode gives you. I saw Dominik's tech talk at Google, and Bieber's discussion on dropping vim with emacs. I really like the approach taken in this article, showing some of the language features.

IIUC, what org-mode provides you is:

1. a (markdown-like) lightweight document markup language, with lots of syntax hooks ("#+") for different tools.

2. some (even lighter, i.e., no "#+" required) organization-based syntax hooks. These are the TODO/DONE/... labels (plus the "[ ]" tidbits), the table syntax, the metadata (e.g. AUTHOR). In fact, the idea of adding metadata to a lightweight markup language is very interesting.

3. some "programmy" syntax items, including things like tags, spreadsheet-like tables, properties, etc.

4. the agenda view. This is a horizontal search on multiple .org files to create a work agenda.

5. some emacs functionality related to automatic recognition and operation on some of the syntax items. For example, org-table-align will "Re-align the table and don't move to another field".

There are lots of other features, but nothing that other lightweight markup languages don't/can't have too.

My main concerns are:

1. it is inextricably tied to emacs. AFAICT, only (5) in the previous list is emacs-only. All the other functionalities are related to the markup syntax.

2. I wish the org-mode language was fully markdown compatible (I can barely remember the syntax of one, and now I need to use 2).

Re: Emacs org-mode examples and cookbook

#120

Shameless plug: http://github.com/alphapapa/helm-org-rifle Makes it very easy and fast to search through org files.

By looking at the GIF in helm-org-rifle I remembered reading about variable-pitch fonts on (what I believe to be) your blog. Great content in there, thanks a lot for sharing!
Post reply on HN