From 0eca53e702ac209efacb86f64fc86ea54286ef35 Mon Sep 17 00:00:00 2001 From: Jelle Licht Date: Sat, 10 Jun 2023 11:58:54 +0200 Subject: piem: Add :gnu-package keyword to piem-inboxes With the `:gnu-package` keyword, users can configure a string to match against the X-GNU-PR-PACKAGE email header for the GNU Bug Tracker. Message-ID: <20230610095858.26982-2-jlicht@fsfe.org> --- piem.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'piem.el') diff --git a/piem.el b/piem.el index 568e91b..cf78d9b 100644 --- a/piem.el +++ b/piem.el @@ -83,6 +83,8 @@ list that supports the following properties: A URL hosting HTTPS archives. :maildir A Maildir directory to inject messages into. + :gnu-package + A GNU Bug Tracker label to match with for the inbox. Here's an example for the public-inbox project itself: @@ -393,7 +395,9 @@ files." (rx string-start "publicinbox." (group (one-or-more not-newline)) "." (group - (or "address" "coderepo" "listid" "maildir" "url")) + (or "address" "coderepo" + "listid" "maildir" + "url" "gnu-package")) string-end) key) (let* ((inbox-name (match-string 1 key)) -- cgit v1.2.3