Skip to main content

Baty.net

A blog about everything by Jack Baty 👋

Tag: Orgmode

Prevent Org-todo from messing with windows

When I have two Emacs windows split side-by-side in a frame, calling org-todo opened a full-width window at the bottom of the frame. This would be fine, but then when dismissing the selection window, it would wipe my previous window layout and I’d be left with a single giant window.

I found this to work:

(setq org-use-fast-todo-selection 'expert)

The default, I think, is “auto”

Marking a region for highlighting in Hugo posts

You’ll notice that I highlight short phrases in many of my daily post entries here. I think this makes it easier to scan things later. The HTML markup for this is just a styled <mark> tag wrapping the text to be highlighted.

I write my posts in Org-mode and convert them to Hugo-compatible Markdown using ox-hugo. The path from Org-mode to HTML for this is a little convoluted, so I cheat and use a macro to generate the markup.

Book logging in Emacs

I’ve kept a list of books I’ve read as a plain text (well, technically, Markdown) file for years. I wrote about it here. The public version is rendered using Github Pages at books.baty.net. This is fine, but at some point last year I also started logging books in an Org mode file, just to see how it felt. It felt pretty good!