comparison lisp/mail/emacsbug.el @ 44056:448873845bcc

(report-emacs-bug-hook): Remove submitter directions as the last action.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Thu, 21 Mar 2002 02:09:51 +0000
parents 781a740a46a0
children 76f3260fb45e
comparison
equal deleted inserted replaced
44055:e3ec843fefb0 44056:448873845bcc
126 (insert (format " locale-coding-system: %s\n" locale-coding-system)) 126 (insert (format " locale-coding-system: %s\n" locale-coding-system))
127 (insert (format " default-enable-multibyte-characters: %s\n" 127 (insert (format " default-enable-multibyte-characters: %s\n"
128 default-enable-multibyte-characters)) 128 default-enable-multibyte-characters))
129 (insert "\n") 129 (insert "\n")
130 (insert "Please describe exactly what actions triggered the bug\n" 130 (insert "Please describe exactly what actions triggered the bug\n"
131 "and the precise symptoms of the bug:\n\n") 131 "and the precise symptoms of the bug:\n\n")
132 (setq user-point (point)) 132 (setq user-point (point))
133 (insert "\n\n\n" 133 (insert "\n\n\n"
134 "Recent input:\n") 134 "Recent input:\n")
135 (let ((before-keys (point))) 135 (let ((before-keys (point)))
136 (insert (mapconcat (lambda (key) 136 (insert (mapconcat (lambda (key)
234 234
235 If you want to mail it to someone else instead, 235 If you want to mail it to someone else instead,
236 please insert the proper e-mail address after \"To: \", 236 please insert the proper e-mail address after \"To: \",
237 and send the mail again using \\[mail-send-and-exit]."))) 237 and send the mail again using \\[mail-send-and-exit].")))
238 (error "M-x report-emacs-bug was cancelled, please read *Bug Help* buffer")) 238 (error "M-x report-emacs-bug was cancelled, please read *Bug Help* buffer"))
239 )) 239
240 ;; Unclutter
241 (mail-text)
242 (let ((p (point)))
243 (re-search-forward (concat "^In " (emacs-version)))
244 (delete-region p (match-beginning 0)))
245 (re-search-forward "Please describe.+\n.+precise symptoms.+bug:\n*"
246 (point-max) t)
247 (replace-match "Symptoms:\n")))
240 248
241 (provide 'emacsbug) 249 (provide 'emacsbug)
242 250
243 ;;; emacsbug.el ends here 251 ;;; emacsbug.el ends here