From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:1004:224b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12.migadu.com with LMTPS id 6WovM2DGemTP9gAATFOONw (envelope-from ) for ; Sat, 03 Jun 2023 06:49:36 +0200 Received: from mta0.migadu.com ([2001:41d0:1004:224b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wKGZMWDGemT8PwEAG6o9tA (envelope-from ) for ; Sat, 03 Jun 2023 06:49:36 +0200 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1685767776; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cYhfopwgfaQUJkNKVFzKKoVX/velR8I71EbBy1po7RY=; b=KVXilFwOODSFHdLqgF8Xn73XSM0qV51nsLnY2kzOrZAJoy83j1b0VHfvDP1nP9gT3ei7j0 kzzM5wgNkyTKBa9l7N0dr5TaGAIxAo+S3ZWc9YChaFZkskMFmkR6MipGa01GnUv8uGQltT doBxj9BassYr4PpFC/L/9PlL7YZblbhhdA0GGaW8E8uC4ZLSkxBk0U4pt9rIKd1564fAMI AxPL1nGJ/UJHBx3jy0eHZeM1xhY4BxAvnl+K1Qxzel/8W9P0k6ehy6Q2fHcRL9sFWxk+W7 VgfmqlQ0NVJp5m7x5hPdCoR4ToJhqwQDF4YvwkvVoYMbJxjgADpsUikAyKRSNw== From: Kyle Meyer To: Jelle Licht Cc: piem@inbox.kyleam.com Subject: Re: On the road to (GNU) debbugs support, some blockers In-Reply-To: <87o7lyi1gc.fsf@fsfe.org> References: <87y1l9ualg.fsf@fsfe.org> <87zg5l16yq.fsf@kyleam.com> <87o7lyi1gc.fsf@fsfe.org> Date: Sat, 03 Jun 2023 00:49:34 -0400 Message-ID: <87fs79up41.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-TUID: kNGYrg+1FM/S Jelle Licht writes: > As mentioned, I use debbugs.el to interact with the issue tracker. [1] > [...] > [1]: Not entirely relevant to the issue at hand, but I also have all > guix-patches messages available and indexed in my local notmuch > setup. [...] Because you have the local Notmuch store, perhaps you'd be interested in debbugs.el visiting the message in Notmuch rather than Gnus. As I said, I haven't actually used debbugs.el much, but I stumbled on this in my config: ;; Modified from function in Nicolas Petton's emacs configuration ;; (https://gitlab.petton.fr/nico/emacs.d/, 208407f53a) (defun km/debbugs-notmuch-select-report (&rest _) (require 'debbugs-gnu) (let* ((status (debbugs-gnu-current-status)) (id (cdr (assq 'id status))) (merged (cdr (assq 'mergedwith status)))) (setq merged (if (listp merged) merged (list merged))) (unless id (user-error "No bug report on the current line")) (let ((address (format "%s@debbugs.gnu.org" id)) (merged-addresses (string-join (mapcar (lambda (id) (format "%s@debbugs.gnu.org" id)) merged) " "))) (notmuch-tree (format "%s %s" address merged-addresses))))) (advice-add 'debbugs-gnu-select-report :override #'km/debbugs-notmuch-select-report)