From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: can Gnus simply use the Emacs bug tracker? Date: Thu, 17 Mar 2011 12:27:49 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87ei654pyi.fsf@lifelogs.com> References: <8762rk2vah.fsf@lifelogs.com> <6iy64gxk4z.fsf@fencepost.gnu.org> <87lj0gyxld.fsf@lifelogs.com> <877hbzxj11.fsf@lifelogs.com> <8739mmvrbe.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1300382900 29355 80.91.229.12 (17 Mar 2011 17:28:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2011 17:28:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M26207@lists.math.uh.edu Thu Mar 17 18:28:16 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0Gze-00062d-3t for ding-account@gmane.org; Thu, 17 Mar 2011 18:28:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Q0Gzd-0001eb-45; Thu, 17 Mar 2011 12:28:13 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Q0Gzb-0001eI-Jx for ding@lists.math.uh.edu; Thu, 17 Mar 2011 12:28:11 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q0GzZ-0001EO-L8 for ding@lists.math.uh.edu; Thu, 17 Mar 2011 12:28:11 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q0GzY-0007Wt-UK for ding@gnus.org; Thu, 17 Mar 2011 18:28:08 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q0GzY-0005xv-QC for ding@gnus.org; Thu, 17 Mar 2011 18:28:08 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2011 18:28:08 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2011 18:28:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 72 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:gUSAk/PlWkwSiSdCqctFGJ92oow= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77889 gmane.emacs.devel:137348 Archived-At: --=-=-= Content-Type: text/plain On Thu, 17 Mar 2011 17:52:30 +0100 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> So M-x gnus-bug will: 1) send to submit@debbugs, and 2) set the Package >> to either "gnus" in a Gnus checkout, or "emacs,gnus" in a trunk >> checkout. No mail server reconfiguration will be necessary. LMI> Sounds good to me. New look: To: submit@debbugs.gnu.org (The Gnus Bugfixing Girls + Boys) Subject: From: Ted Zlatanov --text follows this line-- Package: gnus No Gnus v0.14 ... where the package comes from the new defconst in gnus.el: (defconst gnus-bug-package "gnus" "The package to use in the bug submission.") which can be overridden in Emacs trunk or derived in some other way (I think it's better to handle it as a VCS merge issue than to try to write code to guess). Simple patch follows. Ted --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=gnus-debbugs.patch diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el index 093eec3..053a9e4 100644 --- a/lisp/gnus-msg.el +++ b/lisp/gnus-msg.el @@ -1450,6 +1450,7 @@ If YANK is non-nil, include the original article." (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 (gnus-version) "\n" (emacs-version) "\n") (when (and (boundp 'nntp-server-type) diff --git a/lisp/gnus.el b/lisp/gnus.el index 6c48a11..29080fe 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el @@ -2632,9 +2632,13 @@ such as a mark that says whether an article is stored in the cache (defvar gnus-have-read-active-file nil) (defconst gnus-maintainer - "bugs@gnus.org (The Gnus Bugfixing Girls + Boys)" + "submit@debbugs.gnu.org (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") --=-=-=--