Please send ERC bug reports to 'bug-gnu-emacs@gnu.org',
and Cc the 'emacs-erc@gnu.org' mailing list as well.
-If possible, use 'M-x report-emacs-bug'.
+If possible, use 'M-x erc-bug' or 'M-x report-emacs-bug'.
This file is about changes in ERC, the powerful, modular, and
extensible IRC (Internet Relay Chat) client distributed with
Using the given nick itself instead of the server it is connected to
is not standardized, but is widely supported across IRC networks.
+*** Add 'erc-bug' command for reporting ERC bugs.
+The new 'erc-bug' command prompts for a subject, and passes it on to
+'report-emacs-bug' along with the current ERC version, and adds the
+ERC mailing list in Cc.
+
\f
* Changes in ERC 5.3
;; Miscellaneous
+(defun erc-bug (subject)
+ "Send a bug report to the Emacs bug tracker and ERC mailing list."
+ (interactive "sBug Subject: ")
+ (report-emacs-bug
+ (format "ERC %s: %s" erc-version subject))
+ (save-excursion
+ (goto-char (point-min))
+ (insert "X-Debbugs-CC: emacs-erc@gnu.org\n")))
+
(defun erc-port-to-string (p)
"Convert port P to a string.
P may be an integer or a service name."