diff options
| author | Glenn Morris | 2012-05-21 20:31:34 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-05-21 20:31:34 -0700 |
| commit | 3290526dde9b633b7a032de36fd961347f1bfe88 (patch) | |
| tree | 797527a8e595d0a48e9512b0945942b35d006b93 | |
| parent | c463dd01c78224c450cb8be823e6ac524ba39ce6 (diff) | |
| download | emacs-3290526dde9b633b7a032de36fd961347f1bfe88.tar.gz emacs-3290526dde9b633b7a032de36fd961347f1bfe88.zip | |
Add "How to Report a Bug" to Help menu
* lisp/info.el (info-emacs-bug): New command.
* lisp/menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
* lisp/mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/info.el | 8 | ||||
| -rw-r--r-- | lisp/mail/emacsbug.el | 7 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 5 |
4 files changed, 19 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index abf0bb66b2e..cd57969f73f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-05-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * info.el (info-emacs-bug): New command. | ||
| 4 | * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help. | ||
| 5 | * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug. | ||
| 6 | |||
| 1 | 2012-05-21 Glenn Morris <rgm@gnu.org> | 7 | 2012-05-21 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * makefile.w32-in (update-subdirs-SH): | 9 | * makefile.w32-in (update-subdirs-SH): |
diff --git a/lisp/info.el b/lisp/info.el index 1e3b14632e6..367d9d0a9ef 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;; info.el --- info package for Emacs | 1 | ;; info.el --- info package for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985-1986, 1992-2012 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985-1986, 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Maintainer: FSF | 5 | ;; Maintainer: FSF |
| 6 | ;; Keywords: help | 6 | ;; Keywords: help |
| @@ -683,6 +683,12 @@ See a list of available Info commands in `Info-mode'." | |||
| 683 | (info "emacs")) | 683 | (info "emacs")) |
| 684 | 684 | ||
| 685 | ;;;###autoload | 685 | ;;;###autoload |
| 686 | (defun info-emacs-bug () | ||
| 687 | "Display the \"Reporting Bugs\" section of the Emacs manual in Info mode." | ||
| 688 | (interactive) | ||
| 689 | (info "(emacs)Bugs")) | ||
| 690 | |||
| 691 | ;;;###autoload | ||
| 686 | (defun info-standalone () | 692 | (defun info-standalone () |
| 687 | "Run Emacs as a standalone Info reader. | 693 | "Run Emacs as a standalone Info reader. |
| 688 | Usage: emacs -f info-standalone [filename] | 694 | Usage: emacs -f info-standalone [filename] |
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index 33b73335a7d..6cef48749fc 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el | |||
| @@ -316,7 +316,7 @@ usually do not have translators for other languages.\n\n"))) | |||
| 316 | (fill-region (line-beginning-position 0) (point)) | 316 | (fill-region (line-beginning-position 0) (point)) |
| 317 | ;; This is so the user has to type something in order to send easily. | 317 | ;; This is so the user has to type something in order to send easily. |
| 318 | (use-local-map (nconc (make-sparse-keymap) (current-local-map))) | 318 | (use-local-map (nconc (make-sparse-keymap) (current-local-map))) |
| 319 | (define-key (current-local-map) "\C-c\C-i" 'report-emacs-bug-info) | 319 | (define-key (current-local-map) "\C-c\C-i" 'info-emacs-bug) |
| 320 | (if can-insert-mail | 320 | (if can-insert-mail |
| 321 | (define-key (current-local-map) "\C-cm" | 321 | (define-key (current-local-map) "\C-cm" |
| 322 | 'report-emacs-bug-insert-to-mailer)) | 322 | 'report-emacs-bug-insert-to-mailer)) |
| @@ -353,10 +353,7 @@ usually do not have translators for other languages.\n\n"))) | |||
| 353 | (buffer-substring-no-properties (point-min) (point))) | 353 | (buffer-substring-no-properties (point-min) (point))) |
| 354 | (goto-char user-point))) | 354 | (goto-char user-point))) |
| 355 | 355 | ||
| 356 | (defun report-emacs-bug-info () | 356 | (define-obsolete-function-alias 'report-emacs-bug-info 'info-emacs-bug "24.2") |
| 357 | "Go to the Info node on reporting Emacs bugs." | ||
| 358 | (interactive) | ||
| 359 | (info "(emacs)Bugs")) | ||
| 360 | 357 | ||
| 361 | ;; It's the default mail mode, so it seems OK to use its features. | 358 | ;; It's the default mail mode, so it seems OK to use its features. |
| 362 | (autoload 'message-bogus-recipient-p "message") | 359 | (autoload 'message-bogus-recipient-p "message") |
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 1f57601a711..ec6a4621a4e 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; menu-bar.el --- define a default menu bar | 1 | ;;; menu-bar.el --- define a default menu bar |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993-1995, 2000-2012 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993-1995, 2000-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: RMS | 5 | ;; Author: RMS |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -1752,6 +1752,9 @@ key, a click, or a menu-item"))) | |||
| 1752 | (define-key menu [send-emacs-bug-report] | 1752 | (define-key menu [send-emacs-bug-report] |
| 1753 | `(menu-item ,(purecopy "Send Bug Report...") report-emacs-bug | 1753 | `(menu-item ,(purecopy "Send Bug Report...") report-emacs-bug |
| 1754 | :help ,(purecopy "Send e-mail to Emacs maintainers"))) | 1754 | :help ,(purecopy "Send e-mail to Emacs maintainers"))) |
| 1755 | (define-key menu [emacs-manual-bug] | ||
| 1756 | `(menu-item ,(purecopy "How to Report a Bug") info-emacs-bug | ||
| 1757 | :help ,(purecopy "Read about how to report an Emacs bug"))) | ||
| 1755 | (define-key menu [emacs-known-problems] | 1758 | (define-key menu [emacs-known-problems] |
| 1756 | `(menu-item ,(purecopy "Emacs Known Problems") view-emacs-problems | 1759 | `(menu-item ,(purecopy "Emacs Known Problems") view-emacs-problems |
| 1757 | :help ,(purecopy "Read about known problems with Emacs"))) | 1760 | :help ,(purecopy "Read about known problems with Emacs"))) |