Hi Nicolas,

Cool!  Nice feature.

On Tue, 04 Mar 2025 at 16:06, Nicolas Graves <[email protected]> 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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to