[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 4b59f53 1/2: Revert "Don't tag Gnus bugs with "gnus
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 4b59f53 1/2: Revert "Don't tag Gnus bugs with "gnus"" |
Date: |
Tue, 7 Feb 2017 14:52:44 +0000 (UTC) |
branch: master
commit 4b59f53b673899bccb9f98925237999b03e5261c
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Revert "Don't tag Gnus bugs with "gnus""
This reverts commit b6fa58072304c2a24f1fe8a0e06a4739a7f8211b.
The debbugs syntax requires a package name
---
lisp/gnus/gnus-msg.el | 6 +++++-
lisp/gnus/gnus.el | 4 ++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index a193ab4..85969ed 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -1535,7 +1535,11 @@ If YANK is non-nil, include the original article."
(message-pop-to-buffer "*Gnus Bug*"))
(let ((message-this-is-mail t))
(message-setup `((To . ,gnus-maintainer)
- (Subject . ""))))
+ (Subject . "")
+ (X-Debbugs-Package
+ . ,(format "%s" gnus-bug-package))
+ (X-Debbugs-Version
+ . ,(format "%s" (gnus-continuum-version))))))
(when gnus-bug-create-help-buffer
(push `(gnus-bug-kill-buffer) message-send-actions))
(goto-char (point-min))
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index bbf85fe..ef6bd89 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -2654,6 +2654,10 @@ such as a mark that says whether an article is stored in
the cache
"address@hidden (The Gnus Bugfixing Girls + Boys)"
"The mail address of the Gnus maintainers.")
+(defconst gnus-bug-package
+ "gnus"
+ "The package to use in the bug submission.")
+
(defvar gnus-info-nodes
'((gnus-group-mode "(gnus)Group Buffer")
(gnus-summary-mode "(gnus)Summary Buffer")