Live data from Hacker News

Org Mode Syntax Cheat Sheet (2017)

nhigham.com

51–60 of 73 posts

Re: Org Mode Syntax Cheat Sheet (2017)

#51
post #2

If there is one tool (if I can call it that) that changed my life, it is Org Mode. I was a Vim guy who in a desperate attempt to get digitally organised was forced to give Org Mode a try and got sucked into Emacs. I now live better organised, with far less anxiety and remain unfazed at the multi-tasking demands of the corporate world, all thanks to this major mode.

What specifically about emacs org mode made you more organised?

Re: Org Mode Syntax Cheat Sheet (2017)

#52
post #24

An org mode syntax I use heavily that I rarely see mentioned, including in this cheat sheet, is the obscurely named Radio Targets. Enclose any term or phrase in >>, hit C-c C-c on it, and then any previous or further instance of it in the same buffer will be automatically linked to it from then on. Incredibly useful when you're wroting notes on a long book for example and want to keep track of the instance when a ter…

This is amazing. If anyone likes this kind of functionality and doesn’t mind expanding beyond vanilla org mode I recommend org-roam.

https://www.orgroam.com/

Roam Research, what it’s based on, might also be of interest.

Re: Org Mode Syntax Cheat Sheet (2017)

#53
post #5
post #2

If there is one tool (if I can call it that) that changed my life, it is Org Mode. I was a Vim guy who in a desperate attempt to get digitally organised was forced to give Org Mode a try and got sucked into Emacs. I now live better organised, with far less anxiety and remain unfazed at the multi-tasking demands of the corporate world, all thanks to this major mode.

I keep hearing anecdotes like this and truly want to give Emacs a shot. Do you use it exclusively on a PC? My big blocker is that a significant portion of my time is on a phone rather than a computer these days and I have to think that all the chording with Emacs would get impossibly cumbersome. Anyone here have a good way to leverage Emacs on the go?

I’ve used org mode as a daily driver personally and at work for awhile but ultimately transitioned to Roam Research in part because the mobile experience is better.

I still use org mode to write my blog and journal but my knowledge management is all in Roam.

Re: Org Mode Syntax Cheat Sheet (2017)

#55

Earlier quoted context omitted.

I've been using Org-Mode for over 10 years. There is no one way. You start off first writing simple outlines, and then you start creating todos, and then maybe you start to look at agendas to organize your todos (note: I rarely do this). The biggest game changer for me was org-roam. It's essentially a database of all my files where I can add snippets or link to other files, or whatnot. The TODO stuff I use a rough ge…

I should try roam, it might help with my scattered brain (or maybe it will make it worse :) do you know good videos of people demonstrating their workflow habits ?

I don't know about videos, but here's my general workflow.

    1. "Huh, I wonder at what point SSDs of today are comparable
        to RAM speeds of yester-year?"
    2. `C-c n c` (create-node) "ssd_ram_yearly" (title)
    3. (a document spawns) "\* SSD vs RAM comparison" (I give it a
        better unofficial title)
    4. I do googling, drag and drop images into the document (org-download
       is a must have)
    5. Satisfied with the document, I decide to link it to a
       parent node
    6. `C-c n i` (insert node) "random_thoughts"
    7. If the random_thoughts node exists, it just links, if not, it
       creates a new document which I can fill out, and then `C-c
       C-c` to complete it, and then it links back to the ram document.
    8. I finally do `C-c C-c` to complete the original ram document.
Later on:

    1. "Huh, what was I thinking about again?"
    2. `C-c n f` (find node) "random_thoughts"
    3. `C-c n l` (show backward links) a new buffer pops up showing
       all files that link to random_thoughts, and I click on 
       the Ram ssd one.

Re: Org Mode Syntax Cheat Sheet (2017)

#56
I have been using Emacs ever since I bought an Amiga in the 80s. I love Emacs and Elisp.

Some 15 years ago I started using Orgmode heavily. But a lack of a mobile solution and it not being available ubiquitously made me go back to Markdown and Obsidian for note taking and Kanban boards in Notion for task management.

Markdown is available everywhere. In forums, in chatgpt, in any kind of text editor.

So although I still use Emacs, I stopped (heavy heartedly) using Orgmode.

Re: Org Mode Syntax Cheat Sheet (2017)

#57
post #56

I have been using Emacs ever since I bought an Amiga in the 80s. I love Emacs and Elisp. Some 15 years ago I started using Orgmode heavily. But a lack of a mobile solution and it not being available ubiquitously made me go back to Markdown and Obsidian for note taking and Kanban boards in Notion for task management. Markdown is available everywhere. In forums, in chatgpt, in any kind of text editor. So although I sti…

Didn't you enjoy orgzly?

Re: Org Mode Syntax Cheat Sheet (2017)

#58
post #49

Earlier quoted context omitted.

Hi, the docs are quite brief about this. Would ratio targets allow you to create a link to a website to the word >> would always lead to a corresponding link? Do you have an example of radio targets?

No, that wouldn't work. Radio Targets are intended for the precise repetitions of the same characters. If you surround a regular org link in three angle brackets, eg https://www.bbc.com][bbc] ]>>>, then the Radio link will clobber the web link on the target itself (ie C-c C-o won't take you anywhere), and it will only highlight repetitions of [[ https://www.bbc.com][bbc] ] rather than just bbc. For something similar…

I couldn’t find the command you mentioned “org-insert-radio-target-brackets” in my Emacs and it doesn’t appear to be in the manual[1] either. But of course it is very trivial to write, in case anyone else needs this:

  (defun org-insert-radio-target-brackets (start end)
    "Wraps a region with angular brackets to create a radio target."
    (interactive "r")
    (save-excursion
      (goto-char end)
      (insert ">>>")
      (goto-char start)
      (insert "
[1]: https://orgmode.org/manual/Radio-Targets.html

Re: Org Mode Syntax Cheat Sheet (2017)

#59
post #7

Earlier quoted context omitted.

I faced this problem too. I am a Linux user personally, but use Windows at work. I am not a phone person, but do use it regularly. I sync org files to phone (using Syncthing) and use Orgzly to access these from Android. Although it is possible to install Emacs in Android as a terminal tool in Termux or even as a GUI tool, you need to connect a keyboard to do something sensible. Long story short, if your phone is your…

> Although it is possible to install Emacs in Android as a terminal tool in Termux or even as a GUI tool FWIW, it seems Emacs can now be built for Android natively - there seem to be related files and documentation in the main Emacs repo, though I haven't actually built it myself, so I don't know how well it works.

https://sourceforge.net/projects/android-ports-for-gnu-emacs...

Re: Org Mode Syntax Cheat Sheet (2017)

#60
Unfortunately, "Org-mode" (or Orgmode) means two different things: (1) the lightweight markup syntax and (2) the Elisp implementation of a PIM/PKM tool within GNU Emacs.

This seems to be subtle but it results in many misunderstandings and unnecessary discussion issues.

To "solve" this situation, I tried to coin the term "Orgdown" for the syntax alone: https://gitlab.com/publicvoit/orgdown/ and https://karl-voit.at/2021/11/27/orgdown/

There are many use-cases to use Orgdown outside of Emacs and there are many tools that support Orgdown already: https://gitlab.com/publicvoit/orgdown/-/blob/master/doc/Tool...

Although I'm using Orgdown and Org-mode for over a decade, I do think that even with an objective point of view, Orgdown does have its benefits from a syntax definition point of view in comparison to Markdown and other lightweight markup languages (LML): https://karl-voit.at/2017/09/23/orgmode-as-markup-only/

Oh and btw, the linked cheat-sheet covers only the most basic Orgdown syntax elements. Within the Orgdown concept, I defined misc "levels" of syntax elements, starting with OD1: https://gitlab.com/publicvoit/orgdown/-/blob/master/doc/Orgd... This also serves as some sort of cheat sheet I guess.

HTH

Post reply on HN