Skip to content

Instantly share code, notes, and snippets.

View rgoulter's full-sized avatar

Richard Goulter rgoulter

View GitHub Profile

I’ve called this repo “org system”.

Can you help brainstorm, I mean come up with three different ideas or so. I was thinking something like: Org mode is a powerful format for task management, and can be used even with vanilla emacs through emacs batch mode cli.

I mean, “emacs can be used as a cli for task management with org mode”. It’s very tempting to over-engineer a complex system using org. But we must consider the advantages and disadvantages.

@rgoulter
rgoulter / Makefile
Last active September 6, 2026 14:38
Emacs Org task management demo: vanilla Emacs/Org, composite agenda, babel notebook
.PHONY: help verify agenda query-tag query-property query-todo query-priority column demo clean test
EMACS ?= emacs
# Optional config — only needed for composite agenda / column view
AGENDA_CFG = agenda-config.el
OUTDIR = _agenda
# Vanilla file list (no config needed — Org reads #+TODO/#+TAGS per file)
VANILLA_FILES = tasks.org tasks/task-101-proposal.org tasks/task-102-infra.org tasks/task-103-bug.org tasks/task-104-personal.org
help: ## Show targets
direnv: loading https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc (sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=)
direnv: loading ~/github/ch32-rs--ch58x-hal/.envrc
direnv: using devenv
✓ Validating lock 0ms
⠇ Configuring shell 14.8s
└ ✓ Configuring cachix 1ms
└ ⠇ Evaluating shell 1884 files 14.8s
└ ✓ Downloading https://github.com/hercules-ci/flake-parts/archive/c621e8422220273271f52058f618c94e405bb0f5.tar.gz from github.com 899ms
└ ✓ Downloading https://github.com/nix-community/nixpkgs.lib/archive/e4822aea2
https://github.com/NixOS/nixpkgs/blob/1272e6aed4e1837d7df33006537da299d677edea/pkgs/stdenv/generic/default.nix#L135
https://github.com/NixOS/nixpkgs/blob/1272e6aed4e1837d7df33006537da299d677edea/pkgs/build-support/wrapper-common/darwin-sdk-setup.bash#L13

Plantuml

With the Nixpkgs plantuml:

  • either have to set env var (awkward),
  • custom derivation overriding it to be headless,
  • or install graphviz separately.
{ pkgs ? import <nixpkgs> {} }:
pkgs.python311.pkgs.callPackage ./hello.nix {}
{ buildPythonPackage
, foo
}:
buildPythonPackage {
pname = "bar";
version = "1.0.0";
src = ./bar;
doCheck = false;
pythonImportsCheck = ["bar"];
.PHONY: all foo bar
all:
echo "true"
foo:
echo "foo"
bar:
exit 1
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
#!/usr/bin/env python3
# Run with:
# python chat_bot.py [Twitch or Youtube Livestream URL] [Twitch or Youtube Livestream URL] ...
import argparse
import asyncio
import json
import sys
from urllib.parse import urlparse, parse_qs