Re: debbugs-notmuch.el

Subject: Re: debbugs-notmuch.el

Date: Wed, 05 Mar 2025 17:30:16 +0100

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

Cc:

From: Simon Tournier


Hi Nicolas,

Cool!  Nice feature.

On Tue, 04 Mar 2025 at 16:06, Nicolas Graves <ngraves@ngraves.fr> wrote:

> (defun debbugs-notmuch-select-report ()
>   "Select the report on the current line and open it in notmuch."
>   (interactive)
>   (when (mouse-event-p last-input-event) (mouse-set-point last-input-event))
>   ;; Get the message ID from the current line
>   (if-let ((mid (debbugs-notmuch-get-mid)))
>       (notmuch-show (format "id:%s" mid))
>     (message "No message ID for bug report")))

What does it happen if mid isn’t indexed by notmuch?

What could be nice would be to fallback to
`piem-inject-thread-into-maildir' in that case.

Cheers,
simon

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

Thread: