[gnus git] branch master updated: n0-17-135-g65d4480 =1= * gnus-msg.el (gnus-bug): Give the Version and Package headers to debbugs with the X-Debbugs-Package and X-Debbugs-Version headers.
Ted Zlatanov <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 65d4480aa245cb3e5ba5c9a03db72f1a19b92695 (commit)
from 45cd83c3392b6d46f6ffbcca54c852916085236f (commit)
- Log -----------------------------------------------------------------
commit 65d4480aa245cb3e5ba5c9a03db72f1a19b92695
Author: Ted Zlatanov <[email protected]>
Date: Fri Jul 1 20:08:17 2011 -0500
* gnus-msg.el (gnus-bug): Give the Version and Package headers to debbugs with the X-Debbugs-Package and X-Debbugs-Version headers.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d6777cf..fccd7ff 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-02 Teodor Zlatanov <[email protected]>
+
+ * gnus-msg.el (gnus-bug): Give the Version and Package headers to
+ debbugs with the X-Debbugs-Package and X-Debbugs-Version headers.
+
2011-07-01 Daiki Ueno <[email protected]>
* auth-source.el (auth-source-token-passphrase-callback-function):
diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el
index 8e382e0..ec98132 100644
--- a/lisp/gnus-msg.el
+++ b/lisp/gnus-msg.el
@@ -1455,14 +1455,18 @@ If YANK is non-nil, include the original article."
(goto-char (point-min)))
(message-pop-to-buffer "*Gnus Bug*"))
(let ((message-this-is-mail t))
- (message-setup `((To . ,gnus-maintainer) (Subject . ""))))
+ (message-setup `((To . ,gnus-maintainer)
+ (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))
(re-search-forward (concat "^" (regexp-quote mail-header-separator) "$"))
(forward-line 1)
- (insert (format "Package: %s\n" gnus-bug-package))
- (insert (format "Version: %s\n" (gnus-continuum-version)))
+ (insert "\n")
(insert (gnus-version) "\n"
(emacs-version) "\n")
(when (and (boundp 'nntp-server-type)
@@ -1474,7 +1478,10 @@ If YANK is non-nil, include the original article."
(erase-buffer)
(gnus-debug)
(setq text (buffer-string)))
- (insert "<#part type=application/emacs-lisp disposition=inline description=\"User settings\">\n" text "\n<#/part>"))
+ (insert (concat "<#part type=application/emacs-lisp"
+ "disposition=inline description=\"User settings\">\n"
+ text
+ "\n<#/part>")))
(goto-char (point-min))
(search-forward "Subject: " nil t)
(message "")))
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 5 +++++
lisp/gnus-msg.el | 15 +++++++++++----
2 files changed, 16 insertions(+), 4 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project