emacsbug.el 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ;; Command to report Emacs bugs to appropriate mailing list.
  2. ;; Not fully installed because it can work only on Internet hosts.
  3. ;; Copyright (C) 1985 Free Software Foundation, Inc.
  4. ;; Principal author K. Shane Hartman
  5. ;; This file is part of GNU Emacs.
  6. ;; GNU Emacs is distributed in the hope that it will be useful,
  7. ;; but WITHOUT ANY WARRANTY. No author or distributor
  8. ;; accepts responsibility to anyone for the consequences of using it
  9. ;; or for whether it serves any particular purpose or works at all,
  10. ;; unless he says so in writing. Refer to the GNU Emacs General Public
  11. ;; License for full details.
  12. ;; Everyone is granted permission to copy, modify and redistribute
  13. ;; GNU Emacs, but only under the conditions described in the
  14. ;; GNU Emacs General Public License. A copy of this license is
  15. ;; supposed to have been given to you along with GNU Emacs so you
  16. ;; can know your rights and responsibilities. It should be in a
  17. ;; file named COPYING. Among other things, the copyright notice
  18. ;; and this notice must be preserved on all copies.
  19. ;; >> This should be an address which is accessible to your machine,
  20. ;; >> otherwise you can't use this file. It will only work on the
  21. ;; >> internet with this address.
  22. (defvar bug-gnu-emacs "bug-gnu-emacs@prep.ai.mit.edu"
  23. "Address of site maintaining mailing list for Gnu emacs bugs.")
  24. (defun report-emacs-bug (topic)
  25. "Report a bug in Gnu emacs.
  26. Prompts for bug subject. Leaves you in a mail buffer."
  27. (interactive "sBug Subject: ")
  28. (mail nil bug-gnu-emacs topic)
  29. (goto-char (point-max))
  30. (insert "\nIn " (emacs-version) "\n\n")
  31. (message (substitute-command-keys "Type \\[mail-send] to send bug report.")))