aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-10-24 22:09:08 +0000
committerChong Yidong2009-10-24 22:09:08 +0000
commit3e42584538257fccac082ffc5fe68b936e431379 (patch)
treecda6e549f746aaa879fa3946a2fd04216952e4db
parentcdd47d486241da5b07edb107020b5cf937fd63b1 (diff)
downloademacs-3e42584538257fccac082ffc5fe68b936e431379.tar.gz
emacs-3e42584538257fccac082ffc5fe68b936e431379.zip
* mail/emacsbug.el (report-emacs-bug): Clarify that the
keybindings apply to the mail buffer (Bug#4003). Shrink help window to buffer.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/mail/emacsbug.el13
2 files changed, 11 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a51fc89ea14..7edfa9c4144 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12009-10-24 Chong Yidong <cyd@stupidchicken.com> 12009-10-24 Chong Yidong <cyd@stupidchicken.com>
2 2
3 * mail/emacsbug.el (report-emacs-bug): Clarify that the
4 keybindings apply to the mail buffer (Bug#4003). Shrink help
5 window to buffer.
6
3 * whitespace.el (whitespace-mode, whitespace-newline-mode) 7 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4 (global-whitespace-mode, global-whitespace-newline-mode) 8 (global-whitespace-mode, global-whitespace-newline-mode)
5 (whitespace-toggle-options, global-whitespace-toggle-options): Doc 9 (whitespace-toggle-options, global-whitespace-toggle-options): Doc
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 8229c0e1169..99292d111ff 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -225,17 +225,18 @@ usually do not have translators to read other languages for them.\n\n")
225 (define-key (current-local-map) "\C-c\C-i" 'report-emacs-bug-info) 225 (define-key (current-local-map) "\C-c\C-i" 'report-emacs-bug-info)
226 (unless report-emacs-bug-no-explanations 226 (unless report-emacs-bug-no-explanations
227 (with-output-to-temp-buffer "*Bug Help*" 227 (with-output-to-temp-buffer "*Bug Help*"
228 (princ "While in the mail buffer:\n\n")
228 (if (eq mail-user-agent 'sendmail-user-agent) 229 (if (eq mail-user-agent 'sendmail-user-agent)
229 (princ (substitute-command-keys 230 (princ (substitute-command-keys
230 "Type \\[mail-send-and-exit] to send the bug report.\n"))) 231 " Type \\[mail-send-and-exit] to send the bug report.\n")))
231 (princ (substitute-command-keys 232 (princ (substitute-command-keys
232 "Type \\[kill-buffer] RET to cancel (don't send it).\n")) 233 " Type \\[kill-buffer] RET to cancel (don't send it).\n"))
233 (terpri) 234 (terpri)
234 (princ (substitute-command-keys 235 (princ (substitute-command-keys
235 "Type \\[report-emacs-bug-info] to visit in Info the Emacs Manual section 236 " Type \\[report-emacs-bug-info] to visit in Info the Emacs Manual section
236about when and how to write a bug report, 237 about when and how to write a bug report, and what
237and what information to supply so that the bug can be fixed. 238 information you should include to help fix the bug.")))
238Type SPC to scroll through this section and its subsections.")))) 239 (shrink-window-if-larger-than-buffer (get-buffer-window "*Bug Help*")))
239 ;; Make it less likely people will send empty messages. 240 ;; Make it less likely people will send empty messages.
240 (make-local-variable 'mail-send-hook) 241 (make-local-variable 'mail-send-hook)
241 (add-hook 'mail-send-hook 'report-emacs-bug-hook) 242 (add-hook 'mail-send-hook 'report-emacs-bug-hook)