[PATCH 2/2] completion: generate notmuch-completion.zsh using doc/conf.py

David Bremner david at tethera.net
Sat Jan 3 05:29:20 PST 2015


David Bremner <david at tethera.net> writes:

> I noticed that the (out of date) list of subcommands was simply
> repeating the summary lines from the manpage. Since those summary
> lines are already kept in machine readable form in doc/conf.py,
> it's easy to compute that part of the completion file.

I meant to annotate this, but lost a fight with git-send-email.  I'm not
sure if the change to notmuch-completions.zsh is worth the trouble (how
often will we add subcommands?), but the configuration change should
probably go in anyway, at least one person already mentioned this in a
bug report.


More information about the notmuch mailing list