comparison lisp/mail/emacsbug.el @ 35516:05a619c13dea

(report-emacs-bug): Mention the fact that the bug report is mailed to an email list and posted to a news group.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 24 Jan 2001 16:51:54 +0000
parents b7516d64c95e
children 9a4674999109
comparison
equal deleted inserted replaced
35515:16956b0d13f8 35516:05a619c13dea
70 "Report a bug in GNU Emacs. 70 "Report a bug in GNU Emacs.
71 Prompts for bug subject. Leaves you in a mail buffer." 71 Prompts for bug subject. Leaves you in a mail buffer."
72 ;; This strange form ensures that (recent-keys) is the value before 72 ;; This strange form ensures that (recent-keys) is the value before
73 ;; the bug subject string is read. 73 ;; the bug subject string is read.
74 (interactive (reverse (list (recent-keys) (read-string "Bug Subject: ")))) 74 (interactive (reverse (list (recent-keys) (read-string "Bug Subject: "))))
75 (let (user-point message-end-point) 75 ;; If there are four numbers in emacs-version, this is a pretest
76 ;; version.
77 (let ((pretest-p (string-match "\\..*\\..*\\." emacs-version))
78 user-point message-end-point)
76 (setq message-end-point 79 (setq message-end-point
77 (with-current-buffer (get-buffer "*Messages*") 80 (with-current-buffer (get-buffer "*Messages*")
78 (point-max-marker))) 81 (point-max-marker)))
79 (compose-mail (if (string-match "\\..*\\..*\\." emacs-version) 82 (compose-mail (if pretest-p
80 ;; If there are four numbers in emacs-version,
81 ;; this is a pretest version.
82 report-emacs-bug-pretest-address 83 report-emacs-bug-pretest-address
83 report-emacs-bug-address) 84 report-emacs-bug-address)
84 topic) 85 topic)
85 ;; The rest of this does not execute 86 ;; The rest of this does not execute
86 ;; if the user was asked to confirm and said no. 87 ;; if the user was asked to confirm and said no.
102 (insert "\nPlease write in ") 103 (insert "\nPlease write in ")
103 (let ((pos (point))) 104 (let ((pos (point)))
104 (insert "English") 105 (insert "English")
105 (put-text-property pos (point) 'face 'highlight)) 106 (put-text-property pos (point) 'face 'highlight))
106 (insert ", because the Emacs maintainers do not have 107 (insert ", because the Emacs maintainers do not have
107 translators to read other languages for them.\n\n")) 108 translators to read other languages for them.\n\n")
109 (insert (format "Your bug report will be posted to the %s mailing list"
110 (if pretest-p
111 report-emacs-bug-pretest-address
112 report-emacs-bug-address)))
113 (if pretest-p
114 (insert ".\n\n")
115 (insert ",\nand to the gnu.emacs.bug news group.\n\n")))
108 116
109 (insert "In " (emacs-version) "\n") 117 (insert "In " (emacs-version) "\n")
110 (if (and system-configuration-options 118 (if (and system-configuration-options
111 (not (equal system-configuration-options ""))) 119 (not (equal system-configuration-options "")))
112 (insert "configured using `configure " 120 (insert "configured using `configure "