Live data from Hacker News

Tree-sitter grammar for org-mode

github.com

31–32 of 32 posts

Re: Tree-sitter grammar for org-mode

#31
post #17

Offtopic, but I use org mode for my notes files (both general and technical), and I've never really figured out how to use it effectively. My pre-org notes file was just a giant text file with entries delimited by manually-entered '--------------' lines. I stuck a topic in each entry for searchability and then the rest was freeform text. It worked pretty well. org mode gives me more power, but it's getting a little u…

I typically just use capture and refile, almost never enter new things directly. I have a few templates for often-used things (work, personal, funny things my kids say), and then I either just file it directly or if I know it should go under some tree I C-c C-w to immediately refile it there. I use selectrum for completion with selectrum-prescient so my most used refiling goals are at the top of the list, and if I have to filter the list it's typically just two or three characters until I find the heading I'm after.

Re: Tree-sitter grammar for org-mode

#32
post #24

Earlier quoted context omitted.

I have a daily.org file I use to capture meeting notes and quick notes into. org-mode automatically keeps it organized as a datetree. I set all my other org files to archive into a subheader of the day it's archived (or done, for todos). So far I like it, but I've only been doing it for a few months. We'll see when it gets to years. One nice thing is it's easy to see at a glance roughly what I did in a given week or…

I had a separate 'daily.txt' file for this sort of thing, and it's desperately in need of a replacement. Your setup sounds pretty good to me. It seems like org mode may be a better match for the daily stuff than it is for my notes file. I especially like the idea of archiving into a subheader of the right day.

I use a single file, with standard headers, with a new entry for each day. I use `org-diary` to manage that:

https://github.com/skx/org-diary

Every morning I run `org-diary-new-entry` which inserts a new block. At the end of the day I commit this to a git repository and push it away for safety. I've got a work-log/journal going back a couple of years at this point.

Post reply on HN