entered into RCS
[emacs.git] / lisp / mail / emacsbug.el
blobe8392c095a2b161509ee4aa19fc964011489cf8a
1 ;;; emacsbug.el --- command to report Emacs bugs to appropriate mailing list.
3 ;; Copyright (C) 1985 Free Software Foundation, Inc.
5 ;; Author: K. Shane Hartman
6 ;; Maintainer: FSF
8 ;; Not fully installed because it can work only on Internet hosts.
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
14 ;; any later version.
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING. If not, write to
23 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
25 ;;; Code:
27 ;; >> This should be an address which is accessible to your machine,
28 ;; >> otherwise you can't use this file. It will only work on the
29 ;; >> internet with this address.
31 (defvar bug-gnu-emacs "bug-gnu-emacs@prep.ai.mit.edu"
32 "Address of site maintaining mailing list for GNU Emacs bugs.")
34 ;;;###autoload
35 (defun report-emacs-bug (topic)
36 "Report a bug in GNU Emacs.
37 Prompts for bug subject. Leaves you in a mail buffer."
38 (interactive "sBug Subject: ")
39 (mail nil bug-gnu-emacs topic)
40 (goto-char (point-max))
41 (insert "\nIn " (emacs-version) "\n\n")
42 (message (substitute-command-keys "Type \\[mail-send] to send bug report.")))
44 ;;; emacsbug.el ends here