Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Cc: emacs-devel@gnu.org
Subject: Re: can Gnus simply use the Emacs bug tracker?
Date: Thu, 17 Mar 2011 12:27:49 -0500	[thread overview]
Message-ID: <87ei654pyi.fsf@lifelogs.com> (raw)
In-Reply-To: <m3fwql1ygh.fsf@quimbies.gnus.org>

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

On Thu, 17 Mar 2011 17:52:30 +0100 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Ted Zlatanov <tzz@lifelogs.com> 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 <tzz@lifelogs.com>
 --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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-debbugs.patch --]
[-- Type: text/x-diff, Size: 1127 bytes --]

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")

  reply	other threads:[~2011-03-17 17:27 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-15 16:38 Ted Zlatanov
2011-03-15 17:40 ` Chong Yidong
2011-03-15 18:27   ` Ted Zlatanov
2011-03-15 19:32   ` Glenn Morris
2011-03-15 19:08 ` Stefan Monnier
2011-03-15 19:23 ` Glenn Morris
2011-03-15 19:41   ` Lars Magne Ingebrigtsen
2011-03-15 19:47   ` Ted Zlatanov
2011-03-15 23:27     ` Glenn Morris
2011-03-16 14:00       ` Ted Zlatanov
2011-03-16 15:41         ` Stefan Monnier
2011-03-16 15:58           ` Ted Zlatanov
2011-03-16 17:51             ` Glenn Morris
2011-03-16 17:55               ` Glenn Morris
2011-03-16 19:41                 ` Stefan Monnier
2011-03-16 17:32         ` Lars Magne Ingebrigtsen
2011-03-16 18:44           ` Ted Zlatanov
2011-03-17 16:52             ` Lars Magne Ingebrigtsen
2011-03-17 17:27               ` Ted Zlatanov [this message]
2011-03-17 17:40                 ` Lars Magne Ingebrigtsen
2011-03-17 19:12                   ` Ted Zlatanov
     [not found]                   ` <3tmxkty6up.fsf@fencepost.gnu.org>
2011-03-18  8:33                     ` Reiner Steib
2011-03-18 13:04                       ` Ted Zlatanov
2011-03-29 18:53                         ` Lars Magne Ingebrigtsen
2011-03-29 19:09                           ` Ted Zlatanov
2011-06-28 15:31                           ` Ted Zlatanov
2011-06-28 15:33                   ` Ted Zlatanov
2011-03-15 20:31   ` Chong Yidong
2011-03-15 20:45     ` Lars Magne Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=87ei654pyi.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    /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.
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 NNTP newsgroup(s).