[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r108337: Add "How to Report a Bug" to
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r108337: Add "How to Report a Bug" to Help menu |
Date: |
Mon, 21 May 2012 20:31:34 -0700 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 108337
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Mon 2012-05-21 20:31:34 -0700
message:
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.
modified:
lisp/ChangeLog
lisp/info.el
lisp/mail/emacsbug.el
lisp/menu-bar.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-05-21 20:40:55 +0000
+++ b/lisp/ChangeLog 2012-05-22 03:31:34 +0000
@@ -1,3 +1,9 @@
+2012-05-22 Glenn Morris <address@hidden>
+
+ * info.el (info-emacs-bug): New command.
+ * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
+ * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
+
2012-05-21 Glenn Morris <address@hidden>
* makefile.w32-in (update-subdirs-SH):
=== modified file 'lisp/info.el'
--- a/lisp/info.el 2012-05-04 23:16:47 +0000
+++ b/lisp/info.el 2012-05-22 03:31:34 +0000
@@ -1,6 +1,6 @@
;; info.el --- info package for Emacs
-;; Copyright (C) 1985-1986, 1992-2012 Free Software Foundation, Inc.
+;; Copyright (C) 1985-1986, 1992-2012 Free Software Foundation, Inc.
;; Maintainer: FSF
;; Keywords: help
@@ -683,6 +683,12 @@
(info "emacs"))
;;;###autoload
+(defun info-emacs-bug ()
+ "Display the \"Reporting Bugs\" section of the Emacs manual in Info mode."
+ (interactive)
+ (info "(emacs)Bugs"))
+
+;;;###autoload
(defun info-standalone ()
"Run Emacs as a standalone Info reader.
Usage: emacs -f info-standalone [filename]
=== modified file 'lisp/mail/emacsbug.el'
--- a/lisp/mail/emacsbug.el 2012-04-07 19:51:51 +0000
+++ b/lisp/mail/emacsbug.el 2012-05-22 03:31:34 +0000
@@ -316,7 +316,7 @@
(fill-region (line-beginning-position 0) (point))
;; This is so the user has to type something in order to send easily.
(use-local-map (nconc (make-sparse-keymap) (current-local-map)))
- (define-key (current-local-map) "\C-c\C-i" 'report-emacs-bug-info)
+ (define-key (current-local-map) "\C-c\C-i" 'info-emacs-bug)
(if can-insert-mail
(define-key (current-local-map) "\C-cm"
'report-emacs-bug-insert-to-mailer))
@@ -353,10 +353,7 @@
(buffer-substring-no-properties (point-min) (point)))
(goto-char user-point)))
-(defun report-emacs-bug-info ()
- "Go to the Info node on reporting Emacs bugs."
- (interactive)
- (info "(emacs)Bugs"))
+(define-obsolete-function-alias 'report-emacs-bug-info 'info-emacs-bug "24.2")
;; It's the default mail mode, so it seems OK to use its features.
(autoload 'message-bogus-recipient-p "message")
=== modified file 'lisp/menu-bar.el'
--- a/lisp/menu-bar.el 2012-01-31 08:38:58 +0000
+++ b/lisp/menu-bar.el 2012-05-22 03:31:34 +0000
@@ -1,6 +1,6 @@
;;; menu-bar.el --- define a default menu bar
-;; Copyright (C) 1993-1995, 2000-2012 Free Software Foundation, Inc.
+;; Copyright (C) 1993-1995, 2000-2012 Free Software Foundation, Inc.
;; Author: RMS
;; Maintainer: FSF
@@ -1752,6 +1752,9 @@
(define-key menu [send-emacs-bug-report]
`(menu-item ,(purecopy "Send Bug Report...") report-emacs-bug
:help ,(purecopy "Send e-mail to Emacs maintainers")))
+ (define-key menu [emacs-manual-bug]
+ `(menu-item ,(purecopy "How to Report a Bug") info-emacs-bug
+ :help ,(purecopy "Read about how to report an Emacs bug")))
(define-key menu [emacs-known-problems]
`(menu-item ,(purecopy "Emacs Known Problems") view-emacs-problems
:help ,(purecopy "Read about known problems with Emacs")))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r108337: Add "How to Report a Bug" to Help menu,
Glenn Morris <=