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

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

Date: Sat, 03 Jan 2015 14:29:20 +0100

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


David Bremner <david@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.

Thread: