emacs org-mode
Welcome to the Emacs org-mode category.
I am working on restoring some of my related posts from my old blog, so keep checking here for new content.

- Download the gz file from the GNU at savannah.gnu.org/projects/emacs.
- Untar using your file manager or
tar -xvf path/to/file
- In the Mint menu, look for Software Sources, under Optional Sources turn on Source code repositories.
- Install essential build tools in the terminal:
sudo apt-get install build-essential
- Get the dependencies using alt: sudo apt-get build-dep emacs
- cd to Emacs download dir, run
./configure
- run
make
- now run
sudo make install
- launch Emacs from terminal
-
Download and install Libre Office. It comes built-in with many personal desktop-geared Ubuntu distros, but in my version (Mint), I chose to opt out at the start. OK, no biggie, the full Libre Office suite is only 100MB, and I can do that. I see myself editing the occasional Word file or producing a PDF.
-
Add the following to .emacs to turn on .odt option in the export dispatcher:
`(eval-after-load "org" '(require 'ox-odt nil t))`
My movie watching habit in org-mode
Not too long ago, I organized my routines on Emacs with new habits. I’m particularly satisfied with my “watch a good movie” habit:

This chart might look confusing, but it’s simple once you get used to it.
Each colored rectangle represents a day. The exclamation mark represents the current day, and an Asterisk represents the last time the habit was completed. The green is the “good range” of the habit in days, which means I have that many days to complete the habit. For example, the head buzz habit above the movie one has today and tomorrow (one more green rectangle) to complete. A day after that is yellow, indicating the last "good day" to do so. After that, the red rectangles indicate days behind on completing the habit.
Once I mark a habit complete, the colored rectangles disappear from my agenda until I'm in range (green) again. The blue rectangle represents the days before this happens. For both the head buzz and movie habit, I have two days (two blue rectangles) after I complete the habit before I should do it again.
So, for the movie-watching habit, today is the first day to watch a movie, after I watched one two days ago. If I don’t have time, I still have about a week ahead of me (in the green).
In addition, I also started to log what movies I watched and when:

As you can see, Emacs keeps a log of when I complete each habit. I then
add a note with the movie name (C-c C-z
) in the logbook
drawer.
This is another fine example of why I love using Emacs org-mode to organize my life.
Installing Emacs from source
Thursday evening I felt smart and decided to clear some space in my boot partition on my Linux Mint computer with apt autopurge
. What this does is to clear the old kernels and clear space along with any libraries apt figures we don’t need.
The issue with this is that apt didn’t know I needed certain libraries that came with Emacs. That’s because I didn’t install Emacs with apt, but built it directly from source - to get a later version. The next day, Emacs didn’t launch and complain some essential library was missing.
The solution was to follow my instructions and install Emacs from source, but here I encountered a catch-22: the instructions were in org-mode inside Emacs, which wouldn’t launch.
Instead of taking out my laptop or switching to the Mac, I decided to deal with it sleep deprived, which is something that happens to me often. This, in turn, led to more frustration as I forgot the steps. Eventually, I gave up and went to sleep (which was the smartest thing I had done up to that point).
The next day I looked for help in Emacs IRC. The folks there helped me enough to fix the issue. Now that I have my notes again, I’m putting those here in my blog (as well as on my wiki), so I always have it handy for myself and for you, if you happen to be that sort of geek.
Here are my original instructions based on xahlee’s blog with some additional notes to help.
One last thing regarding Emacs chat on IRC: When going there using the web interface, use the UI to connect to the Emacs channel. Typing “Emacs” directly will open a new Emacs channel with you as the only person in there.
The Process:
You can now build emacs:
Evolvement Of Video Journal & Org
Over time, my journal videos (I call these j-vids, or jvids for short) got smaller. This is because I got used to use org-mode to record my thoughts. I discussed these a couple of times before.
My tasks rarely contain sub-tasks anymore. This is odd because sub-tasking was one of the reasons that initially got me into org-mode. Over time, I found that I rather leave notes where I left off and what needs to be done instead of using Keywords (TODO) for tasks in org-mode1.
The notes I take are usually brief (one paragraph with 3 to 5 lines) and are time-stamped with the most recent note at the top. This lets me know where I stopped a task and why with a quick glance. I also use such notes to indicate general mundane errands, like buying groceries. In such cases, I can also include a checklist.
The org-mode journal is a different story. This is where I let myself “spill the beans”. I’ve been on a long break from using a journal because typing it felt slow and I wanted a quicker way to record my thoughts - so I started recording myself in jvids.
But recording myself was inconvenient. I had to take a break from my workflow, record a video, name it, compress it, and save it. It required that I’ll find a quiet corner - nearly impossible to do during my day - to record for a few minutes. So out of necessity, I started to include more notes. Eventually, I felt they become too long and too personal. I needed a separation. Going back to my journal felt natural.
Now I find that typing is just slow enough to make me process what I’m thinking. I can edit what I’m trying to say, which means I can rethink of a better way to describe it. To stop myself from going on and on, I journal on specific events, not an entire day. My capture template copies the link of the event from the agenda and makes it the title, then takes me to the under it to start typing about it.
Yesterday, I noticed something interesting: with time, my rambling on videos was reduced from going on an on for an hour plus or so (and multiple videos) to shorter segments. Here’s a visual:

I reached the conclusion that my written journal is just better at keeping track of my experiences. Since I re-created the way I save my achieve files now, it also means the links from the journal to the events is never broken: I just have to make sure to refile an event from my “oh snap” thought-dump folder into the current week’s org file, and I’m good2.
I still record a short “weekly summary” on weekends, and now I find that I’m actually looking forward to it. These are now 10-20 minutes long videos in which I briefly go through my agenda and logged events and explain what happened while my memories of this week are still fresh. I then give the week a โtheme,โ like “agenda and conclusion” if I can.
This work sas a way for me to remember what happened far in the future if I want to reflect on my experiences but not look for something specific, or if I’m not sure what it is. It’s also a good way to reflect on the major events of the week after I had a weekend to slow down and process.
1 Note from 2024-09-26: today I live by subtasks and such Keywords in org-mode; they are a critical part of my organization
2 Note from 2024-09-26: today, I’m back to using a hand-written journal for summaries of personal reflections and emotions, while the more technical notes about the task are included there. Instructions for the future are kept in a separate notes folder, where I use Prot’s Denote to write them in a step-by-step format with visual aids as needed in org-mode.
Libre and clothes
When I write, I live in Emacs (with the awesome Solorized theme) inside org-mode.
With time, I found that org-mode has already made me a more efficient writer and note-taker. I write notes in every meeting now, whether it’s my"turn" or not. I write notes as I work on every solution and every problem I’m facing. I write first thing in the morning, usually about my org-related thoughts as I wake up, over a cup of Sumatra coffee (a little almond milk, one pack of sugar). Quite honestly, Org makes me feel good because it’s transparent. It’s an extension of my thoughts, continuing on one long line, uninterrupted before I stop to think a second and reflect on what I was thinking (X-q
).
There’s no pretending in Org. No fancy text, fonts, or even images. Style is only applied to function. It’s a delicate balance which, with the Solirized theme, works extremely well (by the way, the story of the man who created Solorized is quite interesting and worth reading).
Alright, but every now and then, you need to present stuff, and this means you need to “dress up” so other people can talk to you and relate. The “Normals,” so to speak, do not understand my org-mode dedication and often give me concerned looks when I type away a single long line into a blank screen. The purity is empty, and the lack of buttons and distracting elements feels threatening without GUI guidance. Fine then, I can do fancy schmancy.
Most org-mode folk I’ve read and listened to talk about LaTex. In my case, that meant a full installation, which is hugeโover 2GB. It’s not worth it for occasional usage, especially since I work in a Microsoft environment, and most people I’ll share with will need .docx or .ppt format anyway. So, for me, .odt seems like a better answer.
Two things are needed on my Emacs (version 25.2.1) for that:
Now I can create the .dot file, which I can open in Libre Writer. Ooof. Hello word GUI, with weird paper-screen restrictions look. And the white, the white! It burns us! Overall, things look excellent, but if I want to change fonts, move around images, eye-candy, etc, now I can do it without leaving Linux. Then again, if I really need to produce a document, I might as well save my .odt in Writer to a .docx and remote into my work computer, where Microsoft reigns supreme. Options. We like having them, yes?
Another option I was considering is to use Typora, a pretty markdown writer. It comes with Pandoc and can handle Word and PDF files. Typora does not feel “Linux-free” to me and seems heavily inspired by different “minimalist” Mac world processing apps if that’s your thing. It probably won’t show up in your distros and requires installation from a PPA. I used Typora for a while for markdown, but we’ve parted ways.
I’m curious how this will stand out when I present my notes (since I’ve become the unofficial note-taker at work for the reasons mentioned above).