Commit | Line | Data |
---|---|---|
c0274f38 ER |
1 | ;;; emacsbug.el --- command to report Emacs bugs to appropriate mailing list. |
2 | ||
9750e079 ER |
3 | ;; Copyright (C) 1985 Free Software Foundation, Inc. |
4 | ||
e5167999 | 5 | ;; Author: K. Shane Hartman |
2f14b48d | 6 | ;; Maintainer: FSF |
e9571d2a | 7 | ;; Keywords: maint |
2f14b48d | 8 | |
a2535589 | 9 | ;; Not fully installed because it can work only on Internet hosts. |
a2535589 JA |
10 | ;; This file is part of GNU Emacs. |
11 | ||
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 | |
e5167999 | 14 | ;; the Free Software Foundation; either version 2, or (at your option) |
a2535589 JA |
15 | ;; any later version. |
16 | ||
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. | |
21 | ||
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. | |
25 | ||
e41b2db1 ER |
26 | ;;; Commentary: |
27 | ||
28 | ;; `M-x report-emacs-bug ' starts an email note to the Emacs maintainers | |
29 | ;; describing a problem. Here's how it's done... | |
30 | ||
2f14b48d | 31 | ;;; Code: |
a2535589 JA |
32 | |
33 | ;; >> This should be an address which is accessible to your machine, | |
34 | ;; >> otherwise you can't use this file. It will only work on the | |
35 | ;; >> internet with this address. | |
36 | ||
37 | (defvar bug-gnu-emacs "bug-gnu-emacs@prep.ai.mit.edu" | |
56d506fc | 38 | "Address of site maintaining mailing list for GNU Emacs bugs.") |
a2535589 | 39 | |
aa228418 | 40 | ;;;###autoload |
a2535589 | 41 | (defun report-emacs-bug (topic) |
aa228418 | 42 | "Report a bug in GNU Emacs. |
a2535589 JA |
43 | Prompts for bug subject. Leaves you in a mail buffer." |
44 | (interactive "sBug Subject: ") | |
45 | (mail nil bug-gnu-emacs topic) | |
46 | (goto-char (point-max)) | |
47 | (insert "\nIn " (emacs-version) "\n\n") | |
48 | (message (substitute-command-keys "Type \\[mail-send] to send bug report."))) | |
49 | ||
c0274f38 | 50 | ;;; emacsbug.el ends here |