An Emacs interface for Mado, a command-line organizer for tasks and notes. Browse repository statistics, query entries, create entries from templates, and open their Markdown files directly from Emacs. Mado documentation
emado requires Emacs 28.1 or later, Transient 0.12 or later, and a current
mado executable from the linked repository. Make sure Emacs can find
mado on its exec-path, or set emado-executable to its absolute path.
Copy emado.el to a directory on your Emacs load-path and add this to
your configuration.
(require 'emado)
(emado-default-bindings)This binds C-c e to emado-info. To choose another key, bind
emado-info yourself.
From a buffer in your project, run M-x emado-info or press C-c e.
Mado looks for the nearest MADO/ directory starting from the buffer's
working directory and checking its ancestors. In the *emado* buffer,
use s w to set a working directory for the session or s W to clear it.
- If you need a repository, use
i ito initialize one. The init menu'sfoption forces initialization in the chosen directory even if an ancestor already contains a repository. - Use
c cto create an entry with Mado's default task header. To pick a template first, usec t, select a name, then pressc. To add a directory suffix, usec s, type after the prefilled-(for example,-login), then presscto create the entry. Clear the field or leave just-to omit the suffix. - Use
l ato list all entries orl lto enter a Mado query such asstatus = open and tag = bug. For a quick fuzzy name search, usel f n. The list menu also controls sorting and visible fields. - On an entry line, press
RETto openMAIN.md,oto open its directory, ordto delete the entry after confirmation. Userfor removal by query. Removing an entry also deletes its attachments. - Press
hto open the main menu orgto repeat the last command.
Each entry has its own directory under MADO/, with a UTC timestamp
such as 20261106-120000 in its name. Keep notes in MAIN.md and
related files alongside it.
Mado uses the first existing template directory under MADO/ in this
order: templates/, .templates/, _templates/. Emado offers the
names of its Markdown templates without the .md extension. Mado
initialization creates or restores the standard note.md and
task.md templates. Keep custom templates in separate files, such as
bug.md.
