Re: debbugs-notmuch.el

Subject: Re: debbugs-notmuch.el

Date: Tue, 04 Mar 2025 19:46:30 +0100

To: Nicolas Graves

Cc: piem@inbox.kyleam.com, zimoun.toutoune@gmail.com, Andrew Tropin, notmuch@notmuchmail.org, help-debbugs@gnu.org

From: Michael Albinus


Nicolas Graves <ngraves@ngraves.fr> writes:

Hi Nicolas,

> Attached you can find a file with a minor mode that does just that and
> damn it's so much better to work with debbugs now.

Nice.

> I don't know however in which package I should rather upstream the
> content of this. Could be :
>
> - In debbugs, by creating a proper debbugs-gnu-mail-backend that would
> only be defined if notmuch is present, or by copying the way piem
> uses variables to store functions instead of having an inflexible
> debbugs-gnu-mail-backend and hardcoding the rest from there.

I wouldn't mind to add it to the debbugs package. An advantage would
be, that it will be documented in the User Guide.

However, debbugs is located in the GNU ELPA archive, which means it must
be copyrighted to the FSF. Would you agree to sign such legal paperwork?

> WDYT?

Jut some minor remarks from cursory reading.

> ;;; debbugs-notmuch.el --- Use notmuch as backend for debbugs  -*- lexical-binding: t; -*-

"mail backend"

> ;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr>
>
> ;; Author: Nicolas Graves <ngraves@ngraves.fr>
> ;; Keywords: mail, tools, bugs
> ;; Version: 0.1.0
> ;; Package-Requires: ((emacs "28.2") (notmuch "0.32") (debbugs "0.29"))

This might be a problem when adding to the debbugs package. It requires
Emacs 26.1. How strong is the dependency from Emacs 28.1?

> (defgroup debbugs-notmuch nil
>   "Notmuch integration for debbugs."
>   :group 'debbugs
>   :group 'notmuch)

What is it good for? AFAICS, you don't have user options or faces, which
could go there. And even if you would have, they could live in the
`debbugs' group.

What I do miss is the intehration of debbugs-gnu-send-control-message
and debbugs-gnu-make-control-message into notmuch. Do you plan this?

Best regards, Michael.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: