discussion and development of piem
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Jelle Licht <jlicht@fsfe.org>
Cc: piem@inbox.kyleam.com
Subject: Re: On the road to (GNU) debbugs support, some blockers
Date: Sat, 03 Jun 2023 01:34:37 -0400	[thread overview]
Message-ID: <87cz2dun0y.fsf@kyleam.com> (raw)
In-Reply-To: <87y1l1e0ju.fsf@kyleam.com>

Kyle Meyer writes:

> I'll look into debbugs.el a bit more because I don't have a good
> understanding of where it's getting the messages from and how it's
> interacting with Gnus, but it sounds like the X-GNU-PR-Package header is
> the way to go for debbugs.el support.

debbugs-gnu-select-report (which has built-in support for Gnus or Rmail)
is getting the mbox from

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s;mboxmaint=yes

So indeed

 * piem-gnus-mid-to-thread should make sure the input isn't already an
   mbox before inserting the From_ line

 * X-GNU-PR-Package looks like the best (or really only) option to
   connect an mbox from debbugs.gnu.org to an inbox

> I'm curious whether it will make sense to have a custom integration
> library, perhaps one that builds on top of piem-gnus, but perhaps that
> will be clearer once I take a closer look.

In most cases, users will probably be calling piem after selecting the
issue and entering Gnus/Rmail or, if they override the selection
mechanism, perhaps Notmuch (or even lei :>).  So support mostly just
comes from those libraries.

However, I do think it'd be nice to add an integration library for the
Debbugs mode buffer.  With

  (debbugs-gnu-current-status)

we can get the package and message ID, so it'd be straightforward to
define a piem-debbugs-get-inbox and piem-debbugs-get-mid.

  reply	other threads:[~2023-06-03  5:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-27 14:12 On the road to (GNU) debbugs support, some blockers Jelle Licht
2023-05-31  4:05 ` Kyle Meyer
2023-06-02 10:49   ` Jelle Licht
2023-06-03  2:34     ` Kyle Meyer
2023-06-03  5:34       ` Kyle Meyer [this message]
2023-06-03  4:49     ` Kyle Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://git.kyleam.com/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cz2dun0y.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=jlicht@fsfe.org \
    --cc=piem@inbox.kyleam.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.kyleam.com/piem/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).