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